--- Zeljko Rajic <[EMAIL PROTECTED]> schrieb: > 
> > did you specify the Namespaces and the programming
> > language in your xsp-file correctly ?
> 
> > e.g. like this:
> 
> > <xsp:page
> > language="java"
> > xmlns:xsp="http://apache.org/xsp";
> >
>
xmlns:xsp-request="http://apache.org/xsp/request/2.0";
> 
> I had set the namespace as follows:
> 'xmlns:xsp-request="http://apache.org/xsp/request'.
> I changed the namespace
> value as you suggested and the compiler error
> disappeared. Are the values/URIs
> for the namespaces anywhere documented?
> 
> Anyway, still it does not work as I would expect.
> The following XSP fragment
> produces the following output...
> 
> XSP fragment:
> 
> <p>
>    Parameter 'param1' value:
>    <xsp-request:get-parameter as="string"
> default="default Value">
>       <xsp-request:name>someValue</xsp-request:name>
>    </xsp-request:get-parameter>
> </p>
> 
> 
> output:
> 
> Parameter 'param1' value: someValue
> 
> 
> Is there still something wrong?

hmmm maybe you want to try something like this

<xsp-request:get-parameter name="someValue"
default="Not provided"/>

...in your xsp.

HTH

daniel

=====
--------------------------------------------------------
Daniel Pfuhl
mailto:[EMAIL PROTECTED]

__________________________________________________________________
Do You Yahoo!?
Gesendet von Yahoo! Mail - http://mail.yahoo.de

---------------------------------------------------------------------
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