| 
      
      
      From: <Die...@Be...> - 2002-02-05 12:26:38
      
     | 
| Dear OI-Developers,
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 {
    my ( $class, $p ) = @_;
    my $R = OpenInteract::Request->instance;
    $p->{directory} = $p->{location} = $R->apache->param('directory');
    my ( $dir_class, $dir_method ) =
$R->lookup_action($class->_get_location( $p ));
    
    delete $p->{page};
    delete $p->{object};
    return $dir_class->$dir_method( $p );
}
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?
Thanx in advance!
Greetings
                                                                    
Dietmar Hanisch
Applied Software Technology GmbH
A BERTELSMANN COMPANY
E-Mail:	Die...@ap...
Tel.:	04421/9789-75
Fax:	04421/9789-64
 |