You could totally do a jqueryui dialog box, and use ajax to get the request :)

-Thadeus





On Fri, Feb 19, 2010 at 8:03 PM, waTR <r...@devshell.org> wrote:
> Sounds like I will just need to have it be a javascript dialog box
> later.
>
>
>
> On Feb 19, 5:12 pm, Russell <russell.mcmur...@gmail.com> wrote:
>> You could use javascript for this.  The command is 'top.close()'
>>
>> For example, say you want the window to close as soon as the
>> controller has done it's work...
>>
>> <script type="text/javascript">
>> $(document).ready(function() {
>> top.close();});
>>
>> </script>
>>
>> Alternatively if you wanted more control, you could return top.close()
>> from the web2py ajax function, using the ":eval" option.  See pg 274
>> in the book for details.
>>
>> Note that with this javascript command, the security settings on most
>> browsers will prompt the user with "Do you want to close this window?"
>>
>> On Feb 20, 12:52 pm, waTR <r...@devshell.org> wrote:
>>
>> > I have a window that was opened by a link. I have it go to a
>> > controller, but once I am finished, I would like to close the window.
>> > Is this possible to do from the controller via a URL() or something?
>
> --
> You received this message because you are subscribed to the Google Groups 
> "web2py-users" group.
> To post to this group, send email to web...@googlegroups.com.
> To unsubscribe from this group, send email to 
> web2py+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to