Thanks! It's a comma. I'll update http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html with this usecase.
Regards Martin On Sun, 2008-04-06 at 04:50 -0700, Igor Vaynberg wrote: > <img src="some.gif" > wicket:message="alt:aPanel.buttons.equals.alt,title:aPanel.buttons.equals.title"/> > > cant remember if its a comma or semicolon though... > > -igor > > On Sun, Apr 6, 2008 at 4:19 AM, Martin Grigorov > <[EMAIL PROTECTED]> wrote: > > 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] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
