Re: [Wicket-user] external request response - best approach

2007-01-28 Thread De Soca

I realized that was probably the easiest option.

Thanks.


Carfield Yim-2 wrote:
> 
> Are you refer to something like verisign payflow pro API? For me I
> will just have a form and open an HTTP connection at onSubmit() method
> just like the example they've given.
> 
> On 1/28/07, De Soca <[EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>> I have a requirement to validate credit card via an external service
>> (external to our wicket application) then display the approriate response
>> to
>> the client.
>>
>> How best to approach this task the wicket way.
>>
>> 1. Should I do a redirect? If so how do I get the response
>>
>> 2. I saw mention here of using a "RequestTarger" but I can find no such
>> class.
>>
>> Of course this whole operation occurs in an HTTPS session.
>>
>> All suggestions appreciated.
>>
>> Thanks in advance.
>> --
>> View this message in context:
>> http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8668662
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ___
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8675330
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] external request response - best approach

2007-01-28 Thread Carfield Yim
Are you refer to something like verisign payflow pro API? For me I
will just have a form and open an HTTP connection at onSubmit() method
just like the example they've given.

On 1/28/07, De Soca <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a requirement to validate credit card via an external service
> (external to our wicket application) then display the approriate response to
> the client.
>
> How best to approach this task the wicket way.
>
> 1. Should I do a redirect? If so how do I get the response
>
> 2. I saw mention here of using a "RequestTarger" but I can find no such
> class.
>
> Of course this whole operation occurs in an HTTPS session.
>
> All suggestions appreciated.
>
> Thanks in advance.
> --
> View this message in context: 
> http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8668662
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] external request response - best approach

2007-01-27 Thread Igor Vaynberg

i really dont understand what you are trying to do

but if you want the raw http request you do

((webrequest)getrequest()).gethttpservletrequest()


-igor


On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:



In your "validatethecard()" do have to work with the raw servlet api or
are
there wicket objects i can i use.

I guess that is the crux of my question.


igor.vaynberg wrote:
>
> heh
>
> form/button.onsubmit() {
>   boolean validated=validatethecard();
>   if (validated==true ) {
>processthedata();
>setresposnepage(new successpage());
>   } else {
> error("invalid cc num");
>   }
> }
>
> -igor
>
>
> On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>>
>>
>> How would I get the response object in wicket?
>>
>> Do I do a redirect?
>>
>> Please elaborate.
>>
>> Thanks.
>>
>>
>> igor.vaynberg wrote:
>> >
>> > heh so what exactly is the problem? make the call in your onsubmit...
>> ??
>> >
>> > -igor
>> >
>> >
>> > On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> No I don't, the call all happens in one request response cycle.
>> >>
>> >> Ideally I would like to perform the call and receive the response
>> within
>> >> my
>> >> wicket submit method.
>> >>
>> >> Thanks.
>> >>
>> >>
>> >>
>> >> igor.vaynberg wrote:
>> >> >
>> >> > you need to redirect to another website, and then that website
>> >> redirects
>> >> > back to you? when you redirect to it you pass it the url you want
to
>> >> > comeback to?
>> >> >
>> >> > -igor
>> >> >
>> >> >
>> >> > On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> >> >> Hello,
>> >> >>
>> >> >> I have a requirement to validate credit card via an external
>> service
>> >> >> (external to our wicket application) then display the approriate
>> >> response
>> >> >> to
>> >> >> the client.
>> >> >>
>> >> >> How best to approach this task the wicket way.
>> >> >>
>> >> >> 1. Should I do a redirect? If so how do I get the response
>> >> >>
>> >> >> 2. I saw mention here of using a "RequestTarger" but I can find
no
>> >> such
>> >> >> class.
>> >> >>
>> >> >> Of course this whole operation occurs in an HTTPS session.
>> >> >>
>> >> >> All suggestions appreciated.
>> >> >>
>> >> >> Thanks in advance.
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>>
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8668662
>> >> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> >>
>>
-
>> >> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> >> share
>> >> >> your
>> >> >> opinions on IT & business topics through brief surveys - and earn
>> cash
>> >> >>
>> >>
>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> >> ___
>> >> >> Wicket-user mailing list
>> >> >> Wicket-user@lists.sourceforge.net
>> >> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >> >>
>> >> >
>> >> >
>> >>
>>
-
>> >> > Take Surveys. Earn Cash. Influence the Future of IT
>> >> > Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >> > your
>> >> > opinions on IT & business topics through brief surveys - and earn
>> cash
>> >> >
>> >>
>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> > ___
>> >> > Wicket-user mailing list
>> >> > Wicket-user@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>>
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8671764
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>>
-
>> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >> your
>> >> opinions on IT & business topics through brief surveys - and earn
cash
>> >>
>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> ___
>> >> Wicket-user mailing list
>> >> Wicket-user@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >>
>> >
>> >
>>
-
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to
share
>> > your
>> > opinions on IT & business topics through brief surveys - and earn
cash
>> >
>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > ___
>> > Wicke

