You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by mfs <fa...@gmail.com> on 2008/01/08 04:31:50 UTC
UploadProgessBar in a WizardStep?
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: UploadProgessBar in a WizardStep?
Posted by Igor Vaynberg <ig...@gmail.com>.
it will require refactoring and api breaks. please add an issue and we
will address at 1.4 timeframe
-igor
On Jan 7, 2008 7:31 PM, mfs <fa...@gmail.com> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: UploadProgessBar in a WizardStep?
Posted by Fernando Wermus <fe...@gmail.com>.
Thanks! It was really easy.
On Jan 9, 2008 5:09 PM, mfs <fa...@gmail.com> wrote:
>
> 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 <fa...@gmail.com> 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: users-unsubscribe@wicket.apache.org
> >> For additional commands, e-mail: users-help@wicket.apache.org
> >>
> >>
> >
> >
> > --
> > 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Fernando Wermus.
Re: UploadProgessBar in a WizardStep?
Posted by mfs <fa...@gmail.com>.
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 <fa...@gmail.com> 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: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> --
> 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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: UploadProgessBar in a WizardStep?
Posted by Fernando Wermus <fe...@gmail.com>.
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 <fa...@gmail.com> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
--
Fernando Wermus.