Skip to content

Conversation

nbauernfeind
Copy link

This is to support UiBinder in scala by using scala's auto generated setters.

A 'setter' is loosely defined as follows:

  1. It takes 1 parameter of field type.
  2. It's name contains the field name (case insensitive).
  3. It has return type void.

It's clearly not fool proof. I didn't think it made sense to hardcode the expected format for scala.

If this is too loose we could go to supporting only the 'set${fieldName}' format and require scala's annotation of @BeanProperty in addition to @UiField.

@nbauernfeind
Copy link
Author

Created an official issue with the GWT team:
http://code.google.com/p/google-web-toolkit/issues/detail?id=7194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant