How to change name of Send button in SingleUploader

133 views
Skip to first unread message

dev

unread,
Jun 21, 2012, 3:19:29 AM6/21/12
to google-we...@googlegroups.com
I'm using SingleUploader in my project :
SingleUploader fileUploader = new SingleUploader();
It gives one text box, browse and send button.
How can i change the name of send button.
I tried with :

fileUploader.getForm().getWidget().setStyleName("stylename");

It's not working.

Please suggest.

 

Alexandre Ardhuin

unread,
Jun 21, 2012, 3:38:14 AM6/21/12
to google-we...@googlegroups.com
You can use SingleUploader#setI18Constants ( http://gwtupload.googlecode.com/svn/trunk/website/javadoc/all/gwtupload/client/SingleUploader.html#setI18Constants%28gwtupload.client.IUploader.UploaderConstants%29 )

Alexandre


2012/6/21 dev <anshu...@gmail.com>
 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/v7aJyRwHeW4J.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Reply all
Reply to author
Forward
0 new messages