per item
Posted by Igor Vaynberg <ig...@gmail.com>.
waiting for matej to wrap up a few things, not sure when that will be
because he is very busy
-igor
On Thu, Jun 10, 2010 at 3:45 AM, vladimir.kovalyuk <ko...@gmail.com> wrote:
>
> Igor,
>
> Having played with multi-line data tables I realized that there isn't an
> easy way to extend the basic DataTable<T>. The multiline data table has a
> customizable layout where cell has collspans and possibly rowspans. It means
> that the configuration is not simple list of columns. It makes the
> implementation to base on repeater different from DataGridView. My
> understanding now is that multiline datatable should be a completely
> different class encapsulating DataView<T> with customizable item.
>
> The only problem is that toolbars cannot be reused. It probably would make
> sense to patch them after 1.5M1 milestone because the relationships with
> DataTable are affected.
>
> BTW, how 1.5 is going? Looking forward for the new URL handling mechanism.
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/DataTable-with-more-than-one-tr-per-item-tp1887973p2250219.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: jQuery Accordion implementation
Posted by Istvan Jozsa <jo...@gmail.com>.
Go ahead,
Istvan
On Thu, Jun 10, 2010 at 2:12 PM, Martin Makundi <
martin.makundi@koodaripalvelut.com> wrote:
> "Just do it" ;)
>
> 2010/6/10 Stefan Lindner <li...@visionet.de>:
> > I'm starting to implement jQuery's Accordion for jWicket now. Any
> > suggestions/wishes?
> >
> > Stefan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
Re: jQuery Accordion implementation
Posted by Martin Makundi <ma...@koodaripalvelut.com>.
"Just do it" ;)
2010/6/10 Stefan Lindner <li...@visionet.de>:
> I'm starting to implement jQuery's Accordion for jWicket now. Any
> suggestions/wishes?
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
jQuery Accordion implementation
Posted by Stefan Lindner <li...@visionet.de>.
I'm starting to implement jQuery's Accordion for jWicket now. Any
suggestions/wishes?
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: DataTable with more than one per item
Posted by "vladimir.kovalyuk" <ko...@gmail.com>.
Igor,
Having played with multi-line data tables I realized that there isn't an
easy way to extend the basic DataTable<T>. The multiline data table has a
customizable layout where cell has collspans and possibly rowspans. It means
that the configuration is not simple list of columns. It makes the
implementation to base on repeater different from DataGridView. My
understanding now is that multiline datatable should be a completely
different class encapsulating DataView<T> with customizable item.
The only problem is that toolbars cannot be reused. It probably would make
sense to patch them after 1.5M1 milestone because the relationships with
DataTable are affected.
BTW, how 1.5 is going? Looking forward for the new URL handling mechanism.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/DataTable-with-more-than-one-tr-per-item-tp1887973p2250219.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: DataTable with more than one per item
Posted by Igor Vaynberg <ig...@gmail.com>.
patches are welcome.
-igor
On Mon, Aug 10, 2009 at 4:24 PM, Vladimir K<ko...@gmail.com> wrote:
>
> I mean they does not have toolbars that provides user with pagination,
> sorting and filtering. One should author her own DataTable class in order to
> get extra <tr> in the item's markup.
>
> If Item class was derived from Panel class it would be possible to override
> newRowItem() method.
> I believe it makes sense to re-design DataTable markup a bit.
>
>
> igor.vaynberg wrote:
>>
>> both dataview and pageablelistview support paging.
>>
>> -igor
>>
>> On Mon, Aug 10, 2009 at 4:06 PM, Vladimir K<ko...@gmail.com> wrote:
>>>
>>> The regular repeater does not support pagination, sorting and filtering
>>> out
>>> of the box.
>>>
>>>
>>> Erik van Oosten wrote:
>>>>
>>>> Kariem,
>>>>
>>>> There is a hint at
>>>> http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Elementwicket:container
>>>>
>>>> Regards,
>>>> Erik.
>>>>
>>>>
>>>> Igor Vaynberg wrote:
>>>>> no, a datatable doesnt support that. but it is easy enough with your
>>>>> own repeater.
>>>>>
>>>>> -igor
>>>>>
>>>>>
>>>>
>>>> --
>>>> Erik van Oosten
>>>> http://day-to-day-stuff.blogspot.com/
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/DataTable-with-more-than-one-%3Ctr%3E-per-item-tp24900846p24909100.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/DataTable-with-more-than-one-%3Ctr%3E-per-item-tp24900846p24909271.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: DataTable with more than one per item
Posted by Vladimir K <ko...@gmail.com>.
I mean they does not have toolbars that provides user with pagination,
sorting and filtering. One should author her own DataTable class in order to
get extra <tr> in the item's markup.
If Item class was derived from Panel class it would be possible to override
newRowItem() method.
I believe it makes sense to re-design DataTable markup a bit.
igor.vaynberg wrote:
>
> both dataview and pageablelistview support paging.
>
> -igor
>
> On Mon, Aug 10, 2009 at 4:06 PM, Vladimir K<ko...@gmail.com> wrote:
>>
>> The regular repeater does not support pagination, sorting and filtering
>> out
>> of the box.
>>
>>
>> Erik van Oosten wrote:
>>>
>>> Kariem,
>>>
>>> There is a hint at
>>> http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Elementwicket:container
>>>
>>> Regards,
>>> Erik.
>>>
>>>
>>> Igor Vaynberg wrote:
>>>> no, a datatable doesnt support that. but it is easy enough with your
>>>> own repeater.
>>>>
>>>> -igor
>>>>
>>>>
>>>
>>> --
>>> Erik van Oosten
>>> http://day-to-day-stuff.blogspot.com/
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/DataTable-with-more-than-one-%3Ctr%3E-per-item-tp24900846p24909100.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/DataTable-with-more-than-one-%3Ctr%3E-per-item-tp24900846p24909271.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: DataTable with more than one per item
Posted by Igor Vaynberg <ig...@gmail.com>.
both dataview and pageablelistview support paging.
-igor
On Mon, Aug 10, 2009 at 4:06 PM, Vladimir K<ko...@gmail.com> wrote:
>
> The regular repeater does not support pagination, sorting and filtering out
> of the box.
>
>
> Erik van Oosten wrote:
>>
>> Kariem,
>>
>> There is a hint at
>> http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Elementwicket:container
>>
>> Regards,
>> Erik.
>>
>>
>> Igor Vaynberg wrote:
>>> no, a datatable doesnt support that. but it is easy enough with your
>>> own repeater.
>>>
>>> -igor
>>>
>>>
>>
>> --
>> Erik van Oosten
>> http://day-to-day-stuff.blogspot.com/
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/DataTable-with-more-than-one-%3Ctr%3E-per-item-tp24900846p24909100.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: DataTable with more than one per item
Posted by Vladimir K <ko...@gmail.com>.
The regular repeater does not support pagination, sorting and filtering out
of the box.
Erik van Oosten wrote:
>
> Kariem,
>
> There is a hint at
> http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Elementwicket:container
>
> Regards,
> Erik.
>
>
> Igor Vaynberg wrote:
>> no, a datatable doesnt support that. but it is easy enough with your
>> own repeater.
>>
>> -igor
>>
>>
>
> --
> Erik van Oosten
> http://day-to-day-stuff.blogspot.com/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/DataTable-with-more-than-one-%3Ctr%3E-per-item-tp24900846p24909100.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: DataTable with more than one per item
Posted by Erik van Oosten <e....@grons.nl>.
Kariem,
There is a hint at
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%27sXHTMLtags-Elementwicket:container
Regards,
Erik.
Igor Vaynberg wrote:
> no, a datatable doesnt support that. but it is easy enough with your
> own repeater.
>
> -igor
>
>
--
Erik van Oosten
http://day-to-day-stuff.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: DataTable with more than one per item
Posted by Igor Vaynberg <ig...@gmail.com>.
no, a datatable doesnt support that. but it is easy enough with your
own repeater.
-igor
On Mon, Aug 10, 2009 at 7:25 AM, Kariem Hussein<ka...@users.sf.net> wrote:
> Hello,
>
> I wanted to ask, whether there is a way to have more than one row per
> item rendered from a DataTable [1]. As a result in HTML, we need
> something similar to the example below where both <tr> elements are
> rendered from a single model.
>
> ### snip start
> <tbody>
> <tr>
> <td>col1</td><td>col2</td><td>col3</td><td>col4</td>
> </tr>
> <tr>
> <td colspan="4">long text with details</td>
> </tr>
> [... other elements]
> </tbody>
> ### snip end
>
> I tried to use DataTable, but the current version (I am working on
> 1.3.6, but 1.4.0 is similar in this respect) creates the data grid in
> the constructor and binds it to 'rows', without any way to
> override/adapt this behavior. Hence my current approach involves a
> customized version of DataTable with this part extracted to be
> overridden by subclasses.
>
> With this mechanism, a corresponding implementation would be able to
> generate multiple rows and cells, depending on the populators
> (IColumn).
>
> Now that it looks a little bit complicated, I wanted to ask how others
> have implemented something similar.
>
> Thank you,
> Kariem
>
> [1] http://fisheye6.atlassian.com/browse/wicket/sandbox/ivaynberg/wicket-1.4.0/wicket-extensions/src/main/java/org/apache/wicket/extensions/markup/html/repeater/data/table/DataTable.java?r=794719
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org