Hi, mdipierro.
I need a sample of Flex3 application (or code fragments) with it I can call
remote methods exposed by web2py with @seveice_amfrpc.
Can you help me?
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
I suggest you do not it this way (create your own person table)
Web2py already provides
auth_user
auth_group
auth_membership
auth_permission
and API for group based and role based access control.
This very well documented in chapter 8 of the new book.
Massimo
On Sep 25, 11:05 pm, Chris Steel
It looks good. I ,of course, like my module better :)
On Sep 25, 8:39 pm, Thadeus Burgess wrote:
> Ok take a look at this!
>
> source -http://thadeusb.com/code/py2jquery.txt
> examples -http://thadeusb.com/code/examples.txt
>
> What do you think?
>
> -Thadeus
>
> On Fri, Sep 25, 2009 at 7:19 AM,
I am working on a user friendly interface that would allow different site
Managers or Admins to create and edit groups, assigning permissions and so
forth and noticed that only the auth tables (auth_user through auth_event)
get loaded into the drop down for field ('table_name') in the
db.auth_permi
That would be equivelant to a one-to-many query in SQL. The query is what is
joining them all together.
-Thadeus
On Fri, Sep 25, 2009 at 9:08 PM, jayvandal wrote:
>
> Hi,
> When you have the statements
> pep=db(db.person.id> 0).select(orderby=db.person.id)
> form=SQLFORM(db.events,fields=['
Hi,
When you have the statements
pep=db(db.person.id> 0).select(orderby=db.person.id)
form=SQLFORM(db.events,fields=['description'])
ev=db(db.events.person==db.person.id).select()
pep=db(db.person.id> 0).select(orderby=db.person.id)
This line selects the master.
ev=db(db.events.person==db.p
Also here
http://groups.google.com/group/web2py/browse_thread/thread/b35c79b64a483a94#
and here
http://groups.google.com/group/web2py/browse_thread/thread/0c6e3021507efbcd/42060d6ceaae75cb#42060d6ceaae75cb
-Thadeus
On Fri, Sep 25, 2009 at 8:54 PM, Thadeus Burgess
wrote:
> Take a look into
Take a look into using custom form.
http://www.web2py.com/AlterEgo/default/show/205
-Thadeus
On Fri, Sep 25, 2009 at 8:30 PM, ed wrote:
> ve googled and been trying to figure out how to render two fields in
> one row in SQLFORM factory? Is this possible? All examples i
> encountered in rend
Ok take a look at this!
source - http://thadeusb.com/code/py2jquery.txt
examples - http://thadeusb.com/code/examples.txt
What do you think?
-Thadeus
On Fri, Sep 25, 2009 at 7:19 AM, mr.freeze wrote:
>
> This may break the record for fastest derived work ever :) Your code
> looks really goo
I've googled and been trying to figure out how to render two fields in
one row in SQLFORM factory? Is this possible? All examples i
encountered in rendering sql form are all single field in each row.
Thanks
--~--~-~--~~~---~--~~
You received this message because you
I think we should. We need one that does not urlencode url since they
may contain {{=URL(...)}}.
On Sep 25, 5:50 pm, Darcy Clark wrote:
> Is it maybe possible to replace the htmledit control with an
> alternative that does a better job of formatting HTML ?
>
> On Sep 25, 5:44 pm, Darcy Clark w
Hi Iceberg
it will be nice to have an address book application.
when googled a bit, i found at
http://www.mail-archive.com/web2py@googlegroups.com/msg17179.html
JoshuaJ wrote "...I'm writing a basic multi-user address book
application." (Jul. 21)
Maybe he's still on this list and working on the p
Is it maybe possible to replace the htmledit control with an
alternative that does a better job of formatting HTML ?
On Sep 25, 5:44 pm, Darcy Clark wrote:
> I'm using Version 1.67.1 - whenever I use the htmledit link to edit a
> view, then look at the generated source - all of the HTML is on on
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I have upload field with IS_IMAGE validator, which allow only gif,jpg.
If I try to upload bmp, it leads to a weird uncaught exception:
Traceback (most recent call last):
File "/opt/web2py/gluon/restricted.py", line 176, in restricted
ex
You need to use
gluon.contrib.get_session
to access another app session. This is undocumented because I do not
promise it will stay backward compatible.
On Sep 25, 2:14 pm, leone wrote:
> If I understand the more effective way is to use session that store
> info about master app
> so that util
wait. By default applications do not share sessions.
you must do
from gluon.fileutils import get_session
other_session=get_session(request,'otherappname')
to get the app for the same user but another app.
On Sep 25, 2:14 pm, leone wrote:
> If I understand the more effective way is to
Thank you for the clarification. It makes a lot more sense now.
On Sep 25, 2:31 pm, mdipierro wrote:
> The license of the source code is GPL2. The license of the official
> binaries (those I make) is freeware.
>
> Basically you can use and redistribute them both but not charge for
> the,. If you
The license of the source code is GPL2. The license of the official
binaries (those I make) is freeware.
Basically you can use and redistribute them both but not charge for
the,. If you redistribute your app you have to say something like
"powered by web2py".
The three think you are NOT allowed
Hey everyone,
I don't fully understand what the license fully means so if some could
explain it to me that would be great. I was planning on developing
some commercial webapps with them. Is that allowed and if so, what
sort of reference do I have to put on my page for web2py?
--~--~-~--~
If I understand the more effective way is to use session that store
info about master app
so that util-app can access layout and other static resources and so
on, returning some result.
The only shared information is the database position or address, and
this can be a constant for the two applicat
SOLVED:
Have to use:
DB:
requires=CRYPT(key=auth.settings.hmac_key)
CONTROLLER:
myhash = hmac.new(auth.settings.hmac_key, request.vars.get
(passfield,''), hashlib.sha512).hexdigest()
Note that hashlib.sha512 has to be used rather than md5.
Thanks for all the help!
On Sep 21, 12:46 pm, J
On Sep 25, 1:21 pm, leone wrote:
> Someone knows what is the better way to resolve this scenario with
> web2py?
> 1) I have an application populated with useful pages linked and used
> from other application. These utility-pages must be inizialized with
> some values. What is the better way to
Someone knows what is the better way to resolve this scenario with
web2py?
1) I have an application populated with useful pages linked and used
from other application. These utility-pages must be inizialized with
some values. What is the better way to pass values between the two
applications (not
Maybe one solution could be like is made in other frameworks.
To have 2 objects: one for tables and one for queries, derivating
whatever is possible.
I remember in Delphi things are like that.
On 10 set, 19:22, villas wrote:
> Wow, thanks! Don't forget to include in the book.
>
> BTW have you
There is also this post:
http://groups.google.com/group/web2py/browse_thread/thread/b35c79b64a483a94#
On Sep 24, 9:26 pm, weheh wrote:
> You need to use SQLFORM.factory and then you can use custom forms in
> view by bracketing the form content with
> {{=form1.custom.begin}}
> custom form
Trying to search an addressbook app written by web2py (and probably
write one by myself, if I did not find a handy one). Then I found
this:
http://www.ohloh.net/p/listbook
but can not access its code.
Is its author in this maillist? Or does anyone know an alternative?
Regards,
Iceberg
--~--~
On Fri, Sep 25, 2009 at 01:43, weheh wrote:
>
> I'm a little confused. Vidul wants to write an AI that generates
> applications automatically. And then he wants to marry it to web2py.
> So there won't be any jobs for software developers or, for that
> matter,
> web2py programmers. So why, then, w
I am giddy with anticipation
On Sep 24, 9:39 am, DenesL wrote:
> Hi Elcimar,
>
> not currently but I am waiting for Massimo to review some code that
> would enable us to do so.
>
> The code I sent him supports MSSQL but yesterday I added DB2/400, and
> I am currently able to perform all basi
This may break the record for fastest derived work ever :) Your code
looks really good. Let me know if/when you have some example together
so I can compare implementations.
On Sep 24, 12:25 pm, Thadeus Burgess
wrote:
> Solved the problem. You give every function a uuid.
>
> I spend last night an
I completely agree with Massimo sentence by sentence, and with Álvaro
too.
While I love Python and web development, I didn't fully love *web
programming in Python*, because superfluously hard. Lots of boring
repetitions, I *must* set too much options, many compatibility
problems between framework
I'm using Version 1.67.1 - whenever I use the htmledit link to edit a
view, then look at the generated source - all of the HTML is on one
massive line - i.e. there are no characters or line endings. The
htmledit feature is nice, but it would be even better if the HTML code
that is generated was "
Well said!
On Sep 24, 6:28 pm, mdipierro wrote:
> Once in a while I get questions about license (why not BSD?) or future
> (why not change it and break backward compatibility? why not move to
> python3).
>
> Well. There are many frameworks that do that. I wrote web2py because I
> do not like it.
Hi,
Just to put a lid on this, it did in the end turn out to be a problem
with a webfaction server. The only information they provided was that
it was having unusual networking problems. I don't know how to mark
this as resolved, but it can be considered so.
Thanks for the help anyway Massimo :o
33 matches
Mail list logo