cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Larsson" <max.lars...@gmservice.de>
Subject Request tablig
Date Thu, 26 Jul 2001 06:40:19 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message