|
Re: Sending values to a #parsed template...: msg#00189jakarta.velocity.user
Hola, I suggest to take a look into the log. I guess that your $element is invalid... Also try adding a debugging output with $element.class.name I also suggest to try the #local directive from http://cvs.apache.org/viewcvs/jakarta-velocity/whiteboard/geir/Local.java?rev=HEAD See usage embedded below (but also note that Vel must be configured to know that it exists). Geir, could the local directive be extended to take an empty set, and herewith forcing all new variables into a nested context? Saludos, Christoph Rodrigo Reyes wrote: Hi#local( $label $description $name $value $size $maxlength ) #set($label = $element.getAttributeValue("label"))#end #end -- :) Christoph Reck |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Formatting Issue (Whitespace): 00189, Christoph . Reck |
|---|---|
| Next by Date: | Re[2]: Newbie - Keep getting ResourceNotFoundException: 00189, Søren Neigaard |
| Previous by Thread: | Sending values to a #parsed template...i: 00189, Rodrigo Reyes |
| Next by Thread: | Re: Sending values to a #parsed template...: 00189, Rodrigo Reyes |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |