Re: Accessing context in htmlScreenMactoLibrary templates macros

2010-04-03 Thread Bruno Busco
Thank you Scott. You are right! I should move more things in the renderer and have only the html in the macro. -Bruno 2010/4/3 Scott Gray > Hi Bruno, > > Macros only have access to the parameters that are passed in. > > Have you considered only handling the html portion in the macro and doing >

Re: Accessing context in htmlScreenMactoLibrary templates macros

2010-04-03 Thread Scott Gray
Hi Bruno, Macros only have access to the parameters that are passed in. Have you considered only handling the html portion in the macro and doing the screen render in the renderer? Regards Scott HotWax Media http://www.hotwaxmedia.com On 3/04/2010, at 9:11 AM, Bruno Busco wrote: > Hi Devs! >

Accessing context in htmlScreenMactoLibrary templates macros

2010-04-03 Thread Bruno Busco
Hi Devs! Is there a way to access the context in the template macros that are defined in the htmlScreenMacroLibrary.ftl file? I mean, as far as I can see, all widget templates defined in htmlScreenMacroLibrary.ftl only access variables that are passed as macro parameters. How can I access somethin