I tested in 1.4 and it worked. There's more error checking in 1.5, but it
essentially looks the same.
http://svn.apache.org/repos/asf/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/markup/parser/filter/WicketMessageTagHandler.java

I recommend spending the time to attach the Wicket source in your IDE. I
can't imagine developing against a black-box API... You learn so much by
looking under the hood! Plus it'll help you get to the bottom of this
particular issue. :)

On Sat, Aug 6, 2011 at 9:47 AM, heikki <[email protected]> wrote:

> Hmm I don't have Wicket source at hand, just using the compiled libraries.
>
> Could it be that it works differently in the Wicket version I'm using (1.5
> M3) ?
>
>
> I tested this:
>
>                            <input wicket:id="french"
>                                   type="image"
>                                   src="images/flags/france_small.png"
>                                   name="image"
>                                   alt="français"
>                                   title="français"
>                                   wicket:message="title:french, alt:french"
>                                   style="border-style: none;"/>
>
> and this (reversed order in comma-separated list):
>
>                            <input wicket:id="french"
>                                   type="image"
>                                   src="images/flags/france_small.png"
>                                   name="image"
>                                   alt="français"
>                                   title="français"
>                                   wicket:message="alt:french, title:french"
>                                   style="border-style: none;"/>
>
> and the result is really as I described, only the first of the
> comma-separated attributes gets translated.
>
> thanks
> kind regards
> Heikki Doeleman
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/i18n-for-more-than-attribute-tp3722544p3723591.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to