Empty id attribute is not allowed p:repeat

UI Components for JSF
Post Reply
jpessoa
Posts: 18
Joined: 11 Jul 2022, 13:12

11 Aug 2022, 13:11

Hi, I have this code:
<p:repeat value="#{RppGridView.rppsFilter}" var="rpps">
<h:form id="#{rpps.tag}">
...

At the moment i would like to have a dynamic Id so i could update from the bean only the values that i wanted, in this case update from the "tag" of the object. I'm trying to use p:repeat but im getting "Empty id attribute is not allowed", any ideas on how to work around it?

Thanks in advance,
Jorge Pessoa

Melloware
Posts: 3716
Joined: 22 Apr 2013, 15:48

16 Aug 2022, 13:37

Your issue and why is documented here: https://stackoverflow.com/questions/914 ... e-uirepeat
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests