Here is a trick
{{velocity}}
#set($ok = $context.context.put("mydoc", $doc))
{{/velocity}}
{{groovy}}
println xcontext.mydoc
{{/groovy}}
Ludovic
Le 26/10/10 16:57, Arnaud bourree a écrit :
2010/10/26 Arnaud bourree:
2010/10/26 Anca Luca:
On 10/26/2010 12:28 PM, Marius Dumitru Florea wrote:
2010/10/26 Arnaud bourree :
> 2010/10/26 Anca Luca :
>>
>>
>> On 10/26/2010 12:28 PM, Marius Dumitru Florea wrote:
>>> Hi Arnaud,
>>>
>>> On 10/26/2010 12:38 PM, Arnaud bourree wrote:
Hello,
I develop a macro which display object attached to the current page.
Here summary of my
2010/10/26 Marius Dumitru Florea :
> On 10/26/2010 03:38 PM, Arnaud bourree wrote:
>> Hi Marius,
>>
>> 2010/10/26 Marius Dumitru Florea:
>>> Hi Arnaud,
>>>
>>> On 10/26/2010 12:38 PM, Arnaud bourree wrote:
Hello,
I develop a macro which display object attached to the current page.
>>
On 10/26/2010 03:38 PM, Arnaud bourree wrote:
> Hi Marius,
>
> 2010/10/26 Marius Dumitru Florea:
>> Hi Arnaud,
>>
>> On 10/26/2010 12:38 PM, Arnaud bourree wrote:
>>> Hello,
>>>
>>> I develop a macro which display object attached to the current page.
>>> Here summary of my code:
>>> {{goovy}}
>>> d
2010/10/26 Anca Luca :
>
>
> On 10/26/2010 12:28 PM, Marius Dumitru Florea wrote:
>> Hi Arnaud,
>>
>> On 10/26/2010 12:38 PM, Arnaud bourree wrote:
>>> Hello,
>>>
>>> I develop a macro which display object attached to the current page.
>>> Here summary of my code:
>>> {{goovy}}
>>> def topic = doc.
On 10/26/2010 12:28 PM, Marius Dumitru Florea wrote:
> Hi Arnaud,
>
> On 10/26/2010 12:38 PM, Arnaud bourree wrote:
>> Hello,
>>
>> I develop a macro which display object attached to the current page.
>> Here summary of my code:
>> {{goovy}}
>> def topic = doc.getObject("ActivityReport.TopicClass
Hi Marius,
2010/10/26 Marius Dumitru Florea :
> Hi Arnaud,
>
> On 10/26/2010 12:38 PM, Arnaud bourree wrote:
>> Hello,
>>
>> I develop a macro which display object attached to the current page.
>> Here summary of my code:
>> {{goovy}}
>> def topic = doc.getObject("ActivityReport.TopicClass",
>> In
Hi Arnaud,
On 10/26/2010 12:38 PM, Arnaud bourree wrote:
> Hello,
>
> I develop a macro which display object attached to the current page.
> Here summary of my code:
> {{goovy}}
> def topic = doc.getObject("ActivityReport.TopicClass",
> Integer.valueOf(xcontext.macro.params.id))
> println "|"+doc.
Hello,
I develop a macro which display object attached to the current page.
Here summary of my code:
{{goovy}}
def topic = doc.getObject("ActivityReport.TopicClass",
Integer.valueOf(xcontext.macro.params.id))
println "|"+doc.displayPrettyName("topic", title)+"|"+topic.get("title")
println "|"+doc.