Hi Gert,

See http://example.irian.at/example-sandbox-20070710/template/index.jsf

For an example of producing a JSF page from an XML document with XSL.

HTH,

Fintan

-----Original Message-----
From: Gert Vanthienen [mailto:[EMAIL PROTECTED] 
Sent: 10 July 2007 07:24
To: [email protected]
Subject: XML document as data for form



L.S.,


I'm building a forms-based web application.  Most of the times, the data
that was filled in to the form needs to be send into Apache Servicemix
for further processing, so it is best stored in XML format.  Is there a
way to use an XML document as the source of data for a JSF form?  I was
thinking of building a PropertyResolver that understands XPath
expressions (eg. document['/article/supplier/@id'], but perhaps there is
an easier way to do this...

Or should I generate classes based on my XSD, only to make it possible
to build this kind of web form?


Regards,

Gert Vanthienen
-- 
View this message in context:
http://www.nabble.com/XML-document-as-data-for-form-tf4054048.html#a1151
5457
Sent from the MyFaces - Users mailing list archive at Nabble.com.

* ** *** ** * ** *** ** * ** *** ** *
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed.
Any views or opinions presented are solely those of the author, and do not 
necessarily
represent those of ESB.
If you have received this email in error please notify the sender.

Although ESB scans e-mail and attachments for viruses, it does not guarantee
that either are virus-free and accepts no liability for any damage sustained
as a result of viruses.

Company Registration Information: http://www.esb.ie/companies
* ** *** ** * ** *** ** * ** *** ** *

Reply via email to