Re: DisclosurePanel

2019-05-22 Thread Rob Newton
When you create the DisclosurePanel you can provide the text for the header: DisclosurePanel(java.lang.String headerText) On Wednesday, May 22, 2019 at 3:59:16 PM UTC+10, naaser ahmed wrote: > > Hello, > > I am trying to make my website compatible with Accessibility

DisclosurePanel

2019-05-21 Thread naaser ahmed
Hello, I am trying to make my website compatible with Accessibility and running into "Links must have discernible text" error. On inspecting, the error is being generated by Links being generated by Disclosure Panel. The link being created is this -- "". Can someone please let me know how I

Re: Return a HorizontalPanel to a DisclosurePanel when I perform an AsyncCallback

2016-08-10 Thread Glyndwr Bartlett
Jens, You are magnificent! I can not express how grateful I am for your help :-) Yours-in-Scouting, Glyn (Wirrin) On 11 August 2016 at 00:51, Jens <jens.nehlme...@gmail.com> wrote: > private DisclosurePanel addressDisclosurePanel(String nameId) { > final Dis

Re: Return a HorizontalPanel to a DisclosurePanel when I perform an AsyncCallback

2016-08-10 Thread Jens
private DisclosurePanel addressDisclosurePanel(String nameId) { final DisclosurePanel addressDisclosurePanel = new DisclosurePanel( "Address"); //Get the Addresses AsyncCallback<List> callback = new GetAddressHandler<List< Address>>(PersonalDetailsView.t

Re: Return a HorizontalPanel to a DisclosurePanel when I perform an AsyncCallback

2016-08-10 Thread JonL
Your order of operations appears incorrect. From your original code I don't see where GetAddressHandler.addressHorizontalPanel is ever actually added to the addressDisclosurePanel. On Tuesday, August 9, 2016 at 3:15:42 PM UTC-7, Glyndwr Bartlett wrote: > > Hi Jens, > > I have spent over

Re: Return a HorizontalPanel to a DisclosurePanel when I perform an AsyncCallback

2016-08-09 Thread Glyndwr Bartlett
Hi Jens, I have spent over three weeks trying to get this to work. I have tried to include your suggestion; however, I just can not get it to work. Any assistance you, or anyone else, can provide would be greatly appreciated. Kind regards, Glyn On 8 August 2016 at 19:16, Glyndwr Bartlett

Re: Return a HorizontalPanel to a DisclosurePanel when I perform an AsyncCallback

2016-08-08 Thread Glyndwr Bartlett
Hi Jens, When I do this (in onSuccess) I get the error: addressDisclosurePanel cannot be resolved Are you ale to provide me with code examples please as I am not a real programmer I am doing this for Scouts. Kind regards, Glyn On 8 August 2016 at 18:31, Jens wrote:

Re: Return a HorizontalPanel to a DisclosurePanel when I perform an AsyncCallback

2016-08-08 Thread Jens
Move //addressDisclosurePanel.add(addressHorizontalPanel); into your GetAddressHandler and pass in the newly created addressDisclosurePanel? Alternatively use an anonymous class as callback. -- J. -- You received this message because you are subscribed to the Google Groups "GWT Users"

Click handler for widgets in content panel for a DisclosurePanel does not work

2014-01-11 Thread byhisdeeds
Can anyone say if it is posible for me to receive click events for widgets in the content panel of a disclosure panel. When I try it I receive no notifications within the click handlers attached to the widgets. -- You received this message because you are subscribed to the Google Groups

Re: Click handler for widgets in content panel for a DisclosurePanel does not work

2014-01-11 Thread Jens
Works for me. I have DisclosurePanels that contain content widgets with lots of Buttons / Anchors having ClickHandler attached. -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails

Re: Click handler for widgets in content panel for a DisclosurePanel does not work

2014-01-11 Thread John Preston
I instantiate the DisclosurePanel as follows. g:DisclosurePanel ui:field=dp width=180px g:customHeader width=100% g:HorizontalPanel width=100% horizontalAlignment=align_right verticalAlignment=align_middle styleName

Slow down animation on DisclosurePanel?

2013-10-29 Thread darkflame
I simply wish to slow down the open/close animation on a DisclosurePanel. Any ideas how to do this? I see; private static final int ANIMATION_DURATION = 350; in the class. But the class cant be extended for some reason, so is there alternatives/workarounds? Thanks, Thomas -- You received

Re: How to use a DisclosurePanel within a DockLayoutPanel's north panel

2012-09-16 Thread Marco
Have you found a solution in the meantime? Has anybody else an idea? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/TePZo1qbXuAJ. To post

Re: How to use a DisclosurePanel within a DockLayoutPanel's north panel

2012-09-16 Thread Thomas Broyer
On Sunday, September 16, 2012 11:25:57 AM UTC+2, Marco wrote: Have you found a solution in the meantime? Has anybody else an idea? Have you tried a HeaderPanel instead of DockLayoutPanel? -- You received this message because you are subscribed to the Google Groups Google Web

ScrollPanel and DisclosurePanel

2012-04-24 Thread tong123123
I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many DisclosurePanel, I want the content inside the DockLayoutPanel can scroll when many of these DisclosurePanel are expanded, how to achieve this? and I found that if I set DockLayoutPanel height to 100

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread Jens
I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many DisclosurePanel, I want the content inside the DockLayoutPanel can scroll when many of these DisclosurePanel are expanded, how to achieve this? Use a ScrollPanel inside the DockLayoutPanel and put

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread tong123123
is SimplePanel a kind of LayoutPanel? On Tuesday, April 24, 2012 7:01:03 PM UTC+8, Jens wrote: I have a DockLayoutPanel, inside the DockLayoutPanel there is some FlowPanel plus many DisclosurePanel, I want the content inside the DockLayoutPanel can scroll when many of these DisclosurePanel

Re: ScrollPanel and DisclosurePanel

2012-04-24 Thread Jens
DisclosurePanel, I want the content inside the DockLayoutPanel can scroll when many of these DisclosurePanel are expanded, how to achieve this? Use a ScrollPanel inside the DockLayoutPanel and put your FlowPanel into that ScrollPanel... and I found that if I set DockLayoutPanel height to 100

CheckBox setValue() not triggering visual checkmark when used as DisclosurePanel header

2011-12-08 Thread Shawn Drape
Hi all, I'm fairly sure this is a bug but I thought I'd ask about it here before I went and created an issue for it. I'm using a CheckBox as the header of a DisclosurePanel, and since I'm already aware that the click handlers for the CheckBox are ignored I have created open and close handlers

Customizing DisclosurePanel

2011-10-26 Thread Marwa
Hello all, I am trying to customize DisclosurePanel in a way that gives me ability to modify title (header text) on the widget itself. I just need to make the DisclosurePanel editable when it opens. When it closes, the header text should be showing normally (read only, not editable). I thought

ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Phineas Gage
Using GWT 2.4.0, I'm trying to create a DialogBox for errors containing a message and a stack trace inside a DisclosurePanel, but in OSX Lion, scrolling doesn't work in Google Chrome and Safari. It works on Firefox for OSX Lion, IE for XP and Google Chrome for XP. For the browsers that it doesn't

Re: ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Jens
I use a PopupPanel with a ScrollPanel that contains somewhere a DisclosurePanel that in turn contains a ScrollPanel in its content area and it works. But I think I had some issues but could not remember which ones. Can you try and use setModal(false) on your PopupPanel? I don't use setModal

Re: ScrollPanel inside DisclosurePanel inside DialogBox does not work on all browsers in OSX Lion

2011-09-20 Thread Phineas Gage
Replacing setModal(true) above with setModal(false) works for me and still seems to work in the other browsers. It's hard to say whether that's a bug or not, but setModal(false) avoids it. Many thanks... Pete On Sep 20, 6:17 pm, Jens jens.nehlme...@gmail.com wrote: Can you try and use

How to use I18N in the header of DisclosurePanel() and g:item of ListBox?

2011-07-25 Thread Alex Luya
Maybe,it can be done like this: - g:item ui:msgLogin/ui:msg /g:item - But I want to use a global Constants,I mean using this: ui:with field='consts'

Re: How to fire an CloseEvent on a DisclosurePanel?

2011-07-11 Thread jhulford
have animation turned on for the DisclosurePanel (setAnimationEnabled(true))? If so, just calling setOpen(false) should show the panel closing animation, you don't have to do anything special to run it. On Jul 10, 3:34 pm, Rob Coops rco...@gmail.com wrote: Hi all, I've been pulling my hair out

How to fire an CloseEvent on a DisclosurePanel?

2011-07-10 Thread Rob Coops
as programatically click on the DisclosurePanel header then I hope they will share this knowledge with me :-) Regards, Rob -- 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

Avoid opening DisclosurePanel when dragging it

2010-10-23 Thread De
Hello, I created a DisclosurePanel which can be dragged and dropped. It works but after dropping it, as the header was clicked, the DisclosurePanel opens or closes . Is there a way to avoid it? Thanks in advance for your help, JC -- You received this message because you are subscribed

Re: DisclosurePanel, class-name content

2010-09-08 Thread lineman78
, lineman78 linema...@gmail.com wrote: It is because content and header all both children of the gwt- DisclosurePanel class and they expect you to use child selectors. Here is what they expect you use so that you don't end up with collisions: .gwt-DisclosurePanel .content {  border: 2px

Re: DisclosurePanel, class-name content

2010-09-08 Thread Jaroslav Záruba
On Wed, Sep 8, 2010 at 8:03 PM, lineman78 linema...@gmail.com wrote: Then the problem isn't with GWT; it is with the site you are integrating with not having a convention. May I ask you then why do you think GWT uses the prefixing at all? -- You received this message because you are

Re: DisclosurePanel, class-name content

2010-09-08 Thread Jaroslav Záruba
of collisions. When virtually all the class-names used in GWT are name-safe to me it feels wrong to be forced to fix one nested class-name before releasing a GWT-component to the world. (Even the class-name for open DisclosurePanel is strongly prefixed: gwt-DisclosurePanel-open.) Adding something

Re: DisclosurePanel, class-name content

2010-09-08 Thread lineman78
virtually all the class-names used in GWT are name-safe to me it feels wrong to be forced to fix one nested class-name before releasing a GWT-component to the world. (Even the class-name for open DisclosurePanel is strongly prefixed: gwt-DisclosurePanel-open.) Adding something like fix your class

DisclosurePanel, class-name content

2010-09-07 Thread Jaroslav Záruba
Hello There is one quite unfortunate class-name in the DisclosurePanel DOM. The widget serving for content gets class-name content assigned. Such generic name is very collision prone, which situation I'm currently facing. Is there any special reason why this element did not get gwt-prefixed class

Re: DisclosurePanel, class-name content

2010-09-07 Thread lineman78
It is because content and header all both children of the gwt- DisclosurePanel class and they expect you to use child selectors. Here is what they expect you use so that you don't end up with collisions: .gwt-DisclosurePanel .content { border: 2px solid black; } On Sep 5, 11:08 am, Jaroslav

Re: DisclosurePanel, class-name content

2010-09-07 Thread Jaroslav Záruba
When you're creating a component to existing web-site it is quite likely someone has used the content class name. Therefore his CSS will merge with your .gwt-DisclosurePanel .content. There seem to be a naming convention in GWT. This just shows that there's a good reason to have one. On Wed, Sep

Re: DisclosurePanel, class-name content

2010-09-07 Thread Jaroslav Záruba
On Wed, Sep 8, 2010 at 2:43 AM, lineman78 linema...@gmail.com wrote: It is because content and header all both children of the gwt- DisclosurePanel class and they expect you to use child selectors. Here is what they expect you use so that you don't end up with collisions: .gwt

[gwt-contrib] [google-web-toolkit] r8676 committed - Tests and tweaks for DisclosurePanel and StackLayoutPanel parsers....

2010-08-31 Thread codesite-noreply
Revision: 8676 Author: gwt.mirror...@gmail.com Date: Tue Aug 31 12:33:22 2010 Log: Tests and tweaks for DisclosurePanel and StackLayoutPanel parsers. 1. Problems in assertFirstHeader(). 1.1. invalid condition; 1.2. invalid reference on second argument. 2. Use addStatement() instead

DisclosurePanel and ScrollPanel

2010-08-29 Thread ailinykh
Hello, everybody! I have simple layout, something like this g:DisclosurePanel g:headerEdit Lists/g:header g:HTMLPanel some stuff here /g:HTMLPanel /g:DisclosurePanel g:ScrollPanel g:Tree ui:field=listTree /

[gwt-contrib] Re: Tests and tweaks for DisclosurePanel and StackLayoutPanel parsers (issue736801)

2010-08-08 Thread Ray Ryan
Sorry I've let this and the other one languish. I have a nasty deadline coming up and it may be a couple of more days. On Tue, Aug 3, 2010 at 12:23 PM, konstantin.scheg...@gmail.com wrote: Reviewers: Ray Ryan, Description: 1. Problems in assertFirstHeader(). 1.1. invalid condition; 1.2.

[gwt-contrib] Tests and tweaks for DisclosurePanel and StackLayoutPanel parsers (issue736801)

2010-08-03 Thread Konstantin . Scheglov
Reviewers: Ray Ryan, Description: 1. Problems in assertFirstHeader(). 1.1. invalid condition; 1.2. invalid reference on second argument. 2. Use addStatement() instead of addInitStatement(), because same is done everywhere. 3. Small tweaks. 4. Set of tests, including all bad cases. Please review

Re: DisclosurePanel + Custom images + XML

2010-07-19 Thread rlebosse
= (CustomDisclosurePanelImages) GWT     .create(CustomDisclosurePanelImages.class); Isn't the DisclosurePanelImages ImageBundle @Deprecated? However, my DisclosurePanel is created into an XML file. Do you know, how, in the XML file, I can say it has to take CustomDisclosurePanelImages images

GWT + Arrows + DisclosurePanel #2

2010-07-19 Thread rlebosse
(); } CustomDisclosurePanelImages cdpi = (CustomDisclosurePanelImages) GWT .create(CustomDisclosurePanelImages.class); However, my DisclosurePanel is created into an XML file. I created it that way. ui:image field='disclosurePanelClosed' / ui:image field='disclosurePanelOpen' / g:HTMLPanel

