You must use the events which is provided by p:commandButton
component. For more details
primefaces-p
Tag selectOneMenu
p:commandButton
having only one event i.e is onchange
. Replace with below line.
<p:ajax event = "onchange" listener ="#{ManageDeliveryCharges.CityChanged}"/>
For example p:inputText
supports events like onblur, onchange, onclick, ondblclick, onfocus, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, onmouseup, onselect
use these events in p:ajax
component of event
attribute.
The event names start with on then click on ctrl + space displays supported events.