Ajax Spinner message

44 views
Skip to first unread message

Pete

unread,
Jul 31, 2012, 10:21:18 AM7/31/12
to hobo...@googlegroups.com
Hi,

I was just wondering - I have a <table-plus> with a search function on two different pages

One of them is on the standard Index page - and the other is on a custom page, with a controller action I have custom made.

This is all working fine, except, when I use the search option on my custom page - I get the spinner showing, with text 'Saving' showing while the search is processing.

On the Index page with table however, I get no Hobo Spinner - is there a 'disable ajax' function I can call in the controller action, which is already existing by default perhaps on the Index page?

Thanks 

Pete

Bryan Larsen

unread,
Jul 31, 2012, 1:42:22 PM7/31/12
to hobo...@googlegroups.com
You can change the spinner message by setting the "message" attribute.

Ajax is enabled if any of the ajax attributes are set. See the 1.3 list here:
http://cookbook.hobocentral.net/api_taglibs/rapid_forms. To disable
ajax, remove those attributes.

Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/3EgdGWpSL24J.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.

Pete

unread,
Aug 1, 2012, 10:08:51 AM8/1/12
to hobo...@googlegroups.com
Thanks, 

I have had a good look through the attributes, but as far as I can tell, none of the Ajax attributes have been set - and yet I still see the Spinner, showing 'Saving' when I click 'go' on the table plus search option...

The only difference is that one of the pages (that doesn't show the spinner) is defined in DRYML as <index-page>, the other (which does show the spinner) is <page title="My custom page"> and I guess inherits from the main <page> tag which I have extended in application.dryml - this does have Ajax attributes defined.

However, I would have thought that both pages will inherit from <page>?

Pete

Bryan Larsen

unread,
Aug 1, 2012, 10:11:03 AM8/1/12
to hobo...@googlegroups.com
What version of Hobo are you using? I vaguely remember a bug a while
back that may cause the problem your experiencing.

Bryan
>> > hobousers+...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/hobousers?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/egFNBBn9NLsJ.
>
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.

Pete

unread,
Aug 1, 2012, 11:37:07 AM8/1/12
to hobo...@googlegroups.com
I'm on Hobo 1.0.2 currently

Thanks

Pete
>> > For more options, visit this group at
>> > http://groups.google.com/group/hobousers?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/egFNBBn9NLsJ.
>
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
Reply all
Reply to author
Forward
0 new messages