What happens when you call getNodes() on a Node that has same name sibling
children? Will it return all the same name siblings as well? What order
would they be in?
--
View this message in context:
http://www.nabble.com/same-name-sibling-question-tf2915619.html#a8147508
Sent from the Jackrabb
Is there a way to put a fulltext search constraint on the child node of the
node you're searching for?
For example, I have a nodetype A which has child nodes of nodetype B. I
want to do a search that returns all nodes of type A that contain a child
node B with the word "foo" in any of its proper
so the "name" of a node is not part of its own state but the state of its
parent?
Tobias Bocanegra wrote:
>
> you would need to restore /a/b/c/d since a move modifies the state of
> the parent(s).
>
> regards, toby
>
> On 10/17/06, JavaJ <[EMAIL PROTECTED]
Say you have a Node F at: /A/B/D/F with version 1.0, then you decide to move
it to /A/B/D/E (basically renaming it to "E") and version it 1.1. What
happens if you restore the Node to version 1.0? Will it's name be "F" or
"E"?
--
View this message in context:
http://www.nabble.com/Restoring-a
JavaJ wrote:
>
> I'm having a problem with getting Node properties from the different
> Versions of a Node. For example:
>
> javax.jcr.Node node = session.getNodeByUUID(id);
> javax.jcr.version.VersionIterator it =
> nodeToRestore.getVersionHistory().getAllVersi
I'm having a problem with getting Node properties from the different Versions
of a Node. For example:
javax.jcr.Node node = session.getNodeByUUID(id);
javax.jcr.version.VersionIterator it =
nodeToRestore.getVersionHistory().getAllVersions();
while (it.hasNext()) {
javax.jcr.version.Version v
Torgeir Veimo wrote:
>
>
> On 24 Aug 2006, at 00:30, JavaJ wrote:
>
>>
>> Is there some kind of tool available that will allow you to inspect
>> and
>> traverse your repository through a UI, like inspect nodes,
>> properties, node
>> types
So according to the javadoc, when you check out a node using Node.checkout(),
the isCheckedOut property of that node changes to "true" and all of its
non-versionable child nodes become writeable. These changes are persisted
immediately. I assume this means that the changes are propagated across
I was trying the JLibrary JCR Browser and it requires RMI connection info.
How do you enable RMI access in Jackrabbit?
Marcel Reutegger wrote:
>
> JavaJ wrote:
>> Is there some kind of tool available that will allow you to inspect and
>> traverse your repository through
Is there some kind of tool available that will allow you to inspect and
traverse your repository through a UI, like inspect nodes, properties, node
types?
--
View this message in context:
http://www.nabble.com/Jackrabbit-UI-Tool-tf2155609.html#a5954851
Sent from the Jackrabbit - Users forum at N
checkout NodeA (and NodeB) before you can add
> NodeC.
> but whenever you would restore version 1.2 of NodeA, you'll get the
> exact same state when you created 1.2 (if NodeB has OPV=Copy).
>
> regards, toby
>
> On 8/17/06, JavaJ <[EMAIL PROTECTED]> wrote:
>>
Thanks! I read through the spec some more and it takes more sense now...
One more question:
Let's say you had a versionable NodeA (v1.2) with a versionable child node
NodeB (v1.0), with attribute onParentVersion=COPY. You checkout NodeB and
add a new non-versionable node NodeC (onParentVersion
I have a couple of other questions about versioning:
1) Is there a way to "rollback" to a previous version? I know that there is
a "restore" function, but from the spec, it looks like it just copies the
state of the versioned node into the node object. What I'm interested in is
being able to ro
I have a couple of other questions about versioning:
1) Is there a way to "rollback" to a previous version? I know that there is
a "restore" function, but from the spec, it looks like it just copies the
state of the versioned node into the node object. What I'm interested in is
being able to ro
gt;> declaration
>> of NodeB in the NodeTypeDefinition for NodeA should contain COPY.
>>
>> HTH and if I'm wrong or anyone has pointers to good docs PLEASE enlighten
>> me.
>>
>> Doug
>>
>>
>> On 8/15/06, JavaJ < [EMAIL PROTECTED]>
I have a question about versioning.
NodeA has 2 child nodes NodeB and NodeC
NodeA and NodeC is versionable. NodeB is not.
If I check out NodeA, can I start making changes to NodeA and all of its
children, including NodeC? Then save and checkin NodeA? If so, will I get
a Version that includes
How do you rename a node? The javax.jcr.Node interface doesn't allow setting
the name property. Do you have to perform a session.move() to rename it?
--
View this message in context:
http://www.nabble.com/Renaming-a-node-tf2069688.html#a5698005
Sent from the Jackrabbit - Users forum at Nabble.
No solution yet. For now, I'm going to make them same-name siblings:
+ cm:name (cm:localizedLabel) = cm:localizedLabel multiple
+ cm:description (cm:localizedLabel) = cm:localizedLabel multiple
--
View this message in context:
http://www.nabble.com/Locallized-labels-tf2054152.html#a5697873
Se
Thank you!
--
View this message in context:
http://www.nabble.com/Problem-adding-a-child-node-tf2065497.html#a5697836
Sent from the Jackrabbit - Users forum at Nabble.com.
Debugging the code, I notice that the problem might be in EffectiveNodeType,
line 703:
ItemDef[] defs = getNamedItemDefs(name);
The name that is passed to this method call is the child nodes' name.
Shouldn't it be the name of the child node's type??
This might explain why the error mes
Given the following node types:
[cm:myAppContainer] > nt:base,mix:referenceable,mix:versionable
+ cm:myApp (cm:myApp) = cm:myApp multiple version
[cm:myApp] > nt:base,mix:referenceable,mix:versionable
- cm:size (long) mandatory
- cm:rules mandatory
- cm:locale mandatory
- cm:address mandatory
I
For each node, I'd like to define properties that basically collections of
label-locale pairs. In Java, I would do something like this:
class LocalizedLabel {
String label;
String locale;
}
class MyNode {
LocalizedLabel[] localizedNames;
LocalizedLabel[] localizedDescriptions;
..
}
I guess I did need to specify a custom namespace. Is this a requirement? Or
was there a name collision that Jackrabbit doesn't warn about?
--
View this message in context:
http://www.nabble.com/Adding-node-of-custom-type-tf2052416.html#a5658633
Sent from the Jackrabbit - Users forum at Nabble.
I can't seem to get this to work even though it should probably really
simple.
I have a custom type, defined as:
[myapp] > nt:base, mix:referenceable, mix:versionable
- size (long) mandatory
- rules mandatory
- locale mandatory
- address mandatory
The type gets loaded on startup and I verified
I don't think this is implemented yet. I tried it yesterday myself. :)
See: http://issues.apache.org/jira/browse/JCR-322
--
View this message in context:
http://www.nabble.com/custom-nodetypes-tf2049927.html#a5654224
Sent from the Jackrabbit - Users forum at Nabble.com.
When calling Node.setProperty(String, Stream), I'm getting the following
error:
javax.jcr.RepositoryException: java.lang.IllegalArgumentException: Stream
values are not yet implemented.: Stream values are not yet implemented.
Is this not implemented yet?
--
View this message in context:
http:/
Stefan Guggisberg wrote:
>
> On 8/3/06, JavaJ <[EMAIL PROTECTED]> wrote:
>>
>> Is there a way to tell Jackrabbit to automatically load custom nodetypes
>> from
>> CND file on startup? It seems to work with putting custom_nodetypes.xml
>> in
>>
Oh well, I guess I'll try and get the xml one working. The sample xml that I
get from the jackrabbit site doesn't appear to work. I'm getting the error
on startup:
Initialization of bean failed; nested exception is
java.lang.ClassCastException: org.apache.xerces.dom.DeferredDocumentImpl
java.la
Is there a way to tell Jackrabbit to automatically load custom nodetypes from
CND file on startup? It seems to work with putting custom_nodetypes.xml in
the nodetypes directory, but I can't get it to work with a cnd file. Do you
have to load it manually?
--
View this message in context:
http:
Pavel Jbanov wrote:
>
>
> I remember having "Premature end of file" error when the repository
> directory wasn't fully initialized (due to a similar previous error) and
> the workspace.xml or some other xml file was empty. Deleting and
> re-initializing the repository directory helped.
>
>
Anyone else have trouble deploying the jackrabbit-server-1.0.1.war on Tomcat
5.0.28, using JDK 1.5?
The initial error that I get when I tried to deploy the war was:
javax.xml.transform.TransformerFactoryConfigurationError: Provider
org.apache.xalan.processor.TransformerFactoryImpl not found
Thi
So I'm having this wierd issue where my application will sometimes try to
create the Repository even after it's already been created and I get the
error "javax.jcr.RepositoryException: The repository home at c:\jackrabbit
appears to be in use since the file at c:\jackrabbit\.lock is locked by
anot
Is it possible to initialize Jackrabbit manually on the startup of your
webapp? For example, in a Servlet.init() method, calling
RepositoryImpl.create() or using a framework like Spring for initialization?
Or do you have to use one of the Deployment Models for initalization of the
repository?
--
33 matches
Mail list logo