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>
 &lt;input  type='hidden' name='uaction' value='retrieve'&gt; &lt;input
type='hidden' name='mode' value='&lt;%=dt.getUiMode()%&gt;'&gt;
&lt;table&gt;
&lt;tr&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align='left' class='text'&gt;User Type: &amp;nbsp;&lt;/td&gt;&lt;td
align='top'&gt;&lt;img
src='/gc9/images/icons/mandatoryStartSmall.gif'&gt;&lt;/img&gt;&lt;/td&gt;

</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]

Reply via email to