Hi Stefan,
thanks for your advice. I am also trying to so
something similar.
any documents regarding custom property creation, etc
?
will listBasic() return the custom property ? in what
order ?
thanks
lixin
--- Stefan L�tzkendorf <[EMAIL PROTECTED]>
wrote:
> Gao,
>
> the best way I think is to use slides event
> mechanics. You can implement
> a ContentListener. This listener can create the new
> property in the create
> method which is called if a new resource is created.
>
> So you don't need to change slides code (:-)
>
> Have a look in the package org.apacha.slide.event.
>
> Listeners are registered in the Domain.xml, you can
> find samples in the
> default Domain.xml i think.
>
> Hope, this helps
> Stefan
>
>
>
> Gao Jun wrote:
> > Hi everybody,
> > I have a question on using slide. We want to add
> one more internal property - "nodeId" to each node
> of slide. This property should be managed (set the
> value) inside of the slide server, just like other
> properties like displayname, getcontentlength, etc,
> so that when users, with any webdav client, upload a
> file to slide server, the file's "nodeId" property
> value can be set by slide server automatically - it
> will be a sequence no actually. My question is
> >
> > How could I achieve this by modifying slide code
> as clean as I can?
> >
> > Which part of the slide code (or which class)
> should I go to modify?
> > Is it in StructureImpl?
> >
> > Is there some Factory pattern which I can take use
> of so that I can apply my
> > changes by extending some interface or abstract
> class instead of changing slide's code directly?
> >
> > Is there anyone who has done similar things
> before? Thanks in advance for all the advices and
> suggestions.
> >
> > regards,
> >
> > Jun
> >
> >
> > ---------------------------------
> > Do you Yahoo!?
> > Yahoo! Mail Address AutoComplete - You start. We
> finish.
>
> --
> Stefan L�tzkendorf -- [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]