Hi Julian

I tried few ways and same example whenever I keep my own name space lile
"MyNameSpace" it wont be storing and hence not showing
up the value of custom property!
Hence i change it to DAV: and it works!

I dont know whether I assumed wrong things or there is some other way to
user own custom namespaces or any other Slide namespace!

In case you have any idea can you please put some more focus on this which
can help me defining custom Property,
Namespace and the value to this new property!

This will help me a lot!


Best Regards,
Satish


----- Original Message ----- 
From: "Julian Reschke" <[EMAIL PROTECTED]>
To: "Slide Users Mailing List" <slide-user@jakarta.apache.org>
Sent: Monday, May 07, 2007 12:17 PM
Subject: Re: Achieved Custom Property to Slide Content


> Satish wrote:
> > Hi Zeus,
> >
> > Here I came with good news, I am able to create, set and "GET" custom
> > properties on Slide resource!
> > Thanks a ton for your help!
> >
> > Zeus one more thing I wanted to implement is ACL using slide, I tried
ACE
> > and Priviliges stuff but could not able to set them well, may need to
dig
> > more!
> > In case you have or know, can you send me any code which might be doing
this
> > or may be your valuable suggestions which may help make this happen for
me!
> >
> >
> > Here is the code, may also help some one else looking for same!
> >
> > ------------------------------------------------------------------
> > HttpURL hrl = new
> > HttpURL("http://ashish:8080/slide/files/FinalXML/Tripsketch.css";);
> >
> > hrl.setUserinfo("root","root");
> >
> > WebdavResource wdr = new WebdavResource(hrl);
> >
> > wdr.setDebug(1);
> >
> > Hashtable props = new Hashtable();
> >
> > PropertyName prop = new PropertyName("DAV:", "CustomProperty");
> >
> > props.put(prop, "NewValue");
> >
> > System.out.println("Execute PropPatchMethodTest...");
> >
> > System.out.println("returned value ... " + wdr.proppatchMethod(props,
> > true));
> >
> > Enumeration e= wdr.propfindMethod("CustomProperty");
> >
> > System.out.println("read as ... " + e.nextElement());
> >
>
> --------------------------------------------------------------------------
--
> > ------------------------
> > ..
>
> Note: please do not put custom properties into the "DAV:" namespace.
>
> Best regards, Julian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Disclaimer:
This e-mail may contain Privileged/Confidential information and is intended 
only for the individual(s) named. Any review, retransmission, dissemination or 
other use of, or taking of any action in reliance upon this information by 
persons or entities other than the intended recipient is prohibited. Please 
notify the sender, if you have received this e-mail by mistake and delete it 
from your system. Information in this message that does not relate to the 
official business of the company shall be understood as neither given nor 
endorsed by it. E-mail transmission cannot be guaranteed to be secure or 
error-free. The sender does not accept liability for any errors or omissions in 
the contents of this message which arise as a result of e-mail transmission. If 
verification is required please request a hard-copy version. Visit us at 
http://www.harbinger-systems.com/

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

Reply via email to