Yeah, it is kind of weird.
The first form is to filter a list by a few different fields. The second form
displays this list and has a few text widgets in it for quick editing. They
could maybe be combined into one form, but I'd have to look at it. Even if I
had one form could I make stripes:link work in this case (without hacky
javascript)
For now I ended up settling with
<iframe id="excelFrame" style="display:none"></iframe>
<a href="javascript:exportExcel(true);">
Entire List
</a>
|
<a href="javascript:exportExcel(true);">
Just this page
</a>
function exportExcel(entireList) {
$('excelFrame').src = $('filterForm').action +
'?${Events.COVERAGE_EXPORT_EXCEL}' +
'&entireList=' + entireList +
'&' + $('filterForm').serialize();
}
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Will Hartung
Sent: Tuesday, April 29, 2008 9:42 AM
To: Stripes Users List
Subject: Re: [Stripes-users] Easy way to include an entire form with
stripes:link?
I dunno, the serialize is the first thing that I thought of.
Actually, it's the second thing.
The first thing I thought of was why are these on separate forms in
the first place?
Regards,
Will Hartung
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users