Re: Struts 2 and Velocity

2009-06-27 Thread Dave Newton
Robin Mannering wrote: Hi Dave, It worked ! It seems to be case sensitive. Thanks for your help. Can you please tell me how you knew to specify 'fieldName' ? I cannot find it documented anywhere In the S2 tag reference [1] on the fielderror tag page [2]. Dave [1] http://struts.apache.org

Re: Struts 2 and Velocity

2009-06-27 Thread Robin Mannering
Hi Dave, It worked ! It seems to be case sensitive. Thanks for your help. Can you please tell me how you knew to specify 'fieldName' ? I cannot find it documented anywhere Dave Newton wrote: It might be fieldName; case-sensitive. I'm not very familiar with the Velocity tag support, but it

Re: Struts 2 and Velocity

2009-06-27 Thread Dave Newton
It might be fieldName; case-sensitive. I'm not very familiar with the Velocity tag support, but it may be similar to Freemarker in that some tags are in-line tags, some are block tags, and decisions were made at some point to try and cover the most common use-case. If that's the case then yo

Re: Struts 2 and Velocity

2009-06-27 Thread Robin Mannering
Thanks for your response. Unfortunately, #sfielderror ("fieldname=username") does not work. All the current field errors are rendered in an unordered list. Using struts2 tags, it would be: field1 field2 OR These are two tags nested which I'm having

Re: Struts 2 and Velocity

2009-06-27 Thread Dave Newton
Robin Mannering wrote: From the documentation at http://struts.apache.org/2.1.6/docs/velocity-tags.html, I see the format is: #s**tag **(...) ... #end However, I'm having difficult using the tags. The following is ok and works as expected #stextfield ("label=Employee Name" "name=emp

Struts 2 and Velocity

2009-06-27 Thread Robin Mannering
Hi all I've recently switched from Struts 1.x to Struts 2.1.6 and would like to continue using velocity to render the view. I also wish to take advantage of the Struts 2 tag library by using velocity directly. From the documentation at http://struts.apache.org/2.1.6/docs/velocity-tags.html

Re: Struts 2 and Velocity Intergration

2008-06-13 Thread Dave Newton
--- On Fri, 6/13/08, dim5b <[EMAIL PROTECTED]> wrote: > Can anyone point out a clear demo of how i can integrate > Velocity with Struts i have followed the guide in > http://struts.apache.org/2.0.11/docs/velocity.html > > but no success i am trying to integrate with VelocityTools > is this no sup

Struts 2 and Velocity Intergration

2008-06-13 Thread dim5b
Struts 2 thanks -- View this message in context: http://www.nabble.com/Struts-2-and-Velocity-Intergration-tp17819467p17819467.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Struts 2 and Velocity

2007-05-16 Thread chetanjshah
Hi, Has anybody successfully used Velocity with Struts 2? I understand that there is built in support for Velocity in Struts 2. Can you point me to some online examples that I can use to see the use of Velocity with Struts 2? Thanks, CS