Collapsible panel

2010-05-20 Thread Komal
Hi,

I am trying to use the collapsible panel
I have downloaded the incubator jar (gwt-incubator-20100204-r1747.jar)

the styles are not reflecting and the hover bar is appearing although
on click of toggle button it is sliding but then I am not able to see
it any how or slide it back.

I am getting the following exception:
If I try to set the width of the collapsible it ,if is not then the
exception does not appear but nor does it work as i see it in the live
demo.

The underlying content width cannot be 0. Please ensure that
the .container css style has a fixed
widthjava.lang.IllegalStateException: The underlying content width
cannot be 0. Please ensure that the .container css style has a fixed
width

at
com.google.gwt.widgetideas.client.CollapsiblePanel.refreshWidth(CollapsiblePanel.java:
649)
at
com.google.gwt.widgetideas.client.CollapsiblePanel.setWidth(CollapsiblePanel.java:
508)
at
com.ensarm.engile.client.ui.PlanTrackView.initialize(PlanTrackView.java:
67)
at
com.ensarm.engile.client.app.core.EngileModuleHome.onAppEvent(EngileModuleHome.java:
80)
at
com.ensarm.enwelib.app.client.core.events.BaseEvent.dispatch(BaseEvent.java:
22)
at
com.ensarm.enwelib.app.client.core.events.BaseEvent.dispatch(BaseEvent.java:
1)
at com.google.gwt.event.shared.HandlerManager
$HandlerRegistry.fireEvent(HandlerManager.java:65)
at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access
$1(HandlerManager.java:53)
at
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:
178)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52)
at
com.ensarm.enwelib.app.client.core.DefaultUiManager.fireEvent(DefaultUiManager.java:
237)
at
com.ensarm.enwelib.app.client.core.ModuleViewTab.getView(ModuleViewTab.java:
99)
at
com.ensarm.enwelib.app.client.core.ModuleViewTab.onClick(ModuleViewTab.java:
151)
at
com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:
54)
at
com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:1)
at com.google.gwt.event.shared.HandlerManager
$HandlerRegistry.fireEvent(HandlerManager.java:65)
at com.google.gwt.event.shared.HandlerManager$HandlerRegistry.access
$1(HandlerManager.java:53)
at
com.google.gwt.event.shared.HandlerManager.fireEvent(HandlerManager.java:
178)
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:52)
at
com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:
116)
at com.google.gwt.user.client.ui.Widget.onBrowserEvent(Widget.java:
100)
at com.google.gwt.user.client.DOM.dispatchEventImpl(DOM.java:1307)
at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1263)
at sun.reflect.GeneratedMethodAccessor969.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
157)
at
com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:
1713)
at
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
165)
at
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
120)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
507)
at
com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
264)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
91)
at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
at sun.reflect.GeneratedMethodAccessor906.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:
71)
at
com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
157)
at
com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:
1668)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
401)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
222)
at java.lang.Thread.run(Thread.java:619)



here is the sample code I have tried:

protected HorizontalPanel   hPanel  = new
HorizontalPanel

Re: how to add higher Z-index to collapsible panel which will not override the menubar z-index

2009-10-01 Thread r...@n

Hi Jerome.

Have you solved the issue?
Because I've got similar problem with CollapsiblePanel, GlassPanel,
and DialogBox.
May be my example could help you.

I am using CSS from incubator demo where z-index of CollapsiblePanel
is 100:
.gwt-CollapsiblePanel .container {
...
z-index: 100;
...
}

but whenever Collapsible Panel is pinned my GlassPanel tucked under
CollapsiblePanel
so I've increased z-index for GlassPanel to be higher then of
CollapsiblePanel:
.gwt-GlassPanel {
z-index: 101;
}

but after that my dialog box became under GlassPanel so I've increased
it's z-index too:
.gwt-DialogBox {
z-index: 102;
}

After that all widgets behaved as I expected.
It would be easier to say something about your case if you could post
here your CSS z-index values for your CollapsiblePanel, Scrolltable,
and menu.

Roman.

On Sep 22, 11:35 pm, Jerome  wrote:
> Hi,
>
> I am using the gwt-incubator scrolltable and CollapsiblePanel.
> Initially  had problems withz-indexof CollapsiblePanel since it was
> tucked under the Scrolltable so i added higherz-indexto it and that
> worked fine but in the event the i have menu which got tucked under
> the CollapsiblePanel now i tried various conbinations ofz-indexstill
> menu is getting tucked underneath the CollapsiblePanel.
>
> Anybody have any thoughts on the issue?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



how to add higher Z-index to collapsible panel which will not override the menubar z-index

2009-09-22 Thread Jerome

Hi,

I am using the gwt-incubator scrolltable and CollapsiblePanel.
Initially  had problems with z-index of CollapsiblePanel since it was
tucked under the Scrolltable so i added higher z-index to it and that
worked fine but in the event the i have menu which got tucked under
the CollapsiblePanel now i tried various conbinations of z-index still
menu is getting tucked underneath the CollapsiblePanel.

Anybody have any thoughts on the issue?
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~--~~~~--~~--~--~---



Vertical Collapsible Panel?

2009-09-15 Thread PJ Gray
I was looking around at some of the custom widget libraries (gwt-ext etc),
and I like the collapsible panel widget a bunch, but I was wondering if
anyone knew of a library that made one that is vertical, and opens to form a
column-ish panel.So you could have a bunch of vertical bars, click on a
bar and open a panel?

thanks in advance!

-pj

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



Re: collapsible panel expands ON TOP, possible?

2008-12-16 Thread jbroquefere

please?

On Dec 15, 3:57 pm, jbroquefere 
wrote:
> I know it possible clicking the bar instead of the button to expand
> it.
> but what i want i, first, to expand it programmatically like if i
> clicked on the bar and to disable the button. i just want ONE
> comportement, the one i get when i click the bar
>
> On Dec 15, 3:41 pm, jbroquefere 
> wrote:
>
> > Hi,
> > i want a collapsible panel being able to hide other panels when i
> > expand it.
> > i mean, with a borderLayout, if my collapsible panel is the right
> > side, i dont whant the center region being updated when i expand my
> > left panel.
> > can i do this? if yes, how could i do?
>
> > Thanl's a lot
>
> > jb
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: collapsible panel expands ON TOP, possible?

2008-12-15 Thread jbroquefere

I know it possible clicking the bar instead of the button to expand
it.
but what i want i, first, to expand it programmatically like if i
clicked on the bar and to disable the button. i just want ONE
comportement, the one i get when i click the bar

On Dec 15, 3:41 pm, jbroquefere 
wrote:
> Hi,
> i want a collapsible panel being able to hide other panels when i
> expand it.
> i mean, with a borderLayout, if my collapsible panel is the right
> side, i dont whant the center region being updated when i expand my
> left panel.
> can i do this? if yes, how could i do?
>
> Thanl's a lot
>
> jb
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



collapsible panel expands ON TOP, possible?

2008-12-15 Thread jbroquefere

Hi,
i want a collapsible panel being able to hide other panels when i
expand it.
i mean, with a borderLayout, if my collapsible panel is the right
side, i dont whant the center region being updated when i expand my
left panel.
can i do this? if yes, how could i do?

Thanl's a lot

jb
--~--~-~--~~~---~--~~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---