Johan Compagner wrote:
that is the one thing we still are doing first before anything else on
Form:
public final void onFormSubmitted()
{
if (handleMultiPart())
{
// First, see if the processing was triggered by a Wicket button
final Button submittingButton = findSubmittingButton();
// When processing was triggered by a Wicket button and that
button
// indicates it wants to be called immediately (without
processing),
// call Button.onSubmit() right away.
if (submittingButton != null &&
!submittingButton.getDefaultFormProcessing())
{
submittingButton.onSubmit();
}
else
{
// process the form for this request
if (process())
{
// let clients handle further processing
delegateSubmit(submittingButton);
}
}
}
}
So i think you have to have some hooks in the handleMultiPart() method...
After some digging i found the following:
http://issues.apache.org/bugzilla/show_bug.cgi?id=25830
What about a WicketDiskFileUpload.java that has these hooks and stores
the current state in the httpsession ?
regards,
Michael
--
Michael Glauche, Dipl. Inform. Connection GmbH
[EMAIL PROTECTED] http://www.connection-net.de/
pgp key: http://www.connection-net.de/~mglauche/mglauche.asc
Reclaim Your Inbox!
http://www.mozilla.org/products/thunderbird/
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user