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