property thus:
DialogBox dlg = new DialogBox();
dlg.setModal(true);
dlg.setGlassEnabled(true);
Now this dialog contains variaous widgets that include input elements
like TextBox and ListBox's.
I use a widget constructed from HTMLPanel contain a bunch of Input
Elements thus.
<code>
<g:HTMLPanel width='450px' styleName='{style.outer}'> <!--
ui:field='m_outer_panel'>-->
<div class='{style.top}'>
<div class='{style.inputpanel}'>
<div class='{style.ordertype}'>
<progeny:DefaultLabel
ui:field='m_ordertype_label' text='Order Type'
styleName='{style.prompt}'/>
<div class='{style.editboxC}'>
<g:ListBox ui:field='m_ordertype_dd'
addStyleNames='{style.textbox}' tabIndex='1' height='100%'
width='100%'/>
</div>
</div>
</div>
<div class='{style.buttons}'>
<g:Button text='Search' ui:field='m_save_button'
addStyleNames='{style.save}' tabIndex='10' height='auto'/>
</div>
</div>
<div class='{style.fields}'>
<g:FlowPanel styleName='{style.fields-container}'>
<g:FlowPanel styleName='{style.fields-left}'
ui:field='m_fields_panel'>
</g:FlowPanel>
</g:FlowPanel>
</div>
</g:HTMLPanel>
</ui:UiBinder>
</code>
PROBLEM:
1. If I use the dialog with no glasspanel it is never modal which is
annoying
2 When I use glasspanel (setGlassEnabled) it becomes modal but then
disables all input elements including the ones inside the dialog
itself
What to do?
Thanks for your ideas.
Melody
--
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