Yuhooo!!! Trivial, thanks (I couldn't find the answer). Second question - how can I use struts tags as output (i.e. <s:textarea > ) ? Can Struts in turn convert them into HTML code by outputting Struts HTML tag using <s:property > ?
Al Sutton-4 wrote: > > Have a look at; > > http://struts.apache.org/2.x/docs/property.html > > And read the parameters section, the answer starts with an e. > > -----Original Message----- > From: shai200 [mailto:[EMAIL PROTECTED] > Sent: 31 December 2007 06:35 > To: user@struts.apache.org > Subject: Outputting raw HTML with s:property tag > > > I'm using the <s:property name="form"> tag to get invoke the getForm() > method in my action, to get its output. > > The problem is that my output is some HTML code, but what comes out is > output text, with tags converted to be shown on the screen i.e. > <tt> > <input type='hidden' name='uaction' value='retrieve'> <input > type='hidden' name='mode' value='<%=dt.getUiMode()%>'> > <table> > <tr> > </tr> > <tr> > <td align='left' class='text'>User Type: &nbsp;</td><td > align='top'><img > src='/gc9/images/icons/mandatoryStartSmall.gif'></img></td> > > </tt> > > How do I make the s:property tag output my HTML code? Perhaps there is a > different tag to do this? > > > Thanks. > -- > View this message in context: > http://www.nabble.com/Outputting-raw-HTML-with-s%3Aproperty-tag-tp14554781p1 > 4554781.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Outputting-raw-HTML-with-s%3Aproperty-tag-tp14554781p14556255.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]