Thanks for the quick response.  Well I am using the label but I get the
output as "<book><title>Book on
Logic</title><author>Aristotle</author></book>"

How can I show that in interactive form as shown in a browser?

Thanks again.



Jeremy Thomerson-5 wrote:
> 
> XML is just another type of markup.  If the XML is generated by some
> service, etc, just use a label to display it.  Otherwise, just make
> your markup FooPanel.xml - put your markup in their, using wicket:id
> tags as normal, etc.  Then in FooPanel.java override getMarkupType and
> return "xml".
> 
> --
> Jeremy Thomerson
> http://www.wickettraining.com
> 
> 
> 
> 
> On Tue, Jun 9, 2009 at 1:17 PM, m_salman<[email protected]> wrote:
>>
>> I would appreciate very much if some one can tell me how can I use this
>> method, or any other method, to display xml in a panel.  I want xml to be
>> displayed in an interactive format in  a panel when a form is submitted.
>>
>> Thanks.
>> --
>> View this message in context:
>> http://www.nabble.com/Write-XML-response-tp20210589p23948547.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Write-XML-response-tp20210589p23948835.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to