Try Shale remoting - http://www.shale.apache.org

2007/2/14, Volker Weber <[EMAIL PROTECTED]>:

Hi,

whats the problem with a servlet?

Here is the base code:

http://wiki.apache.org/myfaces/InvokingJsfPagesWithStandardUrls#head-6c1aaf488d48f938896da962aaa4361ec3ffaf70

Regards,
  Volker

2007/2/14, Yuri Ivanov <[EMAIL PROTECTED]>:
> Thank you for replay,
> but then I need to create paymentStatus.jsf page and then access these
> fields in that jsf. And it's I don't like this approach because, first
must
> be called Action and only then View.
>
> May be I will try shale for this ...
> Are there other tools for complete this task?
>
>
> -----Original Message-----
> From: David Delbecq [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, February 14, 2007 4:14 PM
> To: MyFaces Discussion
> Subject: Re: How to call bean method from url?
>
> You can define a request scope bean for which some properties are
> managed by JSF:
>
> simple example:
>
http://yourserver/youApp/paymentStatus?transactionId=123456789&result=987654
> 321
>
> and in faces-config.xml:
>     <managed-bean>
>         <managed-bean-name>
>             transactionResultBean
>         </managed-bean-name>
>         <managed-bean-class>
>             com.company.SomeClass
>         </managed-bean-class>
>         <managed-bean-scope>request</managed-bean-scope>
>         <managed-property>
>             <description>Gets the transaction Id from url</description>
>             <property-name>transactionId</property-name>
>             <property-class>java.lang.String</property-class>
>             <value>#{param['transactionId']}</value>
>         </managed-property>
>         <managed-property>
>             <description>Gets the transaction result from
url</description>
>             <property-name>result</property-name>
>             <property-class>java.lang.String</property-class>
>             <value>#{param['result']}</value>
>         </managed-property>
>     </managed-bean>
>
> En l'instant précis du 02/14/07 14:03, Yuri Ivanov s'exprimait en ces
> termes:
> > Hello all,
> >
> > I am new in JSF, I have a simple question.
> >
> > I need to integrate JSF application with external payment system. This
> > system can call my url if payment successfully transferred. But I
can't
> > understand how can I define method in back bean that will be called
before
> > rendering response.
> >
> > Of course I can write Servlet for handling this situation, but it's
not
> very
> > convenient for me.
> >
> >
> >
> > Thanks,
> >
> > Yuri.
> >
> >
> >
>
>

Reply via email to