MMM... no, the result is a jsp, not ftl. I suppose I cannot mix and
match, can I now? i.e. use jsp page and <@ tags on it?


On a separate note, I suppose my biggest problem is that I am using the
"app-fuse'd" version of Struts upgraded to 2.1.6 and somewhere along the
customization line that Matt did, the tags get lost. I am changing a
subject a bit, but does anyone has a successful how-to to completely
change Struts version in Appfuse? We did it, but still cannot use the
new struts-prepare and struts-execute filters. 

Thank you
Greg


-----Original Message-----
From: j alex [mailto:strutstwou...@gmail.com] 
Sent: Monday, September 21, 2009 1:06 PM
To: Struts Users Mailing List
Subject: Re: FreeMarker Tags Help - setup

I assume you are using <result type="freemarker"
>your-ftl-file.ftl</result>
..i had no problems passing an extra param to the tag and accessing it
in
the custom theme FTL


On Fri, Sep 18, 2009 at 10:39 PM, Slonim, Greg (USAEO) <
greg.slo...@usdoj.gov> wrote:

> Hello,
>
> Setup: struts2 (2.1.6) with Spring (2.5)
>
> I Refer to the article in the docs
>
> http://struts.apache.org/2.1.6/docs/freemarker-tags.html
>
> We are trying to use FreeMarker tags with a custom theme in order to
> pass extra parameters to the tag which the tag does not define
(section
> of the above doc "Using inline attributes with templates")
>
> When I attempt to use the markup
>
> <@s.form action="updatePerson">
>    <@s.textfield label="First name" name="firstName"
> extraParamName="blah"/>
>    <@s.submit value="Update"/>
> </@s.form>
>
> The JSP does not recognize this as a tag at all; all of the above is
> printed to HTML verbatim. Is there anything I need to do, namespace
> definition, etc. to make the engine understand that I use tags and not
> literals? I understand that FreeMarker tags are extensions that are
> shipped with default Struts distro, right?
>
> Thank you very much
>
> Greg
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to