Results 1 to 1 of 1
  1. #1
    zeyerci is offline Member
    Join Date
    May 2010
    Rep Power

    Default Trouble with jsf and <rich:extendedDataTable>

    Hi All,

    First of all I am a beginner at JSF, I still don't get some JSF concepts properly like FacesContext. I have searched the solution for the below problem, but I couldn't find anything useful for me.

    I have a <rich:extendedDataTable> with some data from a database table. And have a managedBean providing the data from a pojo as a java.util.List<myPOJO> object to <rich:extendedDataTable>.

    I can get the selected rowkey on this managedBean. But the database has some other users who can delete records. At this point if one of them deletes any record at the database table, <rich:extendedDataTable> will not have any clue about the deleted row and it will still refer the old number of rows. In this case the rowkey will refer to the (selected row + 1)th row after deletion.

    I would like to refer to old data and get primary key from it, then to look if the data with this primary id still exists.

    I cannot use primary key on the table for security and design purposes. I don't know if there is any way to keep primary key data on the page securely, or to get it correctly at the managed bean, even after data deletion by other users.

    I cannot use <rich:dataTable> etc, since I want sorting enabled at data table.

    I think there must be a solution at managedBean side, hence I choose JSF thread of the forum.

    I really appreciate your help, I got stucked with this problem :confused:
    Last edited by zeyerci; 05-15-2010 at 12:15 PM.

Similar Threads

  1. problem with <rich:comboBox>
    By raj18 in forum JavaServer Faces (JSF)
    Replies: 1
    Last Post: 11-15-2009, 05:26 AM
  2. Help me please in studing rich:tree
    By ruby in forum JavaServer Faces (JSF)
    Replies: 0
    Last Post: 07-28-2009, 08:13 PM
  3. Introduction To RCP(Rich Client Platform)
    By JavaForums in forum Eclipse
    Replies: 0
    Last Post: 05-24-2007, 03:33 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts