Hi,

I want to internationalize both 'alt' and 'title' attributes of <img>
element:

<img src="some.gif" wicket:message="alt:aPanel.buttons.equals.alt"
wicket:message="title:aPanel.buttons.equals.title"/>

But Wicket complains with that:

Caused by: java.text.ParseException: Same attribute found twice:
wicket:message
        at
org.apache.wicket.markup.parser.XmlPullParser.parseTagText(XmlPullParser.java:637)
        at
org.apache.wicket.markup.parser.XmlPullParser.next(XmlPullParser.java:288)
        at
org.apache.wicket.markup.parser.XmlPullParser.nextTag(XmlPullParser.java:423)
        .....

Is there a way to do that without adding <img> as a component in the
hierarchy ?

Regards
Martin


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to