I'm currently trying to integrate my application (MyFaces 1.1.5, Tomahawk
1.1.6, StrutsTiles) and Trinidad 1.0.2
I didn't have any success in my first attempt of integrating Trinidad with
my application so I'm wondering if:
- is this possible? Has anyone successfully configured the above 4 versions
to work together?
Can anyone please tell me if I did anything wrong. I am desperately need
your help.
I got the following JavaScript-error at trinidad-generic js: "Object
expected" -->
--------------------------------------------------------
<input type="hidden" name="org.apache.myfaces.trinidad.faces.FORM"
value="menubar:user">
<!--Start: org.apache.myfaces.trinidad.Form-->
<input type="hidden" name="org.apache.myfaces.trinidad.faces.STATE"
value="!1">
<script type="text/javascript">function _menubar_userValidator(){return
true;}</script>
<script type="text/javascript">_submitFormCheck();</script>
---------------------------------------------------------
my tiles.jsp:
=============
<f:view>
<f:loadBundle var="text" basename="#{basePage.bundleName}"/>
<body onLoad="onLoad();" onbeforeunload="offload();">
<div id="menubar">
<f:subview id="menubar">
<tiles:insert attribute="menubar" flush="false" />
</f:subview>
</div>
<div id="infobar">
<f:subview id="infobar">
<tiles:insert attribute="infobar" flush="false" />
</f:subview>
</div>
...
</body>
</f:view>
my Faces-Config:
=============
<application>
<!-- Use the Trinidad RenderKit -->
<default-render-kit-id>
org.apache.myfaces.trinidad.core
</default-render-kit-id>
</application>
my Web.xml
============
<!-- TRINIDAD CONTEXT PARAM -->
<context-param>
<param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
<param-value>org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl</param-value>
</context-param>
Thank you,
Kate
--
View this message in context:
http://www.nabble.com/Tomahawk%2C-Trinidad-and-Struts-Tiles-Problem-tf4589373.html#a13100299
Sent from the MyFaces - Users mailing list archive at Nabble.com.