Hi ,

Is there a way that i can return a value from a  velocity macro

My macro looks something like so

#macro(returnField $fieldPath $varName)
#if($fieldPath.subfield)
 $$varName($fieldPath.field.id)
#returnField ($varName $fieldPath.subfield )
#end
#end

Where i need to return $$varName($fieldPath.field.id)

how can i call the returnField macro and assign it to a variable ??????

 
-- 
View this message in context: 
http://www.nabble.com/macro-question-tp23105606p23105606.html
Sent from the Velocity - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to