Hello!

I'have a question regarding JCR API and Magnolia.

As said in JCR Specs (chapter 4.7), every property is one of the following type:

- PropertyType.STRING
- PropertyType.BINARY
- PropertyType.DATE
- PropertyType.LONG
- PropertyType.DOUBLE
- PropertyType.BOOLEAN
- PropertyType.NAME
- PropertyType.PATH
- PropertyType.REFERENCE

If a fill, e.g., a Develoepers Showroom "All Controls" dialog and then I browse JCR, I see this extract:

/developerShowroom/mainColumnParagraphsDev/00/text1=ambaraba
/developerShowroom/mainColumnParagraphsDev/00/checkboxSwitch=false
/developerShowroom/mainColumnParagraphsDev/00/radio=green
/developerShowroom/mainColumnParagraphsDev/00/numberLong=0
/developerShowroom/mainColumnParagraphsDev/00/jcr:created=2008-10-21T14:17:51.609+02:00
/developerShowroom/mainColumnParagraphsDev/00/jcr:primaryType=mgnl:contentNode
/developerShowroom/mainColumnParagraphsDev/00/date2=2008-10-21T12:24:35.000Z
/developerShowroom/mainColumnParagraphsDev/00/date1=2008-10-21T22:00:00.000Z
/developerShowroom/mainColumnParagraphsDev/00/MetaData[mgnl:metaData]

...

Where I understand the type of a property?

E.g., is it possible to run a XPath query over Magnolia that returns only node of type "PropertyType.DATE"?

I know that e.g. is a property and, by definition, a property must not have children. It means that everything is a flat String?

Sorry for the trivial question but thanks for any answer :-)

Matteo




----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------

Reply via email to