Re: DisclosurePanel + Custom images + XML

2010-07-19 Thread rlebosse
@Deprecated? However, my DisclosurePanel is created into an XML file. Do you know, how, in the XML file, I can say it has to take CustomDisclosurePanelImages images. DisclosurePanel has a specialized parser in UiBinder, which looks for openImage and closeImage attributes on the header

Re: GWT + Arrows + DisclosurePanel #2

2010-07-19 Thread rlebosse
DisclosurePanel is created into an XML file. I created it that way. ui:image field='disclosurePanelClosed' / ui:image field='disclosurePanelOpen' / g:HTMLPanel g:DisclosurePanel ui:field=sessions stylePrimaryName='menu' g:header openImage='{disclosurePanelOpen}' closeImage='{disclosurePanelClosed

Re: DisclosurePanel and arrows

2010-07-16 Thread rlebosse
: Hello, I've created a DisclosurePanel into my GWT project and want the arrow to be smaller. How can I do such a thing? Thanks in advance. -- 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

DisclosurePanel + Custom images + XML

2010-07-16 Thread rlebosse
disclosurePanelOpen(); } CustomDisclosurePanelImages cdpi = (CustomDisclosurePanelImages) GWT .create(CustomDisclosurePanelImages.class); However, my DisclosurePanel is created into an XML file. Do you know, how, in the XML file, I can say it has to take CustomDisclosurePanelImages images. g:HTMLPanel

