Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

rich:inplaceSelect not working in RF4 with JSF2  RSS feed

 
kishi kiran
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

i have a problem with the jsf 2.0 version with inplace select,
in jsf 1.2 it was working, but in jsf 2.0 it is not

problem: when select one of the item in inplace select dropdown,
I am trying to update it with the selected value using the a4j:ajax tag, using but the control is not calling the update() method

<rich:column id = "locationClmn">
<f:facet name = "header">
<h:outputText id = "LocationHeder" styleClass = "headerText"
value = "#{messagesRefdata['notifications.locations']}"/>
</f:facet>
<c:set var = "locations" value = "#{notificationConfigurationBean.listOfLocations(ntc.notification)}"/>
<rich:inplaceSelect value = "#{ntc.location}" showControls = "true"
onviewactivation = "old=event.memo.oldValue" rendered="#{locations}">
<f:selectItems value = "#{notificationConfigurationBean.listOfLocations(ntc.notification)}"/>
<a4j:ajax action = "#{notificationConfigurationBean.update(ntc)}"
ajaxSingle = "true" event = "onviewactivated"
onsubmit = "if (event.memo.value == old) {return false;}"
render = "notificationsModelPanel">
<f:param name = "partyId" value = "#{param['partyId']}"/>
</a4j:ajax>
</rich:inplaceSelect>
</rich:column>

I have even tried f:ajax, execute= "@this", immediate = true, but no luck nothing have worked for me.
can some one help me on this how it could work ???
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSF and JSTL don't get along very well. I'd start by eliminating the "c:set" tag.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!