Hi,
You can use following attribute :
collapsed="true".
But this way it will always keep it open, therefore
you can use a bean property as below :
collapsed="#{collapsiblePanelBean.booleanVariable}"
and keep default value of booleabVariable as true and
scope of collapsiblePanelBean must be request.
eg:
JAVA class :
public collapsiblePanelBean{
private boolean booleanVariable = true;
public isBooleanVariable(){
return booleanVariable;
}
public setBooleanVariable(booleanVariable){
this.booleanVariable = booleanVariable;
}
}
JSF File:
<t:collapsiblePanel
collapsed="#{collapsiblePanelBean.booleanVariable}"
value="XYZ" >
---JSF contents --->
</t:collapsiblePanel>
Hope this will work.
Regards
Arvind
--- Dennis Gesker <[EMAIL PROTECTED]> wrote:
> Which attribute is used to have this control default
> to open? I wasn't
> able to find anything at
> http://myfaces.apache.org/tomahawk/index.html
> --drg
>
> --
> Dennis R. Gesker
> email: [EMAIL PROTECTED]
> Key Id: 0xEFA10A51
>
>
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/