[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-user
Subject:    AW: How to add more internal node properties
From:       "Daniel Florey" <daniel.florey () web ! de>
Date:       2004-10-29 16:45:37
Message-ID: E1CNZsd-0002qy-00 () smtp07 ! web ! de
[Download RAW message or body]

Another idea:
Just add a property extractor that is registered on the root path so that
every incoming resource gets 'extracted'. In this content extractor simply
do nothing but return the new property. This should be enough and is the
simplest approach I can think of.
Daniel

> -----Ursprüngliche Nachricht-----
> Von: slide-user-return-9202-daniel.florey=web.de@jakarta.apache.org
> [mailto:slide-user-return-9202-daniel.florey=web.de@jakarta.apache.org] Im
> Auftrag von Gao Jun
> Gesendet: Freitag, 29. Oktober 2004 14:44
> An: slide-user@jakarta.apache.org
> Betreff: How to add more internal node properties
> 
> 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.


---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic