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 <newton.d...@yahoo.com> wrote:

> 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 guess that due to Velocity issues the action tag is an inline tag
> (i.e., won't work with an #end). AFAIK only a few tags are multiline, like
> form.
>
> The source seems to confirm my suspicion. The issue is that the directives
> have to define up-front if they're inline or multiline, so for "convenience"
> most of the Velo tags are declared inline to handle the most common
> use-cases.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Carlo Latasa
Cell: (415) 385-1567

Reply via email to