I'm not sure what you mean by #1.  GWT widgets are not server-side
objects.  They are created on the client side by client code.

That said, my I'm doing something similar to what you're looking at.
My application can add, edit, delete, and query for database records.
A table accessible by the client has a form definition which is kept
in XML on the server.  My approach is to ask the server (via an RPC
call) for a list of the forms.  Display the list.  When a user picks
one, I make an RPC request for the form.  When it's returned (as
text), I walk though the text and build GUI on the fly:  determine
form height and width and create an AbsolutePanel of that size; for a
text field, create a TextBox; for a label, a Label; for popup
selector, a ListBox; etc.  As each widget is created, place it on the
AbsolutePanel.

On Jul 7, 2:38 pm, Nirmal <[email protected]> wrote:
> HI,
> I am designing an application with GWT2.1 which is comprised of a page
> full of widgets.
> The widgets to be shown on the page are based on the values in URL
> parameters.
>
> How to go about implementing this?
> Primary motives:
> 1) Only code for the widgets to be displayed should be downloaded.
> 2) The applicable widget list should be maintained dynamically. So
> that the list of widgets to be shown for given set of URL parameters
> can be altered without having to redeploy the application.
>
> Regards,
> Nirmal

-- 
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.

Reply via email to