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.LanguageException: 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]>

Reply via email to