plugin_wiki and cube2py has a list of widgets, there are "load_action" which
made an ajax call to a  Python function defined in the running app.

per example, if you have an action in your controllers called 'list_names'
in any page of plugin_wiki you can call this action using

``
name: load_action
action: list_names
controller: default
ajax: True
``:widget


If you want to call another application (even running on other server)
, you can use the "load_url" widget.

In this case you should read the basics of "web2py components" here:
http://web2py.com/book/default/chapter/13

and to call any function from other url you have to use the widget as:


``
name: load_url
src: http://myotherapp/default/action
``:widget


Massimo made a good video about that.


2010/9/1 mart <msenecal...@gmail.com>

> since we have a cube2py thread... thought I'd ask my here... I read
> somewhere that we could integrate with existing web2py applications
> (or it may have been with T3?). SO, the question is how do you do
> that? can we, for example embed an existing app within the cube2py
> body (as opposed to redirecting to another page)? Also, I would be
> interested in finding out more about that for T3 as well...
>
> Any help on this would be appreciated,
>
> Thanks,
> Mart :)
>
>
>
> On Aug 31, 9:16 am, Bruno Rocha <rochacbr...@gmail.com> wrote:
> > What is your web2py version?
> >
> > did you try cloning cube2py?http://code.google.com/p/cube2py/
> >
> > 2010/8/31 david.waldrop <david.wald...@gmail.com>
> >
> >
> >
> > > after adding the plugin wiki to the welcome app I get the following
> > > message when opening the welcome app:
> >
> > > Error traceback
> > > 1.
> > > 2.
> > > 3.
> > > 4.
> > > 5.
> > > 6.
> > > Traceback (most recent call last):
> > >  File "gluon/restricted.py", line 178, in restricted
> > >  File "C:/Users/david/My Projects/Miscelaneous/MeetingMonkey/web2py/
> > > applications/welcome/models/plugin_wiki.py", line 28, in <module>
> > >  File "C:/Users/david/My Projects/Miscelaneous/MeetingMonkey/web2py/
> > > applications/welcome/models/plugin_wiki.py", line 26, in _
> > > TypeError: __init__() got an unexpected keyword argument 'migrate'
> >
> > --
> >
> > http://rochacbruno.com.br
>



-- 

http://rochacbruno.com.br

Reply via email to