Re: s2: Including Freemarker templates from JSP

2008-03-31 Thread hernan gonzalez
Thanks. It is indeed almost sufficient. The docs had led to me think the params were the only way to pass parameters to the template, but in fact it works as it should without any parameters, seeking the values in the value stack. That's fine. The only inconvenience is the rigid scheme for

Re: s2: Including Freemarker templates from JSP

2008-03-31 Thread hernan gonzalez
Thanks. It is indeed almost sufficient. The docs had led to me think the params were the only way to pass parameters to the template, but in fact it works as it should without any parameters, seeking the values in the value stack. That's fine. The only inconvenience is the rigid scheme for

Re: s2: Including Freemarker templates from JSP

2008-03-30 Thread Jeromy Evans
The Struts2 Component tag may be sufficient: http://struts.apache.org/2.x/docs/component.html hernan gonzalez wrote: I have some freemarker templates (general purpose, i.e. not specifically for struts2) that generate html fragments, which I would like to include in some jsp pages (in a struts2

s2: Including Freemarker templates from JSP

2008-03-28 Thread hernan gonzalez
I have some freemarker templates (general purpose, i.e. not specifically for struts2) that generate html fragments, which I would like to include in some jsp pages (in a struts2 environment). Which are my alternatives? At first I tought of making a general jsp jsp:include