cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Morandini <lmorand...@ieee.org>
Subject Re: how to access post parameters from sitemap
Date Wed, 27 Apr 2011 10:49:57 GMT
On 04/27/2011 12:30 PM, Robby Pelssers wrote:
>
> that is exactly what i'm going to do.  It can also get rid of that
> QueryStringAnalyzer I wrote.  ;-)

Wouldn't be simpler to use a "pre-processing" stage with the JX Template generator ?

A fragment like this should make you access request parameters easily without 
knowing their names and generate XML:
   <jx:forEach var="p" select="${cocoon.request.getParameterNames()}">
     <p>${p}=${cocoon.request.getParameter(p)}</p>
   </jx:forEach>

Regards,

Luca Morandini
http://www.lucamorandini.it


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


Mime
View raw message