Excellent, Thank you this is exactly what I needed.

For the Hobo.showSpinner method, are there ways of editing it?

i.e positioning the graphics where you want it on the page, and maybe
editing appearance etc?

Thanks again

Pete

On Dec 13, 3:48 pm, Bryan Larsen <[email protected]> wrote:
> 'spinner-next-to' is an ajax attribute.   Adding any ajax attribute to
> a form converts the request from a standard HTTP request into an Ajax
> request.   And Hobo 1.3 doesn't support uploading files via Ajax (the
> jQuery alpha does, though).
>
> Try something like this:
>
> <form onsubmit="Hobo.showSpinner('saving...'); return true;" enctype="..." >
>
> Bryan
>
>
>
> On Tue, Dec 13, 2011 at 10:41 AM, Pete <[email protected]> wrote:
> > Hi,
>
> > I have a page which contains an upload of a file, - this is a standard
> > form <def tag="form" for="Model"> and after the submit action, the
> > page redirects to the newly created model.
>
> > I would like to include the spinner-next-to="" tag, into the page,
> > just so that the spinner shows whilst the user is waiting, but I am
> > getting a page error after submitting (the spinner shows, but the
> > action fails).
>
> > My form begins <form enctype="multipart/form-data" merge>, and I have
> > added <form enctype="multipart/form-data" spinner-next-to="" merge>
>
> > Obviously I am doing something wrong here, is there something simple I
> > have missed?
>
> > Thank you very much in advance
>
> > Pete
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Hobo Users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/hobousers?hl=en.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to