Re: configuration Slide
Martin Petras <[email protected]>
| Newsgroups | gmane.comp.jakarta.slide.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
try this solution. You have to code a little bit:
1) create your adapter i.e.
public class MyWebdavAdapter extends WebdavAdapter {
public void putAfter(WebdavEvent event) throws VetoException{
// perform lock
}
}
2) build it and add it to the slide classpath i.e. slide/WEB-INF/lib
3) change Domain.xml this way:
....
<events>
<listener classname="com.mycompany.MyWebdavAdapter" />
....
</events>
That's all. Hope it helps.
Best regards
Martin Petras
S&K Management Systems
ould sid'ahmed wrote:
> Hello,
> I want, if a person upload document, it will be locked for the other
> users.
> how I can't this with Slide.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>