Re: [Wicket-user] external request response - best approach

2007-01-27 Thread De Soca

In your "validatethecard()" do have to work with the raw servlet api or are
there wicket objects i can i use.

I guess that is the crux of my question.


igor.vaynberg wrote:
> 
> heh
> 
> form/button.onsubmit() {
>   boolean validated=validatethecard();
>   if (validated==true ) {
>processthedata();
>setresposnepage(new successpage());
>   } else {
> error("invalid cc num");
>   }
> }
> 
> -igor
> 
> 
> On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>>
>>
>> How would I get the response object in wicket?
>>
>> Do I do a redirect?
>>
>> Please elaborate.
>>
>> Thanks.
>>
>>
>> igor.vaynberg wrote:
>> >
>> > heh so what exactly is the problem? make the call in your onsubmit...
>> ??
>> >
>> > -igor
>> >
>> >
>> > On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> No I don't, the call all happens in one request response cycle.
>> >>
>> >> Ideally I would like to perform the call and receive the response
>> within
>> >> my
>> >> wicket submit method.
>> >>
>> >> Thanks.
>> >>
>> >>
>> >>
>> >> igor.vaynberg wrote:
>> >> >
>> >> > you need to redirect to another website, and then that website
>> >> redirects
>> >> > back to you? when you redirect to it you pass it the url you want to
>> >> > comeback to?
>> >> >
>> >> > -igor
>> >> >
>> >> >
>> >> > On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>> >> >>
>> >> >>
>> >> >> Hello,
>> >> >>
>> >> >> I have a requirement to validate credit card via an external
>> service
>> >> >> (external to our wicket application) then display the approriate
>> >> response
>> >> >> to
>> >> >> the client.
>> >> >>
>> >> >> How best to approach this task the wicket way.
>> >> >>
>> >> >> 1. Should I do a redirect? If so how do I get the response
>> >> >>
>> >> >> 2. I saw mention here of using a "RequestTarger" but I can find no
>> >> such
>> >> >> class.
>> >> >>
>> >> >> Of course this whole operation occurs in an HTTPS session.
>> >> >>
>> >> >> All suggestions appreciated.
>> >> >>
>> >> >> Thanks in advance.
>> >> >> --
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8668662
>> >> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >> >>
>> >> >>
>> >> >>
>> >>
>> -
>> >> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> >> share
>> >> >> your
>> >> >> opinions on IT & business topics through brief surveys - and earn
>> cash
>> >> >>
>> >>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> >> ___
>> >> >> Wicket-user mailing list
>> >> >> Wicket-user@lists.sourceforge.net
>> >> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >> >>
>> >> >
>> >> >
>> >>
>> -
>> >> > Take Surveys. Earn Cash. Influence the Future of IT
>> >> > Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >> > your
>> >> > opinions on IT & business topics through brief surveys - and earn
>> cash
>> >> >
>> >>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> > ___
>> >> > Wicket-user mailing list
>> >> > Wicket-user@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >> >
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8671764
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> -
>> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >> your
>> >> opinions on IT & business topics through brief surveys - and earn cash
>> >>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> ___
>> >> Wicket-user mailing list
>> >> Wicket-user@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >>
>> >
>> >
>> -
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to share
>> > your
>> > opinions on IT & business topics through brief surveys - and earn cash
>> >
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > ___
>> > Wicket-user mailing list
>> > Wicket-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/exter

Re: [Wicket-user] external request response - best approach

2007-01-27 Thread De Soca

Hi Igor,

this is the direction I would like to take:

 snip -


Form form = new Form(this, "inputForm");

