• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

rich:inplaceSelect not working in RF4 with JSF2

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ???
 
Saloon Keeper
Posts: 27808
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JSF and JSTL don't get along very well. I'd start by eliminating the "c:set" tag.
 
Are you okay? You look a little big. Maybe this tiny ad will help:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic