|
From: Chris W. <ch...@cw...> - 2002-02-05 12:45:57
|
On Tue, 2002-02-05 at 07:26, Die...@Be... wrote:
> Right now we're using base_page-0.77
> After uploading a file, the file will'be shown by default.
> (Common Handler method: sub MY_EDIT_DISPLAY_TASK { return 'show' })
> But we want to show a refreshed file-list.
> So we inherited page and overwrote the method MY_EDIT_DISPLAY_TASK
> -> MY_EDIT_DISPLAY_TASK { return 'show_index' })
>
> sub show_index {
> ...
> }
>
> This is working ... but the URL in th browser is not updated. We don't use
> redirect, because we want to process the error-message in $p if there is
> one.
>
> Are there any possibilities to point to the correct URL?
I don't think it is possible to modify the URL the user sees without
doing a redirect. You might want to display one page if an error occurs,
and redirect to the directory index if there is no error.
Chris
--
Chris Winters (ch...@cw...)
Building enterprise-capable snack solutions since 1988.
|