Wizard in Prop_Window or Prop_Dialog

Hello

Is there a way to show the wizard view in Prop_Window or Prop_Dialog ? I was trying it using LoadPicker(wizardView, firstWizardPage) but ran into series of errors. If it is not supported yet, it would be a nice feature!

Does anybody know the solution?

Thanks, Thomaz

It is a smart solution.

It is a smart solution. Thanks.

Thomaz, will you want to be a contributor of the project? If yes, would you send your sourceforge username to support@phpopenbiz.org? Once we receive your sf username, we will add you as a member of developers. Then you can commit your smart solutions.

- support

OK solved it, but the

OK solved it, but the solution is little tricky:

  1. not using wizard features
  2. changed the EasyForm::SaveRecord() to EasyForm::SaveRecord($closePopup=1)
  3. added if statement to body of that method 
    if ($this->m_ParentFormName)
            {
                if($closePopup==1)
                    $this->Close();
           
                $this->RenderParent();
            }
  4. the forms in my "wizard" are chained using Redirect clause, where only the form=nextForm... is specified and SaveRecord(0) is called
  5. renamed the Save button to Next >>
  6. it works well!  when user saves the first form (by hitting Next >>) in Prop_Window or Prop_Dialog, it refreshes the parent view (background) and redirects the form to nextForm in the same popup window :)

Hope  it will help somebody!

Thomaz