[web2py] Re: In search of CAS 2 provider and consumer example

2013-02-25 Thread CrC Nommack
Hi I have the same problem, please help. I'm also in SSL Regards On Friday, February 22, 2013 7:59:11 PM UTC+1, rh wrote: > > On Thu, 21 Feb 2013 11:37:05 -0800 (PST) > Massimo Di Pierro > > wrote: > > > Not sure what example to write. > > > > Make two copies of the welcome app. Call one app

[web2py] Re: Problem with smartgrid linked tables: 'Row' object has no attribute 'f_name'

2013-06-07 Thread CrC Nommack
Hi, I have the same problem. I defined the following tables: db.define_table('t_questions', Field('f_question', type='text', label=T('Question')), Field('f_question_number', type='integer', label=T('Question number')), Field('f_lecture', type='reference t_activities', label=T('Lecture'

[web2py] smartgrid breadcrumbs

2013-06-12 Thread CrC Nommack
Hello, sorry to bother you guys but I can figure it out how I can solve this problem. I have the following tables: db.define_table('t_unit', Field('f_unit', type='string', label=T('Unit')), auth.signature, format='%(f_unit)s', singular="Uni

[web2py] Re: smartgrid breadcrumbs

2013-06-12 Thread CrC Nommack
Thank you very much Anthony! It works! Kind regards On Wednesday, June 12, 2013 3:24:19 PM UTC+2, Anthony wrote: > > db.define_table('t_unit_offices', > > Field('f_unit', 'reference t_unit', label=T('Unit')), >> Field('f_office', 'reference t_offices', label=T('Office')), >> a

[web2py] Re: smartgrid breadcrumbs

2013-06-12 Thread CrC Nommack
ame(value) > > On Wednesday, June 12, 2013 4:21:05 AM UTC-4, CrC Nommack wrote: >> >> Hello, sorry to bother you guys but I can figure it out how I can solve >> this problem. >> I have the following tables: >> >> ##

[web2py] Expose class into a component

2015-02-12 Thread CrC Nommack
Hi guys, I have a problem that I don't really know how to deal with. I will explain the context: I have an *index.html* that calls two components (LOAD) One of the components is a controller with an index function and within this function I put the following code: def index(): path = os.path.

[web2py] Re: Expose class into a component

2015-02-12 Thread CrC Nommack
Thank you very much Leonel. It worked!! The only thing is that if I click on a picture it doesn't open as a picture but as raw data. Any idea? Thank you very much. Kind regards. El jueves, 12 de febrero de 2015, 17:38:31 (UTC+1), Leonel Câmara escribió: > > You could make the links in the loade

[web2py] Re: Expose class into a component

2015-02-12 Thread CrC Nommack
e some custom JS to catch link clicks > and load the URL into the component div via Ajax. We could probably add an > Ajax trap option to Expose to handle this automatically. Feel free to > submit a github issue with this feature request. > > Anthony > > On Thursday, Februa

[web2py] rendering components

2014-09-08 Thread CrC Nommack
Hi everybody, I hope you can help me with this. I have a view with different components (LOAD) and I want it to be rendered in a file. What I'm using is the following: ... ... with open(filename, 'wb') as f: f.write(response.render('index.html', dict(var1=var1, var2=var2)) being var1 and var2

[web2py] Export view to a file client side

2014-10-16 Thread CrC Nommack
Hi everybody. First of all thank you very much for your help it would be really appreciated. Well this is "my problem". I have a custom view and I want it to be save as a html file by the client. But I don't know how to do it!!! I tried: with open(filename, 'wb') as f: f.write(response