Hello Everyone, I'm trying to make an Dynamic Menu in GWT, reading it from an XML file. The XML file must have the button name and the action (the composite associated that will be added to an Horizontal Panel).
To make the action, a need to do Reflection of the Class, wish is given me a lot of problems. I've tried 2 different solution, Client Side and Server Side. On Client Side I've tried "gwt-ent" and "gwt reflection" libraries, but I've got a lot of errors and its necessary to set what Classes will be reflected (which I don't want because I want a completely dynamic Menu, and not semi-dynamic). On Server Side, I've tried to return the menu but its not possible to deal with client side widgets on server side. So I tried to make the reflection and return the instance to the client, but on server side its no possible to get an client side Class.
Anyone knows other solution? I'm doing something wrong? How can I reflect the class to put the Composite on the Horizontal Panel?
Thansk for your help. Regards.