html5 - Gwt create panel with standard html tags -


i want create web application in gwt need have standard custom tags header, footer, nav etc. problem whenever use panel in gwt java code underneath compiler produces either div element or table element, never produces header or footer or nav. please can suggest me best practice create or have panel standard tags header , footer. 1 approach ui binder not using , want stick basic gwt approach.

i tried approach :

htmlpanel panel = new htmlpanel("");

it create footer tag footer wrapped under table tag of htmlpanel , have no reference footer java code. please can me on this

thanks in advance.

you have @ least 2 options: work elements or use htmlpanel.
here example each solution:

    //element     element footerelement = document.get().createelement("footer");     document.get().getbody().appendchild(footerelement);      //htmppanel     htmlpanel footer= new htmlpanel("footer", "hello footer");     rootpanel.get().add(footer); 

anyway cant tell best practice here...


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -