Thanks that helped/worked.  

I got it working using

<#if (itemCount == parameters.stop)></#if>

to access the custom parameters.

-Jason


On Mon, 2007-10-08 at 19:47 +0200, Sami Dalouche wrote:
> Hi,
> 
> you should be able to access your start and stop variables using :
> 
> ${parameters.start} and ${parameters.stop} expressions in your FTL
> template.
> 
> Regards,
> Sami Dalouche
> 
> Le lundi 08 octobre 2007 à 12:59 -0400, Jason Deffenbaugh a écrit :
> > I'm trying to make a custom template for the checkboxlist struts tag to
> > only write out the html for the checkboxes in the list between two
> > parameter values I send to the template.
> > 
> > I want to pass parameters from the jsp file into the freemarker template
> > but I'm not sure how to do it. 
> > 
> > 
> > So, I'm thinking that in the jsp I do something like:
> > 
> > <s:checkboxlist name="x" list="myList" template="mycheckboxlist"
> > templateDir="WEB-INF/freemarker">
> >     <s:param name="start" value="%{2}"/>
> >     <s:param name="stop" value="%{4}"/>
> > </s:checkboxlist>
> > 
> > Can I access that in the template somehow?
> > 
> > Thanks,
> > Jason
> > 
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to