redirect_to? Are you trying to open a popup from the controller? I really don't see the use case you are describing, could you elaborate a bit more? For example: "The user is in the show page of events. He clicks on a button and a popup should open with the edit page".
With a bit more information we might be able to suggest a different approach :). Regards, Ignacio El 12/09/13 17:39, Donald Ziesig escribió: > Hi Ignacio! > > Unfortunately, the invocation is via a redirect_to because this is not a > standard hobo control flow. I don't have access to the code that > actually shows it (and it comes from two vastly different places in the > code as well, one being javascript, the other standard hobo/rails). > > I need something that changes the <page></page> code. > > I tried > > <def tag="edit-page" for="Client"> > <page merge popup="true" > > just for the heck of it, but that had no effect. > > From the looks of it, Rails 3 has deprecated the old easy way of > implementing popups in favor of NO popup support. > > I'm really hacking this one :-( > > Don > > On 09/11/2013 04:40 PM, Ignacio Huerta wrote: >> You could use something like: >> >> <edit-link: target="_blank"/> >> >> This should make the edit link open in a new tab. >> >> Regards, >> Ignacio >> >> El 11/09/13 22:34, Donald Ziesig escribió: >>> Hi All! >>> >>> I need to open a slightly modified version of the edit page (could be >>> any page, but need edit for now). I have the page working properly >>> except that it overwrites the previous page, which hoses the flow of the >>> app. >>> >>> Is there any way of introducing the :popup=>true flag that rails >>> provides into the hobo tag? >>> >>> Thanks, >>> >>> Don Ziesig >>> > -- Ignacio Huerta Arteche http://www.ihuerta.net Teléfono: 0034 645 70 77 35 Email realizado con software libre -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hobousers. For more options, visit https://groups.google.com/groups/opt_out.
