Joel McConaughy wrote:

Is it possible to use both bean and xml binding in a single form? I'm using hibernate and the bean binding to access SQL data. One of the columns contains xml data that I would like to include in the form. Thanks.


hm, hibernate will probably retrieve the XML part as a string, right?

if possible I'ld convert it to a DOM node by postprocessing the bean after you got it from hibernate, and then you could just let the jxpath used by the binding transparently walk over that DOM shaped property of the bean with the required binding statements

before saving you'll need to post-process-serialize the string back into the actual property that gets persisted.

HTH,
-marc=
--
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at                http://blogs.cocoondev.org/mpo/
[EMAIL PROTECTED]                              [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to