Yeah, that's the nice thing about Cocoons approach: it doesn't screw up previewability.
Eelco On 8/2/06, Johan Compagner <[EMAIL PROTECTED]> wrote: > +1 for this. i don't like that other extra approach > > Except when we say we wat that page to be displayed ok with default values: > > <input type="submit" value="Default Value" > wicket:message="value:i18n:my_key"/> > > that could be a possibility for me. > > johan > > > > On 8/2/06, Igor Vaynberg <[EMAIL PROTECTED] > wrote: > > > > personally > > > > <input type="submit" value="wicket:i18n:my_key"/> > > > > looks better to me > > > > i was also just thinking about > > > > <img src="wicket:packaged:foo.gif"> > > > > which would autocreate image component with a packaged ref. not sure about > resolution rules yet but this would def be helpful to inline images/css > quickly > > > > > > -Igor > > > > > > > > > > > > On 8/1/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > > > > > * Igor Vaynberg: > > > > not from the markup no. we couldnt find any good syntax to specify the > key > > > > and that the value should be internationalized. > > > > > > In Cocoon we use: > > > > > > <input type="submit" value=" my.i18n.key" i18n:attr="value"/> > > > > > > The name of the attribute to internationalize is indicated by the > > > "i18n:attr" attribute. The named attribute contains the i18n key. > > > Note that the i18n:attr attributes accepts space-separated values > > > for multiple attributes. > > > > > > What we could imagine for Wicket: > > > > > > <input type="submit" value="my.i18n.key" wicket:i18nattr="value"/> > > > > > > Is it the kind of syntax you were looking for? > > > -- > > > Jean-Baptiste Quenot > > > aka John Banana Qwerty > > > http://caraldi.com/jbq/ > > > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > > opinions on IT & business topics through brief surveys -- and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > > opinions on IT & business topics through brief surveys -- and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user