Menu

Editing Cell Data

alaily
2005-03-13
2012-10-09
  • alaily

    alaily - 2005-03-13

    Hello,

    I would like to know if anyone had successfully adapted displaytag to enable cell data editing?

    I find the displaytag library extremely powerful and attractive but would like to use it for in-table editing (text-fields & dropdown menues within the table).

    A search on these forums revealed: http://demo.raibledesigns.com/appfuse/demos/users-edit.jsp as a possible solution... but has anyone found an alternative way to solve this problem?

    Your input is very much appreciated.

    Thanks.

     
    • Tolga Yalcinkaya

      Look at the WSABI project for an example of editable table usage. Live demo of the display tag is available at http://demo.wsabi.org

      You can download the source from http://sourceforge.net/projects/wsabi4axis

      Tolga.

       
      • alaily

        alaily - 2005-03-13

        Thanks for the quick response.

        Unfortunately, the demo does not seem to contain any editable tables... am I missing something? I can see that it is using the displaytag library for the audit logs but nowhere can you edit the data.

        Anyhow, I've downloaded the source and am going to sift through it to find any hint of editable table usage.

        Any direction you can give on where to start in the source is much appreciated.

        Thanks again for your help, and keep up the good work.

         
    • Tolga Yalcinkaya

      The demo does include editable tables. Try looking at Handler details, and add, edit, delete parameters.

      The current approach (inspired by Matt Raibles example) does not require changes to the display taglib. Look at the jsp files under WEB-INF/tiles/configure/handlers for usage examples.

       
      • alaily

        alaily - 2005-03-13

        My goodness... you're absolutely right. I must have missed that when I was looking at the demo.

        Thanks for the heads up.

        I will look at the source and further investigate the possibilities.

         
    • Zulu

      Zulu - 2005-05-31

      Hello can you please guide me in the same scenario. I also want to add checkboxes in my displaytag but am unable to find guidance from this demo, so can you please help me in this regard.

      Thanks,

       
    • Matt Raible

      Matt Raible - 2005-06-02

      This seems pretty self-explanatory to me: ;-)

      <display:column width="5">
      <input type="checkbox" name="id" value="<c:out value="${test.id}"/>" />
      </display:column>

      This is from the "View JSP Source" link on the provided demo link.

       

Log in to post a comment.

MongoDB Logo MongoDB