DisclosurePanel and arrows

2010-07-13 Thread rlebisse
Hello, I've created a DisclosurePanel into my GWT project and want the arrow to be smaller. How can I do such a thing? Thanks in advance. -- 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-tool

Re: DisclosurePanel and arrows

2010-07-13 Thread Sean
Those are images, and you can set them in the Constructor by using http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/DisclosurePanelImages.html On Jul 13, 5:34 am, rlebisse rlebo...@gmail.com wrote: Hello, I've created a DisclosurePanel into my GWT

DisclosurePanel, disable header clickthrough

2010-07-09 Thread HeideMeister
I have a DisclosurePanel with a few links inside the header. My problem is that when i click one of these links the click-event sink through to the DisclosurePanel header, and folds up the panel. Is there any smart way to stop this? I tried playing around with unsinking the event - but couldn't

Avoid nested events in DisclosurePanel

2010-05-18 Thread HeideMeister
I'm having some difficulties with a DisclosurePanel, and could use some help. In the header of the DisclusorePanel have a link that and what happens when i click that link is that both the link's and the DisclosurePanel's onClick event is fired. Is there a way to suppress the DisclosurePanel's

How to use a DisclosurePanel within a DockLayoutPanel's north panel

2010-04-23 Thread Philippe Frangioni
Hi, I want to use a DockLayoutPanel with a fixed height and with 2 parts: the NORTH and the CENTER. In the NORTH panel, I want to set a DisclosurePanel. The problem is that the height of the NORTH panel is fixed and set at creation. So when the DisclosurePanel gets opened, the content

