Thursday, March 2, 2017

Editors _ multi editors for a same field

Hi,

I am trying to dynamicly change the editor of a field.

In some circonstances, I want a particular field (value) to be edited by a RadioButton Group and in others by a ListBox.

I started this way :

@Path("value")
@UiField(provided=true)
RadioGroupEditor<MyType> valueRB = new RadioGroupEditor(...

@Path("value")
@UiField(provided=true)
ListBoxEditor<MyType> valueLB = new ListBoxEditor( ...

and make the not relevant Editor invisible. 

But it doest not work as the value come alway from the ListBox component.

Thanks for  any idea how to make that works.

Pierre

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment