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).
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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,
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
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.
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.
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.
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,
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.