Hi list !

I have quite a lot CForms in my application. All data is retrieved and submitted to a middle tier using a xml document. For each field there is an attribute containing an error status, empty string if there is no error. Now, if I submit the form, it is validated by the middle tier, and I'd like to bind the returned attribute containing the error message to the builtin cform error messages.

Of course I could write a custom binding class with its own factory class, but that would mean duplicating the JXPathValue binding class, as I use all of its features (like convertors and on-update binding). No chance in extending the JXPathValue binding and build my own factory, as the built in binding factories are instantiated with more parameters than the custom binding factories get...

So, I am not really sure what I should do :-).

Any help or idea welcome :-) !

Thanks,
tom

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

Reply via email to