You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Michael Wechner <mi...@wyona.org> on 2003/07/10 00:46:00 UTC

lenya.usecase=create Problem

It seems that the usecase "create" is not being lead through to the 
publication specific "create" usecase.
The following request delivers an error

http://195.226.6.70:18080/lenya/notimes/authoring/2003/03/14/technology/index.html?lenya.usecase=create&lenya.step=showscreen&doctype=xhtml

anyone a clue?

Thanks

Michael


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


Re: lenya.usecase=create Problem

Posted by Michael Wechner <mi...@wyona.org>.
Andreas Hartmann wrote:
> Andreas Hartmann wrote:
> 

<snip />
> 
> It obviously worked because the notimes/usecase.xmap contained
> all usecases that were needed in notimes. In the current
> "solution", you would have to create a sitemap for every usecase:
> 
> notimes/usecase-create.xmap
> notimes/usecase-publish.xmap
> 
> I hope we'll find a better way to manage the fallback.

yes, that would be nice. I think we have been discussing this before
and it seems to me that this is a rather generic problem. Well, let me 
ask on the Cocoon mailing list.

Thanks

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


-- 
Michael Wechner
Wyona Ltd.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com              http://cocoon.apache.org/lenya/
michael.wechner@wyona.com                        michi@apache.org


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


Re: lenya.usecase=create Problem

Posted by Andreas Hartmann <an...@apache.org>.
Andreas Hartmann wrote:

> Michael Wechner wrote:
> 
>> It seems that the usecase "create" is not being lead through to the 
>> publication specific "create" usecase.
>> The following request delivers an error
>>
>> http://195.226.6.70:18080/lenya/notimes/authoring/2003/03/14/technology/index.html?lenya.usecase=create&lenya.step=showscreen&doctype=xhtml 
> 
> It is interesting that it worked in the notimes publication?

It obviously worked because the notimes/usecase.xmap contained
all usecases that were needed in notimes. In the current
"solution", you would have to create a sitemap for every usecase:

notimes/usecase-create.xmap
notimes/usecase-publish.xmap

I hope we'll find a better way to manage the fallback.

Andreas



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


Re: lenya.usecase=create Problem

Posted by Andreas Hartmann <an...@apache.org>.
Michael Wechner wrote:

> It seems that the usecase "create" is not being lead through to the 
> publication specific "create" usecase.
> The following request delivers an error
> 
> http://195.226.6.70:18080/lenya/notimes/authoring/2003/03/14/technology/index.html?lenya.usecase=create&lenya.step=showscreen&doctype=xhtml 

I had to change the mounting in usecase.xmap because all other
usecases didn't work when a publication-dependend usecase.xmap
in weilpublishing existed.

It is interesting that it worked in the notimes publication? I'll
take a look into it to see what went wrong in weilpublishing.

If the create usecase is the only one in notimes, you can rename
the sitemap to usecase-create.xmap and it should work again.

Andreas



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