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?
 
Thanks
Derek
 
 


-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
[EMAIL PROTECTED]


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their 
support.


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