[web2py] 1.99.4 Active Directory LDAP Issue

2012-02-07 Thread Ialejandro
Hi!! I have a lot of apps running with Windows LDAP and web2py (1.8) and everything works just fine. Now I'm trying to build an app from scratch using the same auth method with web2py 1.99.4. But it doesn't work. When I try to log in (after typing pass and username) I get a ticket this is what it s

[web2py] Re: Communicating With C Application

2011-10-30 Thread Ialejandro
ay to retrieve rows from web2py? On Oct 30, 3:47 pm, Ialejandro wrote: > Hi! I'm building a simple (really) bank simulator for my class, I need > to communicate my existing web2py app (just a CRUD) with a C > application, what´s the best way to do that?? > > I mean, I n

[web2py] Communicating With C Application

2011-10-30 Thread Ialejandro
Hi! I'm building a simple (really) bank simulator for my class, I need to communicate my existing web2py app (just a CRUD) with a C application, what´s the best way to do that?? I mean, I need to have the same CRUD functionality in both sides, web (with web2py) and client (Ansi C, Unix/Linux/Mac),

[web2py] RIA Framework Recomendation

2011-10-21 Thread Ialejandro
Hi everyone!! This time, I really need your help. I need to build a true RIA with web2py, we have several intranet applications running with web2py. I must unify them and make them look like this: http://dev.sencha.com/deploy/ext-4.0.0/examples/sandbox/sandbox.html we need real time charts, drag

[web2py] linkto SQLTABLE to modal

