{{import cgi}}
the replace
{{=s.title}}
with
{{=cgi.escape(s.title,True)}}
On Jul 4, 8:02 pm, "mr.freeze" wrote:
> I am trying to pass a web2py string var that contains quotes,
> apostrophes, slashes, etc. to an element's onmouseover method
> ( onmouseover="showTip(this,'{{=s.title}}','{{=s.no
I do not see why anybody would use helpers this way. the purpose of
helpers is not producting HTML code but provide a serverside
representation of the DOM. Breaking a into two separate
object just breaks the mechanism.
Massimo
On Jul 5, 12:38 am, Jonathan Lundell wrote:
> On Jul 4, 2009, at 4
On Jul 4, 2009, at 4:36 PM, Yarko Tymciurak wrote:
> this seems obtuse...
>
> If arguments aren't used in this form of "helpers" then why not just
> use the html? (why do you need a helper?)
>
> I may be missing something.
The arguments are used (though not all of them, if close=True).
I'll d
Looks like that is what I will use as it would work well with launchpad.
Regards,
JAson
On Sat, 2009-07-04 at 11:34 -0700, Fran wrote:
> On Jul 4, 7:09 pm, Jason Brower wrote:
> > I have people that would love to translate some of the stuff I am
> > working on. But I don't want them to access
I am trying to pass a web2py string var that contains quotes,
apostrophes, slashes, etc. to an element's onmouseover method
( onmouseover="showTip(this,'{{=s.title}}','{{=s.notes}}');" ) but I
need to html escape it first in order to nest it in the javascript
quotes. What is the best method?
--
Hi,
I had the same issue (on Linux).
I just make a backup of my important apps in applications/ and then
removed whole web2py folder. Then I moved my backup to the new
web2py 1.65 folder. No problems so far.
Regards,
Piotr.
Dnia sobota 04 lipca 2009 o 16:46:48 Fauché JM napisał(a):
> Hello,
this seems obtuse...
If arguments aren't used in this form of "helpers" then why not just use the
html? (why do you need a helper?)
I may be missing something.
As for the parameters, if indeed this is of use, why not something like
BODY() ... as is now
BODY.open(args to your heart's content)
B
I propose to add a "close" argument to the html helpers (gluon/html.py).
1. If there's no close argument, then the behavior is identical the
current code.
2. It's an error to specify close= for a self-closing tag (like ), or to give it a value other than True or False.
3. close=False suppress
I cannot tell about details since it is the first time I hear about
it. I just had a quick look. There are many philosophical differences:
1) In page
http://glashammer.org/gettingstarted.html#gettingstarted
the app calls the libraries, while in web2py, the libraries call the
app
2) they have no a
can somebody send me a sample connection string for DB2 ad Informix,
for the docs. thanks!
--~--~-~--~~~---~--~~
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@goog
Hello Massimo,
where do you see the main difference design of your framework to Glashammer
http://glashammer.org/documentation.html?
Best regards,
Timmie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web
Hello Massimo,
where do you see the main difference design of your framework to Glashammer
http://glashammer.org/documentation.html?
Best regards,
Timmie
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web
the new DAL is not here yet but we been to write new docs that should
be compatible with both the old DAL and the new DAL. So the web2py in
trunk allows
db=DAL(...)
instead of
db=SQLDB(...)
and
db=DAL('gae')
instead of
db=GQLDB()
and
Field(...)
instead of
SQLField(...)
is also removes the am
Can you email it to me please?
On Jul 4, 2:23 pm, Jonathan Lundell wrote:
> Two patches for the welcome app.
>
> The CSS patch makes a clearer distinction between the navigation
> column and the main column. Without it, the "Hello World" text tends
> to visually run into "Authentication". T
Two patches for the welcome app.
The CSS patch makes a clearer distinction between the navigation
column and the main column. Without it, the "Hello World" text tends
to visually run into "Authentication". The border is visually
consistent with the rest of the page design, and IMO looks pre
On Jul 4, 7:09 pm, Jason Brower wrote:
> I have people that would love to translate some of the stuff I am
> working on. But I don't want them to access my admin interface, nor do
> they need to be on my local network. Is it possible to let others
> translate remotely and with accounts that I c
I have people that would love to translate some of the stuff I am
working on. But I don't want them to access my admin interface, nor do
they need to be on my local network. Is it possible to let others
translate remotely and with accounts that I can setup for them (Or that
they can setup)?
Rega
>From time to time I have the need for a form but I wish to validate
one or two lead items before I display the rest of the form for input.
The two ways I have approached this are --
1) Javascript. If the validation is rather simple I use Javascript. I
build a custom form with a properly placed ,
Jason,
Could you not just give them a copy of the language .py file to edit?
Set up a ftp virtual directory that points to the web2py language
directory and limit the user account there. Could do the same with
webdav if its on a windows box.
The helper could then see the results in the applicati
something like
...
$(document).ready(funciton(){$('#myoptions').hide();});
$('#r0c0').focus(function(){$('#myoptions').show();});
$('#r0c0').blur(function(){$('#myoptions').hide();});
$('#myoptions').change(function(){$('#r0c0').val($('#myoptions').val
()); $('#r0c0').keyup();}) // not sure
That would work for me.
Unfortunately I don't know how to register an event nor do I know how
to open a popup.
On Jul 4, 5:49 pm, mdipierro wrote:
> At this time you cannot do select/option. You would have to register
> an onfocus event that opens a popup and when you select a value it
> copies
On a second look. I think you may be using an old web2py or perhaps an
old gaehandler.py
On Jul 4, 2:32 am, Vidul Petrov wrote:
> Hi,
>
> Anybody any idea about the following error (it appears only in one
> method)?
>
> E 07-04 12:21AM 09.771
> Traceback (most recent call last):
> File "/base
The problem is here:
db.adres.adressoort.widget=lambda f,v: OptionsWidget.widget(SQLField
('adressoort',db.adressoort,requires=db.adres.adressoort.requires
[0]),v)
because you are creating a widget for a new temp field that is
associated to a table. I understand what you are trying to do. Let me
The second ticket you egt has the form admin.[code]. look into the
file applicaitons/admin/errors/[code], the last few lines for an
error, and perhaps send me that file.
I suspect it is an issue with file permissions.
Massimo
On Jul 4, 9:46 am, Fauché JM wrote:
> Hello,
> Since I install 1.65.
At this time you cannot do select/option. You would have to register
an onfocus event that opens a popup and when you select a value it
copies it in the cell and informs the sever. Doable in about 10 lines
of code but a bit tricky. If you do it let me know.
On Jul 4, 8:31 am, Hans
wrote:
> very
If build anything in this area let us know. I am very much interested.
On Jul 4, 7:26 am, gluegl wrote:
> With all due respect...http://www.prestashop.com/ (open source)
> A Web2Py Prestashop would be a significantly better approach.
>
> Sincerely,
> G
--~--~-~--~~~--
No sessions only live server side
On Jul 4, 6:32 am, Fauché JM wrote:
> ok,I anderstand,but in URL I think there is only: path/args
> Are session values appears in URL ?
> Have the user any way to look at or/and setting session.values?
>
> Thank you
> Jean-Marc
--~--~-~--~~--
It is trying to update some translations file and cannot write on GAE
(not allowed). Make sure all strings are translated before deploying
on GAE.
On Jul 4, 5:34 am, Vidul Petrov wrote:
> Actually this happens only in the translation, when I removed some
> duplicated records the problem was fixe
On Jul 4, 2009, at 6:03 AM, dlypka wrote:
>
> The browser can simply indicate the desired format in its request.
> If it wants XHTML, it can simply ask for it explicitly.
> So web2py can just check the type and serve as requested.
> All that may be needed is to devise a new protocol for requestin
Hi,
I saw no similar issues on NT 5.0 and above.
Are you sure that it's an WEB2PY issue?
On Jul 4, 5:46 pm, Fauché JM wrote:
> Hello,
> Since I install 1.65.0 (for windows) I can't read tickets issues !
> The link for ticket appear ,but when clicking on it, it call another
> link for another t
Hello,
Since I install 1.65.0 (for windows) I can't read tickets issues !
The link for ticket appear ,but when clicking on it, it call another
link for another ticket(admin one).on so on.
Is it a bug ? Am I alone in this case?
Jean-Marc
--~--~-~--~~~---~--~~
Y
very nice!
how can a cell be made a drop down selection with values from db ?
On Jul 3, 10:48 pm, mdipierro wrote:
> with that looks like this:http://www.web2py.com/examples/spreadsheet
>
> On Jul 3, 3:40 pm, mdipierro wrote:
>
> > sheet['cell_name'].size=4 # is the default. You will have to
The browser can simply indicate the desired format in its request.
If it wants XHTML, it can simply ask for it explicitly.
So web2py can just check the type and serve as requested.
All that may be needed is to devise a new protocol for requesting the
format.
On Jul 4, 1:59 am, Jonathan Lundell w
With all due respect...
http://www.prestashop.com/ (open source)
A Web2Py Prestashop would be a significantly better approach.
Sincerely,
G
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" gro
Here is an interesting FIPA Compliant MAS agent written in Python
using XMPP as the MTP "Message Transfer Protocol"
http://spade.gti-ia.dsic.upv.es/ ***
http://www.plugcomputer.org/ exciting plug computer project to host
your apps...
http://www.plugcomputer.org/plugwiki/index.php/Main
In a validator I combine IS_IN_DB() and IS_NOT_IN_DB. I tried solving
the 'no automatic drop box' issue by adding a widget based on an
unnamed function:
db.define_table('adressoort',
db.Field('soort',length=30,default='',notnull=True,unique=True),
migrate='adressoort.table')
db.adressoo
http://code.google.com/p/pastiche/
Is there a Web2Py FIPA compliant MAS "Multi-Agent-System'?
G
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2p
ok,I anderstand,but in URL I think there is only: path/args
Are session values appears in URL ?
Have the user any way to look at or/and setting session.values?
Thank you
Jean-Marc
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Actually this happens only in the translation, when I removed some
duplicated records the problem was fixed. Strange.
On Jul 4, 10:32 am, Vidul Petrov wrote:
> Hi,
>
> Anybody any idea about the following error (it appears only in one
> method)?
>
> E 07-04 12:21AM 09.771
> Traceback (most recen
Hi,
Anybody any idea about the following error (it appears only in one
method)?
E 07-04 12:21AM 09.771
Traceback (most recent call last):
File "/base/data/home/apps/loadinfo-net/2.334535432559265741/gluon/
restricted.py", line 98, in restricted
exec ccode in environment
File "/base/data/
40 matches
Mail list logo