GWT Collapsible dialog box

80 views
Skip to first unread message

David Hoffer

unread,
Nov 21, 2008, 9:23:20 AM11/21/08
to Google-We...@googlegroups.com
I need to show a GWT error dialog where I can set the title and error message but also need a lower portion where I can show a detailed error message.  I want the lower portion to be collapsible via a button or something so that the user has the option to see it or not.

Does something like this exist in GWT?  GWT-EXT?  Other?

-Dave

Isaac Truett

unread,
Nov 21, 2008, 9:28:49 AM11/21/08
to Google-We...@googlegroups.com
You a mean a DialogBox with a DisclosurePanel?

David Hoffer

unread,
Nov 21, 2008, 9:34:34 AM11/21/08
to Google-We...@googlegroups.com
Possibly, I'm not sure what a DisclosurePanel is.  What I'm looking for is a DialogBox with a title, a main message in the dialog box, an OK button to close.  But with the addition of a sub-panel or something under the main message that can optionally show another message.  This would be optionally shown via the user clicking on something, perhaps just another button next to the OK button.

Oh, also the dialog should have a place to display an error icon.

-Dave

Ian Bambury

unread,
Nov 21, 2008, 9:38:32 AM11/21/08
to Google-We...@googlegroups.com
A disclosure panel looks like this http://examples.roughian.com/#Panels~DisclosurePanel

Ian

Isaac Truett

unread,
Nov 21, 2008, 9:40:50 AM11/21/08
to Google-We...@googlegroups.com
DialogBox and DisclosurePanel are both part of the standard GWT widget
library. Everything you're asking for can be created as a simple
composite of existing widgets.

David Hoffer

unread,
Nov 21, 2008, 9:47:56 AM11/21/08
to Google-We...@googlegroups.com
Okay I will take a look at these.  Just wondering is there an existing library that has already created composite widgets like this?

-Dave

Isaac Truett

unread,
Nov 21, 2008, 10:12:03 AM11/21/08
to Google-We...@googlegroups.com
There are many libraries with a great variety of widgets. I am not
aware of one with a single widget matching your specifications.
Reply all
Reply to author
Forward
0 new messages