> 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.
Yuhooo!!! Trivial, thanks (I couldn't find the answer).
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 ?
Al Sutton-4 wrote:
>
> Have a look at;
>
> http://struts.apache.org/2.x/docs/propert
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
9 matches
Mail list logo