Tuesday, November 1, 2011

Re: Deferred Binding - Rebind Result must be a class

What values can "mobilefactor" take?

For instance, the FormFactory module from the mobilewebapp sample defines 3 values: desktop, table, and mobile. You have to define a rebind rule for each one of these values, or set the property to a subset of the values (e.g. <set-property name="formfactor" value="mobile,desktop" />) otherwise the compiler will use the "when-type-is" value (i.e. the interface here) when it cannot find a rule, which would cause the error you're seeing.

--
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/-/mPLfSxXM-QoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment