On 8/2/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > 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
Would this also do internationalization for the image also? i.e. <img src="wicket:packaged:foo.gif" /> could link to in a dutch page to foo_nl_NL.gif? Martijn > 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 > > > -- Download Wicket 1.2.1 now! Embed Wicket components in your portals! -- http://wicketframework.org ------------------------------------------------------------------------- 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