Problem with DisclosurePanel

2010-03-03 Thread Juan M.M.M.
Hi ppl! Look at this image = http://gwtupload.googlegroups.com/web/dpProblem.png?gsc=U-ruySMpq... Someone knows how can I remove this disgusting line? Best regards! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this

checkbox has wrong behavior on click if attached to a DisclosurePanel header

2010-01-29 Thread nicanor.babula
: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6) Gecko/20091201 SUSE/3.5.6-1.1.1 Firefox/3.5.6. For now, I will try preventing clickevent's propagation, in order to obtain a proper behavior. my code: [code] CheckBox testCheckBox = new CheckBox(check me!); DisclosurePanel disclosurePanel = new

CustomHeader Widget for DisclosurePanel

2010-01-06 Thread Charan
I am trying to put in a custom widget for the header of DisclosurePanel. How can I use the images (disclosurePanelOpen, disclosurePanelClosed) that come with the SDK in the custom widget class? Thanks -- You received this message because you are subscribed to the Google Groups Google Web

DisclosurePanel: retrieving the height of the content

2009-12-30 Thread babarorhum
Hello, I am using the DisclosurePanel as described in the GWT example available from the official site (http://gwt.google.com/samples/ Showcase/Showcase.html#CwDisclosurePanel) and would like to receive a notification when the panel has been opened in order to fetch the new height

Re: DisclosurePanel: retrieving the height of the content

2009-12-30 Thread mbracken
the DisclosurePanel as described in the GWT example available from the official site (http://gwt.google.com/samples/ Showcase/Showcase.html#CwDisclosurePanel) and would like to receive a notification when the panel has been opened in order to fetch the new height of the disclosure panel. However, I can only

Way to make DisclosurePanel or other widgets to overlap on top of others

2009-12-08 Thread shiang
Hi, i am a beginner on GWT. I would like to seek for advice on making widget to overlap on top of the rest of panels in the following condition: 1) There is a DockLayoutPanel with north, south, east, west, center panels. 2) there is a DisclosurePanel on the border of north panel I want to make

