Sorry folks,
i've figure out the problem. It is very important to have
the namespace for taglib named xsp-request!
Max
> -----Ursprüngliche Nachricht-----
> Von: Max Larsson [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 26. Juli 2001 08:40
> An: Cocoon Users (E-Mail)
> Betreff: Request tablig
>
>
> Hi,
>
> i've got a problem with using the request taglib. THe
> following example
> always stop because of complication error, but i have no idea
> why? Or do
> i use the taglib in a wrong way ?
>
> <xsp:page language="java"
> xmlns:xsp="http://apache.org/xsp"
> xmlns:esql="http://apache.org/cocoon/SQL/v2"
> xmlns:request="http://apache.org/xsp/request/2.0">
>
> <page>
>
> <xsp:logic>
> String id = <request:get-parameter name="ids"/>;
> </xsp:logic>
>
> ....
>
>
> The following Error is produced by C2:
>
> org.apache.cocoon.ResourceNotFoundException: Language
> Exception:org.apache.cocoon.ProcessingException: Language
> Exception:org.apache.cocoon.components.language.LanguageExcept
> ion: Error
> compiling navigate_xsp:
> Line 0, column 0: C:\Programme\Apache
> Group\jakarta-tomcat-3.2.2\work\localhost_8080%2Fhelpdesk\org\
> apache\cocoon\
> www\menu\navigate_xsp.java:186: Incompatible type for
> declaration. Can't
> convert void to java.lang.String.
> String id = xspAttr.addAttribute("", "name", "name",
> "CDATA", "ids");
> ^
> Any idea why??
>
>
> ---------------------------------------------------------------------
> 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]>