Hi all,
I've read all the posts about this subject and I understand what the
restrictions are on this subject, however I cannot seem the figure
this one out.
I use the following lines of code(snippets):
RootPanel ccWidget = RootPanel.get(cc_js_widget_container);
ccWidget.setvisible(false);
Thanks, this helped me.
On May 7, 2:31 pm, marco m.massen...@googlemail.com wrote:
as it's not XHMTL, the div need an explicit /div to close them, or
they will all be 'children' of the ones that precede them
added a bunch of /divs and it all worked fine
This happens also for perfectly 'legal' HTML:
div id=staticarea /
div id=applicationarea
div id=menuarea /
div id=clientarea /
div id=actionpanel /
/div
(the reason for doing so is that by using CSS I can easily position
the four areas in the client area - see
No it's not. You aren't using it correctly.
Panel actionsarea = RootPanel.get(actionpanel);
ActionsView actions = new ActionsView();
actions.setMainPanel(actionsarea);
I'm going to go out on a limb here say it's the third line where the
exception gets thrown. Here's what I think you are doing
nope - sadly it's a much more of a n00b error :/
someone who knows A LOT more about GWT than me, correctly pointed out
that it's my HTML that's borked
as it's not XHMTL, the div need an explicit /div to close them, or
they will all be 'children' of the ones that precede them
added a bunch of
Any suggested workarounds?
I currently load a page layout in HTML (Header/Menu Bar/Footer) ...
then in each section I load different HTML layouts depending on the
user, and then I add the controls.
On Apr 27, 6:15 pm, Vitali Lovich vlov...@gmail.com wrote:
Yes this has already come up on the
Yes. Use GWT properly. Don't use raw HTML. That's your problem.
Instead of adding an HTML widget that wraps a div, use a SimplePanel
set it's id if you need to. Look at the showcase - it shows you a brief
overview of most (all?) the widgets GWT has.
Think of using raw HTML in your app as
I'm getting the following errors with 1.6.4 on a Mac.
A widget that has an existing parent widget may not be added to the
detach list
The HTML is:
body
!-- OPTIONAL: include this if you want history support --
iframe src=javascript:'' id=__gwt_historyFrame tabIndex='-1'
Yes this has already come up on the mailing list. This was always illegal,
just uncaught prior to 1.6. You cannot wrap two elements in GWT if they
already have a parent/child relationship in the DOM (causes a mismatch in
the trees).
Do a search you'll find the response from the GWT developer