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 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 can add 
> title to the link. 
>
> I appreciate all the help. 
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/e921ddc3-d6d8-4e6c-af19-497f62981984%40googlegroups.com.


Re: DisclosurePanel, class-name content

2010-09-08 Thread lineman78
Then the problem isn't with GWT; it is with the site you are
integrating with not having a convention.  I do agree that it would be
nice to be able to change this and if it bugs you that much you can,
it's just not as easy as it could be.  They have a private static
string with the style name within disclosure panel, but you can't
change it as easy because everything is private, instead you will have
to remove the name after it is added and add your own by overriding
the setContent method

On Sep 7, 11:36 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote:
 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-DisclosurePanel .content {
   border: 2px solid black;
  }

 In other words, this ^^^ does not address the issue.

 Regards
   J. Záruba

-- 
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...@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: 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 subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@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: DisclosurePanel, class-name content

2010-09-08 Thread Jaroslav Záruba
Just to be clear, I don't need advices on workaround. I honestly believe
this is just an omission. (The other option wold be 'blatant example of bad
design', but we're not talking MSIE here.)
The reason behind prefixing class-names used in GWT is, IMO, very obvious -
to prevent exactly this kind 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 like fix your class-names before you use this to your
release notes is IMO a big 'no go'. Some people might want to use your
component on a website that runs on something they did not write.

Well, if you can't see it, I won't probably change your mind. So thanks for
the discussion.

Cheers
  JZ

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.  I do agree that it would be
 nice to be able to change this and if it bugs you that much you can,
 it's just not as easy as it could be.  They have a private static
 string with the style name within disclosure panel, but you can't
 change it as easy because everything is private, instead you will have
 to remove the name after it is added and add your own by overriding
 the setContent method

 On Sep 7, 11:36 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote:
  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-DisclosurePanel .content {
border: 2px solid black;
   }
 
  In other words, this ^^^ does not address the issue.
 
  Regards
J. Záruba

 --
 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...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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...@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: DisclosurePanel, class-name content

2010-09-08 Thread lineman78
I agree with you that the reason for the prefixing is to prevent
collisions, but agree(assuming the following was the the GWT team's
reasoning) that only the parent element in a widget should have the
prefix and not the sub elements.  If you wanted to add a prefix to
every class name in your UI, the further down in the DOM you go the
bigger the class names would be.  This was the reason behind the
creation of CSS selectors.  I will use a tab panel as an example.
Assume I want to change the width of the upper left hand corner of a
rounded tab on a specific class of tab panel.

gwt-DecoratedTabPanel  header  tab  upperLeft {}

vs

gwt-DecoratedTabPanel  gwt-DecoratedTabPanel-Header  gwt-
DecoratedTabPanel-Header-Tab  gwt-DecoratedTabPanel-Header-Tab-
UpperLeft

Yes this is more inconvenient for people integrating into other sites
that do not have prefixes, but I find it pretty hypocritical that you
would expect GWT to avoid collisions with classes that are blatantly
defined without the same consideration.  I also do see your point that
within GWT they do tend to add the prefixes to most class names, so it
is interesting that they would choose to omit it here.  Also, you have
to take into account a balance in selectors and the expense of
ancestor selectors.  At IO there was a talk on efficiency for the past
couple years and one of the points was the way browsers handle
ancestor selectors and how it will cause slow down if you use a common
name as your root(upperLeft in the context above).  It will walk the
entire DOM tree every time it sees an element with the class
upperLeft.  So it is a balance and content is such a common one that
I may concede due to performance degradation.

On Sep 8, 3:09 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote:
 Just to be clear, I don't need advices on workaround. I honestly believe
 this is just an omission. (The other option wold be 'blatant example of bad
 design', but we're not talking MSIE here.)
 The reason behind prefixing class-names used in GWT is, IMO, very obvious -
 to prevent exactly this kind 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 like fix your class-names before you use this to your
 release notes is IMO a big 'no go'. Some people might want to use your
 component on a website that runs on something they did not write.

 Well, if you can't see it, I won't probably change your mind. So thanks for
 the discussion.

 Cheers
   JZ

 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.  I do agree that it would be
  nice to be able to change this and if it bugs you that much you can,
  it's just not as easy as it could be.  They have a private static
  string with the style name within disclosure panel, but you can't
  change it as easy because everything is private, instead you will have
  to remove the name after it is added and add your own by overriding
  the setContent method

  On Sep 7, 11:36 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote:
   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-DisclosurePanel .content {
 border: 2px solid black;
}

   In other words, this ^^^ does not address the issue.

   Regards
     J. Záruba

  --
  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...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.

