[ 
https://issues.apache.org/jira/browse/TRINIDAD-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894073#action_12894073
 ] 

Matt Cooper commented on TRINIDAD-1870:
---------------------------------------

I can confirm that in a Facelets xhtml page, this is the case.

Note that using a jspx page like this, it works fine:

<?xml version="1.0" encoding="utf-8" 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 title="Apache Trinidad Demo Index" stateSaving="client">
       <tr:form>
         <tr:commandLink/>
         <tr:panelAccordion>
           <tr:showDetailItem text="foo">foo</tr:showDetailItem>
           <tr:showDetailItem text="bar">bar</tr:showDetailItem>
         </tr:panelAccordion>
      </tr:form>
    </tr:document>
  </f:view>
</jsp:root>

> tr:commandLink blocks tr:panelAccordion
> ---------------------------------------
>
>                 Key: TRINIDAD-1870
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1870
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0.3-core
>         Environment: MyFaces 2.0.1, Jetty 6.1.8, jdk 1.6.0_20, win 7
>            Reporter: Cedric Durmont
>
> I'm cleaning bugs in my app after my switch to Trinidad2, and I found
> 2 problems that seems not to be on my side :
> 1. I'm unable to change of tab in a panelTabbed with a click (works
> programmatically using "disclosed" attribute)
> 2. Consider this sample.xhtml :
> <?xml version="1.0" encoding="windows-1252" ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";
>        xmlns:f="http://java.sun.com/jsf/core";
>        xmlns:tr="http://myfaces.apache.org/trinidad";
>        xmlns:t="http://myfaces.apache.org/tomahawk";
>        xmlns:trh="http://myfaces.apache.org/trinidad/html";
>        xmlns:c="http://java.sun.com/jsp/jstl/core";
>        xmlns:ui="http://java.sun.com/jsf/facelets";>
> <trh:head>
>        <title>Some title</title>
>        <tr:importScript></tr:importScript>
> </trh:head>
> <trh:body>
> <tr:form>
> <tr:commandLink/>
>        <tr:panelAccordion>
>        <tr:showDetailItem text="foo">foo</tr:showDetailItem>
>        <tr:showDetailItem text="bar">bar</tr:showDetailItem>
> </tr:panelAccordion>
> </tr:form>
> </trh:body>
> </html>
> In this case, the panelAccordion does not work (details are not
> disclosed when you click on it). Remove the commandLink, it works
> again. Replace the commandLink by a commandButton, it works too.
> Setting attributes on the commandLink does not change the situation.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to