I didn't understood why you need the HQL query, normally $doc.display('Setups') should be enough if $doc has an object of type OurCars.Cars . Hope this helps, Marius On Wed, Feb 5, 2014 at 11:43 AM, spoolox <[email protected]> wrote:
I don't understand how to access a Database List property - I have the following case: A class "OurCars.Cars" which contains a Database List property "Setups". In the "Setups" property I use XWiki Class Name "OurCars.Setup" and Id Field Name "doc.fullName" and Value Field Name "SetupID" which is known by the users and is unique. The class "OurCars.Setup" contains the unique "SetupID" String property and several properties like "BrakingBalance", "TirePressure", "RearWingAngle" and others - but that's not important for my case.
What is the HQL Query to access the Database List field by passing the SetupID to it from the "OurCars.Setup" class sheet? I want to display the values from OurCars.Cars.
I take care that only one Setup per Car can be chosen.
Thank you very much in advance!
-- View this message in context: http://xwiki.475771.n2.nabble.com/Accessing-Database-List-property-tp7588972... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users