This issue is resolved. Apparently, the <g:layer> tag is allowed (&
available) only inside the g:LayoutPanel tag. Eclipse codehelper does
not provide this tag to the user. Also, the compiler error message was
not describing the error correctly.

This combination will work correctly.
<g:LayoutPanel xmlns:g="urn:import:com.google.gwt.user.client.ui"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="urn:import:com.google.gwt.user.client.ui
urn:import:com.google.gwt.user.client.ui ">
        <g:layer left='0%' right='0%' top='0px' height='90px'>
                <g:HTML>
                        <div class="content-box-ribbon-right">
                                <h2>Some Details</h2>
                        </div>
                </g:HTML>
        </g:layer>
</g:LayoutPanel>

Thanks,
Shankar.
On Jul 16, 12:33 pm, shankar_1979 <[email protected]> wrote:
> Hi, I am trying to build an UI with the UiBinder described here.
> (http://code.google.com/webtoolkit/doc/latest/DevGuideUiBinder.html).
>
> ...code
> <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
>         xmlns:g='urn:import:com.google.gwt.user.client.ui' >
> <g:VerticalPanel styleName="home-box-top">
>         <g:VerticalPanel styleName="home-box-content">
>         <g:FormPanel>
>                         <g:Hyperlink 
> ui:field="viewExamsLink">Test</g:Hyperlink>
>                                 </g:FormPanel>
>                         </g:VerticalPanel>
>                 </g:VerticalPanel>
>         </g:HTMLPanel>
> </ui:UiBinder>
> ...
> In Eclipse Helios, I am facing a bug where the <g:layer> tag is not
> available in the classpath. The g

-- 
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.

Reply via email to