Thanks Jens. This is my first Java project where I am sole architect. I ended up doing what you recommended, although I moved the ui.xml and css files into a sub-package to keep the top level package as clutter free as possible.
On Saturday, November 30, 2024 at 5:49:08 PM UTC-6 Jens wrote: > UiBinder is XML and you have to import the package as namespace in order > to use the components. Personally I would not create another package with > classes extending the implementation because both classes would be public > and both can be used in UiBinder then. That is likely confusing. I would > put all components in the same package. Package private classes supporting > a component could have the component name as prefix so they form a group in > your IDE through sorting. > > -- J. > > [email protected] schrieb am Freitag, 29. November 2024 um 20:20:57 > UTC+1: > >> Hello, >> >> Im creating a component library for GWT and I want to be able to use the >> components in UI binder. However, when implementing my components, each >> component gets its own package, containing styles, and package private >> classes needed to build the component. >> >> However, to use in Uibinder, I need to do something like <m:button.Button >> text="Click" /> >> >> where m points to the package with my components. >> >> Whats is bugging me is the extra "button" in the declaration. Is there >> anyway to flatten this aside from creating another package with objects >> simply extending the implementation ? >> >> Thanks >> >> -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/6d1ef7bb-7da9-4027-9bb0-2a3d3d2c5d51n%40googlegroups.com.
