Cannot find component jsf / primefaces using ui:repeat

Posted: July 23, 2012 in web

Problem:

<p:droppable scope="main" datasource="available-users" >
...
</p:droppable>

had an “cannot find compoent on the datasource”. Droppable element gets generated using ui:repeat under a tabview.

Solution:

On browser, view source the element for available-users. Its (tab-view-container:tabView-admin:available-users) add a prefiex of “:”.

<p:droppable scope="main" datasource=":tab-view-container:tabView-admin:available-users" >
...
</p:droppable>
Advertisements
Comments
  1. edgar says:

    Hi, can you make a example with multiple droppable component ?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s