5 Replies Latest reply on Aug 20, 2007 2:27 AM by mrohad

    editable table

    mrohad

      anyone knows a jsf editable datatable component?
      thanks!

        • 1. Re: editable table
          mrohad

          no one knows?

          i would like to edit a table right on the page and click save.....

          • 2. Re: editable table

            Whats stopping you from using h:dataTable with input components in your columns?

            • 3. Re: editable table
              kukeltje

              smithbstl... from what I tried months ago, that does not work. If you have prove otherwise, please let me know

              • 4. Re: editable table

                I just put together a simple example, it works for me.

                What specifically what not working for either of you?

                If you just bind a @DataModel to a datatable with input components in your columns and place a submit button on the form with some trivial action (you can call em.flush() from the action if you like), the DataModel will get updated with your changes. Note, I am using a Seam Managed Persistence context, but an Extended PC would work as well.

                • 5. Re: editable table
                  mrohad

                  smithbstl - can u please send code example?