2011-08-10 Thread Ialejandro
hi! I'm trying to represend the ID of a SQLTABLE as a link to a mmodal window (containing a crud.update) so I'm doing this (just to show the modal): {{extend 'layout.html'}} {{a=PluginMModal(title='Hello World',content='give this a try!',close='close',width=70,height=70)}} {{=a}} {{=SQLTABLE(t

[web2py] Bookings with expiration date

2011-07-12 Thread Ialejandro
Hi! I'm currently building an app where I need accomplish this: When a booking is made I specify the booking start date time and the booking end date time. How could I check periodically when a booking has ended (according to end date)?? For example: db.define_table('building1_rooms' Fie

[web2py] GAE and MySQL

2011-05-28 Thread Ialejandro
Hi every one!!! I was wondering if is possible to deploy an app using GAE but taking data from a MySQL server, for example I have a free account at 000webhost with MySQL DB and I'd like to use GAE just as a hosting service and connect to my 000webhost DB. Is it possible??? if not, any suggestion

[web2py] Dynamic Table Generation

2011-05-24 Thread Ialejandro
Hi everyone, I'm trying to make an app where a user can create its own tables bases in some attributes, I have this: View: {{extend 'layout.html'}} Project Name: Number Of Fields: Name of Fields: Submitted variables {{=BEAUTIFY(request.vars)}} Controller: def config(): if request.v

[web2py] Re: pythonanywhere

2011-05-20 Thread Ialejandro
Well, in fact Resolver One is made with IronPython (asp.net). I read it in the book "IronPython in action" which is written by one of the developers of Resolverone.

[web2py] How to run a daemon/service??

2011-04-27 Thread Ialejandro
Hi! Developing my school project app, I have this: I have a dir called _configdir with some .ini files, these files have this structure: [ROOMNAME] owner=somename data1=somedata data2=somedata data3=sometada Those inis are sent to my sever from many other pcs trough ftp. I made this script for p

[web2py] CRUD.Search() Custom table

2011-04-26 Thread Ialejandro
hi! I was wondering how could I customize the html table that results from a crud.search() query?? I mean, how could I send the query results to powerTable for example, or datatables.

[web2py] MySQL Version Bug????

2011-04-25 Thread Ialejandro
Hi every one! I have a web2py app running on a windows server, I'm using MySQL trough XAMPP 1.7.3 (MYSQL Version = 5.1.41), and everything works more than fine. But today I made an upgrade to XAMPP 1.7.4 (MYSQL Version = 5.5.8) and nothing works! At the first time I run the web2py app It shows m

[web2py] Bookings Manager

2011-04-11 Thread Ialejandro
Hi everybody!! Again with my booking example, but now I'm really stucked. I have this model: *** if auth.is_logged_in(): me = auth.user.id else: me = None db.define_table('room' Field('name','st

[web2py] How could I insert data from script??

2011-03-28 Thread Ialejandro
Hi!! How could I save data to DB from a script?? I have a script that runs with "web2py -R script.py" How could I handle the DB from that script?? I just have this: >From gluon Import DAL and then???

[web2py] File Upload and save to DB

2011-03-22 Thread Ialejandro
HI everyone!! this time I have a new question... I'm developing an application where I generate an INI file (could be any file) with specific info. For example I have this ini structure [Room] name = room1 color = red size = big (I generate the file dynamically from an X computer [x could be a

[web2py] Internet Explorer Issue

2011-03-14 Thread Ialejandro
Hi every body! I have some issues with Internet Explorer (I think all versions) when I get into my app developed with wep2py in chrome or firefox there's no problem, but with IE, the dropdowns doesn't show correctly, when I select a value it appears split, some fields are overlapped... well I have

[web2py] Auto Submit DropDown

2011-03-11 Thread Ialejandro
Hi everybody!!! How could I make an auto submit with a dropdown??? I have this: def index(): form = SQLFORM.factory(Field("project",label="Project",requires=IS_IN_DB(db(db.project.id>0),'project.id','project.name',error_message="Please pick a project from the list"))) if FORM.accepts(form

[web2py] Groups and Roles using LDAP

2011-03-10 Thread Ialejandro
Hi! I have this question, how could I use LDAP auth and use roles. So I need to take the users from an active directory (microsoft exchange) and they must have a role. How could I do that?? I need 2 basic roles, Boss, User (boss can create, delete) and have access to every controller in the app, w

[web2py] How to catch values from CRUD.CREATE and validate?

2011-03-07 Thread Ialejandro
Hi again! Playing again with my hotel booking sys I have a new doubt... I have this model: db.define_table('room', Field('name','string), Field('ubication','string')) db.define_table('booking', Field('room',db.room), Field('host','string')) So I have this controller: def index()

[web2py] PowerTable default search filter

2011-02-21 Thread Ialejandro
Hi! I'm working with powertable, but I need to have a default search filter. Is it possible?? For example, could I have a dropdown with some keywords (and of course a default) instead the text input (in the search area), or could I have a default word in this area??

[web2py] Re: How to manipulate default tables and use them with powertable

2011-02-21 Thread Ialejandro
Help! Why anybody answer me? :( On Feb 21, 3:25 pm, Ismael Alejandro wrote: > Hi!! I have a new doubt, this time I'm trying to customize a > table generated by a search, this is what I have: > > (Model) > > db.define_table('category', >             Field('name','string'),format='%(name)s') > > db

[web2py] Customize search results table

2011-02-18 Thread Ialejandro
Hi everybody!! I have a new doubt, this time I'm trying to customize a table generated by a search, this is what I have: (Model) db.define_table('category', Field('name','string'),format='%(name)s') db.define_table('book', Field('name','string), Field('c

[web2py] Cappuccino Framework

2011-02-15 Thread Ialejandro
Hi! Is it possible to use that framework with web2py? also in Windows? Anybody has tried it out? How could I get it working? Thanks!

[web2py] Dynamic PowerTable populate

2011-02-15 Thread Ialejandro
Hi!! I'm using powertable plugin for a simple app I have the following: (Model) db.define_table('location', Field('name','string'),format='%(name)s') db.define_table('car', Field('name','string'), Field('model','string'), Field('location_id',db.loc

[web2py] PowerTable Issue

2011-02-14 Thread Ialejandro
Hi everybody!! I'm using powertable plugin for a simple app I have the following: (Model) db.define_table('location', Field('name','string'),format='%(name)s') db.define_table('car', Field('name','string'), Field('model','string'), Field('loca

[web2py] Re: Multiple Selection and Send Email

2011-02-03 Thread Ialejandro
I've written the validator like this: def create(): db.booking.room_id.requires = IS_IN_DB(db, db.room.id, '% (name)s',multiple=True) form = crud.create(db.booking, next = URL('index')) return dict(form=form) and when I run it in the browser if I try to save the data I get a ticket, t

[web2py] Multiple Selection and Send Email

2011-02-02 Thread Ialejandro
Hi every one! Again me, this time I have a little issue with this: I have the model: db.define_table('location', Field('name','string')) db.define_table('room', Field('name','string'), Field('isbooked','boolean'), Field('location_id', db.location)) db.define

[web2py] Pass variables from javascript to a controller

2011-01-27 Thread Ialejandro
Hi! I'm playing with web2py, and I'm making a booking system, I have a model as follow: db.define_table('room', Field('name','string'), Field('location','string')) I'm showing the rooms as a list with jqueryUI selectable (http:// jqueryui.com/demos/selectable/display-grid.html), so every

[web2py] Web2py + jquery UI Accordion

2011-01-21 Thread Ialejandro
Hi there! I'm new to web2py, It is just... awesome! Well this is my question, I'd like to know how could I use the jquery UI accordion with web2py and fill it from a db. For example I have the model, db.define_table('people', Field('name','string') Field('comments','text')) And i like