There is javascript that runs to make the whole row clickable. If you
remove it from your JSP page, it should disable the behaviour for the row.
Look for the javascript call at the bottom of your page called
highlightTableRows().
You are going to need to pass some sort of key back to your form handler to
identify the rows that have been checked. So you need to do something like:
<display:table id="foo" ....>
<display:column sortable="true" titleKey="engagementform.archived">
<input type="checkbox" name="archived" value="${foo.id}"/>
</display:column >
</display:table id="foo" ....>
In your form you will then iterate over the values of parameter archived,
and archive each foo with a an id that matches the value.
Mike.
On 7/19/07, Msarda <[EMAIL PROTECTED]> wrote:
Hi all,
I want to implement archive functionality.
On the jsp page where all engagement forms are getting displayed i want to
create checkbox under the column "archive".
That jsp page is using <display:table> and <display:column> tags for
displaying all data from engagementform table.
I tried something like..
<display:column sortable="true" titleKey="engagementform.archived">
<input type="checkbox" name="archived" />
</display:column >
It is creating check box for each row under that archive column,but "href"
property of <display:column> is used for id like..
<display:column property="id" sortable="true"
href="engagementformform.html" media="html"
paramId="id" paramProperty="id" titleKey="engagementform.id"/>
Becuase of this when i am clicking on checkbox it goes to other jsp.
I want to keep this "href" facilty also,but only after clicking that id
field.Is it possible usinh<display:table> tag.
Also i am not getting how will i collect the requests(engagementform) for
which the archive checkbox is checked so that i can archive those all
records. :(
Thanks in advance.
--
View this message in context:
http://www.nabble.com/Implementing-archiving-functionality-tf4108896s2369.html#a11684426
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]