• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

valueChangeListener does not work if i give rendered property.

 
shashi saini
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi All,

I have encoutered an issue. The valueChangeListener dose not fire it i give "rendered" property with in "selectOneChoice"
I tried giving the render property for "cellFormat" that is enclosing the selectOneChoice. But still the valueChangeListener dose not get fired.

Code:
<afh:cellFormat width="40%" binding="#{FAQAdd.cellFormat12}"
id="cellFormat12" halign="left" rendered="#{FAQAdd.enableDropDown}">
<af:selectOneChoice label="FAQ For" unselectedLabel="Select"
binding="#{FAQAdd.selectOneChoice1}"
id="selectOneChoice1" rendered="#{FAQAdd.enableDropDown}" valueChangeListener="#{FAQAdd.refreshFaq}"
autoSubmit="true" immediate="true"
value="#{FaqDept}" >
<af:selectItem label="Intranet" value="0"
binding="#{FAQAdd.selectItem1}"
id="selectItem1"/>
<af:selectItem label="Corporate Communication" value="10"
binding="#{FAQAdd.selectItem2}"
id="selectItem2"/>
</af:selectOneChoice>
</afh:cellFormat>



Regards
Saini
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic