Hello,

I was wondering if the behavior described here http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html (use wicket:message as attribute) was broken or if I'm doing something wrong (Wicket 1.3.5)

I've written that:

<form wicket:id="form" wicket:message="class:formClass">
   <table>
       <wicket:container wicket:id="repeatrows">
           <tr>
<td *wicket:message="class:formLabelCol"*><label wicket:id="label">[label goes here]</label></td> <td><wicket:container wicket:id="component"></wicket:container></td>
           </tr>
           <tr>
<td colspan="2"><wicket:container wicket:id="feedback"></wicket:container></td>
           </tr>
       </wicket:container>
   </table>
   <input type="submit" /> <input type="reset" />
</form>


With a Java part that works fine.

If I remove the bold part, everything goes fine. If I leave them, I get the usual WicketRuntimeException

org.apache.wicket.markup.MarkupException: Unable to find component with id 
'label' in [MarkupContainer [Component id = _message_attr_12]]. This means that 
you declared wicket:id=label in your markup, but that....


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to