-- 
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...@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: 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 Záruba jaroslav.zar...@gmail.com wrote:
 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-name as the rest has?

 Regards
   J. Záruba

-- 
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...@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: 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 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-DisclosurePanel .content {
  border: 2px solid black;
 }

 On Sep 5, 11:08 am, Jaroslav Záruba jaroslav.zar...@gmail.com wrote:
  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-name as the rest has?
 
  Regards
J. Záruba

 --
 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...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
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...@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: 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-DisclosurePanel .content {
  border: 2px solid black;
 }


In other words, this ^^^ does not address the issue.

Regards
  J. Záruba

-- 
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...@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: DisclosurePanel + Custom images + XML

2010-07-19 Thread rlebosse
Thanks Thomas!
I tried your solution but I have this error when I try to display the
disclosure panel.

10:05:37.921 [ERROR] [ermin] In g:header
closeImage='{disclosurePanelClosed}'
openImage='{disclosurePanelOpen}' of g:DisclosurePanel
stylePrimaryName='menu' ui:field='sessions', both openImage and
closedImage must be specified, or neither

Do you have any idea of what this problem could be from?
Romain

On Jul 16, 4:49 pm, Thomas Broyer t.bro...@gmail.com wrote:
 On 16 juil, 16:30, rlebosse rlebo...@gmail.com wrote:

  Hi everybody,
  I'm trying to change the arrow icons of the GWTdisclosurepanels. I
  made it in a GWT class.

  public interface CustomDisclosurePanelImages extends
  DisclosurePanelImages
    {
      public AbstractImagePrototype disclosurePanelClosed();

      public AbstractImagePrototype disclosurePanelOpen();
    }

    CustomDisclosurePanelImages cdpi = (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.

 DisclosurePanel has a specialized parser in UiBinder, which looks for
 openImage and closeImage attributes on the header child element, that
 matches the same-name ImageResource arguments from the constructor.
 Those ImageResource would have to come from either a ClientBundle
 loaded with ui:with, or the implicit ClientBundle with images linked
 to with ui:image.
 For example (untested):

 ui:image field=disclosurePanelClosed /
 ui:image field=disclosurePanelOpen /

  g:HTMLPanel
   g:DisclosurePanel ui:field=sessions stylePrimaryName='menu'
        g:headerSessions/g:header

 g:header openImage={disclosurePanelOpen}
 closeImage={disclosurePanelClosed}Sessions/g:header

        g:HTMLPanel
          ul class='{eres.menu.menuItems}'
            li
              g:Anchor ui:field=sessionsTotal styleName=''Total/
  g:Anchor
            /li
            li
              g:Anchor ui:field=sessionsByActivity styleName=''by
  Activity/g:Anchor
            /li
          /ul
        /g:HTMLPanel
      /g:DisclosurePanel
  /g:HTMLPanel

-- 
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...@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: DisclosurePanel + Custom images + XML

2010-07-19 Thread rlebosse
I found the solution.
Dont forget the d of closedImage.
closedImage={disclosurePanelClosed}

On Jul 19, 10:13 am, rlebosse rlebo...@gmail.com wrote:
 Thanks Thomas!
 I tried your solution but I have this error when I try to display the
 disclosure panel.

 10:05:37.921 [ERROR] [ermin] In g:header
 closeImage='{disclosurePanelClosed}'
 openImage='{disclosurePanelOpen}' of g:DisclosurePanel
 stylePrimaryName='menu' ui:field='sessions', both openImage and
 closedImage must be specified, or neither

 Do you have any idea of what this problem could be from?
 Romain

 On Jul 16, 4:49 pm, Thomas Broyer t.bro...@gmail.com wrote:

  On 16 juil, 16:30, rlebosse rlebo...@gmail.com wrote:

   Hi everybody,
   I'm trying to change the arrow icons of the GWTdisclosurepanels. I
   made it in a GWT class.

   public interface CustomDisclosurePanelImages extends
   DisclosurePanelImages
     {
       public AbstractImagePrototype disclosurePanelClosed();

       public AbstractImagePrototype disclosurePanelOpen();
     }

     CustomDisclosurePanelImages cdpi = (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.

  DisclosurePanel has a specialized parser in UiBinder, which looks for
  openImage and closeImage attributes on the header child element, that
  matches the same-name ImageResource arguments from the constructor.
  Those ImageResource would have to come from either a ClientBundle
  loaded with ui:with, or the implicit ClientBundle with images linked
  to with ui:image.
  For example (untested):

  ui:image field=disclosurePanelClosed /
  ui:image field=disclosurePanelOpen /

   g:HTMLPanel
    g:DisclosurePanel ui:field=sessions stylePrimaryName='menu'
         g:headerSessions/g:header

  g:header openImage={disclosurePanelOpen}
  closeImage={disclosurePanelClosed}Sessions/g:header

         g:HTMLPanel
           ul class='{eres.menu.menuItems}'
             li
               g:Anchor ui:field=sessionsTotal styleName=''Total/
   g:Anchor
             /li
             li
               g:Anchor ui:field=sessionsByActivity styleName=''by
   Activity/g:Anchor
             /li
           /ul
         /g:HTMLPanel
       /g:DisclosurePanel
   /g:HTMLPanel

-- 
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...@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: DisclosurePanel and arrows

2010-07-16 Thread rlebosse
I'll try it. Thanks for your help Sean.

On Jul 13, 2:53 pm, Sean slough...@gmail.com wrote:
 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/g...

 On Jul 13, 5:34 am, rlebisse rlebo...@gmail.com wrote:

  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...@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: 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 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...@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: DisclosurePanel: retrieving the height of the content

2009-12-30 Thread mbracken
When handling the OpenEvent, try putting the check for the content's
height inside a DeferredCommand.  This should give the browser a
chance to fully render the content and establish its new height.

On Dec 29, 5:09 pm, babarorhum stephane.bo...@gmail.com wrote:
 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 of the disclosure panel.

 However, I can only see two handlers available from DisclosurePanel:
 one for Open and the second one for Close. From the open handlers, i
 get the previous height of the panel, and of course the close handles
 gives me the actual height i am looking for, but too late :)

 Do you have any suggestion for me or pointers?
 Thanks in advance !

 Babarorhum

--

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...@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: 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  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
--~--~-~--~~~---~--~~
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: 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...@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 icons but the
  DisclosurePanel header is pretty complex and I would rather not copy
  and edit the source code.
--~--~-~--~~~---~--~~
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: 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). Presumably no-one
in Google wants to use them like this, or it would have been fixed before
1.5 was released let alone 1.6. But for me, if a panel fails to work because
you put it in another panel, that would be quite near the top of the list -
the product breaking when you use it properly would be a concern for me. But
I obviously look at it in a different way to Google :-)

Ian

http://examples.roughian.com


2009/4/10 Ken Kahn toont...@googlemail.com


 Thanks. Works fine now.

 Any reason why GWT doesn't do this?

--~--~-~--~~~---~--~~
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: DisclosurePanel with toolbar option

2008-10-22 Thread kaspar.ru

Found the answer :)
have to use DOM.eventCancelBubble to stop click event ::

On 22 окт, 22:38, kaspar.ru [EMAIL PROTECTED] wrote:
 Hello
 is it possible to create DisclosurePanel  and put some links into its
 head ?
 When I do this an click the link link is work but panel also closes
 and opens.
 I'd like to get similar panel like panel of a post in this group
 Tanks a lot
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---



Re: DisclosurePanel

2008-10-14 Thread gregor

can you post a code snippet for this?

On Oct 14, 11:31 am, jamer [EMAIL PROTECTED] wrote:
 Hi group
 i create a Widget with a disclosurePanel, and this head it is a other
 widget with button. The problem is that when i press the button the
 disclosurepanel open or close, but i don't like it.
 I like that the disclosurepanel open or close only when the user click
 in the header not in the button's header
 How do you it?

 Thank you
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~--~~~~--~~--~--~---