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

-- Adam


On 5/1/07, Anil Kommareddi <[EMAIL PROTECTED]> 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

Reply via email to