[EMAIL PROTECTED] wrote:
-----Mensagem original-----
From: Patrick Lightbody [mailto:[EMAIL PROTECTED]
 > It should be possible once we get the velocity tags all set up.

Any idea how long could this take? I'm *really* missing the velocity tags here (to the point i have to actually write documentation instead of code :)

Support for Actions from Velocity has been in there for quite a while. I just added a page to the example app that illustrates how to do this.


Here's a snippet:


Using JSP ---------

<%@ taglib prefix="ww" uri="webwork" %>

<ww:action name="VelocityCounter" id="vc">
 <ww:param name="foo" value="'BAR'"/>
</ww:action>
<ww:push value="#vc">
 counter.count == <ww:property value="counter.count" />
 foo is also: <ww:property value="foo"/>
</ww:push>


Using Velocity --------------


#bodytag( Action "name=VelocityCounter" "id=vc" ) #param( "name=foo" "value='BAR'" ) #end

#bodytag( Push "value=#vc" )
 counter.count == $counter.count
 foo is also: $foo
#end




------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to