I want to dynamically set values to a field in uibinder. I am trying
something like this

<ui:with field="valuesStore" type='x.y.client.ValuesStore' />
and the field is set with value like this

<g:Label text='{valuesStore.getValue}'>Name</g:Label>
and the ValueStore has 2 methods

public String getValue(String key) {
    return localizedValues.get(key);
}

public String getValue() {
    return null;
}
The problem is i am unable to call the getValue(key). I could only
call the no-args method meaning the following is not possible

<g:Label text='{valuesStore.getValue('name')}'>Name</g:Label>
Please clarify if there is a way to achieve this where i can call a
method with arguments passed to it.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to