Such a simple solution, thank you so much for the response.
> On Sep 4, 2014, at 12:07 AM, "Jason Clemons" wrote:
>
> Thanks, I'll give that a go in the morning and post back
>
>> On Sep 4, 2014, at 12:05 AM, "Jean SIMARD" wrote:
>>
>> Try this.
>>
>> Instead of doing
>>
>> {{velocity}}
>>
Thanks, I'll give that a go in the morning and post back
> On Sep 4, 2014, at 12:05 AM, "Jean SIMARD" wrote:
>
> Try this.
>
> Instead of doing
>
> {{velocity}}
> #set($d = $xwiki.getDocument('Sandbox.YourDocument'))
> #set($obj = $d.getObject('Sandbox.YourClass'))
> $obj.getProperty('fiel
Try this.
Instead of doing
{{velocity}}
#set($d = $xwiki.getDocument('Sandbox.YourDocument'))
#set($obj = $d.getObject('Sandbox.YourClass'))
$obj.getProperty('field1').getValue()
{{/velocity}}
do this
{{velocity}}
#set($d = $xwiki.getDocument('Sandbox.YourDocument'))
$d.display(
Hello all,
I've been beating my head against the wall on this so I'm hoping someone can
chime in and set me straight.
I have a static list control on a page and I can easily access it's value using
"$obj.getProperty('field1').getValue()" but I really need the TEXT of the
property. In other wo