First of all create a parser for the XML, I'm not very experienced in Wicket, but I haven't heard of any Wicket object that does this for you. Then create a repeater backed by a model that contains the data you just got from the parser.

If you haven't done so yet, I can advise you to read Wicket in Action, it will explain most about repeaters and models and showing data on a page.

Regards,
Linda

Gerald Fernando wrote:
our database data comes as xml file.
How do i display it in client side using wicket

On Wed, Jul 8, 2009 at 3:18 PM, Linda van der Pal <
[email protected]> wrote:

So is the XML replacing a database? Or is it meant more like
internationalization?

Regards,
Linda

Gerald Fernando wrote:

 Hi mark,
 i dont have sample code am very new to wicket.
my requirement is that i think like option A

i have a xml file which has first name,last name and middle name
supose my wicket page is Data.java which should get first and last name
from
xml file

now my Data.html markup file to show the first name and last name in grid
view.
the grid might be inside panel or form component.

this is my requirement
please give me urgent reply if possible give me some model code

Thanks&Regards,
Gerald A





On Wed, Jul 8, 2009 at 12:40 PM, Martin Makundi <
[email protected]> wrote:



Hi!

Please explain in more detail if this is your situation:

A)
1. You have xml file.
2. You load the xml file into Java using JAXB or similar.
3. You want to display only some details from the xml->Java object
using Wicket (if so, please give sample code & html what you need).

B)
1. You have an xml file.
2. You want to display the whole xml as HTML.
3. You use XSLT to transform the XML into HTML.
4. You do not need Wicket.

**
Martin

2009/7/8 Gerald Fernando <[email protected]>:
 > Hello Friends,


i am Gerald Anto Fernando,since past 7 days i have started to learn


Wicket.


As I am debut to wicket,please forgive me if i ask any small questions.

shall we bind the data from xml file into wicket component.
If it possible please give me some models.

 Thanking You,

Gerald Anto Fernando,
Chennai



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




 ------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database:
270.13.8/2223 - Release Date: 07/07/09 17:54:00



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



------------------------------------------------------------------------


No virus found in this incoming message.
Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: 270.13.8/2224 - Release Date: 07/08/09 05:53:00



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

Reply via email to