Re: [web2py] Re: generated multilevel menu

2010-05-17 Thread Julius Minka
egory.id>0).select(orderby=db.category.parent_id| > db.category.name) > for item in items: > keys[item.id]=ul=UL() > keys[item.parent_id].append(LI(A(item.name,_href='#'),ul) > return keys[root] > > {{=build_menu()}} > > On Apr 26, 12:31

[web2py] shared hosting again

2010-05-25 Thread Julius Minka
I tried to make it work on local hosting based on this (before I already failed with some other guides): http://www.web2pyslices.com/main/slices/take_slice/68 Earlier I verified, I can run simple python script, I got result to the browser. Now I prepared environment as you cam see here: --

[web2py] postgresql connection problem

2010-05-26 Thread Julius Minka
This is virtual server with centos 5.5 in internet. I have successfully instaled web2py with Apache and mod_wsgi based mainly on instructions from http://web2py.com/AlterEgo/default/show/239 and http://web2py.com/AlterEgo/default/show/240 Probably last step is missing. I am getting this error wh

Re: [web2py] postgresql connection problem

2010-05-27 Thread Julius Minka
I did that as first thing. No luck. I changed it to IP as I it works from command line. Julius V Streda, 26. máj 2010 o 19:41 -0500, Thadeus Burgess napísal(a): > Try > > postgres://w2p:passw...@localhost:5432/w2p > > -- > Thadeus > > > > > > On Wed, M

Re: [web2py] postgresql connection problem - SOLVED

2010-05-27 Thread Julius Minka
Julius V Štvrtok, 27. máj 2010 o 10:41 +0200, Julius Minka napísal(a): > I did that as first thing. No luck. > I changed it to IP as I it works from command line. > > Julius > > V Streda, 26. máj 2010 o 19:41 -0500, Thadeus Burgess napísal(a): > > Try > > > &

Re: [web2py] postgresql connection problem -

2010-05-27 Thread Julius Minka
erent? Julius V Štvrtok, 27. máj 2010 o 12:20 +0200, Julius Minka napísal(a): > I found the reason by removing exception catching when connecting to > Postgres in gluon/sql.py. > It told me that this line > self._execute("SET standard_conforming_strings=on;") > is a pr

Re: [web2py] postgresql connection problem -

2010-05-27 Thread Julius Minka
+0200, Julius Minka napísal(a): > I was too fast. > It works when accessed on port. > > It doesn't when accessed through mod_wsgi: > > File "gluon/sql.py", line 3835, in DAL > migrate=migrate, fake_migrate=fake_migrate) > File "gluon/sql.py", li

Re: [web2py] Re: form[0] insert

2010-06-08 Thread Julius Minka
Can this be used to modify a value of an element? I remember I have tried in the past and I failed. The goal was to display just first 10 characters of longer field in the WebGrid by Mr.Freeze. Julius V Pondelok, 7. jún 2010 o 23:32 -0700, annet napísal(a): > Massimo, > > Indeed it was easier to

Re: [web2py] Re: form[0] insert

2010-06-08 Thread Julius Minka
orok, 8. jún 2010 o 06:20 -0700, mdipierro napísal(a): > yes > > form.element('div#id.class')['_value']=45 > > On Jun 8, 7:46 am, Julius Minka wrote: > > Can this be used to modify a value of an element? > > I remember I have tried in the past and

Re: [web2py] Re: form[0] insert

2010-06-08 Thread Julius Minka
ses the represent function to display your field. You can do: > db.table.field.represent = lambda v: v[:10] + '...' > > On Jun 8, 10:11 am, Julius Minka wrote: > > The default Webgrid doesn't have a separate div for a field. > > Is CSS identification only way to a

Re: [web2py] Re: form[0] insert

2010-06-08 Thread Julius Minka
.field.represent = None > > Also you can do: > def shorten_field(r,fieldtype, row): > if fieldtype=='datarow': > find your field and shorten it > grid.row_created = shorten_field > > > On Jun 8, 10:40 am, Julius Minka wrote: > > Thanks for

Re: [web2py] Re: my app instead of welcome app???

2010-06-16 Thread Julius Minka
V Utorok, 15. jún 2010 o 15:51 -0700, Yarko Tymciurak napísal(a): > I think the simpler solution (simpler than routes.py) is - when > deploying, link your app to applicaitons/init --- it is simple, it > will behave as you want, and the only "operating system" that I can > think of that doesn't have

[web2py] form in layout.html?

2010-06-18 Thread Julius Minka
I need a contact form (name, address,...) on every page of a web site. Thinking about putting the form into layout.html and use some Ajax to send entered values to be processed by a controller. I would like to avoid page reload on form submission. I found 2 possible solutions in the archive: 1. ht

Re: [web2py] Re: form in layout.html?

2010-06-19 Thread Julius Minka
gt; {{=LOAD('default','contact')}} > > > > > On Jun 18, 11:26 am, Julius Minka wrote: > > I need a contact form (name, address,...) on every page of a web site. > > Thinking about putting the form into layout.html and use some Ajax to > > send en

Re: [web2py] Re: Little little Document Management System with flatbed scanners

2010-06-19 Thread Julius Minka
I just saw screenshots and will test application later. For OCR, these links could be useful: http://www.cuneiform.ru/eng/index.html http://code.google.com/p/ocropus/ http://www.webupd8.org/2010/02/how-to-extract-all-text-from-pdfs.html V Sobota, 19. jún 2010 o 01:58 -0700, szimszon napísal(a):

Re: [web2py] Re: form in layout.html?

2010-06-19 Thread Julius Minka
(form=form) > > and in layout.html > > {{=LOAD('default','contact')}} > > > > > On Jun 18, 11:26 am, Julius Minka wrote: > > I need a contact form (name, address,...) on every page of a web site. > > Thinking about putting the form int

[web2py] OWASP Top Ten

2010-06-23 Thread Julius Minka
There is a new version here: http://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project I wonder if it doesn't need to be reflected in the current version of the Book or in web2py itself. Julius

[web2py] customize form in template

2010-07-09 Thread Julius Minka
I am loading the form in the template this way: {{=LOAD('default','form')}} Can I somewhow customize it this way? {{=form.custom.begin}} Image name: {{=form.custom.widget.name}} Click here to upload: {{=form.custom.submit}} {{=form.custom.end}} What I actually need is to place labels above fields

[web2py] Re: [web2py:37631] Re: How to limit get_twits function?

2010-07-09 Thread Julius Minka
Was anybody able to resolve this issue? Julius V Pondelok, 21. december 2009 o 20:35 -0300, Tito Garrido napísal(a): > Looks like it just returns 1 result for: > http://search.twitter.com/search.atom?q=from%3Aweb2py > > strange... but thanks for your answers! > > On Mon, Dec 21, 2009 at 12:33 AM

Re: [web2py] Re: customize form in template

2010-07-12 Thread Julius Minka
Thanks, it was enough in this case. V Piatok, 9. júl 2010 o 05:47 -0700, mdipierro napísal(a): > if you just need to place labels above fields you can just do > > SQLFORM(...formstyle='table2cols') > > On 9 Lug, 06:25, Julius Minka wrote: > > I am loading th

[web2py] non empty fields in Crud Read

2010-07-26 Thread Julius Minka
Is it possible to display just lines with non-empty values in Crud Read or readonly SQLFORM? If not, should I do it through custom form? Julius

[web2py] LOAD and redirect

2010-08-05 Thread Julius Minka
Having something like this {{=LOAD('controller','action.load',vars={},args=[],ajax=True)}} in the layout.html and something like this form=SQLFORM.factory( Field(...), Field(...), Field(...), formstyle='table2cols',submit_button='Vyhľadať') if form.accepts(request.v

Re: [web2py] Re: LOAD and redirect

2010-08-07 Thread Julius Minka
irection? Julius V Štvrtok, 5. august 2010 o 15:23 -0700, mdipierro napísal(a): > This is the intended behavior. > for now you can do > instead of > >redirect(url) > > use > >raise HTTP(303,**{'web2py-component- > command':'document.location=&quo

Re: [web2py] Re: LOAD and redirect

2010-08-07 Thread Julius Minka
url="/"+request.application +"/default/nehnutelnosti.html?okres="+request.vars.okres +"&typ="+request.vars.typ+"&druh="+request.vars.druh raise HTTP(303,**{'web2py-component-command':'document.location="%s"'%

Re: [web2py] Re: LOAD and redirect

2010-08-09 Thread Julius Minka
gt; I am using trunk version > Version 1.82.1 (2010-08-04 18:57:33) > and the code you sent me works perfectly. > > Either I do not understand the problem or this is a browser issue. > What os and browser do you use? > > Massimo > > On Aug 7, 2:16 pm, Julius Minka wrote: &

Re: [web2py] Re: LOAD and redirect

2010-08-09 Thread Julius Minka
I am not able to fix this, but I am willing to test it again if needed. Julius V Pondelok, 9. august 2010 o 01:28 -0700, mdipierro napísal(a): > If you ding out what the problem is perhaps we can improve the code > and make it more cross-browser compatible. > > On Aug 9, 3:27 am,

Re: [web2py] Re: LOAD and redirect

2010-08-09 Thread Julius Minka
here is JS error? > > On Aug 9, 3:48 am, Julius Minka wrote: > > I am not able to fix this, but I am willing to test it again if needed. > > Julius > > > > V Pondelok, 9. august 2010 o 01:28 -0700, mdipierro napísal(a): > > > > > If you ding out what the

Re: [web2py] New server

2010-08-09 Thread Julius Minka
V Pondelok, 9. august 2010 o 05:05 -0700, Kenneth napísal(a): > Hello, > > I´m in the process of starting a newer server for my web2py > applications and would like to hear your comments about what to use. > > Anything about hardware that I should remeber? > > As linux version I´m planing on usi

Re: [web2py] Re: LOAD and redirect

2010-08-10 Thread Julius Minka
0 URI: http://93.184.68.161:/real/static/jquery.js Did you see the form working in an IE? Which version? Julius V Pondelok, 9. august 2010 o 13:20 +0200, Julius Minka napísal(a): > I didn't get any JS error. > > Details: > Epiphany has Webinspector which allowed me to

Re: [web2py] Re: New server

2010-08-10 Thread Julius Minka
V Pondelok, 9. august 2010 o 15:05 -0700, mdipierro napísal(a): > This worked for me: > > http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-fedora.sh > I believe it was not clean install and all dependencies were met before running this script. Or? Julius > On Aug 9, 3:06 p

Re: [web2py] Re: LOAD and redirect

2010-08-10 Thread Julius Minka
Form not displaying in IE was caused by other Jquery stuff on the page. Sorry for bothering you. However, redirection doesn't work in IE6. Julius V Utorok, 10. august 2010 o 10:07 +0200, Julius Minka napísal(a): > Massimo, > > I got a message from a friend telling me the form isn&

[web2py] generated multilevel menu

2010-04-26 Thread Julius Minka
I have to implement following 4-level menu in my view: Level1a Level1b Level1c* Level2a* Level3a* Level4a Level4b Level4c

[web2py] Slovak translation: sk-sk.py

2010-08-24 Thread Julius Minka
# coding: utf8 { '"update" is an optional expression like "field1=\'newvalue\'". You cannot update or delete the results of a JOIN': '"update" je voliteľný výraz ako "field1=\'newvalue\'". Nemôžete upravovať alebo zmazať výsledky JOINu', '%Y-%m-%d': '%d.%m.%Y', '%Y-%m-%d %H:%M:%S': '%d.%m.%Y %H:%M

[web2py] horizontal_radios and multiple td

2010-09-18 Thread Julius Minka
def horizontal_radios(f,v): table = SQLFORM.widgets.radio.widget(f,v) rows=table.elements('tr') table.components = [] table.append([row.elements('td') for row in rows]) return table def form(): form=SQLFORM.factory( Field('clientagent', requires=I

Re: [web2py] Re: horizontal_radios and multiple td

2010-09-18 Thread Julius Minka
Could you please be more specific? I am sorry to say I don' understand your response. Julius V Sobota, 18. september 2010 o 07:34 -0700, mdipierro napísal(a): > yes, the third columns is form Field(...comment='') > > On Sep 18, 5:47 am, Julius Minka wrote: >

[web2py] failed import of a module

2010-09-18 Thread Julius Minka
Trying to deploy web2py app in the Virtual Server with Debian installed using http://bazaar.launchpad.net/~mdipierro/web2py/devel/download/head:/setupweb2pyubuntu.sh-20091113071543-nuyvk7g9cfu086wk-1/setup-web2py-ubuntu.sh results in this error: Error traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.

Re: [web2py] Re: failed import of a module

2010-09-18 Thread Julius Minka
It works locally, the error occurs only on the server. V Sobota, 18. september 2010 o 14:46 -0700, mdipierro napísal(a): > I do not know but ... > Not all modules can go in the modules folder. Some of them exepect to > be in sys.path > > On Sep 18, 3:18 pm, Julius Minka wrote

Re: [web2py] Re: failed import of a module

2010-09-19 Thread Julius Minka
yes, it is. V Nedeľa, 19. september 2010 o 00:57 +0200, Michele Comitini napísal(a): > is there a __init__.py in modules? > > 2010/9/19 Jonathan Lundell : > > On Sep 18, 2010, at 2:46 PM, mdipierro wrote: > >> > >> Not all modules can go in the modules folder. Some of them exepect to > >> be in

Re: [web2py] Re: failed import of a module - SOLVED

2010-09-22 Thread Julius Minka
After I ran it once without Apache, it now works with Apache too. Any possible reason for that? Julius V Sobota, 18. september 2010 o 23:55 +0200, Julius Minka napísal(a): > It works locally, the error occurs only on the server. > > V Sobota, 18. september 2010 o 14:46 -0700, mdipierr

[web2py] pyforum security and future

2010-10-12 Thread Julius Minka
There is security issue reported here: http://secunia.com/advisories/37764 Is any fix available? Are there any plans to further develop pyforum? I am asking because I am considering pyforum as a base for bigger communication app. Julius

Re: [web2py] Re: pyforum security and future

2010-10-13 Thread Julius Minka
so I can potentially fix. > > > > All of this leads me to believe that such vulnerability indeed does > > not exist and that these individual's intentions were no other than > > trying to dishonestly obtain monetary gains. > > > > pyforum is open source software

[web2py:26132] javascript function call from controller

2009-07-10 Thread Julius Minka
Hi all, I have a javascript function in html file which is usually called from onclick event in the same file. It works fine. However I would like to call this javascript function from a controller. More precise description: after clicking an element in the page, the flow goes to controller. T

[web2py:26141] Re: javascript function call from controller

2009-07-10 Thread Julius Minka
JohnMc, decision is made based on data in db related to current screen. Julius JohnMc wrote / napísal(a): > Julius, > > Unless you are performing a server side lookup why not decide the > dialog to present using a clientside if or switch in javascript? > > On Jul 10, 8:5

[web2py:26157] Re: javascript function call from controller

2009-07-10 Thread Julius Minka
the clients runs > it. The trick here is ajax(...,':eval') which is defined by web2py. > > On Jul 10, 8:56 am, Julius Minka wrote: >> Hi all, >> >> I have a javascript function in html file which is usually called from >> onclick event in the same file. I

[web2py:13001] itemize formatting

2008-12-06 Thread Julius Minka
How can I format itemize output to a table (regular structure of columns)? I am showing more columns on the line. Something similar to default view for records... Thanks Julius --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

[web2py:13007] Re: itemize formatting

2008-12-06 Thread Julius Minka
illf wrote: > are you using t2? The t2 manual describes doing this by > > db.mytable.represent=lambda row: '%s %s' % (row.myfield,row.id) > > which I have used and it works fine. > > On Dec 6, 10:08 am, Julius Minka <[EMAIL PROTECTED]> wrote: > > How can

[web2py:13020] Re: itemize formatting

2008-12-06 Thread Julius Minka
am, billf <[EMAIL PROTECTED]> wrote: > > If you look at the default represent() in t2.py you can see how to do > > whatever you want. Maybe the default is what you want(?) > > > > On Dec 6, 2:09 pm, Julius Minka <[EMAIL PROTECTED]> wrote: > > > > &

[web2py:13028] Re: itemize formatting

2008-12-06 Thread Julius Minka
firefox to try to > find hints. > > On Sat, Dec 6, 2008 at 10:27 AM, Julius Minka <[EMAIL PROTECTED]> wrote: > > Thanks, this is the solution I need, > except > the two CSS lines are not applied to those elements of row. >

[web2py:13035] Re: itemize formatting

2008-12-06 Thread Julius Minka
e 1 > line 1 > > line 1 > line 1 > > > > > -wj > > On Sat, Dec 6, 2008 at 12:47 PM, Julius Minka <[EMAIL PROTECTED]> wrote: > > > > thanks for advice, I corrected it down to > > > > SPAN.col1 { width: 200px; background-color: #aaa; } >

[web2py:13037] Re: itemize formatting

2008-12-06 Thread Julius Minka
I would like to do that, but the code below is generated by t2's itemize... On So, 2008-12-06 at 13:55 -0700, Wes James wrote: > put each col in its own td > > On Sat, Dec 6, 2008 at 1:51 PM, Julius Minka <[EMAIL PROTECTED]> wrote: > > > > You are right, but DIV

[web2py:13053] Re: itemize formatting

2008-12-06 Thread Julius Minka
So is this completely wrong direction in how to get a simple paginated grid with a clickable lines (or one cell in a line to redirect to display single record)? On So, 2008-12-06 at 14:28 -0800, DenesL wrote: > Inline elements like SPAN can't have a width, only block elements can. > > --~--~--

[web2py:13054] Re: itemize formatting

2008-12-06 Thread Julius Minka
rtnr,_href=t2.action('display_ware',[row.id])),_class="col1"), SPAN(row.name,_class="col2")) I have no clue how to do it to get both functionalities. Any idea? Julius On So, 2008-12-06 at 23:37 +0100, Julius Minka wrote: > So is this completely wrong direction in how to

[web2py:13057] Re: itemize formatting

2008-12-06 Thread Julius Minka
erybody for help. julius On So, 2008-12-06 at 23:40 +0100, Julius Minka wrote: > Seems to be close to solution. > > This works: > db.ware.represent=lambda r: [TD(r[name],_class="col1",_width="80px") for > name in db.ware.fields] > > It is able to mak

[web2py:13639] Re: on languages

2008-12-16 Thread Julius Minka
+1 fr.py On Ut, 2008-12-16 at 00:11 -0800, mdipierro wrote: > let's say you default to "en" and a visitor only accepts-language "fr- > fr". You do not have "fr-fr.py" but you do have "fr.py". Should web2py > use it or respond in english as it does now? > > Massimo > > --~--~-~--~~

[web2py:14660] Re: Support for workflow?

2009-01-07 Thread Julius Minka
here, in my bookmarks, you can find some inspiration (design&code): http://delicious.com/jumi/workflow On Ut, 2009-01-06 at 22:43 -0800, Fran wrote: > On Jan 7, 3:04 am, mdipierro wrote: > > If you could come up with a reasonable list of specs and references I > > can try add that to T3. >

[web2py:14683] access to id in t2 view

2009-01-07 Thread Julius Minka
using T2 http://127.0.0.1:8000/f7/default/display_ware/3 in controller: def display_ware(): ware=t2.display(db.ware) return dict(ware=ware) in HTML: {{extend 'layout.html'}} Tovar {{=ware}} {{=A(' Modify',_href=URL(r=request,f='modify_ware/%s'%request.args))}} How can I ma

[web2py:14685] Re: access to id in t2 view

2009-01-07 Thread Julius Minka
that was it, thanks for fast answer On St, 2009-01-07 at 08:34 -0800, mdipierro wrote: > It is already parsed for you by t2 and stored in t2.id=int(request.args > [-1]) > > {{=A(' Modify',_href=URL(r=request,f='modify_ware/%s'%t2.id))}} > > > Mass

[web2py:14693] default application page

2009-01-07 Thread Julius Minka
I have got following in controllers/default.py: response.menu=[ ['Tovar',False,t2.action('browse')], ['Odberatelia',False,t2.action('temp')]] def index(): return dict() when I go to http://127.0.0.1:8000/my_app/ it displays page views/default/index.html and in this page, it inserts "defaul

[web2py:14816] Re: default application page

2009-01-10 Thread Julius Minka
On St, 2009-01-07 at 18:54 -0800, mdipierro wrote: > You need to use routes_in and routes_out there are examples in > routes.examples.py > > On Jan 7, 2:54 pm, Julius Minka wrote: > > I have got following in controllers/default.py: > > > > response.menu=[ > > ['Tovar&#

[web2py:14817] validation related to different table

2009-01-10 Thread Julius Minka
db.define_table('invoice_item', SQLField('invoice_nr',required=True), SQLField('ware',db.ware,required=True), SQLField('discount','double',required=True), SQLField('count','double',required=True)) db.invoice_item.ware.requires=IS_IN_D

[web2py:14830] represent and referenced table

2009-01-10 Thread Julius Minka
db.invoice.represent=lambda row: DIV( SPAN(TD(A(row.invoice_nr,_href=t2.action('display',[row.id]))),_class="col1",_width="80px"), SPAN(TD(row.date.strftime("%d.%m.%Y")),_class="col1",_width="80px"), SPAN(TD(row.customer_id),_class="col1",_width="80px")) on last line I would like to display not

[web2py:14831] t2.display showid?

2009-01-10 Thread Julius Minka
How to disable showing id? It doesn't seem to work the way it worked with SQLFORM. Julius --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@goo

[web2py:14840] Re: t2.display showid?

2009-01-10 Thread Julius Minka
Thanks, I did that already, but I wanted to simplify things. Julius On So, 2009-01-10 at 10:21 -0700, Wes James wrote: > In db.py put something like this: > > db.database.displays=['field3','field4'] > > -wj > > On Sat, Jan 10, 2009 at 9:30 AM, Ju

[web2py:14847] Re: represent and referenced table

2009-01-10 Thread Julius Minka
thank you, it works great On So, 2009-01-10 at 08:54 -0800, mdipierro wrote: > replace : > >row.customer_id > with: > >db(db.customer.id==row.customer_id).select()[0].name > > On Jan 10, 10:23 am, Julius Minka wrote: > > db.invoice.represent=

[web2py:14848] Re: default application page

2009-01-10 Thread Julius Minka
Thanks, I will do it as you wrote. julius On So, 2009-01-10 at 07:11 -0800, mdipierro wrote: > You should use > > URL(r=request,c='invoices',f='browse') > > instead of t2.action(...) > > On Jan 10, 4:24 am, Julius Minka wrote: > > I solved it

[web2py:14849] Re: validation related to different table

2009-01-10 Thread Julius Minka
(value,self.error_message) > > db.invoice_item.count.requires=IS_IN_DB > (db,db.ware.id==request.vars.id,'count') > > On Jan 10, 5:28 am, Julius Minka wrote: > > db.define_table('invoice_item', > > SQLField('invoice_nr

[web2py:15256] network access to web2py

2009-01-22 Thread Julius Minka
The web2py running on Linux is accessible only from the same computer at address 127.0.0.1. I mean, application pages themselves, not admin interface. ifconfig (shortened) eth0 Link encap:Ethernet HWaddr 00:1D:60:C9:C9:1D inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.

[web2py:15272] Re: SOLVED network access to web2py

2009-01-22 Thread Julius Minka
it needs 0.0.0.0 as ip address to listen at. This can be accomplished when starting web2py with the parameter "-i 0.0.0.0" thanks to all for hints Julius On Št, 2009-01-22 at 14:53 +0100, Julius Minka wrote: > The web2py running on Linux is accessible only from the same computer

[web2py:15356] Re: T3 / table header with itemize?

2009-01-23 Thread Julius Minka
Hi Ulrich, did you succeed to align header with items? My header is moved too much to the left. Julius On Po, 2008-12-29 at 04:51 -0800, Atanasius wrote: > Hi folks! > > I use the mechanism (posted from Julius Minka on December, 7th) to > display a table via itemize: > > d

[web2py:15392] submit_button

2009-01-24 Thread Julius Minka
submit_button is working in SQLFORM, but not int t2. Is this intentional? How to change the label on submit button using t2? Julius --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To p

[web2py:15393] Re: submit_button

2009-01-24 Thread Julius Minka
sorry, I found it in the archive: form.element(_type='submit').update(_value='click me!') On So, 2009-01-24 at 20:59 +0100, Julius Minka wrote: > submit_button is working in SQLFORM, but not int t2. > Is this intentional? How to change the label on submit

[web2py:15483] Re: Session variable

2009-01-26 Thread Julius Minka
can you explain following in more depth? "The view contains a menu, when the visitor clicks one of the menu items one of the other functions should be exposed. The problem is passing on the id." my guess is you would like to have following: in controlller function: int(request.args[-1])

[web2py:15563] t2.display

2009-01-28 Thread Julius Minka
s my issue - how to change things inside it? or is there any other way to customize it? julius minka --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group,

[web2py:15605] import_from_csv_file failure

2009-01-29 Thread Julius Minka
9-01-28,2,2009-01-28,2009-01-30,2009-02-02,100.0,0.0 I believe this was not the reason for failure as that column contains just integer values and none of the tables were imported. What could be the reason for import failure? If needed I can provide you with the complete exported file and model. J

[web2py:16605] value of a field based on other field in the form

2009-02-20 Thread Julius Minka
In a form, I have a dropdown and a textfield. Based on a selection made in the dropdown box (company name) I need to fill the textfield (latest date for payment) with date counted as today+days. Days field is in the same table and row as the company name. How to achieve that? I guess some Javasc

[web2py:16609] Re: value of a field based on other field in the form

2009-02-20 Thread Julius Minka
On Pi, 2009-02-20 at 04:28 -0800, Fran wrote: > On Feb 20, 12:02 pm, Julius Minka wrote: > > How to achieve that? I guess some Javascript or JQuery is needed. > > jQuery is great at this, yes. > Something like: > $(function() { > $("select#c

[web2py] kpax error on 1.89.2

2010-11-16 Thread Julius Minka
I tried to run KPAX. When setting permissions after creating a new item (chat, news,...) I am getting an error described here: http://groups.google.com/group/web2py/msg/2283b527c10f2804 Anybody else having this issue? Julius