You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jan Wielgus <li...@o2.pl> on 2004/02/16 13:58:07 UTC

redirect-to in Cocoon 2.1.3

Hello, the following snippet of code makes problems under Cocoon 2.1.3:

<map:act type="auth-loggedIn">
<map:parameter name="handler" value="lmhandler"/>
<map:redirect-to uri="main.xsp"/>
</map:act>

I get an error:

org.apache.avalon.framework.configuration.ConfigurationException: An
action set can only contain actions and not 'redirect-to' at
file:/resources/cocoon-2.1.3/build/webapp/LetterMan/sitemap.xmap:61:98

Under 2.1.2 it works without any problems. Is there a bug in the
2.1.3? Or can anyone tell how to do it?

Jan


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


Re: redirect-to in Cocoon 2.1.3

Posted by Antonio Gallardo <ag...@agssa.net>.
Jan Wielgus dijo:
>>Hi Jan:
>>
>>Not sure if this is a bug. Can you upgrade to 2.1.4?
>
> It seems that it is a bug in 2.1.3. I upgraded to 2.1.4 and now it
> works correctly.

Hi Jan:

Glad to hear that! Enjoy Cocoon ;-)

Best Regards,

Antonio Gallardo


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


Re: redirect-to in Cocoon 2.1.3

Posted by Jan Wielgus <li...@o2.pl>.
>Hi Jan:
>
>Not sure if this is a bug. Can you upgrade to 2.1.4?

It seems that it is a bug in 2.1.3. I upgraded to 2.1.4 and now it
works correctly. 

Jan


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


Re: redirect-to in Cocoon 2.1.3

Posted by Antonio Gallardo <ag...@agssa.net>.
Hi Jan:

Not sure if this is a bug. Can you upgrade to 2.1.4?

Best Regards,

Antonio Gallardo

Jan Wielgus dijo:
> Hello, the following snippet of code makes problems under Cocoon 2.1.3:
>
> <map:act type="auth-loggedIn">
> <map:parameter name="handler" value="lmhandler"/>
> <map:redirect-to uri="main.xsp"/>
> </map:act>
>
> I get an error:
>
> org.apache.avalon.framework.configuration.ConfigurationException: An
> action set can only contain actions and not 'redirect-to' at
> file:/resources/cocoon-2.1.3/build/webapp/LetterMan/sitemap.xmap:61:98
>
> Under 2.1.2 it works without any problems. Is there a bug in the
> 2.1.3? Or can anyone tell how to do it?
>
> Jan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


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