On 11/9/05, Andrew Berman <[EMAIL PROTECTED]> wrote: > I like <wicket:message key=".."/> as long as it would work how normal JSP > tags currently work. In other words, I would be able to do this: > > <input type="button" value="<wicket:message key='labelKey'/>"/> > > or > > <script> > alert("<wicket:message key='labelKey'/>"); > </script> >
No, that was not the intend and I don't like it either. <wicket:message ..> would be a normal XML tag. To retrieve a i18n message for a tag attribute I'd go for <input type="button" value="message:key='labelKey'/>"/>. The following is a bit tricky and I'm not sure how well it'll realy work, because you kind of have to analyze JS. <script> alert("message:key='labelKey'/>"); </script> Juergen ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user