|
Sending values to a #parsed template...: msg#00180jakarta.velocity.user
Hi I am using the #parse directive and I need to pass some variables to the template which is being parsed. The code I am using is: #macro (FE_textline $element) #set($label = $element.getAttributeValue("label")) #set($description = $element.getAttributeValue("description")) #set($name = $element.getAttributeValue("name")) #set($value = $element.getAttributeValue("value")) #set($size = $element.getAttributeValue("size")) #set($maxlength = $element.getAttributeValue("maxlength")) #parse("$widgetsPath/FE_textline.html") #end Still, the parsed template is not recognizing the variables. Am I doing something wrong here? Thanx... Rodrigo |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Formatting Issue (Whitespace): 00180, Alexandre Martin |
|---|---|
| Next by Date: | content type: 00180, Johnny Dynn |
| Previous by Thread: | Formatting Issue (Whitespace)i: 00180, Alexandre Martin |
| Next by Thread: | Re: Sending values to a #parsed template...: 00180, Christoph . Reck |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |