[JBoss JIRA] Closed: (RF-260) "plain" skin handling
by Mikhail Vitenkov (JIRA)
[ http://jira.jboss.com/jira/browse/RF-260?page=all ]
Mikhail Vitenkov closed RF-260.
-------------------------------
Assignee: Mikhail Vitenkov (was: Sergey Halipov)
Verified at 3.2.0.CR5
> "plain" skin handling
> ---------------------
>
> Key: RF-260
> URL: http://jira.jboss.com/jira/browse/RF-260
> Project: RichFaces
> Issue Type: Task
> Affects Versions: 3.0.1
> Reporter: Nick Belaevski
> Assigned To: Mikhail Vitenkov
> Priority: Critical
> Fix For: 3.0.2
>
>
> Update components to work with "plain" skin properly:
> 1. Skin-dependent .css parameters shouldn't be output (that should be ok now, but check visually!)
> 2. Images:
> - background images should be drawn only if one of colors is defined in a skin as not empty. If only one color is non-empty, then use color taken from the default skin
> - markup-specific images (arrows, markers, etc.) should take color parameters from default skin if currently selected skin returned empty value
> TabPanel component has been changed to comply, so can be checked as a sample
> Use SkinFactory#getDefaultSkin() to get default skin
--
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
17 years, 11 months
[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
17 years, 11 months
[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
17 years, 11 months