For localized attributes - so that you don't have to attach attribute
modifiers all over the place for that sole reason - we have two
alternative approaches in mind. For end-users this would either look
like:

1) <input type="submit" value="wicket:i18n:my_key"/>

which is compact, or

2) <input type="submit" value="Default Value" wicket:message="value:my_key"/>

which works better if you want to keep your components preview-able.

What do you prefer (vote open to anyone that want to join in)?

1 [  ]
2 [  ]


Eelco

(I have to think about what I like a bit more myself, but currently I
lean towards 2 as I think it is cleaner and supports preview-ability)

-------------------------------------------------------------------------
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

Reply via email to