[JBoss JIRA] Created: (RF-3559) rich:combobox using different itemValue and itemLabel select item
by Rafael Jimenez (JIRA)
rich:combobox using different itemValue and itemLabel select item
-----------------------------------------------------------------
Key: RF-3559
URL: http://jira.jboss.com/jira/browse/RF-3559
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.1
Environment: IE7 - Richfaces 3.2.1 CR7 - eclipse europa
Reporter: Rafael Jimenez
Priority: Optional
Fix For: 3.2.1
In this code:
-------------------------------------------------------------------------------------------------------
<f:view>
<ui:composition>
<ui:define>
<h:form>
<rich:panel style="width:500px; height:300px; overflow:scroll" >
<h:outputText value="ComboBox Scroll Bug" />
<rich:comboBox>
<f:selectItem itemValue="001" itemLabel="option1" />
<f:selectItem itemValue="002" itemLabel="option2" />
<f:selectItem itemValue="003" itemLabel="option3" />
</rich:comboBox>
</rich:panel>
</h:form>
</ui:define>
</ui:composition>
</f:view>
---------------------------------------------------------------------------------------------------------------
It must show itemlabels options and get itemvalue but It shows itemvalues and get itemvalue from selectitem.
--
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
14 years, 7 months
[JBoss JIRA] Created: (RF-6039) Rerender is SubView Blind
by Francisco Jose Peredo Noguez (JIRA)
Rerender is SubView Blind
-------------------------
Key: RF-6039
URL: https://jira.jboss.org/jira/browse/RF-6039
Project: RichFaces
Issue Type: Bug
Reporter: Francisco Jose Peredo Noguez
rerender is subView blind, lets say we have 2 subview
<f:subview id="idSubview1">
<a:aRichControl="idOfRichControl">
<a:commandButton id="commandButton" reRender = "idOfRichControl">
</f:subview id="someSubview1">
<f:subview id="idSubview2">
<a:aRichControlid="idOfRichControl">
<a:commandButton id="commandButton" reRender = "idOfRichControl">
</f:subview id="someSubview1">
Since we are using subview, it does not matter that the id of the aRichControl inside each of the subview is the same, because the id of the subview is prefixed on runtime, so the ids of the two aRichControl end up being idSubview1:idOfRichControl and idSubview2:idOfRichControl.
But the problem is that reRender is subView blind, so, idSubview2.commandButton will reRender the first idSubview1:idOfRichControl instead of idSubview2:idOfRichControl.
--
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, 7 months