Every now and then with Wicket, I find my self wanting to send plain text or Javascript/JSON data to the browser. I know how to use, for instance, the StringHeaderContributer. What I would like is for certain calls to simply return no HTML markup at all, just plain text. For most of these needs, I could integrate something like DWR, and run on a separate servlet, but I generally need something from my Wicket session to build the output; I could do it, but it just doesn't make too much sense.

Is there a simple way to return plain text from an AJAX-y request?

Thanks for your help,

  -- Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to