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, 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=empname" "size=15"
"maxlength=10")
However, I would like to display fieldErrors as I need by name. I'm
trying the following which doesn't seem to work.
#sfielderror #sparam ("value=username")
#end
The 'end' tag is not expected on this one
Can anybody point me in the right direction?
Thanks
Robin
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org