You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Anil Kommareddi <ko...@yahoo.com> on 2007/05/01 14:14:43 UTC

[Trinidad] panelAccordion/showDetail does not collapse/expand

Hi
 
I am using the 1.0-incubating version of trinidad with MyFaces 1.1.6. In the following sample, the item does not collapse/expand when the link is clicked on, unless the commented out line is uncommented. Am I doing something incorrectly? 
 
<?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:tr="http://myfaces.apache.org/trinidad">
 <jsp:directive.page contentType="text/html;charset=utf-8"/>
 <f:view>
  <tr:document>
   <tr:form>

    <!-- <tr:panelAccordion />  -->

    <tr:panelAccordion discloseMany="true" discloseNone="true">
     <tr:showDetailItem text="Test" disclosureListener="#{toggle.onDisclosure}">
      <tr:commandButton id="button" text="Test" action="action" />
     </tr:showDetailItem>
    </tr:panelAccordion>
   </tr:form>
  </tr:document>
 </f:view>
</jsp:root>


 Thanks - Anil

RE: [Trinidad] panelAccordion/showDetail does not collapse/expand

Posted by Anil Kommareddi <an...@effone.net>.
Hi Adam,
Yes, 1.0.1-incubating-SNAPSHOT works fine...thanks!

- Anil.

-----Original Message-----
From: Adam Winer [mailto:awiner@gmail.com] 
Sent: Tuesday, May 01, 2007 6:35 PM
To: MyFaces Discussion; anil@effone.net
Subject: Re: [Trinidad] panelAccordion/showDetail does not collapse/expand

There have been substantial fixes to panelAccordion since 1.0.
Could you try downloading a nightly build?

-- Adam


On 5/1/07, Anil Kommareddi <ko...@yahoo.com> wrote:
>
>
> Hi
>
> I am using the 1.0-incubating version of trinidad with MyFaces 1.1.6. 
> In the following sample, the item does not collapse/expand when the 
> link is clicked on, unless the commented out line is uncommented. Am I 
> doing something incorrectly?
>
> <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?> 
> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
>           xmlns:f="http://java.sun.com/jsf/core"
>           xmlns:tr="http://myfaces.apache.org/trinidad">
>  <jsp:directive.page
> contentType="text/html;charset=utf-8"/>
>  <f:view>
>   <tr:document>
>    <tr:form>
>
>     <!-- <tr:panelAccordion />  -->
>
>     <tr:panelAccordion discloseMany="true" discloseNone="true">
>      <tr:showDetailItem text="Test"
> disclosureListener="#{toggle.onDisclosure}">
>       <tr:commandButton id="button" text="Test" action="action" />
>      </tr:showDetailItem>
>     </tr:panelAccordion>
>    </tr:form>
>   </tr:document>
>  </f:view>
> </jsp:root>
>
>
>  Thanks - Anil


Re: [Trinidad] panelAccordion/showDetail does not collapse/expand

Posted by Adam Winer <aw...@gmail.com>.
There have been substantial fixes to panelAccordion since 1.0.
Could you try downloading a nightly build?

-- Adam


On 5/1/07, Anil Kommareddi <ko...@yahoo.com> wrote:
>
>
> Hi
>
> I am using the 1.0-incubating version of trinidad with MyFaces 1.1.6. In the
> following sample, the item does not collapse/expand when the link is clicked
> on, unless the commented out line is uncommented. Am I doing something
> incorrectly?
>
> <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
> <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
>           xmlns:f="http://java.sun.com/jsf/core"
>           xmlns:tr="http://myfaces.apache.org/trinidad">
>  <jsp:directive.page
> contentType="text/html;charset=utf-8"/>
>  <f:view>
>   <tr:document>
>    <tr:form>
>
>     <!-- <tr:panelAccordion />  -->
>
>     <tr:panelAccordion discloseMany="true" discloseNone="true">
>      <tr:showDetailItem text="Test"
> disclosureListener="#{toggle.onDisclosure}">
>       <tr:commandButton id="button" text="Test" action="action" />
>      </tr:showDetailItem>
>     </tr:panelAccordion>
>    </tr:form>
>   </tr:document>
>  </f:view>
> </jsp:root>
>
>
>  Thanks - Anil