yesm true. do you prefer wicket:mesage or wicket:i18n? Juergen
On 11/9/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > then call it wicket:message="value=my-key" > > so that > > <wicket:message key="..">Default Text</wicket:message> > and > <input type="button" value="My Val" wicket:message="value=my-key"/> > > uses the same kind of notation. > > Als value="My Val" can then be seen as the default value if the value is > not found for the given locale? > That would be nice i think. > > johan > > > > On 11/9/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > > > > good idea, except I would like to make a "=". wicket:i18n="value=my-key" > > > > Juergen > > > > On 11/9/05, Scott Sauyet <[EMAIL PROTECTED]> wrote: > > > Johan Compagner wrote: > > > > i can live with: > > > > > > > > <wicket:message key="..">Default Text</wicket:message> > > > > > > This makes sense. > > > > > > > <input type="button" value="message:key=my-key"/> > > > > > > I don't think this one does. It breaks the previewability of pages > > > which is one of Wicket's hallmarks. > > > > > > How about something like > > > > > > <input type="button" value="My Val" > > > wicket:attr="value:message:my-key"/> > > > > > > or > > > > > > wicket:i18n="value:my-key" > > > > > > Wicket could then replace the value attribute entirely, but the preview > > > is still available. > > > > > > This could also contain a comma-separated list of > > > attribute-name/attribute-value-keys if there are > multiple attributes to > > > replace (not that I can think of a use-case right now...) > > > > > > -- Scott > > > > > > > > > > > > ------------------------------------------------------- > > > 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 > > > > > > > > > ------------------------------------------------------- > > 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 > > > > ------------------------------------------------------- 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