cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <o...@wlkp.org>
Subject Re: ResourceExistsAction problem
Date Wed, 10 Sep 2003 21:15:03 GMT
On Wed, Sep 10, 2003 at 03:14:09PM -0400, Madatov, Eugene wrote:
> Hi,
> I've tried to use ResourceExistsAction but got some weird results.
> Here is my code:
> <map:match pattern="*.acc">   
> 	<map:act type="resource-exists-act">
> 	<map:parameter name="url" value="cocoon:/xxx"/>
> 		<map:redirect-to uri="cocoon:/dp-{../1}" />                
> 	</map:act>
> 	<map:generate src="empty.xml" />
> 	<map:serialize/> 		
> </map:match>
Maybe I am wrong but I always thought that this action operates on "physical"
resources only (does not work with cocoon:/ pseudo protocol )
	LG
-- 
            __
         | /  \ |        Leszek Gawron            //  \\
        \_\\  //_/       ouzo@wlkp.org           _\\()//_
         .'/()\'.     Phone: +48(501)720812     / //  \\ \
          \\  //  recursive: adj; see recursive  | \__/ |


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


Mime
View raw message