cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Pfuhl <pfu...@yahoo.de>
Subject Re: How to use <xsp-request:get-parameter>
Date Mon, 25 Jun 2001 09:07:21 GMT
Hi Zeljko,

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

HTH 

daniel


--- Zeljko Rajic <zeljko.rajic@brokat.com> schrieb: >
Hi cocoon-users,
> 
> I'm a newbie to XSP, thus maybe a stupid question:
> 
> How do I use the <xsp-request:get-parameter> tag
> correctly? I'm trying to do
> the following:
> 
> <p>
>    Parameter 'param1' value:
>    <xsp-request:get-parameter as="string"
> default="default Value">
>         <xsp-request:name>param1</xsp-request:name>
>    </xsp-request:get-parameter>
> </p>
> 
> 
> I'm receiving the following error as it seems the
> <xsp-request:name> tag isn't
> recognized/transformed correctly.  Or is my usage
> wrong. I'm using Cocoon 2
> alpha 5.  The error is:
> 
> org.apache.cocoon.ProcessingException: Failed to
> execute
>
pipeline.:org.apache.cocoon.ResourceNotFoundException:
> Language
> Exception:org.apache.cocoon.ProcessingException:
> Language
>
Exception:org.apache.cocoon.components.language.LanguageException:
> Error compiling simple_xsp:
> Line 0, column 0:
>
C:\Apps\ServletExecAS\31\se-se31_1\ServletExecData\default\Cocoon2a5\temp\org\apache\cocoon\www\docs\samples\xsp\simple_xsp.java:125:
> Missing term.
>                            
> (XSPRequestHelper.getHeader(objectModel,)));
> 
> 
> Thanks for any help !
> 
> 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:
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:
> <cocoon-users-help@xml.apache.org>
> 


=====
--------------------------------------------------------
Daniel Pfuhl
mailto:daniel@dphome.de

__________________________________________________________________
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message