You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org> on 2005/11/02 09:50:56 UTC

[jira] Commented: (MYFACES-770) HtmlCollapsiblePanel has lost setCollapsed() method

    [ http://issues.apache.org/jira/browse/MYFACES-770?page=comments#action_12356581 ] 

Martin Marinschek commented on MYFACES-770:
-------------------------------------------

Hi Wayne,

the collapsed state can now be found in the attribute "value" of the component - best, if you want to set the collapsed state, is to bind this value attribute somewhere to your managed beans.

This is to make sure that a collapsiblePanel also works in a dataTable - one of the many bugs fixed in the collapsiblePanel in the current head version.

regards,

Martin

> HtmlCollapsiblePanel has lost setCollapsed() method
> ---------------------------------------------------
>
>          Key: MYFACES-770
>          URL: http://issues.apache.org/jira/browse/MYFACES-770
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: Nightly
>     Reporter: Wayne Fay

>
> Rev 329572 includes method
> public void setCollapsed(boolean collapsed)
> {
>     setValue(Boolean.valueOf(collapsed));
> }
> as well as
>     public boolean isCollapsed() { }
> Rev 329598 only has public boolean isCollapsed() { }
> Both methods are inside the "generated" code section, so I can see how it would be easy to "lose" this method without doing it on purpose, if this is in fact a bug.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira