Re: passing params to action tag...

2009-01-26 Thread Dave Newton
carlo latasa wrote: So I guess it's just not possible using the velocity tag equivalent. I'll try digging into the source. Are the Struts 2 Velocity just not very popular and or supported? I think the Velo tags are less popular than the JSP and FreeMarker tags, certainly. It's not an issue of

Re: passing params to action tag...

2009-01-26 Thread carlo latasa
Right - duh. I knew that. So I guess it's just not possible using the velocity tag equivalent. I'll try digging into the source. Are the Struts 2 Velocity just not very popular and or supported? On Mon, Jan 26, 2009 at 5:44 PM, Dave Newton wrote: > carlo latasa wrote: > >> That makes sense. It

Re: passing params to action tag...

2009-01-26 Thread Dave Newton
carlo latasa wrote: That makes sense. It was multi-line in older versions of WebWork with Velocity. So I'm still stuck trying to make this work Is there any documentation that I'm missing? How would one do this with a plain struts action tag? In JSP? The way you're doing it. Dave -

Re: passing params to action tag...

2009-01-26 Thread carlo latasa
That makes sense. It was multi-line in older versions of WebWork with Velocity. So I'm still stuck trying to make this work Is there any documentation that I'm missing? How would one do this with a plain struts action tag? On Mon, Jan 26, 2009 at 5:28 PM, Dave Newton wrote: > clat...@gmail

Re: passing params to action tag...

2009-01-26 Thread Dave Newton
clat...@gmail.com wrote: 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 I'd

passing params to action tag...

2009-01-26 Thread clatasa
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 give