cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niket Anand" <niketan...@npi.stpn.soft.net>
Subject Re: <xsp-request:get-parameter> tag problem
Date Wed, 24 Apr 2002 21:27:06 GMT
I think I should use  as
<field>
<xsp-request:get-parameter
name="txtValue"><xsp-request:default>niket</xsp-request:default></xsp-reques
t:get-parameter>
 </field>
It is working fine

----- Original Message -----
From: "Christian Haul" <haul@dvs1.informatik.tu-darmstadt.de>
To: <cocoon-users@xml.apache.org>
Sent: Wednesday, April 24, 2002 8:24 PM
Subject: Re: <xsp-request:get-parameter> tag problem


> On 25.Apr.2002 -- 02:20 AM, Niket Anand wrote:
> > Hello all,
> > I want to use request parameter value  in xsp as
> > <field>
> > <xsp-request:get-parameter name="txtValue"><xsp:attribute name="
> > default">333</xsp:attribute></xsp-request:get-parameter>
> > </field>
> > It doesnot work, doesnot show default value.
> > But if I use as
> > <field>
> > <xsp-request:get-parameter name="txtValue" default="333/
> > </field>
> > It works.
> > How can I set default value as shown in first way?
>
> You can't.
>
> Explanation: xsp-attribute adds an attribute to an XML tag that is
> delivered down the pipeline. Logicsheets are used to assemble the
> program that emits these tags.
>
> Use java to implement your logic.
>
> Chris.
>
> --
> C h r i s t i a n       H a u l
> haul@informatik.tu-darmstadt.de
>     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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