Hi Rajeev, People here have mostly been away from their desks for the last few days, so you might see some more replies soon.
My first impression is that you're mixing up what XSLT does and what Struts does. XSLT does a transformation from an XML document to some other form: in this case, it appears that you're creating HTML. XSLT does nothing that would have anything to do with whether or not Struts can handle your form bean correctly. So the first thing I'd look at is what the result of the XSLT transformation is. If you're getting the results you expect there, which would be something like your second example, then you need to look at why Struts isn't able to handle the setter/getter properly (my first guess would be that you have a problem with your cases, but you'd have to check that). If you're not getting the results you expect from your XSLT, then there's a problem with the XSLT. If it's an XSLT problem, you'd have more luck asking the XSLT list at [EMAIL PROTECTED] Good luck! Chris Loschen -----Original Message----- From: Rajeev Kumar Pandey [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 26, 2006 4:38 AM To: user@struts.apache.org Subject: RE: Form Bean not able to read form rendered from xml/xsl Hi All, Resending my query since I did not receive any replies to the same. Kindly help. Regards, Rajeev ________________________________ From: Rajeev Kumar Pandey Sent: Friday, December 22, 2006 8:00 PM To: 'user@struts.apache.org' Subject: Form Bean not able to read form rendered from xml/xsl Hi All, I am new to this mailing list, so might not be able to pose my question appropriately. Kindly bear with me. I am facing an issue with use of form beans in my project to read html forms rendered through xml/xsl. When I use <xsl:element name="input"> <xsl:attribute name="name">UserId</xsl:attribute> <xsl:attribute name="type">hidden</xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="//Node/UserId"/></xsl:attribute> </xsl:element> the formbean is not able to pick the value from the form. But in the other part of the code where I use <xsl:when test="//TIMERADIO[.='monthdate']"> <input type="radio" value="monthdate" name="time" checked="true"/> </xsl:when> the getter and setter method is called for the above parameter. Is there an equivalent for xsl:element so that my action class can read UserId from the formbean? Thanks and Regards Rajeev Kumar Pandey **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]