ComponentUtils findParentForm deprecated

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
pbraas
Posts: 2
Joined: 21 Aug 2018, 12:18

22 Jun 2020, 09:27

I made an update from PF 6.2 to version 7.0 and now I have this issue:

Code: Select all

command = menuitem.isAjax() ? buildAjaxRequest(context, menu, (AjaxSource) menuitem, form, params) : buildNonAjaxRequest(context, menu, form, menuClientId, params, true);
with the error message (in Netbeans 11.3): incompatible types: UIComponent cannot be converted to UIForm

It's coming from the variable form and this is coming from:

Code: Select all

UIComponent form = ComponentUtils.findParentForm(context, menu);
with findParentForm is deprecated.

How can I fix it?

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

23 Jun 2020, 14:29

Which California version are you using? Please use latest version.

Best Regards,

Post Reply

Return to “California - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests