Does Seam DataModelSelection always returns the first row from the DataModel?

If your @DataModelSelection is always injecting the first row of your @DataModel then the reason is that you must be using #{seamComponent.listAttribute} in the value attribute of your <h:dataTable> element.

Solution is to just use #{listAttribute}. That’s pretty simple but the problem ate my brains out when I was struggling with it.

RK

Find Singapore Apartment  and Room Rentals here

Looking for a date or love? Click here to find one for free!!

Stock Market Views, Experiences on http://theindiastockmarket.blogspot.com/

This entry was posted in Technology and tagged , , . Bookmark the permalink.

5 Responses to Does Seam DataModelSelection always returns the first row from the DataModel?

  1. Ryan says:

    Thanks! I was having the exact same problem, and it was eating my brains too!

  2. Pradeep says:

    Thanks a lot!!! This was eating lot of my time…

  3. J.H.P.Yandeara says:

    VERY TKS!!!!!!!!! this take a loooot time to be resolved. if I have a R$1000 I sure give to you. xD

  4. CSeelig says:

    Agree! Google is my friend; YourMitra is my friend 🙂

  5. Rose Hlogwane says:

    Wow thanks, You save my life , it worked for me, thanks again

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