Replaced setupError method with rf.onError method which can be overridden. Is overridden server side to raise an error rather than alert.
Added "/trace" servlet which logs request parameters.
Enabled xpath submission parameters, simply start your parameter value with 'xpath:' followed by the xpath to be executed against the DataDocument.