Found the problem. Johan added markupattributes to Component which of
course is not updated when markup is re-loaded, e.g. due to locale
changes.
Juergen
On 9/29/06, Eelco Hillenius <eelco.hillenius@gmai...> wrote:
> Crappy SF mailinglists... resend:
>
> The problem has to do with markup loading/ caching. If you set a
> breakpoint in ImageButton#onComponentTag, you'll see that the tag
> always refers to
>
> <input wicket:id="saveButton" type="image" value="buttonFactory:save:Save"/>
>
> from the first loaded markup file, while it should refer to:
>
> <input wicket:id="saveButton" type="image" value="buttonFactory:save:Sichern"/>
>
> This works in 1.2 but not in 2.0
>
>
> Eelco
>
> On 9/27/06, Juergen Donnerstag <juergen.donnerstag@gmai...> wrote:
> > In V2 trunk when you run the Form example and change the language to
> > e.g. German the submit and cancel button won't change to the German
> > words anymore.
> >
> > Juergen
> >
> > -------------------------------------------------------------------------
> > 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-develop mailing list
> > Wicket-develop@list... > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > >
>
> -------------------------------------------------------------------------
> 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-develop mailing list
> Wicket-develop@list... > https://lists.sourceforge.net/lists/listinfo/wicket-develop >