The only difference between the ValidatorForm and the ValidatorActionForm I am aware of is that the form name is taken from the action mapping path in the latter. While I haven't specifically tested with this class, but it should work as expected.
Can you send me more information about the exception you are getting? It happens in Xalan rather than OXF, so I need the following information to be able to help you out:
- Which XSLTTransformer produces the exception
You can figure that out be examining the pipeline and adding debug attributes to the data input of the transformers. OXF should display the debug information until one processor throws an exception.
- XSLT Stylesheet used be that transformer
- input(s) send to the transformer.
I will try to figure out the issue you are facing as soon as possible after I receive the information.
Regards, Julien
Crishantha Nanayakkara wrote:
Hi,
We are facing a problem regarding Struts-Validator with OXF.
The problem is, When we give action mappings(We have to extend ValidatorActionForm instead of ValidatorForm) instead of form name in the validation.xml, it gives a XSLT parsing error.(Stack Trace is given below)
Eg: /login is the action mapping. <formset> <form name="/login"> <field property="username" depends="required"> <arg0 key="login.main.loginid"/> </field>
P.Note: This works fine when we specify the form name here.
Does OXF 2.0 support action mapping like above in validation.xml? Waiting for a answer regarding this.
Thanks and Regards Crishantha
The stack Trace is: java.lang.RuntimeException: String index out of range: -1 at orbeon.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:336 4) at orbeon.apache.xalan.transformer.TransformerHandlerImpl.endDocument(Transform erHandlerImpl.java:427) at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:168) at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java: 35) at org.orbeon.oxf.processor.ProcessorImpl$5.read(ProcessorImpl.java:784) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
_______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
