Re: converting xml list into un numbered list

2009-12-25 Thread Jeremy Thomerson
There are several ways

XSL - not very wickety, but would work - you could place the transformed
HTML with a wicket label.

process the XML to an array first, then work on it

create a model for a repeatingview (i.e. listview) that knows how to render
XML

--
Jeremy Thomerson
http://www.wickettraining.com



On Wed, Dec 16, 2009 at 4:46 PM, Ed _ ed_b...@hotmail.com wrote:


 Hello,

 I have a list of items in a xml document.

 What is the best way to convert them into a list on an page.

 xml

 itemnameapple/nameitem


 itemnameorange/nameitem


 itemnamecarrot/nameitem
 /xml


 ul
 liapple/li
 lioragnge/li
 licarrot/li
 /ul


 Should I extract into an Array and then use ListView ? Or is there a better
 way
 thank

 _
 Hotmail: Free, trusted and rich email service.
 http://clk.atdmt.com/GBL/go/171222984/direct/01/



Re: converting xml list into un numbered list

2009-12-25 Thread Jeremy Thomerson
That shouldn't be knows how to render XML - but it should be knows how to
parse XML into a list

--
Jeremy Thomerson
http://www.wickettraining.com



On Fri, Dec 25, 2009 at 8:45 AM, Jeremy Thomerson jer...@wickettraining.com
 wrote:

 There are several ways

 XSL - not very wickety, but would work - you could place the transformed
 HTML with a wicket label.

 process the XML to an array first, then work on it

 create a model for a repeatingview (i.e. listview) that knows how to render
 XML

 --
 Jeremy Thomerson
 http://www.wickettraining.com




 On Wed, Dec 16, 2009 at 4:46 PM, Ed _ ed_b...@hotmail.com wrote:


 Hello,

 I have a list of items in a xml document.

 What is the best way to convert them into a list on an page.

 xml

 itemnameapple/nameitem


 itemnameorange/nameitem


 itemnamecarrot/nameitem
 /xml


 ul
 liapple/li
 lioragnge/li
 licarrot/li
 /ul


 Should I extract into an Array and then use ListView ? Or is there a
 better way
 thank

 _
 Hotmail: Free, trusted and rich email service.
 http://clk.atdmt.com/GBL/go/171222984/direct/01/





converting xml list into un numbered list

2009-12-16 Thread Ed _

Hello,

I have a list of items in a xml document. 

What is the best way to convert them into a list on an page.

xml

itemnameapple/nameitem


itemnameorange/nameitem


itemnamecarrot/nameitem
/xml


ul
liapple/li
lioragnge/li
licarrot/li
/ul


Should I extract into an Array and then use ListView ? Or is there a better way
thank
  
_
Hotmail: Free, trusted and rich email service.
http://clk.atdmt.com/GBL/go/171222984/direct/01/