Carl Anderson wrote: > I spoke too soon. Here's an example of what I meant about the > subforms. Again, perhaps I'm doing something wrong: > > http://cloud.github.com/downloads/nextekcarl/storylines/Screenshot-redirect_error.png > > In this case the action failed authorization and what I actually want > is for the entire page to be redirected to the Universe Control Panel, > but what happens is the subform is replaced by that page, rather then > redirecting the whole page. Any idea how I prevent that?
I would also like a good solution to this, but the answer has to be some kind of javascript redirect or support on the client side I haven't looked for a while, but the issue was that the client side was requesting a bunch of HTML from the server and using that to replace a given section of the current form. So there wasn't a lot of scope to do something different in the rendered result. I suspect now that more JS is being returned, so you need to look closely at the client browser context to see what it's asking the server for, then figure out an appropriate response you could return which would cause a complete page redirect/refresh. Then figure out how to get the AS system to generate that response In my case I find that I can leave my system and the session times out, then I could innocently click say the "Search" button and find the login form rendered where the search box should go (etc). Would be nice to find a workaround for this Ed W --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
