Hi Daniel,
on Monday, June 25, 2001, you wrote:
>> > 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.
Shouldn't these two ways of using the <xsp-request:get-parameter> produce the
same output, meaning shouldn't my way of using have the same result? Does my
way of using the tag work with your Cocoon installation and produce the
expected output?
Regards,
Zeljko
---------------------------------------------------------------------
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]>