Domanda

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 ()?

È stato utile?

Soluzione

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)

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top