bean:define vs c:set

2004-07-29 Thread Kris Barnhoorn
Hi, First of all I'd like to thank the contributors of this mailinglist. I'm using struts for over 1.5 years now and i always found answers in archives. In this mailinglist and in the contrib/el there is often suggested that the best way to prepare for smooth transition to JSP 2.0 is to use el

RE: bean:define vs c:set

2004-07-29 Thread Paul McCulloch
believe). So you should be able to just do: pg:pager maxPageItems=${optionsForm.pageItems}/ Paul -Original Message- From: Kris Barnhoorn [mailto:[EMAIL PROTECTED] Sent: Thursday, July 29, 2004 4:25 PM To: 'Struts Users Mailing List' Subject: bean:define vs c:set Hi, First

Re: bean:define vs c:set

2004-07-29 Thread Craig McClanahan
You are correct that c:set does not create a scripting variable, so you can't use the specified identifier in a scriptlet. The question, though, is why are you still using a scriptlet expression? Why not use an EL expression instead? pg:pager maxPageItems=${pageItems}/ or, to avoid needing

RE: bean:define vs c:set

2004-07-29 Thread Kris Barnhoorn
[mailto:[EMAIL PROTECTED] Verzonden: donderdag 29 juli 2004 18:25 Aan: Struts Users Mailing List Onderwerp: Re: bean:define vs c:set You are correct that c:set does not create a scripting variable, so you can't use the specified identifier in a scriptlet. The question, though, is why are you still