You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2009/05/06 11:08:09 UTC

Trinidad -- TrPage not defined

We have jsf pages that uses tomahawk(1.1.8) and trinidad(1.2.11) with JSF ri 1.2.12.
For trinidad, we use <tr:commankLink> only for dialog framework.  Jboss version: 5.0.1GA.
 
>From client source viewer:
 
TrPage is used before loading /adf/jsLibs/Common1_2_11.js that defines TrPage.
 
<script type="text/javascript">TrPage.getInstance()._addResetFields('j_id_jsp_500896631_1pc4',["source"]);</script>
 
.....
 
<script type="text/javascript" src="/adf/jsLibs/Common1_2_11.js">
 
 
Please help, how to solve/workaround this problem?
 
Thanks
Dave


      

Re: Trinidad -- TrPage not defined

Posted by Andrew Robinson <an...@gmail.com>.
Sounds like your web.xml doesn't have the Trinidad resource servlet
set up correctly. See the trinidad-demo source for an example of the
configuration.

-Andrew

On Wed, May 6, 2009 at 3:08 AM, Dave <ja...@yahoo.com> wrote:
> We have jsf pages that uses tomahawk(1.1.8) and trinidad(1.2.11) with JSF ri
> 1.2.12.
> For trinidad, we use <tr:commankLink> only for dialog framework.  Jboss
> version: 5.0.1GA.
>
> From client source viewer:
>
> TrPage is used before loading /adf/jsLibs/Common1_2_11.js that defines
> TrPage.
>
> <script
> type="text/javascript">TrPage.getInstance()._addResetFields('j_id_jsp_500896631_1pc4',["source"]);</script>
>
> .....
>
> <script type="text/javascript" src="/adf/jsLibs/Common1_2_11.js">
>
>
> Please help, how to solve/workaround this problem?
>
> Thanks
> Dave
>