So maybe we need some hook that gets called when properties are 
individually valid but no permutation exists for the set of values (that 
can only apply with conditional properties); e.g. (unrealistic example):

<set-property name="user.agent" value="ie9,gecko1_8">
 <when-property-is name="locale" value="en" />
</set-property>
<set-property name="user.agent" value="ie9,safari">
 <when-property-is name="locale" value="fr" />
</set-property>

We need a hook called when you come with Firefox and a "fr" locale, or with 
Safari/Chrome/Opera15+ and a "en" locale.

Or am I missing/misunderstanding something?

On Wednesday, November 27, 2013 12:55:24 PM UTC+1, Jens wrote:
>
> And as already noted the onPropertyErrorFn functions works slightly 
>> different than what I would expect thats why I called it unreliable. It 
>> only works if you use a browser that GWT does not know at all.
>>
>
> To be exact: The method itself is of course reliable. It triggers if a 
> property value is not valid, i.e. if its not in the set of defined/allowed 
> values. It's just that its not that useful for the user.agent scenario as a 
> slightly different behavior is desired in this case because the user.agent 
> value is always correctly filled (regardless of permutations) unless you 
> use a browser that is totally unknown to GWT.
>
> -- J.
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to