New to Wicket.
I'm working on changing web application pages from .jsp to Wicket. With a
button onSubmit() I need to pass a string value to a jsp. Currently with
.jsp this is the function that is called when the "change" button is
pressed:
function changeRecord() {
var selectedValue = getSelectedValue();
if (selectedValue == null)
return;
document.forms['pageForm'].method = "get";
document.forms['pageForm'].action = "record/change";
document.forms['pageForm'].submit();
}
The Java Controller for the change page gets the value from the request and
goes from there:
String value = request.getParameter("value");
I need a way to duplicate this action with Wicket. Any ideas?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Pass-Variable-from-Wicket-Page-to-jsp-tp4667119.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]