Well since the WizardStep class already contains a form in it, thats the
reason he suggested not to use one explicitly, also because wicket currently
doesnt support nested forms i believe.....

So basically you'll add a FileUploadField to the "WizardStep" Panel directly
and a "Button" with onSubmit implementation (this gets invokes on
submission)

In the html you have "<input wicket:id="fileInput" type="file"/>" against
the FileUploadField and <input type="submit" wicket:id="uploadFileButton"
value="Upload File"> against the button...

Let me know if you need further help..



Fernando Wermus-2 wrote:
> 
> mfs,
>         May you help me to understand how he got the upload working in the
> wizard step? if I remove the form according Igor said, the onsubmit
> method,
> which performs the upload, wouldn't work. I just want to have an example
> of
> a wizardstep simple upload working.
> 
> ps: I am refering to
> http://www.nabble.com/File-Upload-inside-a-Wizard--td10272971.html#a10272971.
> 
> 
> On Jan 8, 2008 1:31 AM, mfs <[EMAIL PROTECTED]> wrote:
> 
>>
>> Guys,
>>
>> Any solution to using the UploadProgressBar within a WizardStep..? the
>> ProgressBar constructor requires a Form and getForm() for the wizardstep
>> returns null...
>>
>> Please refer this thread for the context
>>
>>
>> http://www.nabble.com/File-Upload-inside-a-Wizard--td10272971.html#a10272971
>>
>> Regards.
>> --
>> View this message in context:
>> http://www.nabble.com/UploadProgessBar-in-a-WizardStep--tp14681748p14681748.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> Fernando Wermus.
> 
> 

-- 
View this message in context: 
http://www.nabble.com/UploadProgessBar-in-a-WizardStep--tp14681748p14718964.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to