f:selectItem not disabled on dialog

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
msghanem88
Posts: 4
Joined: 08 Sep 2019, 17:56

17 Jun 2020, 13:40

i use the following code on a dialog :

<p:selectOneRadio id="paymentMethod" value="#{inquiryService.paymentChannel}" label="#{msg.paymentMethod_text}" >
<f:selectItem itemLabel="#{msg.NBO_text}" itemValue="OmannetNBO" />
<f:selectItem itemLabel="#{msg.creditCared_text}" itemValue="Cybersource" itemDisabled="#{!inquiryService.enableCyberSource}" />
</p:selectOneRadio>


i try to disable the second option depend on a flag with true or false
but f:selectItem not disabled


kindly help
it's urgent issue on production

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

23 Jun 2020, 14:38

Sorry for the delayed response. I tested this issue. It works fine for me. Is the problem related to Theme or Layout?

Best Regards,

Post Reply

Return to “Barcelona - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests