user411103
user411103

Reputation:

Dynamically create FormPanel inside existing DIV

Is there a way to create dinamically a GWT FormPanel and place it inside an exising html 《div id=myContainer"》 that can be accesed via getElementById ()?

Upvotes: 0

Views: 52

Answers (1)

Thomas Broyer
Thomas Broyer

Reputation: 64561

FormPanel form = new FormPanel();
RootPanel.get("myContainer").add(form);

?

(I suspect there's something else, preventing you to do just this, but you didn't say anything about it in your question)

Upvotes: 0

Related Questions