properly load the wizard class

This commit is contained in:
Doug Bell 2010-08-24 17:24:40 -05:00
parent 29d1908e15
commit 9093642793

View file

@ -1,5 +1,7 @@
package WebGUI::Content::Wizard;
use strict;
=head1 LEGAL
-------------------------------------------------------------------
@ -31,7 +33,7 @@ sub handler {
if ( $session->form->get('op') eq 'wizard' && $session->form->get('wizard_class') ) {
my $class = $session->form->get('wizard_class');
WebGUI::Pluggable->load($class);
WebGUI::Pluggable::load($class);
if ( $class->isa( 'WebGUI::Wizard' ) ) {
my $wizard = $class->new( $session );
return $wizard->dispatch;