Re: [web2py] Re: AWS Elastic Beanstalk installation Recipe

2014-05-26 Thread kato
I do not know would be helpful, but there is recipe for Beanstalk. Please use the Google translater, because it is Japanese. http://docs1.erp2py.com/web2py_deploy/aws_beanstalk/aws_beanstalk.html#id4 2014年5月24日土曜日 12時47分38秒 UTC-3 Diogo Munaro: > > But how could I manage migrates? How could I m

Re: [web2py] SQLEDITABLE plugin

2014-07-07 Thread kato
ponse.view = 'plugin_sqleditable/sample.html' editable = SQLEDITABLE(db.employee_sheet, record=record(),showid=False, maxrow=5).process() return dict(editable=editable) If you use "primarykey" and multiple key fields, you need to write list of list in "record" parameter

[web2py] Re: web2py 2.15.0b1

2017-07-10 Thread kato
Hi. I found a problem with python3. File ".../web2py/gluon/validators.py", line 455, in options items = [(k, self.labels[i]) for (i, k) in enumerate(self.theset)] File ".../web2py/gluon/validators.py", line 455, in items = [(k, self.labels[i]) for (i, k) in enumerate(self.theset)] TypeEr

Re: [web2py] Re: User-friendly checkbox/radio-button widget in gluon/sqlhtml.py

2011-08-23 Thread KATO Ryoichi
Well, actually I'm embarrassed that I didn't know about And yes, I'm pretty sure that the change can be more simple. Primarily what I want is clickable option value(label) for radio/checkboxes. Besides, * Preferably, more large clickable area (*1) * Dynamic style change (as shown on the d

Re: [web2py] Re: User-friendly checkbox/radio-button widget in gluon/sqlhtml.py

2011-08-24 Thread KATO Ryoichi
I've re-implemented the code using , as Anthony advised. http://code.google.com/r/ryo1kato-web2py/source/list?name=better-checkbox2 And demo is updated also http://ryo1kato.appspot.com/checkbox The code is shorter, but still ugly. But I couldn't figure out how to improve even more, despite

Re: [web2py] Re: User-friendly checkbox/radio-button widget in gluon/sqlhtml.py

2011-08-24 Thread KATO Ryoichi
py and that will also allow to style the > options using pure css. Can you try it? > > massimo > > On Aug 24, 9:36 am, KATO Ryoichi wrote: >> I've re-implemented the code using , as Anthony advised. >>    http://code.google.com/r/ryo1kato-web2py/source/list?name=bette

Re: [web2py] Re: User-friendly checkbox/radio-button widget in gluon/sqlhtml.py

2011-08-24 Thread KATO Ryoichi
No, we don't need jQuery. Just using plain JavaScript, and it's for dynamic style update. And yes, If we only want to check/uncheck by click on labels, is sufficient. On Thu, Aug 25, 2011 at 00:18, Bruno Rocha wrote: > I dont understand why we do need jquery to take this action? > just incluce

Re: [web2py] Re: User-friendly checkbox/radio-button widget in gluon/sqlhtml.py

2011-08-24 Thread KATO Ryoichi
> I say don't use Javascript if it can be done with a simple html > element. Right, but I couldn't figure out how for dynamic style update; what's "formstyle"? Anyway, I should shut up and wait when someone skilled than me is working for similar thing ;-) On Thu, Aug 25, 2011 at 00:32, Anthony w

Re: [web2py] Re: User-friendly checkbox/radio-button widget in gluon/sqlhtml.py

2011-08-24 Thread KATO Ryoichi
> Yes, using will make the labels clickable, but won't do dynamic > style updating. I like the idea of dynamic styling, but just not sure it > belongs in the core framework code -- then users who don't like it or want > to implement it differently will have to disable it. Maybe if it's optional, >

[web2py] SQLEDITABLE plugin

2014-07-01 Thread 'kato' via web2py-users
Hi. I tried to make SQLEDITABLE plugin. demo-page: http://docs1.erp2py.com/sqleditable/demo/demo_en.html It is similar as gluon/contrib/spreadsheet. But, it is easy to use more. If you are interested, please try. Thanks. -- Resources: - http://web2py.com - http://web2py.com/book (Documentatio

[web2py] Re: SQLEDITABLE plugin

2014-07-03 Thread 'kato' via web2py-users
Hi all. Thank you for your quick reply. kato 2014年7月1日火曜日 20時35分06秒 UTC-3 JorgeH: > > > Cool!! > > Great work > > On Tuesday, July 1, 2014 8:12:29 AM UTC-5, kato wrote: >> >> Hi. >> >> I tried to make SQLEDITABLE plugin. >> >> demo-pa

Re: [web2py] SQLEDITABLE plugin

2014-07-07 Thread 'kato' via web2py-users
Hi fabiano. It is not possible to pass a query currently. But "record" parameter is so callable, please set there. Please see to the demo5 <http://docs1.erp2py.com/sqleditable/demo/demo_en.html#demo5> . thanks. 2014年7月6日日曜日 15時19分04秒 UTC-3 Fabiano Almeida: > > H

[web2py] Re: SQLEDITABLE: redirect after submit

2014-07-09 Thread &#x27;kato' via web2py-users
Hi. You can write same as SQLFORM. example. def demo070(): response.title = 'demo070' response.view = 'plugin_sqleditable/sample.html' editable = SQLEDITABLE(db.employee_sheet, showid=False, maxrow=5) if editable.accepts(request.vars, session): response.flash = T('editable

[web2py] Re: SQLEDITABLE: redirect after submit

2014-07-09 Thread &#x27;kato' via web2py-users
owid=False, maxrow=5, deletable=True).process(next=URL('static', 'success.html')) return dict(editable=editable) 2014年7月9日水曜日 8時52分21秒 UTC-3 kato: > > Hi. > > You can write same as SQLFORM. > > example. > def demo070(): > resp