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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
> [EMAIL PROTECTED]
>     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: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to