[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, 10 months
[JBoss JIRA] Created: (RF-6007) Rich modal panel and data table
by Prateek Agarwal (JIRA)
Rich modal panel and data table
-------------------------------
Key: RF-6007
URL: https://jira.jboss.org/jira/browse/RF-6007
Project: RichFaces
Issue Type: Task
Reporter: Prateek Agarwal
Priority: Critical
Hi,
there is a some problem i m facing with rich:modal panel and rich:datatable. In my modal panel i have a data table which has a col for h:selectBooleanCheckbox. the data for this checkbox is TRUE in the page which calls the panel but while coming to the panel it changes to FALSE. Why is this happening.
<h:selectBooleanCheckbox id="selected" value="#{result.productCatSelected}" /> value becomes False though it was True. The bean is in the session.
<rich:modalPanel id="panelId" moveable="true" width="620" height="480"
onshow = "document.getElementById('formId:hiddenButton').click();" >
<body>
<h:form id="formId" >
<table border="0" cellspacing="0" cellpadding="0" class="wp100 bgc09 brd05 fs11">
<tr>
<td><div class=" h55" style="position:relative;z-index:1;">
<rich:dataTable
id="dataTableId"
var="result"
style="border:none"
value="#{Bean.listProduct}"
columnClasses="position:relative z-index:3 border_rich,b border_rich,border_rich"
styleClass="wp95 border_rich"
rowClasses="border_rich">
<h:column id="productSelected" rendered="#{result.productCatSelected == 'true'}">
<h:selectBooleanCheckbox id="selected" value="#{result.productCatSelected}" />
</h:column>
<h:column id="prodName" rendered="#{result.productCatSelected == 'true'}">
<h:outputText styleClass="b" value="#{result.name}" />
</h:column>
</rich:dataTable>
</div></td>
</tr>
</table>
<a4j:commandButton id="hiddenButton"
action="#{Manager.onShow}"
style="display:none; visibility: hidden;"
reRender="dataTableId" >
</a4j:commandButton>
</h:form></body>
</rich:modalPanel>
--
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, 10 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, 10 months