LOAD(url=URL('otherapp', 'controller', 'function', ...))
When specifying the "url" argument, you don't have to bother setting
ajax=True, as external URL's are always loaded via Ajax.
Anthony
On Thursday, June 6, 2013 12:44:46 PM UTC-4, Ramos wrote:
>
> LOAD signature does not show where i can s
LOAD signature does not show where i can specify another app
LOAD(c=None, f='index', args=[], vars={},
extension=None, target=None,
ajax=False, ajax_trap=False,
url=None,user_signature=False,
timeout=None, times=1,
content='loading...',**attr):
2013/6/6 António Ramos
> Anthony, your first
Anthony, your first suggestion seems more productive
LOAD !!!
thank you
2013/6/6 Anthony
>
> http://web2py.com/books/default/chapter/29/06#Using-DAL-without-define-tables
>
>
> On Thursday, June 6, 2013 11:55:34 AM UTC-4, Ramos wrote:
>
>> how do i connect to another app sqlite database?
>>
>
http://web2py.com/books/default/chapter/29/06#Using-DAL-without-define-tables
On Thursday, June 6, 2013 11:55:34 AM UTC-4, Ramos wrote:
>
> how do i connect to another app sqlite database?
>
>
>
> 2013/6/6 Anthony >
>
>> If you import the module from B within A, the B module doesn't get the
>> "c
how do i connect to another app sqlite database?
2013/6/6 Anthony
> If you import the module from B within A, the B module doesn't get the
> "current" object from the B app -- that object is created when the db.py
> model file of the B app gets executed, which is not happening here. If you
> w
If you import the module from B within A, the B module doesn't get the
"current" object from the B app -- that object is created when the db.py
model file of the B app gets executed, which is not happening here. If you
want to use the db from app B, you could either create the DAL connection
ob
Well, seems an easy task but i´m stuck
How can i get in app A a sqlform.smartgrid(db.auth_user) from app B?
db is B's db
in app A i call the app B module
from applications.B.modules.funcs import *
def calmais():
return mais()
In app B
*in db.py*
current.db = db
*i have a module funcs.py
gotcha
from applications.myapp.modules.funcs import func
Nice !
2013/6/6 António Ramos
> How do i import a module from another app?
>
>
> 2013/6/5 Niphlod
>
>> and nobody stops you to call other apps pages inside your "master"
>> one, e.g., using LOAD, and "elect" a master app to take car
How do i import a module from another app?
2013/6/5 Niphlod
> and nobody stops you to call other apps pages inside your "master"
> one, e.g., using LOAD, and "elect" a master app to take care of
> authorization with CAS.
>
> On Wednesday, June 5, 2013 7:21:39 PM UTC+2, Ramos wrote:
>
>> I h
and nobody stops you to call other apps pages inside your "master" one,
e.g., using LOAD, and "elect" a master app to take care of authorization
with CAS.
On Wednesday, June 5, 2013 7:21:39 PM UTC+2, Ramos wrote:
>
> I have to check this ..
>
> *But you can put your SQLFORM in a module funct
and nobody stops you to call other apps pages inside your "master" one,
e.g., using LOAD, and "elect" a master app to take care of authorization
with CAS.
On Wednesday, June 5, 2013 7:21:39 PM UTC+2, Ramos wrote:
>
> I have to check this ..
>
> *But you can put your SQLFORM in a module funct
I have to check this ..
*But you can put your SQLFORM in a module function and import it within
any application.*
2013/6/5 Vinicius Assef
> So, it doesn't make sense.
>
> But you can put your SQLFORM in a module function and import it within
> any application.
>
> On Wed, Jun 5, 2013 at 2:06 P
So, it doesn't make sense.
But you can put your SQLFORM in a module function and import it within
any application.
On Wed, Jun 5, 2013 at 2:06 PM, António Ramos wrote:
> it was app, not database i wanted to write
>
> table = SQLFORM.grid(app,
>
> query,
> link
it was app, not database i wanted to write
table = SQLFORM.grid(*app*,
query,
links=links,
deletable=False,
editable=False,
create=False
)
2013/6/5 Vinicius Assef
> The query parameter
The query parameter already has the database you wish.
On Wed, Jun 5, 2013 at 1:41 PM, António Ramos wrote:
> Hello,
> One of the things i have to do daily using Lotus Notes in my company is to
> have a form to show a grid with documents from another app/table.
>
>
> Short story
> First , years a
Hello,
One of the things i have to do daily using Lotus Notes in my company is to
have a form to show a grid with documents from another app/table.
Short story
First , years ago, i created an app to manage all quality certificates
issued to the clients.
About 5000 a year total.
I have about 70.00
16 matches
Mail list logo