Thank you, it's great!
On Thu, Mar 16, 2017 at 1:05 PM, Sven Meier wrote:
> Hi,
>
> you'll have to add two MarkupContainers and style both :
>
>
>
> ...
> ...
>
>
> protected void populateItem(ListItem item) {
> WebMarkupContainer firstRow = new
Hi,
you'll have to add two MarkupContainers and style both :
...
...
protected void populateItem(ListItem item) {
WebMarkupContainer firstRow = new WebMarkupContainer("firstRow") {
@Override
protected void onComponentTag(final ComponentTag tag) {
Thank you so much for you explanation.
I had to put the two inside the because I need to
repeat every two rows.
Do you have any hint on how to do it and still be able to change the color?
On Thu, Mar 16, 2017 at 12:36 PM, ganea iulia
wrote:
> Thank you so much for
Thank you so much for you explanation.
I had to put the two inside the because I need to
repeat every two rows.
On Thu, Mar 16, 2017 at 11:26 AM, Sven Meier wrote:
> Hi,
>
> it seems your ListView is bound to the wicket:id="forEachItem"> tag, which cannot be styled.
>
>
Hi,
it seems your ListView is bound to the wicket:id="forEachItem"> tag, which cannot be styled.
Change your markup to:
Have fun
Sven
On 16.03.2017 09:58, ganea iulia wrote:
Hello,
I have a listview and I want to dinamically color some of the rows (items).
But it is not working,
Hi,
The problem is at:
You need the to be Wicket component.
is not rendered at Production mode.
Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov
On Thu, Mar 16, 2017 at 9:58 AM, ganea iulia wrote:
> Hello,
>
> I have a listview and I
Hello,
I have a listview and I want to dinamically color some of the rows (items).
But it is not working, nothing gets colored when it should.
*Here is the markup:*
[item1]
[item2]
[item3]
[item4]
[item5]
[item6]
[item7]
[item8]
[item9]
[item10]
Area
*Here is the code:*
@Override