Hi Crishantha,
you may want to enable log4j and see the actual XML being generated by
castor.

-gb

-----Original Message-----
From: Crishantha Nanayakkara [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 11:40 PM
To: [EMAIL PROTECTED]
Subject: OXF-struts Integration Issue


Hi,

I am just trying to change the helloworld program under oxf-struts
integration example. But I face the following issue.

I am going to have a small Authentication page which has username and
passowrd as String fields. So I do have a LoginForm as my Form bean and the
following portion in struts-config.xml.

    <form-beans>
      <form-bean name="login"
type="org.orbeon.oxf.struts.examples.login.LoginForm"/>
    </form-beans>      

    <action path="/login"
      type="org.orbeon.oxf.struts.examples.login.LoginAction"
      name="login">
      <forward name="success" path="/login.xpl"/>
    </action>

But when I try to run this program it does show a blank page. I guess the
problem lies in the login.xpl. (Under <xsl:template
match="/struts-beans/login"> )

Above I am trying to give "/struts-beans/login" as the match string actually
which is not transparent to me. 

It would be great if you can clarify this matter.

Thanks and Regards
Crishantha Nanayakkara

Virtusa Corporation
www.virtusa.com

Reply via email to