I'm just looking at doing that now.

Any idea's on what the method "invokeApplication" should return?

Do you think I'm meant to have a section in the faces-config.xml with a 
navigation rule for the applet?

Jeff


-----Original Message-----
From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] 
Sent: 11 January 2006 19:40
To: MyFaces Discussion
Subject: Re: How can I redirect from a servlet to a JSF page (that is backed by 
a bean)?

Jeffrey-

Since you are not using Tobago (yet), go forward and *cut n paste* the
servlet...
Since it hasn't any dependencys to any tobago related stuff.
No big deal ;)

-Matthias

On 1/11/06, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
> not in MyFaces' core.
>
> Since tobago is a subproject, yes... :-)
>
>
>
> On 1/11/06, Jeffrey Porter <[EMAIL PROTECTED]> wrote:
> >
> > So does anyone know if there is such a NonFacesRequestServlet in the 
> > MyFaces implementation?
> >
> > I can see one in the Oracle & Sun implementations.
> >
> > JP
> >
> >
> >
> > -----Original Message-----
> > From: Jeffrey Porter [mailto:[EMAIL PROTECTED]
> > Sent: 11 January 2006 19:06
> > To: MyFaces Discussion
> > Subject: RE: How can I redirect from a servlet to a JSF page (that is 
> > backed by a bean)?
> >
> > Thanks Guys,
> >
> > Gonna have a go at it now.
> >
> > Jeff
> >
> > -----Original Message-----
> > From: Matthias Wessendorf [mailto:[EMAIL PROTECTED]
> > Sent: 11 January 2006 19:03
> > To: MyFaces Discussion
> > Subject: Re: How can I redirect from a servlet to a JSF page (that is 
> > backed by a bean)?
> >
> > Hi
> >
> > > Take a look at tobagos NonFacesRequestServlet [1] how this situation
> > > could handled.
> >
> > cool, that is a cleaner solution.
> >
> > Jeffry, when you are using an impl of the mentioned Servlet,
> >
> > you could also populate the backing bean's properties
> >
> > inside of
> >
> > invokeApplication():
> >
> > Customer myCustomer = serviceLayer....();
> > ValueBinding vb = facesContex.getApplication().createValueBinding(
> > "#{myCustomer}" );
> > vb.setValue( facesContext, myCustomer );
> >
> > return "customerDetailPage";
> >
> >
> >
> > -Matthias
> >
> > @Volker: have to look at the tobago goodies ;)
> >
> > > I don't know if there is somthing like this in tomahawk, could be a
> > > candidate for commons.jar.
> > >
> > > Regards,
> > >   Volker
> > >
> > > [1]:
> > > http://svn.apache.org/viewcvs.cgi/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/servlet/NonFacesRequestServlet.java?view=markup
> > >
> > > Jeffrey Porter wrote:
> > > >
> > > >
> > > > Hello all.
> > > >
> > > >
> > > >
> > > > I have the situation where I want to send a URL out in an email for a
> > > > person to click on, so that they can then see a page in my system.
> > > >
> > > >
> > > >
> > > > Normally I'd have a backing servlet that takes the parameters in and
> > > > redirects to the page I want the user to view.
> > > >
> > > > But since I'm using myfaces, I don't know how to redirect to a JSF page.
> > > >
> > > >
> > > >
> > > > In this case I'm at a complete loss to where I should start.
> > > >
> > > >
> > > >
> > > > Can some one please prod me in the correct direction.
> > > >
> > > >
> > > >
> > > > Thanks
> > > >
> > > > Jeff
> > > >
> > > >
> > > >
> > >
> > > --
> > > Don't answer to From: address!
> > > Mail to this account are droped if not recieved via mailinglist.
> > > To contact me direct create the mail address by
> > > concatenating my forename to my senders domain.
> > >
> >
> >
> > --
> > Matthias Wessendorf
> > Zülpicher Wall 12, 239
> > 50674 Köln
> > http://www.wessendorf.net
> > mwessendorf-at-gmail-dot-com
> >
>
>
> --
> Matthias Wessendorf
> Zülpicher Wall 12, 239
> 50674 Köln
> http://www.wessendorf.net
> mwessendorf-at-gmail-dot-com
>


--
Matthias Wessendorf
Zülpicher Wall 12, 239
50674 Köln
http://www.wessendorf.net
mwessendorf-at-gmail-dot-com

Reply via email to