Hi,
In one of my pages I have a textfield (whose visibility is changed
through AJAX) that is wrapped with a border like so:
>8----------------->8----------------->8-----------------
<wicket:enclosure child="loginNameBorder:loginName">
<tr>
<td><wicket:message key="col.loginName"/>:</td>
<td><div wicket:id="loginNameBorder"><input type="text"
wicket:id="loginName"/></div></td>
</tr>
</wicket:enclosure>
>8----------------->8----------------->8-----------------
The border is defined as
>8----------------->8----------------->8-----------------
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:wicket="http://wicket.apache.org/">
<wicket:border>
<div style="display:inline-block">
<wicket:body/> <div wicket:id="feedback"
style="display:inline-block"/>
</div>
</wicket:border>
</html>
>8----------------->8----------------->8-----------------
For some odd reason accessing this page immediately fails with a "Could
not find child with id: loginNameBorder:loginName in the
wicket:enclosure" . I also tried to use child="loginName" but this gives
me the same error (and according to
https://cwiki.apache.org/confluence/display/WICKET/Wicket%27s+XHTML+tags#Wicket%27sXHTMLtags-Elementwicket%3Aenclosure
a nested child needs to be referenced by the full path).
What did I do wrong ?
Cheers,
Tobias
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]