Change a macro in a namespace
Ista Pouss <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I read in http://freemarker.org/docs/dgui_misc_namespace.html#autoid_26 it's possible to change a variable in a namespace with "assign". is it possible to change a macro ? how ? For instance, very stupid exemple in a lib.ftl : <#macro oyeee> <b>YES</b> </#macro> in main;ftl : <#import "lib.ftl" as lib> <!-- IS IT POSSIBLE ? --> <# assign oyeee = foooo in lib> <#macro foooo> <b>VERY YES</b> </#macro> Thanks. ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev