in this page
http://appgallery.appspot.com/submit
what is app_id? How do I get it?
Massimo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@g
Try this:
TABLE(*[TR('T',INPUT(_type="checkbox",_name='T'))]+\
[TR("Option "+str(opt), INPUT
(_type="checkbox",_name=opt,value=False,_value='on')) for opt in
options]+\
[TR("",INPUT(_type="submit",_value="SUBMIT"))])
On Dec 4, 9:02 pm, Maurice Ling <[EMAIL PROTECTED]> w
response.view = "../../init/views/base_template.html"
On Dec 4, 11:42 pm, voltron <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have a slight problem with sharing templates between appliances.
> Given 2 appliances, "init" and "test" . Init has a view called
> "base_template.html", so I thought a way
http://web2py.appspot.com/t3
I will try to make a video tutorial asap. If you know T2 you know what
to do.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send ema
Hi everyone,
I have an issue with multiple checkboxes which can only be defined at
runtime.
Here is my sample code:
options = range(5)
def multi_input():
form = FORM(
TABLE(TR('T',INPUT(_type="checkbox",_name='T')),
[TR("Option "+str(opt), INPUT
(_type="checkbox",
Hi all,
I have a slight problem with sharing templates between appliances.
Given 2 appliances, "init" and "test" . Init has a view called
"base_template.html", so I thought a way to call the view from "test"
would be:
# a controller in "test"
response.view = "applications/init/views/base_templat
You can db.table.truncate() to delete all records and then any records
inserted from the csv file would start with id 1.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this g
Annet,
> Question 1) in your post you say that when you type something into the
> INPUT field that triggers the autocomplete,... How does the
> application know it is an autocomplete field, (_class="ac_input" ?)
Yes.
> Question 2) then you continue ... The autocomplete creates an ajax
> call to
when i want to import a csv file, i found that it will not overlap the
existing same table's value.
for example. in my db, I have table.db with table.id (with existing
value of 1 and 2) and table.name
when i empty table.db and import table.db, the
table.id become 3 and 4 rather th
A fully functional WIKI in T2 with authentication, page attachments
and comments (check out last line). Can be customized via stylesheet.
views optional...
### FILE: models/db.py
from applications.plugin_t2.modules.t2 import T2
db=SQLDB('sqlite://strorage.db')
t2=T2(request,response,session,cach
Some answers below:
On Dec 4, 2:20 pm, 43gm <[EMAIL PROTECTED]> wrote:
> Talking with some python veterans (mainly SQLalchemists ;-), their
> critique of web2py was summed in two words, "exec magic." In practical
> terms, what does this mean... in terms of performance hits (at N
> requests/sec),
Talking with some python veterans (mainly SQLalchemists ;-), their
critique of web2py was summed in two words, "exec magic." In practical
terms, what does this mean... in terms of performance hits (at N
requests/sec), inefficient CPU / resource consumption, etc. ?
And ditto for MVC caching...
In
Joe,
I don't want to sound rude, but you're missing the point. Python is
powerful enough to handle virtually anything you throw at it. The
browser is the limiting factor.
Currently, no browsers (that I know of) support directory upload.
Until that happens we're stuck with multiple file-up
But Python has a ZIP module and you could unzip the file in Python.
That's probably the easiest way to transfer a structured set of files.
On Dec 3, 11:36 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> HTTP does not allow that unless your client (flash, js, etc.) uploads
> each individual file (http:
And of cource it is same with self._getAttributes() I wanted to
separate them (content, attributes) to individual methods because
there are tags that do not need them both, like self closing tags,
etc. I dont know, if it is a performance issue though.
On Dec 4, 7:12 pm, mmstud <[EMAIL PROTECTED]
wait... there is a better/faster way
students=db((db.students.id==db.studentsections.userid)&
(db.sections.id==db.studentsections.sectionid)&
(db.studentsections.sectionid==id)&
(db.students.nowenrolled=='Y')).select(db.students.ALL,
orderby=db.students.fullname,
groupby=db.stduents.id)
Massimo
I think what you call a sqlset is a SQLRows. That is immutable. I
believe you want to do
db(qallstudents&(db.student.id.belongs(db(qenrolled)._select
(db.students.id))).update(somefield=' ')
or
for student in db(qallstudents&(db.student.id.belongs(db
(qenrolled)._select(db.students.id))).select
hi, i'm a newbie to web2py but i'm very intrigued. the issue i'm
having is that i'd like to associate information with rows of a
sqlset.
for example, i am creating a page that enrolls/unenrolls users
(students) in a program (section). i want to list the students in the
section, then list all stud
Sorry for confusion and mix.
self._getContent() is my own private method on parent class (STYLE,
SCRIPT -> DIV) but what it does is basically:
co=''.join([xmlescape(component) for component in self.components])
html.py:157
then
self.tag_name = self.tag
and
NEWLINE = '\n' is global constant
Marko, looks promising but I believe some of it is missing,
for example I don't see these defined:
NEWLINE, _getContent, tag_name
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post
Denes,
This is what I got so far,
>From your reply on Ma8 8, 11:32 pm:
I put the jquery.autocomplete.js and jquery.autocomplete.css into
their respective folders in the static folder of my application and
added the following links to my modified copy of web2py_ajax.html:
Then, in the same
> I have no idea how to bend CAS and web2py to make this work...
I am afraid CAS is not that flexible at the moment (but if somebody
can prove me wrong I would be interested in the solution also). When I
needed to add CAS-like functionality to my app I ended up modifying it
to meet my particular
Thank you. Let me look. Perhaps some version of this could go in t2.
Massimo
On Dec 4, 7:45 am, mmstud <[EMAIL PROTECTED]> wrote:
> I created a new swfobject html helper class to manage embedded flash
> media. I want to share it both for a review and to motivate contribute
> great tips and conte
I would proceed this way.
-after CAS registration, cas returns a token to your app ('username',
userid, 'email')
-check in your cas_user_organization is you have a record linking user
userid
-if not redirect the user to a page (in your app) that asks for the
info and stores it in a new record.
Y
Try this:
> def update():
> if len(request.args)<2 or not request.args[0] in db.tables:
> table=request.args[0]
> else:
> id=int(request.args[1])
> records=db(db[table].id==request.args[1]).select()
> if not records:
> session.flash=T('record doe
I created a new swfobject html helper class to manage embedded flash
media. I want to share it both for a review and to motivate contribute
great tips and content to this framework. I also have some questions
like: how to create static links right way? Im using my own Script
(and Style) helpers he
In my application I got a table listing organizations and tables with
organization details such as addresses and telephone numbers. I would
like to use CAS as a authentication system, but I do not now how to
adjust its default behaviour without disrupting CAS or running into
trouble with future re
i made some attempts:
to avoid calling eval(dbname) and passing dbname as args[0], in
gestione/update:
def update():
try:
dbname='db'
table=request.vars.tabella
and in default/provvedimenti_insert:
linkto=URL(r=request,c='gestione',f=
And changed the ssl virtual host configuration too.
2008/12/4 Alexandre Miguel de Andrade Souza <[EMAIL PROTECTED]>
> I resolved the same error creating new server.crt and server.key
>
> follow the instructions of
>
> *http://www.modssl.org/docs/2.8/ssl_faq.html#ToC27
>
> and
> http://www.mods
I resolved the same error creating new server.crt and server.key
follow the instructions of
*http://www.modssl.org/docs/2.8/ssl_faq.html#ToC27
and
http://www.modssl.org/docs/2.8/ssl_faq.html#cert-ownca
*
2008/11/4 airdrummer <[EMAIL PROTECTED]>
>
> i followed the ssl faq (http://mdp.cti.dep
30 matches
Mail list logo