No, you shouldn't need any custom controller actions to make this work, although if you have customized your controller actions, it's easy to break them. If you have customized it, please post it.
Please confirm that you have the right action and that everything works without by trying <a><name/></a>. Please check to see if you're geting any javascript errors in your javascript console. If so, please post. Please also check to see if you're getting any errors in your server logs. If so, please post. for push-state, do you have the history-js plugin installed? One of the trickiest things about Ajax in Hobo is ensuring that the context (aka this) is correct. Hobo jumps through a bunch of hoops to try and do it automatically, but sometimes it needs help. Check your server logs for "this_id = ..." to see what Hobo is trying to use for the context when it is rendering the part. Bryan On Thu, Jul 12, 2012 at 2:58 PM, Richard Turlington <[email protected]> wrote: > Hey all, > > I have a very basic hobo driven customer database for my business. I am > trying to change it around to make it run fast and thing I want to do is > have a customer page where the list of customers is in an aside and when one > is clicked on, the show page for that customer comes up in the main portion > of the page with a total reload. I was excited to see ajax support for the > <a> tag which I though would help me, but as of yet I can't get it to work. > Does anything need to be done on the controller side to handle the show > request if it is a JS request. When I use: > > <a update="main-panel"></name></a> > > I get an ajax request but nothing happens. But if I use: > > <a update="main-panel" push-state></name ></a> > > It just loads the show page for the customer completely as if it were a > normal request. I am sure it is something simple, but those are the things > I sometimes stumble on the most. > > Thanks > Richard Turlington > > -- > 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. -- 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.
