Hi,
I am using ck/onEvent mixin for capturing the onChange event of my select box. From my event handler I want to send a response text to onCompleteCallback function, so depending on the return value I can do stuff using java script in the UI. The problem is : what format do I return the value? String - tapestry expects String to be a page name - so i get the error page not found. all other return formats expects a class name, a link etc...which is not what i want. I just want to send a plain text back to the browser. I tried using StreamReponse like this - @OnEvent(component="inPlaceProgramSelect", value = "change") StreamResponse onSelected(List<String> values) { final String CONTENT_TYPE = "text/plain"; return new TextStreamResponse(CONTENT_TYPE, "Error updating program status"); } but I get an error - "Error communication with the server: missing ) after argument list" So, how do i send this response to the callback function? -- View this message in context: http://tapestry.1045711.n5.nabble.com/how-to-return-value-to-a-onCompleteCallback-function-tp3360095p3360095.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org