[Wicket-user] Question about setting up request and response

2006-11-12 Thread Carfield Yim
I need to setup some parameter for the wicket test, I can see there is a method call setupRequestAndResponse so I guess I should override this one and do the setup there? However I don't know how as this method take no parameters. Would anyone tell me how to do?

Re: [Wicket-user] Question about setting up request and response

2006-11-12 Thread Iman Rahmatizadeh
I don't think that's what you're looking for. What exactly do you want to do ? On 11/13/06, Carfield Yim [EMAIL PROTECTED] wrote: I need to setup some parameter for the wicket test, I can see there is a method call setupRequestAndResponse so I guess I should override this one and do the setup

Re: [Wicket-user] Question about setting up request and response

2006-11-12 Thread Carfield Yim
Yes... i only browse the name but haven't actually read the document, sorry about that. In my code I will get some parameters using getRequest().getParameter() so I need to assert it at my test. After I really read the document, I guess what I really need to do in put a Map at

Re: [Wicket-user] Question about setting up request and response

2006-11-12 Thread Iman Rahmatizadeh
Yep, put them in a Map or set them one by one, using the component path.On 11/13/06, Carfield Yim [EMAIL PROTECTED] wrote:Yes... i only browse the name but haven't actually read the document, sorry about that.In my code I will get some parameters usinggetRequest().getParameter() so I need to