Thanks Martin!  I should have been more clear that my app is actually
creating the RSS which is why I want to display it one of my Panels for
debug purposes.  Anyways, your code below helped me finally get my solution. 
It didn't like StringResponse, but ByteArrayResponse worked just fine:

ResourceReference resourceReference = new RSSReference();    
ByteArrayResponse tmpResponse = new ByteArrayResponse(); 
Attributes attrs = new Attributes(getRequestCycle().getRequest(),
tmpResponse); 
resourceReference.getResource().respond(attrs);
String rss = new String(tmpResponse.getBytes());

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/How-to-get-actual-data-from-ByteArrayResource-tp4328722p4331308.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to