<input type="submit" value="my_key" wicket:message="value"/>
i really don't like.
That is worsed of both worlds. You still don't have default/preview but you do have an
extra input attribute to parse. Ok knowing that something must be i18n is easier.
But you are right about that it looks neather when with multiply attributes.
But this should also work fine:
<input type="submit" value="Default Value" alt="Test" wicket:message="value:my_key alt:my_key2"/>
johan
On 8/4/06, Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote:
1 [ ]
2 [X]
> <input type="submit" value="Default Value" wicket:message="value:my_key"/>
If you want to express it without a default value, that would be
written as:
<input type="submit" value="my_key" wicket:message="value"/>
And if Wicket is going to support multiple attributes:
<input type="submit" value="my_value_key" alt="my_alt_key" wicket:message="value alt"/>
--
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