There's certainly an issue that if the Grid component grew to
encompass every possible user's most remote needs, the end result
would not be useable by anybody (a Grid component with 27 required
parameters of which six are detailed interfaces, etc., etc.).  The
point is, the common components need to hit a 90/10 rule of
usefulness.  A secondary goal would be to make the underlying
components of Grid (GridRows, GridColumns, GridPager) easy to
reuse/extend for a more application-specific Grid implementation.

On Tue, Mar 25, 2008 at 2:41 PM, Alec Leamas <[EMAIL PROTECTED]> wrote:
> Jesper Zedlitz wrote:
>  > Alec Leamas wrote:
>  >
>  >> - The paging policy with a fixed number of numbered pages is hardcoded
>  >> and can't be changed. Other policies e. g., overlap between pages
>  >>
>  >>
>  > Isn't that something you can handle inside your own GridDataSource? With 
> the
>  > page number, the number of results per page, the number of overlapping
>  > items (ok, you need a separate parameter for that) it should be possible
>  > return the correct entries.
>  >
>  >
>  Obviouly, I was not clear about this. It's about starting a page at just
>  any item, not just on even page boundaries as defined by the page size.
>  See
>  
> http://www.nabble.com/T5%2C-newbie%3A-Grid-use-w-dynamic-columns-td16080438.html
>
> >> - It is not possible to change the overall rendering of a row e. g,, to
>  >> to embed each <TR>...</TR> in a <DIV class=xxx> <TR>...</TR></DIV>.
>  >>
>  >>
>  > That is not valid XHTML 1.0 Strict
>  >
>  > I do not know enough about the Grid component to write something about the
>  > other questions. What I miss is the "columns" attribute from T4's Table
>  > component..
>  Yep, when coming from T4 you miss the column component.
>
>   Anyway, I don't want to write bad HTML. So after some more RTFM I've
>  concluded that the microformat issue (the <tr>...</tr> above) can be
>  resolved by the rowclass attribute, together with som explicit column
>  fomatting as described in the manual.
>
>  One item of four resolved. Thanks!
>
>  --alec
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [EMAIL PROTECTED]
>  For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Howard M. Lewis Ship

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to