On Fri, Nov 20, 2009 at 22:43, ChadDavis chadmichaelda...@gmail.com wrote:
In 1.6, the JCR-RMI has been moved to the Jackrabbit Commons. I
couldn't find any reference to the commons on the main jackrabbit
site. I was able to find it via an internet search, but it seems like
it should be
Hi,
I'm investigating the use of jackrabbit for a project I am working on.
Considering the following examples accessing the jcr api in a jsp page is
pretty hard to read compared to the same thing using domain
objects. Admittedly the domain object version uses jstl rather than
scriptlets which IMO
On Mon, Nov 23, 2009 at 07:30, Sunil Dhage sunil.dh...@coreobjects.com wrote:
xyz.cnd contains these node type definitions.
[lc:account] nt:folder, mix:lockable
-lc:accountid (string) mandatory primary
/**
* Registers custom node types for the application
*/
protected void
2009/11/23 Ben Short b...@benshort.co.uk:
Is there any way to access the jcr api in a jsp file in a cleaner way or via
jstl?
Maybe try this code;
http://kenai.com/projects/jcrcms/sources/svn/content/trunk/src/app/com/sptci/cms/site/model/NodeBean.java?rev=17
It wraps a node in an object which
On Mon, Nov 23, 2009 at 12:20, Ben Short b...@benshort.co.uk wrote:
Is there any way to access the jcr api in a jsp file in a cleaner way or via
jstl?
Not directly, but with a small helper such as the ValueMap [1] and its
JCR implementation [2] in Apache Sling.
You use it as follows:
ValueMap
On 23 Nov 2009, at 05:23, Torgeir Veimo wrote:
2009/11/23 Ben Short b...@benshort.co.uk:
Is there any way to access the jcr api in a jsp file in a cleaner way or via
jstl?
Maybe try this code;
Hello,
I'm trying to get properties for all child nodes of the root node in
repository. But when I'm iterating through javax.jcr.Node.getProperties() it
seems to request each property value from repository because of
LazyItemIterator interface type which this PropertyIterator implements. Is
Alexander Klimetschek ?:
On Fri, Nov 20, 2009 at 11:39, Vadim vadim.ro...@ardas.dp.ua wrote:
Hello,
I try to find file by name with Query, how can I do this?
I try SELECT * FROM nt:file where name LIKE '%brochure.pdf%' and
SELECT * FROM nt:file where jcr:path LIKE '%brochure.pdf%', but
Here is my situation,
I was using jackrabbit with a non-datastore config. So all the content of
jackrabbit were stored in my database. Now I just migrated to a
cluster/datastore config with a brand new database prefix.
At this point I'm trying to import the content of the old repository to the
Hi Julien,
Do these files look like bin1965159231182123515.tmp? If so, these are
the contents of binary properties which are cached by Jackrabbit and I
know no way to avoid them. These files should be deleted automatically
when the associated properties are garbage collected. If you have a
lot of
Hi!
I'm using Jackrabbit 1.4.x and trying to access child nodes by using OCM.
The code is somewhat as below:
VersionedDocument document = (VersionedDocument)
ocm.getObject(orginalDocument.getPath(), version);
String data = null;
try {
Resource r =
On Mon, Nov 23, 2009 at 11:24, MMax maxim.mu...@gmail.com wrote:
I'm trying to get properties for all child nodes of the root node in
repository. But when I'm iterating through javax.jcr.Node.getProperties() it
seems to request each property value from repository because of
LazyItemIterator
On Mon, Nov 23, 2009 at 11:51, Vadim vadim.ro...@ardas.dp.ua wrote:
Thank you for helping ,
sorry for my Nooby questions, but I didn't know exact node name on find step
and fn:name() can't help me.
I tried to use CONTAINS(., '.pdf'), but that didn't work for me. May be I
must put name in node
On Mon, Nov 23, 2009 at 10:06, Sunil Dhage sunil.dh...@coreobjects.com wrote:
public Node verifyAndAddNode(Session session,Node parent,String...
parameters) throws RepositoryException
{ Node node2Add = null;
//code review comment - to ensure parameters size is either 2 or 3.
thanks for the replies.
some kind of taglib would be use full.
Ben
2009/11/23 Rakesh Vidyadharan rak...@sptci.com
On 23 Nov 2009, at 05:23, Torgeir Veimo wrote:
2009/11/23 Ben Short b...@benshort.co.uk:
Is there any way to access the jcr api in a jsp file in a cleaner way or
via
In eclipse, with the m2eclipse plugin, my Jackrabbit 1.6 source won't
compile. It failing to recognize assert and other java version
related things. From the command line, I can build the project fine.
But I wonder where the java version settings are? Doesn't maven use
Java 1.3 by default?
I'm kind of new to Maven. I didn't expect the parent to be one of the
modules under the jackrabbit project. The under part through me. I
guess inheritance isn't the same as module structure in maven.
Thanks!
On Mon, Nov 23, 2009 at 2:31 PM, Jukka Zitting jukka.zitt...@gmail.com wrote:
Hi,
Perhaps you are interested in this?
http://jackrabbit.apache.org/jackrabbit-jcr-rmi.html
ChadDavis wrote:
I'm having a hard time sorting out deployment information from the web
site. In perusing the mailing list, I find people recommending WEBDAV
or Sling as alternatives to JCR-RMI for
On Mon, Nov 23, 2009 at 2:49 PM, Dave Brosius dbros...@mebigfatguy.com wrote:
Perhaps you are interested in this?
http://jackrabbit.apache.org/jackrabbit-jcr-rmi.html
I am interested in that. However, I've read that it's performance is
horrible. Are you familiar with the performance?
Also,
On Sun, Nov 22, 2009 at 9:22 AM, Alexander Klimetschek aklim...@day.com wrote:
On Fri, Nov 20, 2009 at 22:36, ChadDavis chadmichaelda...@gmail.com wrote:
I'm having a hard time sorting out deployment information from the web
site. In perusing the mailing list, I find people recommending WEBDAV
I had it working through rmi, but just to play around with. Don't have a
clue about performance.
ChadDavis wrote:
On Mon, Nov 23, 2009 at 2:49 PM, Dave Brosius dbros...@mebigfatguy.com wrote:
Perhaps you are interested in this?
http://jackrabbit.apache.org/jackrabbit-jcr-rmi.html
Just curious, why is Jackrabbit on 1.4?
On Mon, Nov 23, 2009 at 2:31 PM, Jukka Zitting jukka.zitt...@gmail.com wrote:
Hi,
On Mon, Nov 23, 2009 at 10:17 PM, ChadDavis chadmichaelda...@gmail.com
wrote:
In eclipse, with the m2eclipse plugin, my Jackrabbit 1.6 source won't
compile. It failing
Thanks Alex,
I got the issue resolved.
Actually, the problem is I am not at all passing the node type in my invokation.
All I have done is I invoked the verifyAndAddnode () like this
Node account =
verifyAndAddNode(session,candidatedocs,path,lc:account,lc:account);
Since the last parameter
23 matches
Mail list logo