This content has been marked as final.
Show 3 replies
-
1. Re: Problems with downloading files from JCR - with Source Code
camiloperic Jul 7, 2010 8:25 AM (in response to camiloperic)Source Code added!
-
2. Re: Problems with downloading files from JCR - with Source Code
etdias Jul 7, 2010 10:03 AM (in response to camiloperic)Hi, any one have a working example of a portlet accessing de internal JCR that comes with GateIn.
Using:
- JBoss Seam
- Rich Faces
- Portlet Bridge
Tks
-
3. Re: Problems with downloading files from JCR - with Source Code
camiloperic Jul 12, 2010 10:11 AM (in response to camiloperic)Hi everyone, I'll try to make this problem easier to understand,
when I try a code like this:
...
(jcrSession is the session I've got to the workspace)
Node toBeRemoved = jcrSession.getRootNode.getNode("nodeName");
toBeRemoved.remove();
jcrSession.save();
jcrSession.logout();
...
the changes are not persisted, but when I do the same, without loging out the session (jcrSession.logout()), and ANT restart the project the changes are persisted, is there another way to close the session? Anyone?