Richfaces 3.1.3 Suggesionbox and JBoss-Portal 2.6.3
ameo Jan 15, 2008 6:25 AMHello,
what about the collaboration about JBoss-Portal and Richfaces using the suggestionbox ?
It don't work. I get a browser error like:
anchor has no properties
processResponse(Object _query=Object _documentElement=html options=Object)a4j_3.. (line 76)
getParseErrorText()
When I use the snapshop 3.2.0-Snapshot it works.
the pom.xml with the 3.2.0-snapshot looks like:
.. <dependency> <groupId>org.richfaces.extensions</groupId> <artifactId>portlet</artifactId> <version>3.2.0-SNAPSHOT</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.richfaces.framework</groupId> <artifactId>richfaces-impl</artifactId> <version>3.2.0-SNAPSHOT</version> </dependency> <dependency> <groupId>org.richfaces.framework</groupId> <artifactId>richfaces-api</artifactId> <version>3.2.0-SNAPSHOT</version> </dependency> <dependency> <groupId>org.richfaces.ui</groupId> <artifactId>suggestionbox</artifactId> <version>3.1.0</version> </dependency> ..
The pom with 3.1.3.GA :
<dependency> <groupId>org.richfaces.ui</groupId> <artifactId>richfaces-ui</artifactId> <version>3.1.3.GA</version> </dependency> <dependency> <groupId>org.richfaces.framework</groupId> <artifactId>richfaces-impl</artifactId> <version>3.1.3.GA</version> </dependency> <dependency> <groupId>org.richfaces.framework</groupId> <artifactId>richfaces-api</artifactId> <version>3.1.3.GA</version> </dependency> <dependency> <groupId>org.richfaces.extensions.portletbridge</groupId> <artifactId>portletbridge-api</artifactId> <version>3.1.3.GA</version> </dependency> <dependency> <groupId>org.richfaces.extensions.portletbridge</groupId> <artifactId>portletbridge-impl</artifactId> <version>3.1.3.GA</version> </dependency>
Do I need the portlet-3.2.0-20071123.164330-1.jar ??
When I use the snapshot 3.2.0 the namespace of the *.xhtml file is
<a4j:portlet xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://labs.jboss.com/jbossrichfaces/ui/suggestionbox">
By using the 3.1.3.GA version, there is no namesspace of the suggestionbox, then the reference is to the richfaces generally.
<a4j:portlet xmlns="http://www.w3.org/1999/xhtml" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich">