I have simple form:
=================
private class SearchForm extends Form {
private final ValueMap properties = new ValueMap();
private TextField querystring;
public SearchForm(String id){
super(id);
add(querystring = new TextField("querystring", new
PropertyModel(properties, "q")));
}
public final void onSubmit(){
setResponsePage(SearchPage.class);
}
}
===================
When I enter the text 'keyword' into the text field and press Submit it
happily forwards to:
https://lilo:8443/whisky/app/search
How do i embed the form data into the forwarded url like this:
https://lilo:8443/whisky/app/search/q/keyword
Any pointer in right direction is appreciated, thanks..
--
View this message in context:
http://www.nabble.com/Capturing-Form-Data-into-Nice-URL-%21-tf4461968.html#a12723634
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]