cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Busch" <Andreas.Bu...@ilogics.de>
Subject XSP and parameters
Date Wed, 02 Mar 2005 14:38:49 GMT
Sorry for this basic question:
 
I try to send a Parameter to a query with the following logic:
 
url: ..../media.xml?p=4
 
in sitemap:
<map:match pattern="media.xml">

<map:generate src="media.xsp" type="serverpages">

<map:parameter name="pg" value="{request-param:p}"/>

</map:generate>

and in XSP-file :

.....WHERE nr =<esql:parameter><xsp:value-of select="$pg"/>
                        </esql:parameter>

the parameter is almost empty !
 
Any help ?
Examples welcome !!
 
Andreas Busch

 

Mime
View raw message