Re: Way to make DisclosurePanel or other widgets to overlap on top of others

2009-12-08 Thread Mohamed Mansour
condition: 1) There is a DockLayoutPanel with north, south, east, west, center panels. 2) there is a DisclosurePanel on the border of north panel I want to make the DisclosurePanel to display fully on top of the north and center panel when it is click. (Example: the listbox can display fully

Re: Way to make DisclosurePanel or other widgets to overlap on top of others

2009-12-08 Thread shiang
. I would like to seek for advice on making widget to overlap on top of the rest of panels in the following condition: 1) There is a DockLayoutPanel with north, south, east, west, center panels. 2) there is a DisclosurePanel on the border of north panel I want to make

Need a kind of setHeaderText(String) for DisclosurePanel

2009-12-02 Thread Al Murauski
Hi, To GWT developers: Currently, there's no simple way to change header text of a DisclosurePanel after it is created. It would be great if there a kind of setHeaderText(String) method would exist. How do you think? Thanks! -- You received this message because you are subscribed

Re: Need a kind of setHeaderText(String) for DisclosurePanel

2009-12-02 Thread Thomas Broyer
On Dec 2, 9:34 am, Al Murauski a.murau...@gmail.com wrote: Hi, To GWT developers: Currently, there's no simple way to change header text of a DisclosurePanel after it is created. It would be great if there a kind of setHeaderText(String) method would exist. How do you think? It already

Icon i header of DisclosurePanel

2009-11-12 Thread Fedearne
I would like to place an icon in the top right corner of a disclosurepanel. I have tried a widget, in the content part of the panel, with relative position an top=-30. That gives me an icon in the right spot, but empty space where the panel reserves space for the icon. Does anybody know how

DisclosurePanel Direction

2009-10-29 Thread ian12312
Is there any way to change the direction in which the DisclosurePanel reveals? Currently it shows the items in the disclosure panel underneath, can I make the items in the DisclosurePanel appear to the side? --~--~-~--~~~---~--~~ You received this message because

[gwt-contrib] Flip DisclosurePanel image in RTL

2009-10-28 Thread jlabanca
Reviewers: Ray Ryan, Description: The arrow in the DisclosurePanel images isn't flipped in RTL, but it should be. I added the flipRtl ImageOption and verified it worked in Showcase. Please review this at http://gwt-code-reviews.appspot.com/89802 Affected files: user/src/com/google/gwt/user

[gwt-contrib] Re: Flip DisclosurePanel image in RTL

2009-10-28 Thread rjrjr
LGTM Oops, thanks. http://gwt-code-reviews.appspot.com/89802 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] [google-web-toolkit] r6519 committed - Flipping DisclosurePanel arrow in RTL....

