Hi all,
It would be really nice if we can support programming or at least
styling a custom widget with custom attributes and Tags in UiBinder.
For example if we have a composite LoginPanel containing:
- a title Lable
- a username TextBox
- a password TextBox
- a login Button
- a cancel Button
Now in our LoginView.ui.xml can we customize our LoginPanel like:
<my:LoginPanel ui:field='loginPanel' styleName='{style.loginPanel}'>
<title>Wellcome to the login panel</title>
<username styleName='{style.username}'/>
<password styleName='{style.password}'/>
<login styleName='{style.login}'>Login</login>
<cancel styleName='{style.cancel}'
onClick='{onCancelButtonClick}'>Cancel</cancel>
</my:LoginPanel>
Please correct me if I'm wrong.
Thanks alot.
--
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.