you should be able to put the change in a property file.. Like described
here :
http://day-to-day-stuff.blogspot.com/2008/05/wicket-internationalization.html,
so you just need to find the key for the field.

2009/11/11 Rene Peters <rene_pet...@hotmail.com>

>
> Hello,
>
>
>
> I developed a component (a Panel containing a Form) for uploading a file.
>
>
>
> It works fine but it I would like to change the label of the button and the
> text displayed next to the button.
>
>
>
> The text it displays by default is "choose file" on the button and the text
> displayed next to the button when no file has been chosen yet is "no file
> chosen" (when a file has been chosen it displays the filename of the file
> chosen).
>
>
>
> I tried using setLabel() on the FileUploadField but it didn't work. Neither
> did overriding the getLabel() method. I haven't been able to find any
> information on how to achieve this. I have no idea how I could chang the
> default text next to the FileUploadField either.
>
>
>
> Any suggestions are very welcome.
>
>
>
> Regards,
>
>
>
> René
>
> _________________________________________________________________
> Het laatste nieuws, shownieuws en voetbalnieuws op MSN.nl
> http://nl.msn.com/
>

Reply via email to