Josias Thöny wrote:
On Mon, 2006-07-03 at 14:50 +0200, Andreas Hartmann wrote:
Josias Thöny wrote:
[...]
It's already possible to have an absolute view URL: use
<view uri="..."> instead of <view template="...">.
Ah, right, it is already too complex to remember all options :)
But when using @uri, the usecase object is not passed to the pipeline.
Maybe this could be changed?
Is it a problem in our usecase.js, or is it a Cocoon flow problem?
Hm, I think it's just not implemented. When I change the following at
line 193 in usecases.js, it seems to work:
- cocoon.sendPage(viewUri);
+ cocoon.sendPage(viewUri, { "usecase" : proxy });
Or is there a reason why the usecase object is not being passed?
svn blames me, but I can't remember any reason.
I guess it's fine to pass it.
-- Andreas
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]