Menu

editable displaytag

csbened
2006-05-01
2012-10-09
  • csbened

    csbened - 2006-05-01

    I would like to join as a developer to this group, and add my contribution.
    I created a some of components, to be able to use this component as an editor.
    I worked with 1.1 downloaded around 3 March so, it might require some code merging ...

    So I have added :
    Column can be a
    - textbox, select, checkbox, button, popup, calendar
    - parameters are type, target (the list for select),
    paramId (for popup, select, checkbox)
    Table will have
    - selectedItem - the name of the writeback object
    - selectedIndex - the uniqueId of the row
    - editall - mode of editing - Essentially I work with
    3 modes of editing :
    --- one row - using edit and delete links
    --- bycheck - using checkboxes to select which row to
    edit
    --- all - editing all rows

    It is compatible with Struts, I have added a Struts
    example to the code.
    Esentially I have created a new the library (for
    backward compatibility) EditTabletag and EditColumnTag
    and a special EditDecorator

    I had to modify some existing 1.1 components in order
    to be expandable:
    - mainly I changed private attributes to protected (I
    don't know why you use private at all)
    - I had to modify Cell.getValue to add a new decorator
    - in some places Tabletag and ColumnTag to make it
    more overwritable (esentially, by adding things like:
    if (<what>==null) {
    original code to initialize <what>
    }
    - and
    if (decorator instanceOf EditDecorator) {
    editdecorator related stuff
    }

    I would be gratefull if someone would help
    me how to commit the code ... I am not a CVS expert
    (using SVN )

    I have wiki articles if required.

    Please help me in commiting the code and testing it in the original form.
    I am using eclipse/tomcat, so I reorganized the code and tested that way ...

    Regards,
    Csaba

     
    • suneetha

      suneetha - 2006-06-07

      Hi,
      We are trying to add checkboxes to the displaytag table. The selection of checkboxes has to be persisted across the pages. Does your code implement this? If so, how can I get access to it. I appreciate all your help.

       
  • Felipe Gutierrez

    Hi Csaba, i can help you to test if you want
    Thx

     

Log in to post a comment.