-Igor
On 9/11/06,
Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote:
Thanks Igor! I tried nearly everything I found in the Javadoc, but I
missed this one!
Igor Vaynberg a écrit :
> you should key off the listitems' index property
>
> -Igor
>
>
> On 9/10/06, *Pierre-Yves Saumont* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> wrote:
>
> How is is possible to reset a boolean indicating if the row is odd or
> even at the start of ListView rendering ?
>
> I need this because with alternating row color, if the number of row is
> odd, each time the list is rerendered, row colours are switched.
>
> I worked around this by setting the value of the boolean flag to false
> in each link that could redisplay the component, but I have now 7 places
> where the flag is reinitialised.
>
> Isn't there a smarter way to do this?
>
> Pierre-Yves
>
>
> -------------------------------------------------------------------------
>
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your
> job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> < http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> <mailto:Wicket-user@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> <https://lists.sourceforge.net/lists/listinfo/wicket-user>
>
>
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop