[JBoss JIRA] Created: (RF-995) SkinFactory cannot be overriden reliably.
by Chris Rudd (JIRA)
SkinFactory cannot be overriden reliably.
-----------------------------------------
Key: RF-995
URL: http://jira.jboss.com/jira/browse/RF-995
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Chris Rudd
Prior to 3.1.0 the default SkinFactory could be replaced by specifing the implementation class in the resource : META-INF/services/org.richfaces.skin.SkinFactory
As of 3.1.0 there is no "default" implementation, and the richfaces-impl.jar now defines the resource inorder to specify the implementation.
This causes a problem when attempting to override the implemenation, as resources are found in whatever order the jars are in the classpath. There is no reliable way to ensure that the resource located in the jar providing the overriding implementation appears first (before the richfaces-impl).
I would suggest reserving the service file for the ability to override the default implementation, and introduce a new file to define the default implementation, or reference the default implemenation by name (to prevent the hard reference)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 1 month
[JBoss JIRA] Created: (RF-2295) Recieving error while rendering the rcih suggestion box
by prashant verma (JIRA)
Recieving error while rendering the rcih suggestion box
-------------------------------------------------------
Key: RF-2295
URL: http://jira.jboss.com/jira/browse/RF-2295
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: JDK1.5, Jboss Portal 2.4.1, Jboss App Server 4.0.5,
Reporter: prashant verma
Priority: Critical
I am recieving this err when I try to incorporate rich:suggestion box in the Jboss Portal
11:18:16,195 ERROR [MyFacesMultipartPortlet] processAction() error=the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded; charset=UTF-8
Here is the JSP code in the page
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
.......
<h:form id="StudyCoverForm" enctype="multipart/form-data">
...............................
<h:outputText styleClass="jsf-output-text" value="Rich Suggetion Example" />
<h:panelGroup>
<h:inputText value="#{bean.text}" id="suggest" />
<rich:suggestionbox for="suggest" suggestionAction="#{bean.autocomplete}" var="result" height="100" width="100">
<h:column>
<h:outputText value="#{result}"/>
</h:column>
</rich:suggestionbox>
</h:panelGroup>
.............................
end of the page
here is the bean code
-------------------------------------
import java.util.ArrayList;
import java.util.List;
public class Bean {
private List<String> Values;
private String text;
public Bean() {
}
public String getText() {
if (text != null) {
text = text.toUpperCase();
}
return text;
}
public void setText(String text) {
this.text = text;
}
public List autocomplete(Object event) {
System.out.println("inside autocomplete");
Values= new ArrayList<String>();
if (Values.size() == 0) {
for (int i = 0; i < 10; i++) {
Values.add(i+"");
}
}
return this.Values;
}
}
-------------------------------------
faces config has entries for this
<managed-bean>
<managed-bean-name>bean</managed-bean-name>
<managed-bean-class>com.ge.aviation.drb.bean.Bean</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
<managed-property>
<property-name>text</property-name>
<value/>
</managed-property>
<managed-property>
<property-name>Values</property-name>
<value/>
</managed-property>
</managed-bean>
Thanks in Advance
Please suggest and Help
Prashant Verma
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 1 month
[JBoss JIRA] Created: (RF-2355) SuggestionBox: Ajax single doesn't works.
by Ilya Shaikovsky (JIRA)
SuggestionBox: Ajax single doesn't works.
-----------------------------------------
Key: RF-2355
URL: http://jira.jboss.com/jira/browse/RF-2355
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Nick Belaevski
Fix For: 3.2.0
This
<rich:messages/>
<h:inputText required="true"/>
<h:inputText value="#{bean.property}" id="test" size="50" />
<rich:suggestionbox width="200" height="200" for="test"
suggestionAction="#{bean.autocomplete}" var="cap" ajaxSingle="true">
<f:param name="index" value="suggestion param"/>
<h:column>
<h:outputText value="#{cap.text}"></h:outputText>
</h:column>
<a4j:support event="onselect" action="#{bean.action}">
<f:setPropertyActionListener value="#{cap.label}" target="#{bean.property1}" />
</a4j:support>
</rich:suggestionbox>
Throws a message.
And this
<rich:messages/>
<h:inputText required="true"/>
<a4j:region>
<h:inputText value="#{bean.property}" id="test" size="50" />
<rich:suggestionbox width="200" height="200" for="test"
suggestionAction="#{bean.autocomplete}" var="cap" ajaxSingle="true">
<f:param name="index" value="suggestion param"/>
<h:column>
<h:outputText value="#{cap.text}"></h:outputText>
</h:column>
<h:column>
<h:outputText value="#{cap.text}"></h:outputText>
</h:column>
<h:column>
<h:outputText value="#{cap.text}"></h:outputText>
</h:column>
<a4j:support event="onselect" action="#{bean.action}">
<f:setPropertyActionListener value="#{cap.label}" target="#{bean.property1}" />
</a4j:support>
</rich:suggestionbox>
</a4j:region>
works fine.
Should be the same.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 1 month