myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Trinidad 1.0.9 - Malformed Form Action URI
Date Thu, 09 Oct 2008 15:53:00 GMT
<faces-config>

  <application>
    <!-- Use the Trinidad RenderKit -->
    <default-render-kit-id>
      org.apache.myfaces.trinidad.core
    </default-render-kit-id>
....


the stuff from the web.xml (trinidad filter, resource servlet, etc)
you added already, right ?

-M

On Thu, Oct 9, 2008 at 5:47 PM, Wu, Billy <Billy_Wu@stercomm.com> wrote:
> No, I have not.  How do I do that?
>
> I forgot to add that I am totally new to Trinidad, and pretty new to the
> whole JSF technologies.
>
> Thanks,
>
> Billy
>
> -----Original Message-----
> From: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] On Behalf Of
> Matthias Wessendorf
> Sent: Thursday, October 09, 2008 10:44 AM
> To: MyFaces Discussion
> Subject: Re: Trinidad 1.0.9 - Malformed Form Action URI
>
> have you added the renderkit ?
> we replace the renderer for <h:form>
>
> -M
>
> On Thu, Oct 9, 2008 at 5:39 PM, Wu, Billy <Billy_Wu@stercomm.com> wrote:
>> Hi Everyone,
>>
>>
>>
>> I am using Sun's JSF 1.1's RI implementation, and would like to add
>> Trinidad's AJAX Tree to my application.  My first step was trying to
> add
>> Trinidad's demo (version 1.0.9) to my web application without changing
>> anything else.  After I added Trinidad's jars and added the settings
> to the
>> web.xml file, my application stopped working.  For some reason, the
> adf
>> resource uri was added to the action uri of the form (Sun's RI form).
> for
>> example,
>>
>>
>>
>> <form id="form1" ... action="/mywebapp/adf/logon.jsp" >
>>
>>
>>
>> as opposed to the correct one,
>>
>>
>>
>> <form id="form1" ... action="/mywebapp/logon.jsp" >
>>
>>
>>
>> I got similar result by just adding trinidad's jars
> (myfaces-api-1.1.5.jar,
>> myfaces-impl-1.1.5.jar, Trinidad-api-1.0.9.jar,
> Trinidad-impl-1.0.9.jar)
>> without changing my web.xml.  (in this case, the action uri will have
>> another servlet's url interjected.)  Can someone help me with this?
>>
>>
>>
>> Oh, and we are using embedded Jetty 6.1.11.
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Billy
>>
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Mime
View raw message