Pretty sure that controller isn't returning json.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to
Note that I never used DHTMLX I'm just looking at their documentation, it
appears you can use the same URL to save and load the results using
something like this instead of scheduler.load
myDataProcessor = new
+1 if web2py inside!! ( you forgot to tell)
2016-03-26 10:58 GMT+00:00 Francisco Tomé Costa :
> Hi,
> At https://www.emprego.pt we've developed a job posting site, where
> candidates can create their professional profile (like LinkedIn)
>
You're right.
I changed the return in the controller to
*return response.json(rows)*
and now it works as expected.
Thanx.
Still... what to do with all that PHP the dataConnector is written in, in
order to get data back tot the server
Op zondag 27 maart 2016 07:56:15 UTC-4 schreef
What database you guys are using? If you dont mind asking. Also the remax,
century21...logos. do you read them automatically in the table as people create
their account or you make them upload a picture?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
replace
IS_IN_DB(db_region(*db_region.post.state_id==db_region.county.state_id*)
with
IS_IN_DB(db_region(*db_region.post.state_id==request.vars.state_id*)
On Saturday, 26 March 2016 12:24:52 UTC-5, lucas wrote:
>
> hello one and all,
>
> ok, under the DAL model, say i have a county and zip
Congratulations! well done.
On Saturday, 26 March 2016 07:56:11 UTC-5, Francisco Tomé Costa wrote:
>
> Hi,
> At https://www.emprego.pt we've developed a job posting site, where
> candidates can create their professional profile (like LinkedIn)
> https://www.emprego.pt/apresentacao and
Fantastic!
On Saturday, 26 March 2016 15:05:20 UTC-5, Literate Aspects wrote:
>
>
> https://www.udemy.com/web-engineering-with-python-and-web2py/learn/v4/t/lecture/3067796
>
> This is the actual course at Lecture # 9. Start from the beginning and
> enjoy. This manner of instruction is very
Hello Massimo,
Am Sonntag, 27. März 2016 17:18:42 UTC+2 schrieb Massimo Di Pierro:
>
> Hello Mike,
>
> could you explain your patch to web2py-developers? it is quite extensive.
>
>
I think you misunderstood me (or I didn't explain it well).
This "patch" is only a summary of what I found in
I think I may have found a bug when rendering custom auth forms using
SQLFORM.
When the auth profile form is rendered using form.custom.begin -
form.custom.end the hidden fields are rendered incorrectly causing the
form not submit correctly.
The following code works correctly:
*Model*
You cannot call .process() on an Auth form, as the Auth method already does
that.
Anthony
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received
Both of these return the same result, my question:
Are they both consider equally valid or is one better than the other?
The reason I ask is, the first is what I currently use, the second is from
a tutorial dated 2008.
def showall():
x = db(db.twitch).select()
#x =
Can anyone with firefox 44.0.2 (default with ubuntu 14.04) help verify a
potential bug:
I get broken mouse wheel scrolling behavior on web2py with the default
ubuntu 14.04 firefox v44.0.2.
The mouse wheel scrolling requires many full wheel rotations to clear a
single line of text.
Those with
http://stackoverflow.com/questions/36235871/web2py-rest-api-endpoint-gives-invalid-path-output
Can someone please look at the question posted. I have been struggling hard
to get this right. Also I have observed this to be far rare "invalid path".
Also can someone please direct me to where I can
This is a really nice course and I hope it helps people gain an
understanding of web dev and web2py.
One thing to note, this course is over 12 months old without an update and
has *not *evolved further.
Content is good, but there is no support!
On Saturday, 26 March 2016 20:05:20 UTC,
Just to follow up on Mirek;s post, the url is
https://www.alwaysdata.com
simple typo, seems like a good hosting solution.
On Sunday, 21 February 2016 06:38:46 UTC, Rgb Aston wrote:
>
> Which one's the best to go for?
>
--
Resources:
- http://web2py.com
- http://web2py.com/book
The fact is webrtc is pure JS. It is from client to client. Wether you use
Flask or Django or web2py or PHP or ASP to serve pages is irrelevant.
Massimo
On Sunday, 27 March 2016 10:05:06 UTC-5, Ron Chatterjee wrote:
>
> https://m.youtube.com/watch?v=uBV_KKGzNqQ
>
> Found that link that talks
Correction. replace
IS_IN_DB(db_region(*db_region.post.state_id==db_region.county.state_id*)
with
IS_IN_DB(db_region(*db_region.county.state_id == **request.vars.state_id*)
On Sunday, 27 March 2016 10:16:13 UTC-5, Massimo Di Pierro wrote:
>
> replace
>
>
Hello Mike,
could you explain your patch to web2py-developers? it is quite extensive.
On Saturday, 26 March 2016 13:00:25 UTC-5, Mike Constabel wrote:
>
> Hello all and Anthony,
>
> Am Freitag, 20. November 2015 07:52:05 UTC+1 schrieb Bart:
>>
>> Hi Anthony,
>>
>> This solution you mention is,
https://m.youtube.com/watch?v=uBV_KKGzNqQ
Found that link that talks about it. But it uses flask. So for chatting use
channels n realtime streaming n audio use webrtc. Learn something new everyday!
Thank you massimo.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
https://m.youtube.com/watch?v=uBV_KKGzNqQ
Found that link that talks about it. But it uses flask. So for chatting use
channels n realtime streaming n audio use webrtc. Learn something new everyday!
Thank you massimo.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To
also I want to remove the fields first_name and last_name. How do I do that?
On Sunday, March 27, 2016 at 9:57:27 PM UTC+5:30, Jacob Devin wrote:
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Thank you Anthony. Once the process() is removed it works correctly.
On Sunday, March 27, 2016 at 9:43:22 AM UTC-7, Stuart Rolinson wrote:
>
> I think I may have found a bug when rendering custom auth forms using
> SQLFORM.
> When the auth profile form is rendered using form.custom.begin -
>
On an interactive console running:
rows = db(mytable).select()
rows[0].as_json()
I get the expected result, an unicode string containing the row
representation with the right values.
On a controller or view i get a complete different thing:
The result is a dictionary with a single ['_extra']
in models :
auth.settings.actions_disabled = ['profile']
custom_auth_table = db[auth.settings.table_user_name]
custom_auth_table.first_name.readable = False
custom_auth_table.last_name.readable = False
custom_auth_table.first_name.writable = False
custom_auth_table.last_name. writable = False
Hello,
Is there a way I can customize my sidebar at one place and use it on all
views?
Now I have my sidebar customized and displayed on index.html, but how can I
let all other my views include the same sidebar?
Any help?
--
Resources:
- http://web2py.com
- http://web2py.com/book
pls try in your view :
{{right_sidebar_enabled = True}}
{{block right_sidebar}}
{{include 'default/right_sidebar.html'}}
{{end}}
{{extend 'layout.html'}}
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
The view looks now as follows:
{{extend 'layout.html'}}
Example of scheduler
scheduler.config.xml_date="%Y-%m-%d %H:%i";
scheduler.init('scheduler_here', new Date(),"month");
Thanks, that helped. The message variable was causing the issue. I used
attachment when I was trying to track down the payload variable.
On Saturday, March 26, 2016 at 4:10:14 PM UTC-5, Anthony wrote:
>
> What is the value of "message", and why are you passing an empty list as
> the
inside view I have:
http://www.google.com/jsapi?key=">
if(google.loader.ClientLocation)
{
visitor_lat = google.loader.ClientLocation.latitude;
visitor_lon = google.loader.ClientLocation.longitude;
visitor_city =
inside view I have:
http://www.google.com/jsapi?key=
">
if(google.loader.ClientLocation)
{
visitor_lat = google.loader.ClientLocation.latitude;
visitor_lon = google.loader.ClientLocation.longitude;
visitor_city =
Hi me again,
It appears that the Timeline functionality that I was looking for is only
included in the DHTMLX Pro Commercial Version which costs 490$.
I have been looking into a lot of products for functionality to present
resources with a scheduler/ timeline.
So far I have only found
I think it's a problem with the new stupid.css - same problem in Firefox on
Windows.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this
Thank u for confirming the issue. I should be able to identify the culprit u
using browser debugger. Will post back if I find the css or js line.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Your choice. If you want all records and all fields, the first is probably more
common, but either way is fine.
Anthony
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
So I have created a db table with name 'messages' and fields= message, sender,
receiver,date_time where sender is auth.user_id by default and unchangeable.
date_time represents when the message was sent out.
So when one user opens his message view he can see all his messages (designed
such a
Chat can be hard. You might check out sockets:
https://github.com/web2py/web2py/blob/master/gluon/contrib/websocket_messaging.py
And:
https://groups.google.com/forum/#!topic/web2py/RFVnoCLyyjs
https://groups.google.com/forum/#!topic/web2py/ABaQw0TYUsc
Web2py is my "go to" framework but if you
Sorted out with:
rows = db(db.mytable).select(*[db.mytable[f] for f in
db.mytable.fields[0:5])
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You
Please don't send me the link of the documentation. I seriously tried it
but it's not working. Please write the codes finally as I have given up
struggling with it.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
On Sunday, March 27, 2016 at 10:31:37 PM UTC-4, Alfonso Serra wrote:
>
> Sorted out with:
> rows = db(db.mytable).select(*[db.mytable[f] for f in
> db.mytable.fields[0:5])
>
Yes, .select() takes field objects, not just field names. Iterating over
the table object itself yields its field
41 matches
Mail list logo