You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by FREDERIC MOSER <fr...@eturs.u-strasbg.fr> on 2004/08/30 11:05:04 UTC

Problems in pipelines when using the authentication-fw

Hi,

I noticed several problems appeared since I added authentication in my
pipelines:

for example:
1)
----------------------------------------------------------------------
<map:match pattern="VoirPeriodiques(*)">
	<map:act type="auth-protect">
		<map:parameter name="handler" value="IntranetBmL"/>
		<map:generate src="context://XSP/VoirPeriodiques.xsp" type="serverpages"/>
		<map:transform src="context://XML/paginatePeriodiques.xml"
type="paginate">
			<map:parameter name="page" value="{1}" />
		</map:transform>
		<map:transform src="context://XSLT/Periodiques2xhtml.xslt"/>
		<map:serialize type="xhtml"/>
	</map:act>
	<map:redirect-to uri=""/>
</map:match>
----------------------------------------------------------------------
pagination does not work anymore: I can't reach the second page and
"(2)(2)" keep beeing added in my links.


2)
----------------------------------------------------------------------
<map:match pattern="VoirStatistiques*">
	<map:act type="auth-protect">
		<map:parameter name="handler" value="IntranetBmL"/>
		<map:generate src="context://XSP/VoirStatistiques{1}.xsp"
type="serverpages"/>
		<map:transform src="context://XSLT/Statistiques2xhtml.xslt"/>
		<map:serialize type="xhtml"/>
	</map:act>
	<map:redirect-to uri="xxx"/>
</map:match>
----------------------------------------------------------------------
The "match" does not work anymore too. Cocoon does not find anything.


Seems like there's something wrong with */{1}/Parameters using the
authentication...


Did I missed something?

Thanks in advance,


Fred


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


Re: Problems in pipelines when using the authentication-fw

Posted by Guido Casper <gc...@s-und-n.de>.
FREDERIC MOSER wrote:
> Hi,
> 
> I noticed several problems appeared since I added authentication in my
> pipelines:
> 
> for example:
> 1)
> ----------------------------------------------------------------------
> <map:match pattern="VoirPeriodiques(*)">
> 	<map:act type="auth-protect">
> 		<map:parameter name="handler" value="IntranetBmL"/>
> 		<map:generate src="context://XSP/VoirPeriodiques.xsp" type="serverpages"/>
> 		<map:transform src="context://XML/paginatePeriodiques.xml"
> type="paginate">
> 			<map:parameter name="page" value="{1}" />

try
<map:parameter name="page" value="{../1}" />

Guido

> 		</map:transform>
> 		<map:transform src="context://XSLT/Periodiques2xhtml.xslt"/>
> 		<map:serialize type="xhtml"/>
> 	</map:act>
> 	<map:redirect-to uri=""/>
> </map:match>
> ----------------------------------------------------------------------
> pagination does not work anymore: I can't reach the second page and
> "(2)(2)" keep beeing added in my links.
> 
> 
> 2)
> ----------------------------------------------------------------------
> <map:match pattern="VoirStatistiques*">
> 	<map:act type="auth-protect">
> 		<map:parameter name="handler" value="IntranetBmL"/>
> 		<map:generate src="context://XSP/VoirStatistiques{1}.xsp"
> type="serverpages"/>
> 		<map:transform src="context://XSLT/Statistiques2xhtml.xslt"/>
> 		<map:serialize type="xhtml"/>
> 	</map:act>
> 	<map:redirect-to uri="xxx"/>
> </map:match>
> ----------------------------------------------------------------------
> The "match" does not work anymore too. Cocoon does not find anything.
> 
> 
> Seems like there's something wrong with */{1}/Parameters using the
> authentication...
> 
> 
> Did I missed something?
> 
> Thanks in advance,
> 
> 
> Fred
> 
> 
> ---------------------------------------------------------------------
> 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