You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Software Consult <ge...@gmail.com> on 2009/03/25 17:16:26 UTC
[Trinidad] Facelets forward
I am trying to add facelets into a Trinidad 1.2.11 and myfaces 1.2.3
project. I managed to convert all jsp pages into facelets except the
onse with
<jsp:forward
If I can replace <jsp:forward, then I won't have to use jsp pages and
all pages would be converted to facelets.
Does any one has an experiance or input on the issue?
Thanks,
--Omar
--
Sent from Gmail for mobile | mobile.google.com
Re: [Trinidad] Facelets forward
Posted by Software Consult <ge...@gmail.com>.
I have a jspx page that I am trying to convert to facelets. the
following is the jspx code.
<jsp:forward page="myview.jspx" />
It seems like neither facelets nor trinidad have a replacement for
<jsp:forward and I am trying to use pure facelets and not to have to
use jsp just only to forward the page.
Here are the api and the app server
Trindad 1.2.11 , myfaces 1.2.3, facelets 1.1.14, and oc4j
--Omar
On 3/25/09, Leonardo Rafaeli <le...@gmail.com> wrote:
> Could you give details of your problem?
>
> In fact, I did not understand what you've tried to tell us.
>
> Leo
>
> On Wed, Mar 25, 2009 at 1:16 PM, Software Consult <
> general.equal.700@gmail.com> wrote:
>
>> I am trying to add facelets into a Trinidad 1.2.11 and myfaces 1.2.3
>> project. I managed to convert all jsp pages into facelets except the
>> onse with
>>
>> <jsp:forward
>>
>> If I can replace <jsp:forward, then I won't have to use jsp pages and
>> all pages would be converted to facelets.
>> Does any one has an experiance or input on the issue?
>>
>> Thanks,
>> --Omar
>>
>> --
>> Sent from Gmail for mobile | mobile.google.com
>>
>
--
Sent from Gmail for mobile | mobile.google.com
Re: [Trinidad] Facelets forward
Posted by Leonardo Rafaeli <le...@gmail.com>.
Could you give details of your problem?
In fact, I did not understand what you've tried to tell us.
Leo
On Wed, Mar 25, 2009 at 1:16 PM, Software Consult <
general.equal.700@gmail.com> wrote:
> I am trying to add facelets into a Trinidad 1.2.11 and myfaces 1.2.3
> project. I managed to convert all jsp pages into facelets except the
> onse with
>
> <jsp:forward
>
> If I can replace <jsp:forward, then I won't have to use jsp pages and
> all pages would be converted to facelets.
> Does any one has an experiance or input on the issue?
>
> Thanks,
> --Omar
>
> --
> Sent from Gmail for mobile | mobile.google.com
>
Re: [Trinidad] Facelets forward
Posted by Omar Elprince <ge...@gmail.com>.
that's might be a good idea. to include the forward page.
thanks.
On Mar 26, 2009, at 10:52 AM, Zigc Junk wrote:
> Since you use facelets, can you do something like
>
> <html jsfc="trh:html"
> xmlns="http://www.w3.org/1999/xhtml"
> xmlns:ui="http://java.sun.com/jsf/facelets"
> xmlns:c="http://java.sun.com/jsp/jstl/core"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:tr="http://myfaces.apache.org/trinidad"
> xmlns:trh="http://myfaces.apache.org/trinidad/html">
>
> <ui:composition template="/WEB-INF/facelets/defaultLayout.xhtml">
> <ui:define name="content">
> <ui:include src="/WEB-INF/facelets/home.xhtml"/>
> </ui:define>
> </ui:composition>
> </html>
>
> regards
>
> Bill
>
>
> On Wed, Mar 25, 2009 at 11:16 AM, Software Consult
> <ge...@gmail.comS> wrote:
>> I am trying to add facelets into a Trinidad 1.2.11 and myfaces 1.2.3
>> project. I managed to convert all jsp pages into facelets except the
>> onse with
>>
>> <jsp:forward
>>
>> If I can replace <jsp:forward, then I won't have to use jsp pages and
>> all pages would be converted to facelets.
>> Does any one has an experiance or input on the issue?
>>
>> Thanks,
>> --Omar
>>
>> --
>> Sent from Gmail for mobile | mobile.google.com
>>
Re: [Trinidad] Facelets forward
Posted by Zigc Junk <zi...@gmail.com>.
Since you use facelets, can you do something like
<html jsfc="trh:html"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:tr="http://myfaces.apache.org/trinidad"
xmlns:trh="http://myfaces.apache.org/trinidad/html">
<ui:composition template="/WEB-INF/facelets/defaultLayout.xhtml">
<ui:define name="content">
<ui:include src="/WEB-INF/facelets/home.xhtml"/>
</ui:define>
</ui:composition>
</html>
regards
Bill
On Wed, Mar 25, 2009 at 11:16 AM, Software Consult
<ge...@gmail.comS> wrote:
> I am trying to add facelets into a Trinidad 1.2.11 and myfaces 1.2.3
> project. I managed to convert all jsp pages into facelets except the
> onse with
>
> <jsp:forward
>
> If I can replace <jsp:forward, then I won't have to use jsp pages and
> all pages would be converted to facelets.
> Does any one has an experiance or input on the issue?
>
> Thanks,
> --Omar
>
> --
> Sent from Gmail for mobile | mobile.google.com
>