properties with Velocity tags...

2008-12-03 Thread clatasa
Hello, I'm trying to get my Velocity Tags to use a properties file for labels. This is so my .vm files can make calls like this: #stextfield( "label='member.username.label'" "name=username" "size=25") Where the label would come from the properties file entry with the name of : 'member.user

Old Velocity Tags

2008-12-05 Thread clatasa
Hello, Looking at this link: http://cwiki.apache.org/WW/velocity-tags-old.html I'm still trying to figure out how to support the "#tag( Component " - in Struts 2. Is it possible? or is there an newer way of doing the same thing. Carlo.

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

Global tag settings?

2009-03-20 Thread clatasa
Hello, Is there any way to set common tag parameters like labelSeparator, labelposition etc.. in say the struts.properties file? I've tried struts.tag.labelposition, struts.ui.tag.labelposition. thanks, Carlo