[JBoss JIRA] Created: (RF-5710) inplaceSelect: if values list contains items with the same labels, selected in the list item will be displayed incorrectly
by Tatyana Romanovich (JIRA)
inplaceSelect: if values list contains items with the same labels, selected in the list item will be displayed incorrectly
--------------------------------------------------------------------------------------------------------------------------
Key: RF-5710
URL: https://jira.jboss.org/jira/browse/RF-5710
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: RF-3.3.0.GA
Reporter: Tatyana Romanovich
Assignee: Nick Belaevski
Priority: Minor
Attachments: isSelection.gif
1. Create any test page with inplaceSelect component, which contains some items with the same labels
example:
<rich:inplaceSelect value="#{user.name}" defaultLabel="select please something">
<f:selectItem itemValue="0" itemLabel="11111" />
<f:selectItem itemValue="1" itemLabel="22222" />
<f:selectItem itemValue="3" itemLabel="11111" />
<f:selectItem itemValue="4" itemLabel="22222" />
...
2. Go to the application, select third element in the list (with value=3, and label="11111")
3. Verify itemValue:
Result: getValue returns 3.
4. Expand popup and verify selected label
FAILURE: first and third elements are displayed as selected
5. Expand list and select fours element (value=4, label="22222")
6. Click Submit button
7. Verify itemValue:
Result: getValue returns 4.
8. Expand popup and verify selected label
FAILURE: second element is displayed as selected
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months
[JBoss JIRA] Created: (RF-5522) Model Panel appears with a shadow on its right when right to left rendering is used.
by bimlendu shekhar (JIRA)
Model Panel appears with a shadow on its right when right to left rendering is used.
------------------------------------------------------------------------------------
Key: RF-5522
URL: https://jira.jboss.org/jira/browse/RF-5522
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: windows xp ,jboss 4.3,jsf application.
Reporter: bimlendu shekhar
Fix For: Wishes
When the dir attribute of the html tag is set to "rtl".The Model panel appears with a shadow on its right side.The jsp code
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://richfaces.org/rich" prefix="rich"%>
<html dir="rtl">
<body>
<f:view>
<h:form>
<rich:modalPanel id="panel" width="350" height="100">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="Modal Panel"></h:outputText>
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/images/print.gif" style="cursor:pointer" id="hidelink"/>
<rich:componentControl for="panel" attachTo="hidelink" operation="hide" event="onclick"/>
</h:panelGroup>
</f:facet>
<h:outputText value="This panel is called using Component Control Component"></h:outputText>
<br/>
<h:outputText value="Closure link (X) works also through Component Control"></h:outputText>
</rich:modalPanel>
<h:outputLink value="#" id="link">
Show Modal Panel
<rich:componentControl for="panel" attachTo="link" operation="show" event="onclick"/>
</h:outputLink>
</h:form>
</f:view>
</body>
</html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months
[JBoss JIRA] Created: (RF-5196) Editor does not rerender after converter error.
by Alexander Dubovsky (JIRA)
Editor does not rerender after converter error.
-----------------------------------------------
Key: RF-5196
URL: https://jira.jboss.org/jira/browse/RF-5196
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: 3.3.0.BETA2
Reporter: Alexander Dubovsky
Assignee: Nick Belaevski
Priority: Critical
# Input incorrect html in source mode (e.g. some tag is not closed and useSeamText=true):
<ol>
<li>first item</li>
<li>second item<li>
<li>and even the <i>third</i> item</li>
</ol>
# Rerender editor => converter error is triggered
# Correct html:
<ol>
<li>first item</li>
<li>second item</li>
<li>and even the <i>third</i> item</li>
</ol>
# Rerender editor
Result: error is disappeared. Seems like all is Ok, but...
# Submit page
Result: editor was disappeared from page
The same occurs in case custom converter was triggered.
If rerender editor after converter error in visual mode in JSP following exception was sent:
SEVERE: An exception occurred
javax.faces.FacesException: Exception while calling encodeEnd on component : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /pages/Rich/Rich.jsp][Class: javax.faces.component.html.HtmlForm,Id: formID][Class: javax.faces.component.html.HtmlPanelGrid,Id: richGridID][Class: javax.faces.component.html.HtmlPanelGroup,Id: j_id_jsp_1726272691_12][Class: javax.faces.component.UINamingContainer,Id: editorSubviewID][Class: javax.faces.component.html.HtmlPanelGrid,Id: EditorPanelID][Class: org.richfaces.component.html.HtmlEditor,Id: editorID]}
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:627)
at org.ajax4jsf.renderkit.RendererBase.renderChild(RendererBase.java:286)
...................
Caused by: javax.faces.convert.ConverterException: Converter error
at editor.Editor$1.getAsString(Editor.java:95)
at org.ajax4jsf.util.InputUtils.getConvertedStringValue(InputUtils.java:114)
at org.richfaces.renderkit.EditorRendererBase.getConvertedStringValue(EditorRendererBase.java:87)
at org.richfaces.renderkit.EditorRendererBase.getFormattedComponentStringValue(EditorRendererBase.java:117)
at org.richfaces.renderkit.html.EditorRenderer.doEncodeEnd(EditorRenderer.java:234)
at org.richfaces.renderkit.html.EditorRenderer.doEncodeEnd(EditorRenderer.java:305)
at org.ajax4jsf.renderkit.RendererBase.encodeEnd(RendererBase.java:135)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:624)
... 49 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 11 months