protected StringValue getVariableValue ( String parameterName ) { RequestCycle cycle = RequestCycle . get ( ) ; WebRequest webRequest = ( WebRequest ) cycle . getRequest ( ) ; StringValue value = webRequest . getRequestParameters ( ) . getParameterValue ( parameterName ) ; return value ; }
Reads the value of the given javascript variable from the AJAX request .