Re: [web2py] Re: Viewing tickets outside of admin

2012-03-28 Thread Tsvi Mostovicz
I'll have a look at it maybe tomorrow on my train commute or else during the coming week. Thanks, Tsvi Mostovicz ttm...@gmail.com www.linkedin.com/in/tsvim On Wed, Mar 28, 2012 at 17:09, Alan Etkin spame...@gmail.com wrote: The web ticket output is managed by this code: web2py/applications

[web2py] Possible bug with a referenced field?

2012-02-28 Thread Tsvi Mostovicz
Hi, In my models I have 2 tables, where table 1 has field a referencing table 2. As each user has a bunch of fields both in table 1 as well as in table 2, I used the request_tenant field with some uuid in both tables which is tied to the user (I'm not using the users ID for various reasons). I

[web2py] Nesting HTML tables

2012-01-29 Thread Tsvi Mostovicz
Hi all, I'm trying to get the following HTML structure using HTML helpers: tablethead.../thead tbody.../tbody tablethead.../thead tbody.../tbody /table/table AKA nested tables. For some reason when I put the TABLE helper within another TABLE helper, the internal one gets surrounded by tbody, tr

Re: [web2py] Re: Inherit type from parent

2012-01-18 Thread Tsvi Mostovicz
Massimo, I submitted issue 625 with a patch to populate.py which allows it to take the compute field into consideration when populating the database. Thanks, Tsvi Mostovicz ttm...@gmail.com www.linkedin.com/in/tsvim On Mon, Jan 16, 2012 at 22:45, Anthony abasta...@gmail.com wrote: No, I

Re: [web2py] Re: session.token does not get picked up by default value for database entry

2012-01-18 Thread Tsvi Mostovicz
I think I got it, but I don't understand the solution. If I understand correctly, since the model is run before the controller, default is set to None. But why does lambda solve this? Sent from my phone On 18 בינו 2012, at 23:39, Anthony abasta...@gmail.com wrote: At the time you assign the

Re: [web2py] Re: Inherit type from parent

2012-01-16 Thread Tsvi Mostovicz
Could be it works, but for populate it doesn't. I was hoping to generate a rule that would force populate to behave correctly. For the user I can obviously deal with it in AJAX. Is it possible that populate disregards the compute field? Tsvi Mostovicz ttm...@gmail.com www.linkedin.com/in/tsvim

Re: [web2py] Re: global functions in models

2012-01-05 Thread Tsvi Mostovicz
I managed to find the culprit. The function before it had a mismatched parentheses. So it would continue reading this function and fail on compilation. Thanks for all your replies. The append works, although if this is a new user and no list has been defined yet it won't. So I check if it returns

Re: [web2py] Re: Custom registration action

2012-01-03 Thread Tsvi Mostovicz
, Tsvi Mostovicz ttm...@gmail.com www.linkedin.com/in/tsvim On Tue, Jan 3, 2012 at 14:28, Alan Etkin spame...@gmail.com wrote: If you are using the auth object as configured in the scaffolding app model, it is possible to customize auth with this variables (maybe the list is incomplete

Re: [web2py] Re: Smartgrid trouble: exceptions KeyError

2011-12-15 Thread Tsvi Mostovicz
I want to have a working demo of my app for anybody that comes to the site. If they decide to stay I save their data, otherwise I delete it with a cron job. I understand the signature is supposed to prevent hijacking of the session. I don't want the data to be compromised, even for a anonymous