Thanks for your response Remy, I will look into adding that functionality
this weekend.

Another question.
I am trying to set some properties on a LinkNode but receive a 500 response
from the server. Is that because properties cannot be set on this type of
node? If it is prohibited what is the design rationale behind this decision
?

Unico

-----Oorspronkelijk bericht-----
Van: Remy Maucherat [mailto:[EMAIL PROTECTED]]
Verzonden: donderdag 22 november 2001 18:23
Aan: Slide Users List
Onderwerp: Re: Accessing Resource properties via JNDI


> Hello,
>
> I would like to access custom properties of slide resources within my
> servlet. My first guess was to use the SlideDirContext JNDI wrapper for
> this. However looking at the code it doesn't seem to put all the
properties
> of a Node into the ResourceAttributes. For instance if would have an
author
> attribute on a node it doesn't seem to be available in the
> ResourceAttributes. My question is why this is so and if it is good idea
to
> extend the functionality of the SlideDirContext to provide for this.

At the moment, the directory context implements only what Catalina needs,
and nothing more. It could be extended to expose custom properties (by using
the external attributes of ResourceAttributes), and even allow write access
(but probably with a few limitations).

If you manage to do it, and you can contribute a patch, that would be great.

Remy


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to