Ok, on the topic of Bug #1123751 (mentioned below) the main
problem is that when a List is rendered it reuses the same ID for all
of its entries. First it is important to point out that this issue is
List-specific and not a Wicket-wide problem. Why not strip the "id"
attribute from the list entries during the render process and users can
use AttributeModifier (as suggested in the bug report) to add in unique
IDs back in if they so wish. At worst, this will be just as good as
using a "wicket" tag for the list item and at best it could be better
because it improves standard compliance (we're follow the HTML DTD).Gili On Fri, 11 Mar 2005 02:07:24 -0500, Gili wrote: > > Ok, I found this: >http://sourceforge.net/mailarchive/forum.php?thread_id=6585080&forum_id= >42354 > > I'm going to give it some thought. > >Gili > >On Fri, 11 Mar 2005 02:00:18 -0500, Gili wrote: > >>On Fri, 11 Mar 2005 07:56:43 +0100, Juergen Donnerstag wrote: >> >>>100% html output compliance. Is that good enough for a reason? please >>>review the discussion we had regarding that topic. >> >> I don't see why you can't just use the id prefix for that...? >> >>>You still didn't explain why <span wicket="xxx" id="yyy" > breaks >>>previewability. >> >> I was thinking you were refering to using >> >><span wicket="xxx"> >> >> that is, replacing "id" by "wicket". If you're going to use >>both, HTML browsers, validators, tools will flags your code as invalid >>(since it fails to meet the HTML DTD) but I think it should still >>preview fine because browsers tend to ignore errors silently. Still, my >>view is that you can avoid all of this and just use "id" to begin with. >> >>Gili >> > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
