velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clat...@gmail.com
Subject passing params to action tag...
Date Tue, 27 Jan 2009 01:14:01 GMT
Hello,

I'm trying to use the #saction tag where I pass a parameter into the action  
being called. (Struts 2, Velocity 1.5)

Like this:

#saction( "id=vehicleAction" "namespace=/admin/fleet/vehicle" "name=search" "executeResult=true")
#sparam("name=when" "value=now")
#end

however the #end gives a parse error:  
org.apache.velocity.exception.ParseErrorException: Encountered "#end\n"....

How do you pass parameters to the #saction struts-velocity tag? Is there  
documentation somewhere that I'm missing?

Thanks,

Carlo

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message