Hi Martin,
I've removed the getRequestCycleListeners().add(new
AbstractRequestCycleListener() - method in the application class and
tried to print some post-parameters in my Homepage.class:
System.out.println(RequestCycle.get().getRequest().getPostParameters().getParameterValue:
+
Hi Sven,
This is strange.
Can you attach a mini app (a quickstart) that demonstrates the problem ?
On Mon, Mar 19, 2012 at 12:16 PM, Sven Hohage
sven.hoh...@googlemail.com wrote:
Hi Martin,
I've removed the getRequestCycleListeners().add(new
AbstractRequestCycleListener() - method in the
Hi,
Which version of Wicket ?
try with getRequest().getPostParameters()
On Fri, Mar 16, 2012 at 12:28 PM, Sven Hohage
sven.hoh...@googlemail.com wrote:
I try to read some form-encoded post parameters in my CustomRequestCycle.
Unfortunately the value is always null.
Does someone know why this
I've changed to 1.5 to implement your advice.
My actual try is (inside application-init()):
getRequestCycleListeners().add(new AbstractRequestCycleListener() {
@Override
public void onBeginRequest(RequestCycle rc) {
Why in #onBeginRequest() ?
This way your code will be called for every request. I guess this
logic should be invoked only after submittion of a Form with POST
method. Or if you use some kind of http client to make the requests to
your page.
On Fri, Mar 16, 2012 at 3:10 PM, Sven Hohage