Hi Zeus,

Do you have anyidea how can I read password of the user from Slide.
I tried with propfind with password as name of property.

But I am unable to do so. Is namespace is any problem!

I need to write the generic function which can read peoperty of any DAV
resource!

Can you please give any advice!!

Regards,
Satish


----- Original Message ----- 
From: "Zeus Courtois" <[EMAIL PROTECTED]>
To: "Slide Users Mailing List" <slide-user@jakarta.apache.org>
Sent: Sunday, May 06, 2007 12:45 AM
Subject: Re: Adding custom property to Slide content


> Hi Satish,
>
> Ok, so it looks like you got pretty much everything.
>
> Here are the descriptions for the parameters that you should be sending:
> /**
>      * Execute PROPATCH method for this resource with the given property.
>      *
>      * @param propertyName the name of the property to set
>      * @param propertyValue the value of the property to set
>      * If the proppatch action is being removed, the value is null or any.
>      * @param action true if it's being set, false if it's being removed
>      * @return true if the method is succeeded
>      *
>  @exception HttpException
>      * @exception IOException
>      */
>     public boolean proppatchMethod(PropertyName propertyName,
>                                    String propertyValue, boolean action)
>             ...............
>         .    .................
>     }
>
> You
> are right, the PropertyName would be "Label" and the propertyValue is
> whatever value you would like to be associated with the propertyName.
> For
> example, let's say that I would like to store a property where I want
> to keep track of the country where a specific file was last modified.
> Then, I would create a propertyName to be "Country" and my "propertyValue"
would be
>  "Germany."
> The
> last parameter, "boolean action" specifies that either you would like
> to delete such property from the metadata (maybe you don't need it
> anymore) or if you wish to add it--which in your case you would set it
> to "true".
>
> Let me also send you a like of a quick program that I found, may come in
handy:
>
http://mail-archives.apache.org/mod_mbox/jakarta-slide-user/200508.mbox/[EMAIL 
PROTECTED]
>
> Regards,
>
> Zeus
>
> ----- Original Message ----
> From: Satish <[EMAIL PROTECTED]>
> To: Slide Users Mailing List <slide-user@jakarta.apache.org>
> Sent: Saturday, May 5, 2007 9:16:41 AM
> Subject: Re: Adding custom property to Slide content
>
> Hi Zeus,
>
> Thanks a lot for your reply and valuable suggestions, really glad to see
> those!
>
> Currently I am using this proppatchMethod overload to add new property and
> set the value:
>
>  proppatchMethod(java.lang.String path, PropertyName propertyName,
> java.lang.String propertyValue, boolean action)
>
> Here I assumed
> Parameter 2:
>     PropertyName propertyName: Is the new property or "Label" of file
>
> Paramter 3:
>     java.lang.String propertyValue: Is the value need to set to this
> property
>
> e.g Is created new property named "VERSION" having value "1.0.0".
>
> I am bale to add the same perhaps could not able to retrieve the same
using
> PropFind method.
>
> Do I misinterpreted Paramter 3; PropertyValue?
>
> If not why I need to add another property for storing value?
>
> Thanks again for your valuable suggestion!
>
>
> Regards,
> Satish
>
>
> ----- Original Message ----- 
> From: "Zeus Courtois" <[EMAIL PROTECTED]>
> To: "Slide Users Mailing List" <slide-user@jakarta.apache.org>
> Sent: Saturday, May 05, 2007 9:33 PM
> Subject: Re: Adding custom property to Slide content
>
>
> > Hi Satish,
> >
> > You would use the propatch method from the API where you could use
either
> a Property object, or two objects: one being the name of the property
> ("Label") and another being the value. For the value, I believe you may
have
> to html escape some of the characters if you are submitting XML or HTML
> itself.
> >
> > Regards,
> >
> > Zeus
> >
> > ----- Original Message ----
> > From: Satish <[EMAIL PROTECTED]>
> > To: Slide Users Mailing List <slide-user@jakarta.apache.org>
> > Sent: Saturday, May 5, 2007 5:49:08 AM
> > Subject: Adding custom property to Slide content
> >
> > Hi
> >
> > I need to add my own property like "Label" to file uploaded on Slide.
> > I am merely cluless to about how to do that!
> >
> > Can any one tell me which API I should use from the Slide Client API to
> set
> > and fetch the new property.
> >
> > This is really urgent, any help will be appriciated by heart!
> >
> >
> > Thanks,
> > Satish
> >
> > 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]
> >
> >
> >
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
>
> 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]
>
>
>
>
>
>
>
>
>
>
____________________________________________________________________________
________
> Expecting? Get great news right away with email Auto-Check.
> Try the Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html

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