Re: Returning plain text / JSON data

2007-12-05 Thread Scott Sauyet
Thank you very much. I figured there must be an easy way... -- Scott Igor Vaynberg wrote: onclick() { getrequestcycle().setrequesttarget(new stringrequesttarget(boo!)); } yeah, that easy :) -igor On Dec 5, 2007 6:44 AM, Scott Sauyet [EMAIL PROTECTED] wrote: Every now and then with

Re: Returning plain text / JSON data

2007-12-05 Thread Igor Vaynberg
onclick() { getrequestcycle().setrequesttarget(new stringrequesttarget(boo!)); } yeah, that easy :) -igor On Dec 5, 2007 6:44 AM, Scott Sauyet [EMAIL PROTECTED] wrote: Every now and then with Wicket, I find my self wanting to send plain text or Javascript/JSON data to the browser. I

Returning plain text / JSON data

2007-12-05 Thread Scott Sauyet
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