Hi Matt,

Now i understand a little bit.

1.the data got displayed by going through a controller class (AdminMgmt).
2. The user click checkbox to select records in the displyed page (using displaytag)
3. when user click 'export excel' at bottom of the table, it comes back to the same controller class (AdminMgmt).


So you mean I need to remove checked records at this monment?
Then I need to understand the URL parameters a little bit, so I can know now the action is to remove some records. Correct?


Here is the export URL,

http://localhost:8100/mp/handler/AdminMgmt?d-1620-e=2&loginID=&access_type=400&type=4&type=5&handledBy=&status=1&rid=&custcode=&custcode=&handledDate=&handledDate=


Does it always start with "d-1620-e=2...". Where can i find some info/doc about this?


Thanks a lot.
Wang









How do you get to your page that displays the data? Doesn"t this go through a controller? If it doesn"t - could you re-work things so it does? Then you could simply remove certain items from your list and display the checked rows.

Matt

On Aug 11, 2004, at 9:16 PM, andrew wang wrote:

>
> Yes, I do have my controller, inside my controller I know which rows
> selected. Problem is the export function does not go through my
> controller class. Is it possible to invoke the export funciton from my
> controller by passing a ArrayList?
>
> Thanks
> Wang
>
>> If you"re hitting an action or some sort of controller - you could
>> check to see what columns are checked and then only put those into
>> the list your normally render with the display tag.
>
> Matt
>
> On Aug 9, 2004, at 10:08 PM, andrew wang wrote:
>
> > Thanks for your reply. I am sorry for the wrong information given.
> > What I want is the checked "rows", not "column". I know "media"
> > attribute can be used to control column, But what I want is to export
> > the checked rows only.
> >
> > Regards
> > Wang
> >
> >
> >> You can use the "media" attribute to control which columns are
> >> exported.
> >
> >> Matt
> >
> > On Aug 6, 2004, at 8:28 PM, andrew wang wrote:
> >
> > > Hello,
> > >
> > > I have implemented displaytag in my program with checkbox. Every
> > > checked column will be submited as a value pair in the URL and get
> > > processed. Now I am challenged with a new issue. How to export only
> > > the  checked column?
> > >
> > > I am thinking to use export function without showing any displaytag
> > > page, will it help, how does it work? Or will export filter can do?
> > >
> > > Thanks in advance
> > > Wang
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by OSTG. Have you noticed the
> changes
> > on
> > > Linux.com, ITManagersJournal and NewsForge in the past few weeks?
> > Now,
> > > one more big change to announce. We are now OSTG- Open Source
> > > Technology
> > > Group. Come see the changes on the new OSTG site.
> http://www.ostg.com
> > > _______________________________________________
> > > displaytag-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank
> Media
> > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> > _______________________________________________
> > displaytag-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/displaytag-user
>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
> 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
> Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
> http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
> _______________________________________________
> displaytag-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user




------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to