On 7/2/07, Jeremy Thomerson <[EMAIL PROTECTED]> wrote:
I know you can do this somehow - I just can't tell what's missing....
In a search form that I have, I do the following:
getRequestCycle().setRequestTarget(new
ListenerInterfaceRequestTarget(getPage(), new SearchQueryLink("foo",
mQuery), ILinkListener.INTERFACE));
I have a request strategy that decodes SearchQueryLink instances just
fine. But, when doing the above, it does not redirect at all - it just
repaints my page.
What am I missing? I walked up the stack trace from
setResponsePage(Page), which is the standard way of redirecting a form
submission, and it calls getRequestCycle().setRequestTarget(IRequestTarget),
exactly as I am above.
could you tell us your usecase - what you are trying to do and where you are
putting the above code?
also make sure you dont have a stacktrace in your logs/console.
-igor
Thank you!
Jeremy Thomerson
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user