RE: Outputting raw HTML with s:property tag

2008-01-04 Thread shai200
> 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

RE: Outputting raw HTML with s:property tag

2008-01-02 Thread Al Sutton
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

Re: Outputting raw HTML with s:property tag

2008-01-02 Thread shai200
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

Re: Outputting raw HTML with s:property tag

2008-01-02 Thread Laurie Harper
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

RE: Outputting raw HTML with s:property tag

2007-12-31 Thread shai200
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

RE: Outputting raw HTML with s:property tag

2007-12-31 Thread Al Sutton
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

RE: Outputting raw HTML with s:property tag

2007-12-31 Thread Dave Newton
--- 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.

RE: Outputting raw HTML with s:property tag

2007-12-31 Thread shai200
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

RE: Outputting raw HTML with s:property tag

2007-12-31 Thread Al Sutton
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