|
Re: html macro library: msg#00189jakarta.velocity.user
Kevin said: ... > My experiments to start such a library seem doomed as I would really > need to be able to applied recursively so as to embed one tag in > another. your experiments are doomed if you believe everything you're told without ever questioning it. there are ways: #macro( feedmetome $foo )this is $foo#end #macro( recursor ) #if( $i < 10 ) #set( $i = $i + 1 ) recursing #recursor() #end #end #set( $bar = "#feedmetome( 'bar' )" ) #feedmetome( "#feedmetome( $bar )" ) #set( $i = 1 ) #recursor() but use Freemarker if it better suits your needs. Nathan Bubna nathan@xxxxxxxx |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: security audit: 00189, Will Glass-Husain |
|---|---|
| Next by Date: | Re: security audit: 00189, Nathan Bubna |
| Previous by Thread: | RE: html macro libraryi: 00189, Kevin Bolton |
| Next by Thread: | Re: html macro library: 00189, Jonathan Revusky |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |