Re: [web2py] Re: flot charts are not getting displayed

2016-09-27 Thread brooks lee
Got it! Had to update the jquery version.It's working now.Thanks Anthony. On Mon, Sep 26, 2016 at 4:43 PM, Anthony <abasta...@gmail.com> wrote: > On Monday, September 26, 2016 at 1:53:38 AM UTC-4, @brooks wrote: >> >> Thanks Anthony.I corrected the two things you pointed ou

Re: [web2py] Re: flot charts are not getting displayed

2016-09-25 Thread brooks lee
me > of the contained attribute values. > > More generally, always check the browser Javascript console for errors. > > Anthony > > > On Saturday, September 24, 2016 at 7:05:25 AM UTC-4, @brooks wrote: >> >> Hi, >> I want to use flot charts in my applicati

[web2py] flot charts are not getting displayed

2016-09-24 Thread @brooks
Hi, I want to use flot charts in my application.I tried running an example which required jquery.js ,jquery.flot.js ,jquery.flot.navigate.js files.I uploaded all these files in the static/js folder and in the view I used I also uploaded some images and included them in the view as follows:

[web2py] Invalid login is shown when social login is used along the normal login(Auth)

2016-09-19 Thread @brooks
this for the first time.I have followed the instructions in the manual.Please point out where I am doing wrong.Any help will be highly appreciated. Regards, Brooks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - ht

Re: [web2py] Re: wrong record getting selected in recursive select

2016-09-04 Thread brooks lee
t just move the > menu field(s) into the Restaurant table? > > Anthony > > > > > > On Friday, September 2, 2016 at 2:27:23 PM UTC-4, @brooks wrote: >> >> I want to select those records in the Menu table such that the name of >> the restaurant with id in the Menu.

Re: [web2py] Re: wrong record getting selected in recursive select

2016-09-02 Thread brooks lee
I want to select those records in the Menu table such that the name of the restaurant with id in the Menu.restaurant field ==request.args(0).So,what should be the DAL query here? On Fri, Sep 2, 2016 at 6:51 PM, Anthony wrote: > indices=db(db.Menu).select() >> for index in

Re: [web2py] Re: wrong record getting selected in recursive select

2016-09-01 Thread brooks lee
urant.Name==request.args[0]).select(db.Menu.ALL).first() if t: record=db.Menu(t.id) form=SQLFORM(db.Menu,record).process() .. . Regards, Brooks On

[web2py] wrong record getting selected in recursive select

2016-09-01 Thread @brooks
selected even if the condition is not true.I do not understand it.Please tell me what I am doing wrong.Any help is appreciated. Regards, Brooks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p

[web2py] redirection using ajax with javascript variables passed in the url.

2016-09-01 Thread @brooks
I am doing the following to pass the javascript variable from the view to the controller: ##default/rough2.html {{extend 'layout.html'}} var x=document.getElementById("demo"); jQuery(document).ready(function(){ geolocation(); }) function geolocation() { if

[web2py] Re: different table for every user

2016-06-18 Thread @brooks
ing a common filter. > > On Saturday, 18 June 2016 07:47:42 UTC-5, @brooks wrote: >> >> Hi, >> I am new to python as well as web2py.I am trying to make an application >> where i am thinking of having a different table for every user and store >> every user

[web2py] passing arguments from view to a controller function

2016-06-18 Thread @brooks
Hi I am trying to make an online calendar.Now,to add an event to a particular date I m doing the following: -the user clicks on a date and an event window pops up and the event inserted is then added to the database. -so,when the user clicks the (date) element ,the "event" window has to pop up

[web2py] different table for every user

2016-06-18 Thread @brooks
Hi, I am new to python as well as web2py.I am trying to make an application where i am thinking of having a different table for every user and store every user's data in his table.But i do not know how to do it?Moreover,is it better than just adding a "user" column in one single table? --

Re: [web2py] Re: Single error message for radio group

2012-05-17 Thread Michael Brooks
I can't find any documentation of the hideerror feature, but looking at html.py, I don't see how the above example would work: INPUT( _type='radio', _name='age', _value='5', _id='age5', hideerror=True,value =self.request.vars['age']) The hideerror flag seems to work if you do this, though: