You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2005/06/21 08:44:05 UTC

Re: svn commit: r191540 - /lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/usecases/webdav/Put.java

chestnut@apache.org wrote:

[...]

> +                DocumentManager documentManager = null;
> +                DocumentTypeBuilder documentTypeBuilder = null;
> +                try {
> +
> +                    documentTypeBuilder = (DocumentTypeBuilder) this.manager
> +                            .lookup(DocumentTypeBuilder.ROLE);
> +
> +                    documentManager = (DocumentManager) this.manager.lookup(DocumentManager.ROLE);

<snip src="lots of cool code"/>

Doug, it seems that you're getting familiar with the usecase
framework and the 1.4 API. Do you think it is convenient to write
usecases like that? Feel free to post your feedback on the list.
The API is still work in progress, I'm sure there's room for
improvement.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: svn commit: r191540 - /lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/usecases/webdav/Put.java

Posted by Doug Chestnut <ch...@apache.org>.
Andreas Hartmann wrote:
> Doug, it seems that you're getting familiar with the usecase
> framework and the 1.4 API. Do you think it is convenient to write
> usecases like that? Feel free to post your feedback on the list.
> The API is still work in progress, I'm sure there's room for
> improvement.
> 
> -- Andreas

Hi Andreas,
I am still in the learn by example mode, but so far so good.  I love the 
use of jxtemplates [haven't used them before].  I was surprised at how 
easy it was to use the API instead of the filesystem.

I bastardized the usecase framework [calling the usecase] for webDAV a 
little since the clients that I tested with couldn't handle the 
parameters.  With webDAV the usecase parameters [usecase name and step] 
weren't needed since they only need one step and the method replaces the 
need for a usecase name.

The more I work with usecases/api the more feedback I will have :)

--Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org