That worked, many thanks. I still have much to learn.
2016-07-28 14:24 GMT+02:00 Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com>:
> On Wed, Jul 27, 2016 at 3:43 PM, D R wrote:
>
> > Thanks, Marius
> >
> > Well, looks like it is not supposed to be easy to display the
On Wed, Jul 27, 2016 at 3:43 PM, D R wrote:
> Thanks, Marius
>
> Well, looks like it is not supposed to be easy to display the items of a
> select field.
>
> After playing around for some time I have:
> #set($obj = $doc.getObject('Customer Profile.Code.Customer ProfileClass'))
Thanks, Marius
Well, looks like it is not supposed to be easy to display the items of a
select field.
After playing around for some time I have:
#set($obj = $doc.getObject('Customer Profile.Code.Customer ProfileClass'))
#set($rawValue = $obj.getProperty('sListSupportLevel').value)
#set($class =
On Tue, Jul 26, 2016 at 5:36 PM, D R wrote:
> Hi,
>
> many thanks. So now I have
>
> #set($obj = $doc.getObject('Customer Profile.Code.Customer ProfileClass'))
> #set($rawValue = $obj.getProperty('sListSupportLevel').value)
> #foreach( $level in $rawValue )
>
Hi,
many thanks. So now I have
#set($obj = $doc.getObject('Customer Profile.Code.Customer ProfileClass'))
#set($rawValue = $obj.getProperty('sListSupportLevel').value)
#foreach( $level in $rawValue )
$level
#end
and it displays the raw values. I feel dumb asking this but I
Have you checked the link I gave you? It has an example that shows how
to "Retrieve
the raw value of the property".
On Tue, Jun 28, 2016 at 4:43 PM, D R wrote:
> Hi,
>
> Yes, I want to display the values of the field ddlProductFamily. It is a
> multi-select list field. In the
On Thu, Jun 23, 2016 at 5:32 PM, D R wrote:
> Hi,
>
> I am currently implementing my first XWiki application and starting to
> learn velocity. There is one thing that makes me mad.
>
> There is a static list field with code "ddlProductFamily".
>
>
> I try to display the items
Hi,
I am currently implementing my first XWiki application and starting to
learn velocity. There is one thing that makes me mad.
There is a static list field with code "ddlProductFamily".
I try to display the items in this list in a nice way (one below the other).
Different approaches