All I meant to highlight was that your statement that it "doesn't
work, because it is deprecated" was not much helpful to determine
what was actually wrong.
Now, if you look at the code, you'll see it's perfectly fine. I guess
it was deprecated because it's kind of duplicate with the getNode()
method. It should work, afaict. Did you try plugging your debugger in
and see what was going on? Did you check with the jcr browser if the
properties was actually set as expected ?
Cheers
g
On Apr 2, 2007, at 22:43 , Hartmut Kern wrote:
Hi, Joseph,
(citation>
"
A deprecated class or method is like that. It is no longer
important. It is so unimportant, in fact, that you should no longer
use it, since it has been superseded and may cease to exist in the
future.
"
(citation />
so, it is in the template dms.jsp:
doc.getNodeData("subject").getString(),
is doing nothing. No error. No output.
May be, thats not what a template user is expecting?
Best,
Hartmut
Am 28.03.2007 um 15:37 schrieb Grégory Joseph:
Hi,
doesn't work, because it is deprecated.
This doesn't make sense. You should maybe read this: http://
java.sun.com/j2se/1.5.0/docs/guide/javadoc/deprecation/
deprecation.html
It could be that the method doesn't work *as expected*, but you're
not saying what's wrong, so it's going to be hard to help ;)
cheers
g
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------