Yes and no. You can create you custom widgets with UiBinder but you have to
resort to mostly relying Composite and HTMLPanel and backing code until
Google ramps up UiBinder. Then, once you components are built, you can reuse
the them just like any other GWT widget in UiBinder by providing its
namespace and import declaration such as:
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder"
xmlns:g="urn:import:com.google.gwt.user.client.ui"
xmlns:dp="urn:import:com.google.gwt.user.datepicker.client"
*xmlns:my='urn:import:lmv.com.client.members'* >
Any composite in the lmv.com.client.members package will now be able to be
referenced with the *my* tag.
That's pretty powerful juju if you ask me and the beauty of a component
based framework like GWT.
Jeff
On Thu, Jan 13, 2011 at 9:29 PM, zixzigma <[email protected]> wrote:
> is it possible to develop custom "reusable" widgets using UiBinder ?
> or this is only possible within the Java code as outlined here [1] ?
>
> [1]
> http://code.google.com/webtoolkit/doc/latest/DevGuideUiCustomWidgets.html
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
*Jeff Schwartz*
--
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.