[ 
https://issues.apache.org/jira/browse/TRINIDAD-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541146
 ] 

Jan Stövesand commented on TRINIDAD-724:
----------------------------------------

I have exactly the same problem.

When I enable the trinidad renderer in the face-config.xml the menu doesn't 
work anymore. I get a javascript error 
Error: clear_menu_5Fform is not defined

                                <h:form id="menu_form" styleClass="naked">
                                        <t:panelNavigation2 id="pn2" 
styleClass="nav1" layout="list" itemClass="mypage" activeItemClass="selected" 
openItemClass="selected">
                                                <t:commandNavigation2 
value="index" action="index">
                                                        <t:outputText 
value="Home" />
                                                </t:commandNavigation2>
                                        </t:panelNavigation2>
                                </h:form>

When I look in the sourcecode of the generated page the javascript is indeed 
missing. When I disable the renderer again (removing the entry in the 
application section in the faces-config.xml) the javascript appears in the 
source of the page again. Somehow the trinidad renderer eliminates the 
javascript inline sections from the output.

> trinidad does not add javascript-ressources of tomahawk-components inside 
> ppr-components
> ----------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-724
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-724
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>         Environment: tomcat6 myfaces1.5 trinidad1.0.2
>            Reporter: Christian Klocker
>
> something like:
> <tr:panelAccordion discloseNone="true" discloseMany="true">
>   <tr:showDetailItem text="1"><t:inputDate id="d1" type="date" 
> popupCalendar="true" /></tr:showDetailItem>
>   <tr:showDetailItem text="2"><t:inputDate id="d2" type="date" 
> popupCalendar="true" /></tr:showDetailItem>
> </tr:panelAccordion>
> leads to an error because of missing javascript-resources ... if one instance 
> of the inputDate-component is placed outside of ppr-pane or disclosed 
> everthing is working. (sorry, if this bug belongs to tomahawk ... i'm 
> uncertain about that)

-- 
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