Monday, May 30, 2011

Re: Pop up Panel not working properly

hi,

how did you do the binding ? can you paste your java class here so
that we can see whats going on ?
because i had done something similar to this.

regards.

On 28 mai, 13:55, Juhi Bhatia <jbha...@entrib.com> wrote:
> Hi,
>
> I am trying to show a Grid in a popup panel through uibinder. but the popup
> panel never shows up.
>
> This is the popup.ui.xml file -
>
> <g:PopupPanel ui:field = "popupPanel">
>         <g:Grid>
>             <g:row>
>                 <g:customCell>
>                     <g:Label text = "Tag ID: "/>
>                 </g:customCell>
>                 <g:customCell>
>                     <g:TextBox ui:field = "tagIDBox"/>
>                 </g:customCell>
>             </g:row>
>
>             <g:row>
>                 <g:customCell>
>                     <g:Label text = "Tag Name: "/>
>                 </g:customCell>
>                 <g:customCell>
>                     <g:TextBox ui:field = "tagNameBox"/>
>                 </g:customCell>
>             </g:row>
>
>             <g:row>
>                 <g:customCell>
>                     <g:Label text = "Tag Description: "/>
>                 </g:customCell>
>                 <g:customCell>
>                     <g:TextBox ui:field = "tagDescBox"/>
>                 </g:customCell>
>             </g:row>
>
>             <g:row>
>                 <g:customCell>
>                     <g:Label text = "EMG Tag Type: "/>
>                 </g:customCell>
>                 <g:customCell>
>                     <g:TextBox ui:field = "emgTagType"/>
>                 </g:customCell>
>             </g:row>
>
>             <g:row>
>                 <g:customCell>
>                     <g:Label text = "Tag Display Unit: "/>
>                 </g:customCell>
>                 <g:customCell>
>                     <g:TextBox ui:field = "tagDisplayUnit"/>
>                 </g:customCell>
>             </g:row>
>
>             <g:row>
>                 <g:customCell>
>                     <g:Label text = "Connector ID: "/>
>                 </g:customCell>
>                 <g:customCell>
>                     <g:ListBox ui:field = "connectorId"/>
>                 </g:customCell>
>             </g:row>
>
>             <g:row>
>                 <g:customCell>
>                     <g:Label text = "Element ID: "/>
>                 </g:customCell>
>                 <g:customCell>
>                     <g:ListBox ui:field = "elementId"/>
>                 </g:customCell>
>             </g:row>
>         </g:Grid>
>
>         <g:Grid>
>             <g:row>
>                 <g:customCell>
>                     <g:Label text = "Back End Data"/>
>                 </g:customCell>
>             </g:row>
>             <g:row>
>                 <g:customCell>
>                     <g:Label text = "Name: "/>
>                 </g:customCell>
>                 <g:customCell>
>                     <g:TextBox ui:field = "nameBox"/>
>                 </g:customCell>
>             </g:row>
>             <g:row>
>                 <g:customCell>
>                     <g:Label text = "Value: "/>
>                 </g:customCell>
>                 <g:customCell>
>                     <g:TextBox ui:field = "valueBox"/>
>                 </g:customCell>
>             </g:row>
>         </g:Grid>
>         </g:PopupPanel>
>
> and my class extends PopupPanel.
>
> I create an object of this class and do a show() on the object, in the
> onClick of the button i want to show this popup.
>
> Can anyone help??
>
> Thanks,
> Juhi.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment