Re: [JCR Block] Viewing content of properties and last modified

2005-08-22 Thread Michael Wechner
Andreas Hartmann wrote: Michael Wechner wrote: what I meant was that I want to use the Source to get the content of the property, e.g. map:generate src=jcr://committers/andreas/email/ if email is a property then one should receive something like property name=email [EMAIL PROTECTED]

Re: [JCR Block] Viewing content of properties and last modified

2005-08-17 Thread Michael Wechner
Andreas Hartmann wrote: Michael Wechner wrote: Sylvain Wallez wrote: Michael Wechner wrote: Hi I have two questions re the JCR Block 1) How can one actually access the content of properties? You cannot access them directly with the JCRNodeSource, which is meant to represent

Re: [JCR Block] Viewing content of properties and last modified

2005-08-17 Thread Andreas Hartmann
Michael Wechner wrote: [...] In my sandbox, I implemented InspectableSource in JCRNodeSource (I already posted a message some time ago). can you send that to me that I can give it a try I attached the additional methods below. To compile it, you have to add the dependency from the JCR

Re: [JCR Block] Viewing content of properties and last modified

2005-08-17 Thread Andreas Hartmann
Unico Hommes wrote: Check out TraversableSourceDescriptionGenerator: http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/generation/TraversableSourceDescriptionGenerator.html Thanks for the pointer! -- Andreas

Re: [JCR Block] Viewing content of properties and last modified

2005-08-17 Thread Michael Wechner
Andreas Hartmann wrote: Michael Wechner wrote: [...] In my sandbox, I implemented InspectableSource in JCRNodeSource (I already posted a message some time ago). can you send that to me that I can give it a try I attached the additional methods below. To compile it, you have to add the

Re: [JCR Block] Viewing content of properties and last modified

2005-08-16 Thread Andreas Hartmann
Michael Wechner wrote: Sylvain Wallez wrote: Michael Wechner wrote: Hi I have two questions re the JCR Block 1) How can one actually access the content of properties? You cannot access them directly with the JCRNodeSource, which is meant to represent file-like abstractions which are

Re: [JCR Block] Viewing content of properties and last modified

2005-08-15 Thread Andreas Hartmann
Michael Wechner wrote: Hi I have two questions re the JCR Block 1) How can one actually access the content of properties? You could look at the Lenya JCR meta data handling for an example. (JCRMetaData class) -- Andreas

Re: [JCR Block] Viewing content of properties and last modified

2005-08-15 Thread Michael Wechner
Sylvain Wallez wrote: Michael Wechner wrote: Hi I have two questions re the JCR Block 1) How can one actually access the content of properties? You cannot access them directly with the JCRNodeSource, which is meant to represent file-like abstractions which are mapped to nodes.

Re: [JCR Block] Viewing content of properties and last modified

2005-08-14 Thread Sylvain Wallez
Michael Wechner wrote: Hi I have two questions re the JCR Block 1) How can one actually access the content of properties? You cannot access them directly with the JCRNodeSource, which is meant to represent file-like abstractions which are mapped to nodes. Now such a source, you can get

[JCR Block] Viewing content of properties and last modified

2005-08-13 Thread Michael Wechner
Hi I have two questions re the JCR Block 1) How can one actually access the content of properties? 2) I don't fully understand how lastModified is being handled. From looking at the implementation it seems to me that only content nodes can have a lastModified, but I probably misunderstand