2009-10-28 Thread codesite-noreply
Revision: 6519 Author: jlaba...@google.com Date: Wed Oct 28 12:54:20 2009 Log: Flipping DisclosurePanel arrow in RTL. Patch by: jlabanca Review by: rjrjr http://code.google.com/p/google-web-toolkit/source/detail?r=6519 Modified: /trunk/user/src/com/google/gwt/user/client/ui

[gwt-contrib] [google-web-toolkit] r6529 committed - Restore tr...@6519, Flipping DisclosurePanel arrow in RTL., which...

2009-10-28 Thread codesite-noreply
Revision: 6529 Author: rj...@google.com Date: Wed Oct 28 15:52:50 2009 Log: Restore tr...@6519, Flipping DisclosurePanel arrow in RTL., which didn't break anything at all. This reverts commit 102f96b9ee3c0d2e53fefe2e67876384efabd935. http://code.google.com/p/google-web-toolkit/source/detail?r

[gwt-contrib] [google-web-toolkit] r6528 committed - Revert tr...@6519, Flipping DisclosurePanel arrow in RTL.,...

2009-10-28 Thread codesite-noreply
Revision: 6528 Author: rj...@google.com Date: Wed Oct 28 15:19:45 2009 Log: Revert tr...@6519, Flipping DisclosurePanel arrow in RTL., due to build break on IE7: Scanning for additional dependencies: [...]com/google/gwt/user/client/ui/FormPanel.java [WARN] For the following type(s

[gwt-contrib] Re: Refactored DisclosurePanel and better DisclosurePanelParser

2009-10-15 Thread jgw
On 2009/10/14 21:47:10, Ray Ryan wrote: As we discussed, dropping g:body again for consistency w/Tab and Stack panels. Groovy, LGTM. I have some separate thoughts on what we can do about issue 1449 without mangling DisclosurePanel too much. I'll add them to the issue. http://gwt-code

[gwt-contrib] [google-web-toolkit] r6387 committed - DisclosurePanel now does ImageResource and is nice in UiBinder....

2009-10-15 Thread codesite-noreply
Revision: 6387 Author: rj...@google.com Date: Thu Oct 15 18:41:37 2009 Log: DisclosurePanel now does ImageResource and is nice in UiBinder. Deprecates many of its convience constructors--necessary for UiBinder sanity, and just plain good API hygiene. Reviewed by: jgw http://code.google.com/p

[gwt-contrib] Refactored DisclosurePanel and better DisclosurePanelParser

2009-10-14 Thread rjrjr
Reviewers: jgw, Message: Thanks in advance, Joel. Please review this at http://gwt-code-reviews.appspot.com/78817 Affected files: M user/src/com/google/gwt/uibinder/parsers/DisclosurePanelParser.java M user/src/com/google/gwt/uibinder/rebind/XMLElement.java M

[gwt-contrib] Re: Refactored DisclosurePanel and better DisclosurePanelParser

2009-10-14 Thread t . broyer
fix issue 1449? (might have implications with using focusable widgets within the header though, particularly when using FocusImplOld, so maybe there rather shouldn't be a ClickableHeader at all within DisclosurePanel, and defer the focus/open/close handling to the header widget instead; and provide

[gwt-contrib] Re: Refactored DisclosurePanel and better DisclosurePanelParser

2009-10-14 Thread jgw
, t.broyer wrote: Couldn't you use a FocusImpl instead, and therefore fix issue 1449? (might have implications with using focusable widgets within the header though, particularly when using FocusImplOld, so maybe there rather shouldn't be a ClickableHeader at all within DisclosurePanel, and defer

[gwt-contrib] Re: Refactored DisclosurePanel and better DisclosurePanelParser

2009-10-14 Thread Ray Ryan
widgets within the header though, particularly when using FocusImplOld, so maybe there rather shouldn't be a ClickableHeader at all within DisclosurePanel, and defer the focus/open/close handling to the header widget instead; and provide a wrapper equivalent to this ClickableHeader

[gwt-contrib] Re: Refactored DisclosurePanel and better DisclosurePanelParser

2009-10-14 Thread t . broyer
On 2009/10/14 15:43:38, jgw wrote: Broadly, I'm not entirely sure what we're trying to achieve by promoting DisclosurePanelHeader to a public top-level class. It's pretty complex, for a seemingly simple problem. If you were to replace it wholesale within an application, you will pretty much be

[gwt-contrib] Re: Refactored DisclosurePanel and better DisclosurePanelParser

2009-10-14 Thread Ray Ryan
Thomas, this all makes sense but I don't think we can make it happen for 2.0. Certainly not MS2, and probably not for the RC (though it's tempting, DisclosurePanel is so close to being so much more useful). Do you mind creating an issue on the public tracker capturing this? On Wed, Oct 14, 2009

[gwt-contrib] Re: Refactored DisclosurePanel and better DisclosurePanelParser

2009-10-14 Thread Joel Webber
, and probably not for the RC (though it's tempting, DisclosurePanel is so close to being so much more useful). Do you mind creating an issue on the public tracker capturing this? On Wed, Oct 14, 2009 at 9:45 AM, t.bro...@gmail.com wrote: On 2009/10/14 15:43:38, jgw wrote: Broadly, I'm not entirely sure

[gwt-contrib] Re: Refactored DisclosurePanel and better DisclosurePanelParser

2009-10-14 Thread jgw
On 2009/10/14 16:45:38, t.broyer wrote: On 2009/10/14 15:43:38, jgw wrote: Broadly, I'm not entirely sure what we're trying to achieve by promoting DisclosurePanelHeader to a public top-level class. It's pretty complex, for a seemingly simple problem. If you were to replace it wholesale

[gwt-contrib] Re: Refactored DisclosurePanel and better DisclosurePanelParser

2009-10-14 Thread rjrjr
Okay Joel, ready for another look. The only big changes to DisclosurePanel are that it is now ImageResource based, and I've ruthlessly deprecated its convenience constructors. http://gwt-code-reviews.appspot.com/78817 --~--~-~--~~~---~--~~ http

[gwt-contrib] Re: Refactored DisclosurePanel and better DisclosurePanelParser

2009-10-14 Thread rjrjr
Uploaded a tweak to tidy up image initialization. http://gwt-code-reviews.appspot.com/78817 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Refactor DisclosurePanel

2009-10-13 Thread rjrjr
Reviewers: jlabanca, Message: John, can you take this? Description: Deprecates DisclosurePanels' use of ImageBundle, and bases it on ImageResource instead. This is done in part with an eye to making it easier use in ui.xml files. Extracts DisclosurePanelHeader into its own class, and

[gwt-contrib] Re: Refactor DisclosurePanel

2009-10-13 Thread rjrjr
http://gwt-code-reviews.appspot.com/78814 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Refactor DisclosurePanel

2009-10-13 Thread rjrjr
Updated with checkstyle fixes. http://gwt-code-reviews.appspot.com/78814 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~--~~~~--~~--~--~---

[gwt-contrib] Re: Refactor DisclosurePanel

2009-10-13 Thread rjrjr
Updated again, with OpensAndCloses.Handler interface. UiBinder will use this to hook up custom disclosure panel headers. http://gwt-code-reviews.appspot.com/78814 --~--~-~--~~~---~--~~ http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Refactor DisclosurePanel

2009-10-13 Thread rjrjr
Nevermind. I keep messing with this as I update the parser. Trying to do this in two passes isn't worth the trouble. I'll close this issue and open a new one when I'm ready. http://gwt-code-reviews.appspot.com/78814 --~--~-~--~~~---~--~~

Customize .gwt-DisclosurePanel

2009-09-12 Thread Pion
war/yourApp/gwt/standard/standard.css has the following: .gwt-DisclosurePanel { } .gwt-DisclosurePanel-open { } .gwt-DisclosurePanel-closed { } .gwt-DisclosurePanel .header, .gwt-DisclosurePanel .header a, .gwt-DisclosurePanel .header td { text-decoration: none; /* Remove underline from

How to change the arrow icon of DisclosurePanel

2009-08-22 Thread hezjing
Hi May I know how to change the arrow icon of the DisclosurePanel? -- Hez --~--~-~--~~~---~--~~ 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

Re: How to change the arrow icon of DisclosurePanel

2009-08-22 Thread alessandro.loche
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/4d0f853de76af51e Ale On 22 Ago, 20:56, hezjing hezj...@gmail.com wrote: Hi May I know how to change the arrow icon of the DisclosurePanel? -- Hez --~--~-~--~~~---~--~~ You received

DisclosurePanel and registered event handlers

2009-07-27 Thread hriess
Hi, I'm using a DisclosurePanel and have registered an onClose-event- handler and an an onOpen-event-handler. In these handlers I want to store the status of the panel (open or closed) with an rpc method on the server. This part is working. In the second part I want to open or close the panel

Re: DisclosurePanel not working properly in Firefox

2009-05-17 Thread Salvador Diaz
Can you post some code ? (Preferably to something like pastebin or snipplr) It's hard to tell what's going on without code. For what is worth, I don't think it's a DisclosurePanel bug. Cheers, Salvador On May 16, 2:47 pm, Nim chaudhary.nim...@gmail.com wrote: Hi All,             I m using

DisclosurePanel not working properly in Firefox

2009-05-16 Thread Nim
Hi All, I m using DisclosurePanel and setting some text on it.But when i click on it ,other text field in same widget become blank ,and once i close DisclosurePanel text field get populated again. Its working fine with IE Please help me out,thanks in advance. --Nimish

Re: DisclosurePanel headerText limited to plain text?

2009-04-10 Thread Ken Kahn
Thanks. Works fine now. Any reason why GWT doesn't do this? -ken On Apr 9, 12:32 pm, Ian Bambury ianbamb...@gmail.com wrote: It's possible, but not obvious. There's some code here to do it:http://examples.roughian.com/#Panels~DisclosurePanel Ian 2009/4/9 toont...@googlemail.com toont

Re: DisclosurePanel headerText limited to plain text?

2009-04-10 Thread Ian Bambury
2009/4/10 Ken Kahn toont...@googlemail.com Thanks. Works fine now. Any reason why GWT doesn't do this? Google bases its priorities on what Google wants? For example, some widgets stop working if placed inside certain other widgets (splitpanel inside a disclosurepanel for example

DisclosurePanel headerText limited to plain text?

2009-04-09 Thread toont...@googlemail.com
Greetings, I would like the headerText of a DisclosurePanel to be HTML. I tried disclosurePanel.setHeader(new HTML(headerText)); but then I lost the nice triangular icons. The default header widget seems only to have a HasText interface. I could make my own Widget with the DisclosurePanel

DisclosurePanel not working inside treeitem

2009-03-09 Thread rookie
Hi, I've problem with event handling of the widgets inside the treeitem. I've treeitem with Button and DisclosurePanel. Button onClick event is working fine. But DisclosurePanel events are not getting fired. When I click on DisclosurePanel, instead of displaying the contents of on DisclosurePanel

TabPanel does not resize correctly with a DisclosurePanel, when a width is set?

2009-02-27 Thread Mike Pontillo
I was going to post this as a bug, but thought I'd poll the discussion group first. I wasn't sure if this was a TabPanel or a DisclosurePanel bug, or if I'm just doing something wrong. The problem is, if I put a DisclosurePanel inside a TabPanel, it does not resize correctly when a width

Horizontal Open/Close DisclosurePanel

2009-02-10 Thread Scott
I'm trying to figure out how to get a DisclosurePanel to open/close left/right instead of up/down but can't really get to it. Does anyone have any ideas in this manner? Thanks, Scott --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: GWT 1.4 DisclosurePanel Horizontal Orientation

2008-12-16 Thread nina
: I also need the functionality of the DisclosurePanel but one that opens horizontally, i.e. left to right. Does anyone know what the easiest way to achieve this is? Is there another way that doesn't use the DisclosurePanel perhaps, like writing my own animation? Many thanks Nina On Dec 12, 8

Re: GWT 1.4 DisclosurePanel Horizontal Orientation

2008-12-15 Thread nina
I also need the functionality of the DisclosurePanel but one that opens horizontally, i.e. left to right. Does anyone know what the easiest way to achieve this is? Is there another way that doesn't use the DisclosurePanel perhaps, like writing my own animation? Many thanks Nina On Dec 12, 8:00

[gwt-contrib] A Widget's removeFromParent doesn't update content in DisclosurePanel

2008-12-12 Thread jlabanca
Reviewers: ecc, Description: Description: = Calling Widget#removeFromParent() on the content of a DisclosurePanel physically removes the content, but DisclosurePanel#getContent() still returns the widget. This is because DisclosurePanel stores its content as a private field

GWT 1.4 DisclosurePanel Horizontal Orientation

2008-12-11 Thread nickle
I need a DisclosurePanel that opens horizantally not vertically. Questions: 1. Can this be done through CSS without using rotated images? 2. As DisclosurePanel is final; how would one add this functionality besides coping the source from the trunk and rebuilding your own widget? thanks nick

  1   2   >