google-code-export / gwt-ext

Automatically exported from code.google.com/p/gwt-ext
0 stars 0 forks source link

BasicDialog implementation concern #110

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to bring up this issue again.  It was submitted by Mathias before
and the solution was the LayoutDialog, however I have a concern.  I think
what mathias was referring to is something that i'm trying to do myself. 
My understanding of BasicDialog is that it can take any existing element
and convert it to a dialog.  It doesn't require having a center
ContentPanel and then add elements to it.  I have an existing form that I
want to popup as a dialog form.  I don't want to have to configure a
LayoutDialog and then add elements to it.  I want the form to be the main
content where I don't have to size the dialog around it.  The form should
be the dialog itself.  Does that make sense?  Please help if wrong. 
Thanks.  By the way, I was able to achieve what I'm looking for through
GWT's PopupPanel but its missing some features that I want from Ext.

Original issue reported on code.google.com by nvoskerj...@sbcglobal.net on 13 Sep 2007 at 12:47

GoogleCodeExporter commented 9 years ago
Did you read my response here :
http://groups.google.com/group/gwt-ext/browse_thread/thread/38b322721ffed63c

Ext's BaisicDialog doesn't take any element and convert it into a dialog. It 
requires
the content to be wrapped in special markup as described in my response in the 
thread
mentioned. The special markup has a hidden style, and BasicDialog loads that 
spcial
markup into the dialog. 

I don't quite follow what you're trying to do, that cannot be accomplished using
LayoutDialog in a rather simple manner.

Original comment by sanjiv.j...@gmail.com on 14 Sep 2007 at 2:04

GoogleCodeExporter commented 9 years ago
OK, then maybe my understanding of what BasicDialog is wrong.  What I'm looking 
for
is to turn an element like a form into a dialog.  It is the same effect as you 
would
get if you wrapped a form element in a GWT PopupPanel, which is what I did to 
get the
result I'm looking for.  I thought constructing a BasicDialog by sending it an
element would also create this effect.  I want the form to float like a dialog
without it being wrapped inside a ContentPanel.  The form already has such a 
nice
layout and border of its own so I don't want it to be imbedded in the the 
ContentPanel

Original comment by nvoskerj...@sbcglobal.net on 14 Sep 2007 at 3:18

GoogleCodeExporter commented 9 years ago

Original comment by sanjiv.j...@gmail.com on 23 Sep 2007 at 9:53