Martijn Dashorst wrote:
The only problem I have is that it will not work in any browser for
Ajax replacements. I know this is not the targetted usecase, but I
think this will confuse (novice) users.
I think this should be fairly obvious to most people.
In order for AJAX replacement to work, the element needs to have
setOutputMarkupId(true) anyway. So if a novice understands that, then
they'll understand why this doesn't work.
If you're worried, write an example for it (that's where 95% of people
learn things from) and put a big comment in the markup next to it.
<table>
<span wicket:id="foo">
<tr><td>bla</td></tr>
<tr><td>foo</td></tr>
</span>
</table>
Will work in IE afaict, but
But it's not valid XHTML (or even HTML 4), so we really shouldn't
encourage that. :)
Al