autoComplete in ui:repeat

UI Components for JSF
Post Reply
vlkn
Posts: 26
Joined: 12 May 2010, 11:01

02 Aug 2010, 16:14

Hi!

I have a problem with autoComplete (PF 1.0.2) dynamically added to layout through facelets nested repeat tag. If I place control anywhere else it works fine, but if it is dynamically added through repeat it is never populated with values. I receive error message WARNING: Component "receiveNote:j_id51:0:j_id72:0:catalogue" not found to be updated partially.

I tried adding it in single repeat, but it also gave me the same message (the component id was different).

Is it possible to work with dynamically added autoComplete components?

Thanks in advance!

vlkn
Posts: 26
Joined: 12 May 2010, 11:01

06 Aug 2010, 13:02

As an update for my post: autoComplete works just fine if it is dynamically added in dataTable, but still it is not working if added through repeat.

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

06 Aug 2010, 14:00

Can you please create an issue ticket so we can review this later?

vlkn
Posts: 26
Joined: 12 May 2010, 11:01

06 Aug 2010, 14:56

Created a ticket with issue number 1113: http://code.google.com/p/primefaces/iss ... il?id=1113

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

06 Aug 2010, 15:36

Thank you!

mouse
Posts: 24
Joined: 23 Jun 2010, 23:38

14 Sep 2011, 18:59

For anyone that finds this by searching ...

I was getting almost the same thing with JSF 1.2/Primefaces 1.1. Except I was using p:commandButton.

I believe this stackoverflow post gives some insight as to why the problem occurs.

http://stackoverflow.com/questions/6005 ... -datatable

My setup had (roughly)

Code: Select all

<h:panelGroup id="ownerList">
<ui:repeat ...>
  <p:commandButton update="ownerList,ownerSelect" .../>
</ui:repeat>
</h:panelGroup>

<p:autoComplete id="ownerSelect" .../>
I got rid of the message by changing the update attribute on p:commandButton from:

Code: Select all

update="ownerList,ownerSelect"
to

Code: Select all

update="mainform:ownerList,mainform:ownerSelect"
Latest: Tomcat 7.0.68, JSF Mojarra 2.2.8-11, Primefaces: 6.0.0
Previous: Tomcat 7.0.22, JSF Mojarra 2.1.3, Primefaces: 2.2.1
Previous: Tomcat 6.0.32, JSF Mojarra 1.2_12-b01-FCS, Facelets 1.1.14, Primefaces 1.1
Browser: latest FF, IE, Chrome and Safari

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 18 guests