1

I'm new in project migration from RichFaces to PrimeFaces and for now dont have strong understanding of it. There's code sample to migrate from RichFaces:

<c:set var="formName" value="#{jsfUtils.getComponentFormName(rich:findComponent(id.concat('modalCheckBoxPanel')))}" />

So here I dont know how to replace "rich:findComponent" function to receive UIComponent instance on PrimeFaces manner. Is there any analogues of it or it has another way to do so in PrimeFaces? Thanks for answers in advance.

Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102
Valeriy Fedosov
  • 65
  • 3
  • 12
  • I don't know what `rich:findComponent` does, is it the same as http://showcase.omnifaces.org/components/resolveComponent ? – Jasper de Vries Jun 26 '18 at 15:08
  • https://docs.jboss.org/richfaces/latest_4_5_X/Component_Reference/en-US/html/chap-Component_Reference-Functions.html#sect-Component_Reference-Functions-findComponent – Valeriy Fedosov Jun 26 '18 at 15:11
  • What does `id.concat('modalCheckBoxPanel'))` return in the context of a full real example – Kukeltje Jun 26 '18 at 16:46
  • 1
    You can use PF for similar functionality in Primefaces, but instead of id it consume widgetVar. Following link [Alternative of richfaces components in primefaces](https://stackoverflow.com/questions/46951953/alternative-of-richfaces-components-in-primefaces/46989556#46989556) can be usefull during migration. – Vasil Lukach Jun 27 '18 at 13:26

0 Answers0