hi, i see this line when trying StackLayoutPanel:
This widget will only work in standards mode, which requires that the
HTML page in which it is run have an explicit <!DOCTYPE>
declaration.
and sure enough the StackLayoutPanel i created doesn't show (or
probably doesn't work).
i tried using the stack layout panel with the uibinder:
<?xml version="1.0" encoding="UTF-8"?>
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
xmlns:g='urn:import:com.google.gwt.user.client.ui'>
<g:HTMLPanel>
<g:StackLayoutPanel ui:field="linkstack">
<g:stack>
<g:customHeader size="5">
<g:Label>Panel 1</g:Label>
</g:customHeader>
<g:VerticalPanel>
<g:Label>item a</g:Label>
<g:Label>item b</g:Label>
</g:VerticalPanel>
</g:stack>
<g:stack>
<g:customHeader size="5">
<g:Label>Panel 2</g:Label>
</g:customHeader>
<g:VerticalPanel>
<g:Label>item a</g:Label>
<g:Label>item b</g:Label>
</g:VerticalPanel>
</g:stack>
</g:StackLayoutPanel>
</g:HTMLPanel>
</ui:UiBinder>
am i supposed to put the DOCTYPE tag in the xml too? or should i just
change the DOCTYPE in welcomeGWT.html?
would simply putting this line "<!DOCTYPE html>" enough?
i'm really new to this so really dumb at this. example would be
helpful. thanks!
i'm using gwt 2.0, firefox 3.5.7 and ubuntu 9.10
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.