ot a 1-1 map.
>
> Massimo
>
> On Jul 29, 9:23 am, ilovesss2004 wrote:
>
>
>
> > But the html files are also part of the web app. Is there someway to
> > encrypt them by use of web2py or python programming?
>
> > On Jul 29, 4:15 pm, Jean-Guy wrote:
>
>
code embeded could be compiled too, but really not sure
> about that... Massimo could be a better help on that.
>
> Jonhy
>
> On 2010-07-29 10:12, ilovesss2004 wrote:
>
>
>
> > source code of html files are still viewable.
led
>
> On 2010-07-29 09:56, ilovesss2004 wrote:
>
>
>
> > web2py. Can someone tell me how to prevent
> > others from viewing source
Hi,
I just made a web app by web2py. Can someone tell me how to prevent
others from viewing source
code by use of web2py?
Thanks alot.
I have solved the problem.
Thanks alot to you all!
How to write it in javascript? e.g.
onclick=URL(request.application,'controllerName','FunctionName.load'),
ajax=True)?
On Jul 27, 10:35 pm, Bruno Rocha wrote:
> In a view:
>
> {{=LOAD(url=URL(request.application,'controllerName','FunctionName.load&
Hi,
Can some one tell me how to call a function which is in another
controller other than default controller by ajax?
Thanks alot.
the same
On Jun 25, 4:18 pm, Jonathan Lundell wrote:
> On Jun 25, 2010, at 5:40 AM, ilovesss2004 wrote:
>
> > Here is code of my routes.py
>
> > routes_in = (('/', '/myapp/default/index'),
> > )
>
> > routes_out = (('/my
The same...
On Jun 25, 3:21 pm, Vasile Ermicioi wrote:
> what happens if you delete routes_out ?
Hi,
Here is code of my routes.py
routes_in = (('/', '/myapp/default/index'),
)
routes_out = (('/myapp/default/index', '/'),
)
When I enter 127.0.0.1:8000 in browser, myapp do show but the ajax
function does't work. I must enter 127.0.0.1:8000/myapp/default/index
in browse
Hi,
I use the ajax function as follows:
ajax('func1', ['id1'], '')
because I don't need to send some value to the html page, so I set the
third parameter null. But IE raises error
'document.getElementById(...)' is null or not an object.
How can I use the ajax function when I don't want to send v
Hi,
I try to use global variable in a controller.
global a
a=5
def index():
return dict()
def func1():
global a
a=request.vars.id1
def func2():
global a
print a
The html page call func1 first and change the value of the global
variable "a" to 8. But when html page call func
On Jun 20, 8:58 pm, Yarko Tymciurak
wrote:
> Well, maybe this is a good exercise / tutorial in debugging:
>
> On Jun 20, 9:02 am, mdipierro wrote:
>
> # this just displays view/default/index.html as it is> def index():
> > return dict()
>
> # demo: get input from the client and do someth
Hi,
I want that a python program on the server-side can get value of a
textfield on the client-side when I press a button. I know the method
in the cookbook which use request.var. But to use this method I must
use a submitbutton combined with formaction. The problem is when I set
the focus on the t
Hi,
How can I let python controller get the value of a textfield when I
press a button in html page (not a submit button)?
Thanks a lot.
15 matches
Mail list logo