Re: [xwiki-users] DBList and Custom Display

2015-04-22 Thread Pascal BASTIEN
Great you can test my new FAQ:  
http://www.xwiki.org/xwiki/bin/view/FAQ/Which+variables+I+can+use+in+%22Custom+Display%22+field
   :-)
Pascal B
  De : Peter Huisman p.huis...@ximm.nl
 À : users@xwiki.org 
 Envoyé le : Mercredi 22 avril 2015 16h01
 Objet : [xwiki-users] DBList and Custom Display
   


Hi guys,

I have a class containing a property type DBList. The Query is something 
like this:

SELECT idVarProp.value, CONCAT(codeVarProp.value, ' - ', 
naamVarProp.value, ' (', codeProdProp.value, ' - ', naamProdProp.value, 
')')
FROM  etc. etc.

This works fine if I use displayView; the CONCAT value is displayed on 
screen. I now want to use a custom displayer to access this CONCAT part. 
I guess I should have access to some kind of Map value, but I do not 
know how to get to it.

Any ideas or is this not possible at all?

Peter
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


  
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] DBList and Custom Display

2015-04-22 Thread Peter Huisman

Hi guys,

I have a class containing a property type DBList. The Query is something 
like this:


SELECT idVarProp.value, CONCAT(codeVarProp.value, ' - ', 
naamVarProp.value, ' (', codeProdProp.value, ' - ', naamProdProp.value, 
')')

FROM  etc. etc.

This works fine if I use displayView; the CONCAT value is displayed on 
screen. I now want to use a custom displayer to access this CONCAT part. 
I guess I should have access to some kind of Map value, but I do not 
know how to get to it.


Any ideas or is this not possible at all?

Peter
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users