|
I don't know why I didn't think to look at that setting in my faces-config.xml file because I use it everywhere else, but what you suggested is what worked. Thanks Matt! Here is the JSF solution for the archives: <navigation-rule> <from-view-id>*</from-view-id> <navigation-case> <from-outcome>mydocuments</from-outcome> <to-view-id>/mydocuments.jsp</to-view-id> <redirect /> </navigation-case> </navigation-rule> Note the <redirect /> tag. Aaron Bartell -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Haas, Matt Sent: Tuesday, May 03, 2005 12:02 PM To: Web Enabling the AS400 / iSeries Subject: RE: [WEB400] Refresh page after file upload After you do the upload, just send a client-side redirect to the page that has the document list in it. Matt -----Original Message----- From: web400-bounces+matt.haas=thomson.com@xxxxxxxxxxxx [mailto:web400-bounces+matt.haas=thomson.com@xxxxxxxxxxxx] On Behalf Of Aaron Bartell Sent: Tuesday, May 03, 2005 12:28 PM To: 'Web Enabling the AS400 / iSeries' Subject: [WEB400] Refresh page after file upload I have a web page where a user can upload a document and then I convert it to PDF on the fly. During the time it is being converted I redisplay the list of documents they currently have in their repository and any that are converting have a little animated gif to denote that the user should refresh the page to see if it is done being converted. The problem is that if they refresh they get this message "The page cannot be refreshed without resending the information. Click Retry to send the information again or click Cancel to return to the page that you were trying to view." I know what this means, but I don't know how to get around it so if the user refreshes their page it won't try to upload their file again. If they go to the menu and re-select this page it works fine (obviously, because another round trip to the server was made without a document upload for the POST). Thoughts? Note that this is running JSF in the background. Aaron Bartell -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400. -- This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/web400 or email: WEB400-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.