Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4620

Ability to choose the child ID for repeating views and the row ID for DataTable

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • wicket
    • None

    Description

      We are extensively using stateless behaviour in our application.

      Because our pages are stateless, we can't rely on the IDs for rows being the same between two visits to the same page - something might have happened to shift the rows up or down such as another user inserting or removing rows.

      Because of this, I would like to use the ID of our actual model objects as the child ID, but there are two barriers to achieving this:

      1. Even though newChildId() in RepeatingView is public, it isn't passed the model object so I can't derive the ID from the model object.

      2. Even though I could extend DataGridView, I can't customise my DataTable subclass to return the subclass because it's being constructed in the constructor.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              trejkaz Trejkaz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: