> From: shai200 [mailto:[EMAIL PROTECTED]
> Sent: 03 January 2008 02:36
> To: user@struts.apache.org
> Subject: Re: Outputting raw HTML with s:property tag
>
>
> OK, here's what I'm doing: I am generating forms from external data.
> Meaning, I have some
this helps.
Al.
-Original Message-
From: shai200 [mailto:[EMAIL PROTECTED]
Sent: 03 January 2008 02:36
To: user@struts.apache.org
Subject: Re: Outputting raw HTML with s:property tag
OK, here's what I'm doing: I am generating forms from external data.
Meaning, I have some
OK, here's what I'm doing: I am generating forms from external data. Meaning,
I have some XML files, based on which, I am generating a form.
Normally I could do this without Actions, but rather include a bean into a
JSP file (am I right about that?)
However, I also need to use request and respon
Leaving aside the issue that you really shouldn't be spitting HTML out
of calls to action methods, the answer to your question is no. JSPs are
aren't processed 'recursively' like that; you can't have the result of
evaluating something in a JSP be something that needs evaluating.
Why do you wan
No, I want the output of my action to be yet another Struts tag (with an s:
suffix) which is translated into its HTML equivalent - so for example:
If my JSP file includes:
then the output of myAction.getProperty1 will be the following code:
and that in turn returns "Hello".
So I want the
er 2007 13:33
To: Struts Users Mailing List
Subject: RE: Outputting raw HTML with s:property tag
--- shai200 <[EMAIL PROTECTED]> wrote:
> Second question - how can I use struts tags as output (i.e. )?
> Can Struts in turn convert them into HTML code by outputting Struts
> HTML tag
--- shai200 <[EMAIL PROTECTED]> wrote:
> Second question - how can I use struts tags as output (i.e. )?
> Can Struts in turn convert them into HTML code by outputting Struts HTML
> tag using ?
You mean you want to display the (escaped) HTML created by a tag?
d.
ache.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:prope
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
I'm using the 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.