Derek Hohls wrote:
This should be simple, but I am struggling:
I try to pass: matchname?sort=foo to a generated page: <jx:set name="field">${cocoon.request.getParameter('sort')}</jx:set>
 <temp>${field}</temp>
but simply get an empty tag for "temp". More... I have this logic <jx:choose>
     <jx:when test="${field != ''}">DO A<jx:when>
    <jx:otherwise>DO B</jx:otherwise>
   </jx:choose>
and this always shows up as "DO A" ?? I have also tried )without success):
${cocoon.request.get('sort')}
What is the correct syntax and why does the jx:choose fail?

Have you tried ${request.getParameter('sort')}?

--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                       web(log): http://www.poetz.cc
--------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]