JSF: scopes & datatable binding question

X

xavier.castel

Hi everyone,

I have a JSF page in which I display an extended datatable (tomahawk
1.1.3). This datatable is bound to a property in a request-scoped bean,
whereas the "value" attribute relates to a property in a session-scoped
bean. I'm currently facing a serious issue: when I sort this component
(sortable="true" on a few columns), with preserveDataModel attribute
set to "false", my dataModel (which is in a session-scoped bean) is
never updated (checked with tons of logging statements...). Could this
be related to the 2 different scopes used?

Thank you for your help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,150
Latest member
MakersCBDReviews
Top