cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morrison, John" <John.Morri...@uk.experian.com>
Subject RE: Simple XSP Ordering Problem
Date Tue, 15 Oct 2002 07:59:31 GMT
There are several objects available for use in xsp, take
a quick look in the generated java, they should be documented
there.

J.

PS, folks: when you reply, *please* trim any excess off :)

> From: Sonny Sukumar [mailto:ssukumar@EcologyFund.net]
> 
> Hmmm, I didn't read about the request object in my Cocoon 
> book.  Where is it defined exactly?  Do I need to import 
> anything to use it?
> 
> Thanks again,
> 
> Sonny
> 
> --- "Nathaniel Alfred" <Alfred.Nathaniel@swx.com> wrote:
> >>From: Sonny Sukumar [mailto:ssukumar@EcologyFund.net]
> >>
> >><Product>
> >>  <xsp:logic>
> >>    String productId = <xsp-request:get-parameter 
> >>name="productid" default=""/>;
> >>  </xsp:logic>
> >> ...
> >
> >Try:
> >
> >  <xsp:logic>
> >    String productId = request.getParameter("productid");
> >    if (productId == null ) productId = "";
> >  </xsp:logic>
> >
> >Cheers, Alfred.


=======================================================================
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message