Re: Inserting a DIV in a GWT Panel

2012-05-06 Thread Dennis Haupt
if you can wait until tomorrow, i can take a look at a method that cuts
& pasted a div into a gwt panel and works.

Am 06.05.2012 17:05, schrieb yves:
> I'm not sure, but try to remove the style "display:none" or change it
> (something like footer.setProperty("display", "xxx")) when you append
> the element.
> Yves
> 


-- 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Inserting a DIV in a GWT Panel

2012-05-06 Thread yves
I'm not sure, but try to remove the style "display:none" or change it
(something like footer.setProperty("display", "xxx")) when you append
the element.
Yves

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Inserting a DIV in a GWT Panel

2012-05-06 Thread Xybrek
I have this DIV on my application jsp page which I need to "inject" in 
to a GWT VerticalPanel. Coded on top of the iframe tag which contains 
"__gwt_historyFrame" :


**index.jsp**


Copyright Š 2012 MyCompany. All Rights Reserved.
FAQ
Privacy
API
Contact Us


I am inserting the DIV to the view with this code:

DivElement footer = (DivElement) document.getElementById("footer");
verticalPanel.getElement().appendChild(footer);

However it does not show up, although the `getElementById` does not 
return `null`


What is the correct way to do this?

--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.