new Button(form, "saveButton") {
@Override
public void onSubmit() {
logger.debug(" > need to validate credit card
here .>");
   
getPage().getResponse().redirect("https://secure.x.com/process.cgi";);

 how do I get the response object here:
 
}
};

-- snip -

Cheers,
De.


igor.vaynberg wrote:
> 
> heh so what exactly is the problem? make the call in your onsubmit... ??
> 
> -igor
> 
> 
> On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>>
>>
>> No I don't, the call all happens in one request response cycle.
>>
>> Ideally I would like to perform the call and receive the response within
>> my
>> wicket submit method.
>>
>> Thanks.
>>
>>
>>
>> igor.vaynberg wrote:
>> >
>> > you need to redirect to another website, and then that website
>> redirects
>> > back to you? when you redirect to it you pass it the url you want to
>> > comeback to?
>> >
>> > -igor
>> >
>> >
>> > On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hello,
>> >>
>> >> I have a requirement to validate credit card via an external service
>> >> (external to our wicket application) then display the approriate
>> response
>> >> to
>> >> the client.
>> >>
>> >> How best to approach this task the wicket way.
>> >>
>> >> 1. Should I do a redirect? If so how do I get the response
>> >>
>> >> 2. I saw mention here of using a "RequestTarger" but I can find no
>> such
>> >> class.
>> >>
>> >> Of course this whole operation occurs in an HTTPS session.
>> >>
>> >> All suggestions appreciated.
>> >>
>> >> Thanks in advance.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8668662
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> -
>> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >> your
>> >> opinions on IT & business topics through brief surveys - and earn cash
>> >>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> ___
>> >> Wicket-user mailing list
>> >> Wicket-user@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >>
>> >
>> >
>> -
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to share
>> > your
>> > opinions on IT & business topics through brief surveys - and earn cash
>> >
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > ___
>> > Wicket-user mailing list
>> > Wicket-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8671764
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ___
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8671840
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.ph

Re: [Wicket-user] external request response - best approach

2007-01-27 Thread Igor Vaynberg

heh

form/button.onsubmit() {
 boolean validated=validatethecard();
 if (validated==true ) {
  processthedata();
  setresposnepage(new successpage());
 } else {
   error("invalid cc num");
 }
}

-igor


On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:



How would I get the response object in wicket?

Do I do a redirect?

Please elaborate.

Thanks.


igor.vaynberg wrote:
>
> heh so what exactly is the problem? make the call in your onsubmit... ??
>
> -igor
>
>
> On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>>
>>
>> No I don't, the call all happens in one request response cycle.
>>
>> Ideally I would like to perform the call and receive the response
within
>> my
>> wicket submit method.
>>
>> Thanks.
>>
>>
>>
>> igor.vaynberg wrote:
>> >
>> > you need to redirect to another website, and then that website
>> redirects
>> > back to you? when you redirect to it you pass it the url you want to
>> > comeback to?
>> >
>> > -igor
>> >
>> >
>> > On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hello,
>> >>
>> >> I have a requirement to validate credit card via an external service
>> >> (external to our wicket application) then display the approriate
>> response
>> >> to
>> >> the client.
>> >>
>> >> How best to approach this task the wicket way.
>> >>
>> >> 1. Should I do a redirect? If so how do I get the response
>> >>
>> >> 2. I saw mention here of using a "RequestTarger" but I can find no
>> such
>> >> class.
>> >>
>> >> Of course this whole operation occurs in an HTTPS session.
>> >>
>> >> All suggestions appreciated.
>> >>
>> >> Thanks in advance.
>> >> --
>> >> View this message in context:
>> >>
>>
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8668662
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>>
-
>> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >> your
>> >> opinions on IT & business topics through brief surveys - and earn
cash
>> >>
>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> ___
>> >> Wicket-user mailing list
>> >> Wicket-user@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >>
>> >
>> >
>>
-
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to
share
>> > your
>> > opinions on IT & business topics through brief surveys - and earn
cash
>> >
>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > ___
>> > Wicket-user mailing list
>> > Wicket-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >
>> >
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8671764
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>>
-
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ___
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>
>
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

--
View this message in context:
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8671789
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

---

Re: [Wicket-user] external request response - best approach

2007-01-27 Thread De Soca

How would I get the response object in wicket?

Do I do a redirect?

Please elaborate.

Thanks.


igor.vaynberg wrote:
> 
> heh so what exactly is the problem? make the call in your onsubmit... ??
> 
> -igor
> 
> 
> On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>>
>>
>> No I don't, the call all happens in one request response cycle.
>>
>> Ideally I would like to perform the call and receive the response within
>> my
>> wicket submit method.
>>
>> Thanks.
>>
>>
>>
>> igor.vaynberg wrote:
>> >
>> > you need to redirect to another website, and then that website
>> redirects
>> > back to you? when you redirect to it you pass it the url you want to
>> > comeback to?
>> >
>> > -igor
>> >
>> >
>> > On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>> >>
>> >>
>> >> Hello,
>> >>
>> >> I have a requirement to validate credit card via an external service
>> >> (external to our wicket application) then display the approriate
>> response
>> >> to
>> >> the client.
>> >>
>> >> How best to approach this task the wicket way.
>> >>
>> >> 1. Should I do a redirect? If so how do I get the response
>> >>
>> >> 2. I saw mention here of using a "RequestTarger" but I can find no
>> such
>> >> class.
>> >>
>> >> Of course this whole operation occurs in an HTTPS session.
>> >>
>> >> All suggestions appreciated.
>> >>
>> >> Thanks in advance.
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8668662
>> >> Sent from the Wicket - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >>
>> -
>> >> Take Surveys. Earn Cash. Influence the Future of IT
>> >> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share
>> >> your
>> >> opinions on IT & business topics through brief surveys - and earn cash
>> >>
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> >> ___
>> >> Wicket-user mailing list
>> >> Wicket-user@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >>
>> >
>> >
>> -
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to share
>> > your
>> > opinions on IT & business topics through brief surveys - and earn cash
>> >
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > ___
>> > Wicket-user mailing list
>> > Wicket-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8671764
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ___
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8671789
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] external request response - best approach

2007-01-27 Thread Igor Vaynberg

heh so what exactly is the problem? make the call in your onsubmit... ??

-igor


On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:



No I don't, the call all happens in one request response cycle.

Ideally I would like to perform the call and receive the response within
my
wicket submit method.

Thanks.



igor.vaynberg wrote:
>
> you need to redirect to another website, and then that website redirects
> back to you? when you redirect to it you pass it the url you want to
> comeback to?
>
> -igor
>
>
> On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello,
>>
>> I have a requirement to validate credit card via an external service
>> (external to our wicket application) then display the approriate
response
>> to
>> the client.
>>
>> How best to approach this task the wicket way.
>>
>> 1. Should I do a redirect? If so how do I get the response
>>
>> 2. I saw mention here of using a "RequestTarger" but I can find no such
>> class.
>>
>> Of course this whole operation occurs in an HTTPS session.
>>
>> All suggestions appreciated.
>>
>> Thanks in advance.
>> --
>> View this message in context:
>>
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8668662
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>>
-
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ___
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>
>
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

--
View this message in context:
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8671764
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] external request response - best approach

2007-01-27 Thread De Soca

No I don't, the call all happens in one request response cycle.

Ideally I would like to perform the call and receive the response within my
wicket submit method.

Thanks.



igor.vaynberg wrote:
> 
> you need to redirect to another website, and then that website redirects
> back to you? when you redirect to it you pass it the url you want to
> comeback to?
> 
> -igor
> 
> 
> On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hello,
>>
>> I have a requirement to validate credit card via an external service
>> (external to our wicket application) then display the approriate response
>> to
>> the client.
>>
>> How best to approach this task the wicket way.
>>
>> 1. Should I do a redirect? If so how do I get the response
>>
>> 2. I saw mention here of using a "RequestTarger" but I can find no such
>> class.
>>
>> Of course this whole operation occurs in an HTTPS session.
>>
>> All suggestions appreciated.
>>
>> Thanks in advance.
>> --
>> View this message in context:
>> http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8668662
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> ___
>> Wicket-user mailing list
>> Wicket-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8671764
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] external request response - best approach

2007-01-27 Thread Igor Vaynberg

you need to redirect to another website, and then that website redirects
back to you? when you redirect to it you pass it the url you want to
comeback to?

-igor


On 1/27/07, De Soca <[EMAIL PROTECTED]> wrote:



Hello,

I have a requirement to validate credit card via an external service
(external to our wicket application) then display the approriate response
to
the client.

How best to approach this task the wicket way.

1. Should I do a redirect? If so how do I get the response

2. I saw mention here of using a "RequestTarger" but I can find no such
class.

Of course this whole operation occurs in an HTTPS session.

All suggestions appreciated.

Thanks in advance.
--
View this message in context:
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8668662
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] external request response - best approach

2007-01-27 Thread De Soca

Hello,

I have a requirement to validate credit card via an external service
(external to our wicket application) then display the approriate response to
the client.

How best to approach this task the wicket way.

1. Should I do a redirect? If so how do I get the response

2. I saw mention here of using a "RequestTarger" but I can find no such
class.

Of course this whole operation occurs in an HTTPS session.

All suggestions appreciated.

Thanks in advance.
-- 
View this message in context: 
http://www.nabble.com/external-request-response---best-approach-tf3128605.html#a8668662
Sent from the Wicket - User mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user