[web2py] Re: SQLFORM.factory

2010-08-19 Thread DenesL
Hi Kenneth, if you don't need the custom form then you can just use the label parameter on the Field, Field('new_seller', ..., label=T('Add seller')) Denes. On Aug 19, 12:28 am, Kenneth wrote: > I create my form with > > args = {} > args['submit_button'] = T('Insert person') > form = SQLFORM.fa

Re: [web2py] Re: SQLFORM.factory

2010-08-19 Thread Kenneth Lundström
Of course, thats a very much easier way of doing. But it doesn´t work either. It doesn´t get translated. Kenneth Hi Kenneth, if you don't need the custom form then you can just use the label parameter on the Field, Field('new_seller', ..., label=T('Add seller')) Denes. On Aug 19, 12:28 am,

[web2py] Re: SQLFORM.factory

2010-08-19 Thread DenesL
Try label=str(T('Add seller')) On Aug 19, 6:33 am, Kenneth Lundström wrote: > Of course, thats a very much easier way of doing. But it doesn t work > either. It doesn t get translated. > > Kenneth > > > Hi Kenneth, > > > if you don't need the custom form then you can just use the label > > parame

[web2py] web2py book understanding

2010-08-19 Thread dederocks
Hello, I want to give web2py a try, and so experiment as I follow the online web2py book. Chapter 3, section 'Postbacks', code snipet: if not request.function=='first' and not session.visitor_name: redirect(URL('first')) Does not appear to work as expected. request.function always returns '

[web2py] Re: Regarding uploaded files

2010-08-19 Thread Martin.Mulone
You need a flash player, you can get it here: http://www.forevergeek.com/2008/01/xspf_a_better_way_to_play_mp3s_on_your_site/ then you have to pass the link of the uploaded file, something like / myapp/download/f4akl4jljlaj4lñjl4ajl.4a.mp3 On 18 ago, 12:39, vasanth wrote: > sir >     I am creati

Re: [web2py] Re: SQLFORM.factory

2010-08-19 Thread Kenneth Lundström
Intresting, it doesn´t work. If I use just label=T('Add seller') it doesn´t even translate (doesn´t appear in my language file) when I tried with label=str(T('Add seller')) the string is translate but not shown. Kenneth Try label=str(T('Add seller')) On Aug 19, 6:33 am, Kenneth Lundström

[web2py] Re: web2py book understanding

2010-08-19 Thread DenesL
Hi Andre, request.function has the name of the function called i.e. the function part in http://ipadr:port/app/controller/function If request.function is always 'second' it means you are always calling http://yourserverip:port/yourapp/default/second Hope this helps, Denes On Aug 19, 2:33 am, de

[web2py] Re: Weird Behavior - Query returning zero rows when it should return all rows

2010-08-19 Thread mdipierro
Because we had to make a choice. this is an implementation detail. At the web2py level you use 'boolean' and True/False. On Aug 18, 10:30 pm, Bruno Rocha wrote: > Why not "0 / 1"  ?? > > 2010/8/18 mdipierro > > > > > This answer is correct but to clarify to Narendran his query was > > not wr

[web2py] Re: web2py 3rd edition available in PDF from LULU.com

2010-08-19 Thread mdipierro
3 months of work on the book it also cost money. ;-) On Aug 19, 1:37 am, Robby O'Connor wrote: >   If I'm not out of line: Why not make the PDF available for free? Print > costs money, i can understand charging for that... > > On 8/19/2010 1:44 AM, JorgeRpo wrote: > > > BOUGHT!! > > ;) > > > On A

[web2py] Re: What happened to new error messages?

2010-08-19 Thread mdipierro
Not sure I understand. We have a new error page. What has been removed? On Aug 19, 1:41 am, David Marko wrote: > I just noticed(running latest trunk version) that a new errors page > style has been removed from web2py? > > David

[web2py] Re: SQLFORM.factory

2010-08-19 Thread mdipierro
The problem here is that you call add_seller instead of new_seller On Aug 18, 11:28 pm, Kenneth wrote: > I create my form with > > args = {} > args['submit_button'] = T('Insert person') > form = SQLFORM.factory(Field('new_seller', 'integer', > requires=IS_IN_DB(.), **args) > > in my view

[web2py] Re: SQLFORM.factory

2010-08-19 Thread mdipierro
This must work. Can you please post your model and view? On Aug 19, 5:51 am, Kenneth Lundström wrote: > Intresting, it doesn t work. > > If I use just label=T('Add seller') it doesn t even translate (doesn t > appear in my language file) > when I tried with label=str(T('Add seller')) the string i

[web2py] Re: web2py book understanding

2010-08-19 Thread dederocks
Hi Denes, Thanks a lot for the clarification. That said, the >not request.function=='first'< part of the if statement seems therefore useless, since this code is run only when requesting the 'second' function. Andre On 19 août, 12:55, DenesL wrote: > Hi Andre, > > request.function has the name

[web2py] Re: Query string to static file url

2010-08-19 Thread mdipierro
if a file is truly static we think it should be handled by the web server and not by web2py. If instead you need an action to serve a static file (the file is in uploads or private and you want to check permission or do other things) you can do something like this: def static(): # use request.

[web2py] Re: Query string to static file url

2010-08-19 Thread huimies
I'm serving all static files using nginx and I'm setting cache header for files in static folder to never expire. So I need way of telling to the browser that a file is changed and thus use a hash in its url.

[web2py] Re: web2py book understanding

2010-08-19 Thread DenesL
You are right, the text just above the given code sample if not request.function=='first' and not session.visitor_name: redirect(URL('first')) was changed for the 3ed and it is wrong, it should read: "... (outside the second function)." instead of: "... (inside the second function)." Good c

[web2py] Open Source contributors network - OpenHatch

2010-08-19 Thread Bruno Rocha
OpenHatch is an open source software involvement engine. For developers, we provide tools to demonstrate and broaden their experience and expertise in the open source community. The vision is to make the open source community better connected, more productive, and ultimately well rewarded for its

[web2py] Solutions to a couple of IE layout problems

2010-08-19 Thread Michael Ellis
I've just spent an embarrassingly long time tracking down a couple of layout problems that surfaced when I started testing my app on Internet Explorer. Thought I'd offer the solutions that finally worked in case someone else hits the same snags. YMMV, as usual. The first has to do with the jQue

[web2py] Re: Solutions to a couple of IE layout problems

2010-08-19 Thread mdipierro
How about the new layout.html? On Aug 19, 11:12 am, Michael Ellis wrote: > I've just spent an embarrassingly long time tracking down a couple of > layout problems that surfaced when I started testing my app on > Internet Explorer.  Thought I'd offer the solutions that finally > worked in case som

[web2py] Re: Query string to static file url

2010-08-19 Thread mdipierro
If they are served through nginx, this is an nginx configuration isse. Am I wrong? On Aug 19, 7:54 am, huimies wrote: > I'm serving all static files using nginx and I'm setting cache header > for files in static folder to never expire. So I need way of telling > to the browser that a file is chan

Re: [web2py] Re: Solutions to a couple of IE layout problems

2010-08-19 Thread Michael Ellis
Massimo, I'm going to pass on testing that for time being. I'm in the last stages of getting a beta version of my app ready for public consumption and I'm trying desperately to keep my head down and stay focused. I'm afraid of opening up a can of worms if I try to re-skin it now since I've alread

[web2py] Re: Query string to static file url

2010-08-19 Thread huimies
That's correct. And it works like this: location ^~ /myapp/static/ { root /var/www/web2py/applications/myapp/static; if ($query_string) { expires max; } } Which means that it sets a never expire cache header for all files served from sta

[web2py] Re: Solutions to a couple of IE layout problems

2010-08-19 Thread mdipierro
Nobody understands why IE works the way it does. :-( If you made chanegs to web2py_ajax.html that will be helpful to others, let us know. On Aug 19, 11:38 am, Michael Ellis wrote: > Massimo, I'm going to pass on testing that for time being.  I'm in the last > stages of getting a beta version of m

[web2py] GAE datastore namespaces with web2py

2010-08-19 Thread Bruno Rocha
GAE implemented new features as you can see here: http://googleappengine.blogspot.com/2010/08/multi-tenancy-support-high-performance_17.html *Multi-tenant Apps Using the Namespaces API * We are pleased to announce support for multi-tenancy for applications via the Namespaces API. With multi-tenan

[web2py] currval psycopg2.OperationalError

2010-08-19 Thread Richard Vézina
Hello, I am stuck on a problem about which I don't have a clue how to solve... I explain what I did : I would reload my entire database tables with fresh manually generated data, so I flush out all the data that were in the database. I would have the Postgresql sequence to be reseted so I ALTER

[web2py] Bug in URL(..,..,vars={})

2010-08-19 Thread Phyo Arkar
Trunk version Rev 853 in view: $("#list").jqGrid({ url:"{{=URL(r=request,f='listMIME.json',vars={'extracted_path':extracted_path,'source_path':source_path})}}", HTML Result: $("#list").jqGrid({ url:"/sExtract/extraction/listMIME.json?source_path=home*&* ;extracted_path=target", it inser

[web2py] Re: currval psycopg2.OperationalError

2010-08-19 Thread Richard Vézina
Ok, the problem is not coming from the postgresql manipulation as I thought it was... I did the manipulation on an other table and got no problem. The problem seems to be presente since some time, but I didn't detected it.. Richard 2010/8/19 Richard Vézina > Hello, > > I am stuck on a problem

[web2py] Re: currval psycopg2.OperationalError

2010-08-19 Thread Richard Vézina
I got it... Wrong model definition caused by a search an replace... Sorry! But there is still a problem with the importation as detailed in the PS.: section of my intial emai. Here a copy : PS.: There is a problem on importation of exported csv file from the admin interface... The id field of e

Re: [web2py] Bug in URL(..,..,vars={})

2010-08-19 Thread Alexandre Andrade
I really don't know how it works with json, but the sintaxe for URL haven't 'vars' but args=['a','b','etc'] 2010/8/19 Phyo Arkar > Trunk version Rev 853 > > in view: > $("#list").jqGrid({ > > url:"{{=URL(r=request,f='listMIME.json',vars={'extracted_path':extracted_path,'source_path':source_pat

[web2py] list:reference problem?

2010-08-19 Thread Johann Spies
The model: db.define_table("gr01", Field("service_provider", db.service_provider, requires=IS_IN_DB(db,db.service_provider.id, '%(name)s')), Field("trainer",'list:reference db.trainer', requires=IS_IN_DB(db,db.trainer.id, '

[web2py] Automatic Translator

2010-08-19 Thread Alfonso de la Guarda
Hello, I have recently finish auto-translator, which allows translates any language file from web2py to another. It also translates any text file using the command line or through a TkInter interface. The project #sahana has started to use this tool http://pypi.python.org/pypi/auto-translator/

Re: [web2py] Bug in URL(..,..,vars={})

2010-08-19 Thread Phyo Arkar
Nothing related to Json, web2py html template works everywhere inside views. >From Doc : >>> URL(a='a', c='c', f='f', args=['x', 'y', 'z'], ... *vars={'p':1, 'q':2}*, anchor='1') '/a/c/f/x/y/z#1?q=2&p=1' generates a url \"/a/c/f\" corresponding to application a,

[web2py] Re: list:reference problem?

2010-08-19 Thread Rob
just a guess, but: requires=IS_IN_DB(db,db.service_provider.id, '%(name)s') should be: requires=IS_IN_DB(db,db.service_provider, '%(name)s') On Aug 19, 12:15 pm, Johann Spies wrote: > The model: > db.define_table("gr01", >                 Field("service_provider", db.service_provider, >        

Re: [web2py] Re: list:reference problem? (Solved)

2010-08-19 Thread Johann Spies
On 19 August 2010 21:47, Rob wrote: > just a guess, but: > requires=IS_IN_DB(db,db.service_provider.id, '%(name)s') > should be: > requires=IS_IN_DB(db,db.service_provider, '%(name)s') Thanks, but that is not what caused this specific probem. The problem was that I left out "multiple=True" which

[web2py] list:reference not working

2010-08-19 Thread Donut
I had posted this question on stackoverflow.com but haven't gotten a response as quick as I'd like. I figured this may be a more appropriate place to post the question. I am trying to get the list:reference field type to work for web2py, but for some reason I am getting an error. I am trying the e

[web2py] My editor ...

2010-08-19 Thread Stef Mientki
hello, I made a movie about the most important features of the editor I'm using, you can see it here: http://mientki.ruhosting.nl/movies/web2py_1.html If there's enough interest, I'll make the application available under BSD license. At this moment, only under windows all features are availab

[web2py] Re: currval psycopg2.OperationalError

2010-08-19 Thread mdipierro
Does table1 have a column called "table1_id"? Seems strange. Who created the csv file? On Aug 19, 2:06 pm, Richard Vézina wrote: > I got it... Wrong model definition caused by a search an replace... Sorry! > > But there is still a problem with the importation as detailed in the PS.: > section of

[web2py] Re: Automatic Translator

2010-08-19 Thread mdipierro
really cool On Aug 19, 2:24 pm, Alfonso de la Guarda wrote: > Hello, > > I have recently finish auto-translator, which allows translates any > language file from web2py to another. > It also translates any text file using the command line or through a > TkInter interface. > The project #sahana ha

[web2py] Re: Bug in URL(..,..,vars={})

2010-08-19 Thread mdipierro
I think it is a bug introduced with the new URL. I will check and fix it tonight. On Aug 19, 2:45 pm, Phyo Arkar wrote: > Nothing related to Json, web2py html template works everywhere inside views. > > From Doc : > >         >>> URL(a='a', c='c', f='f', args=['x', 'y', 'z'], >         ...     *v

[web2py] Re: list:reference problem?

2010-08-19 Thread mdipierro
This is fixed in trunk. Which version of web2py are you using? On Aug 19, 2:15 pm, Johann Spies wrote: > The model: > db.define_table("gr01", >                 Field("service_provider", db.service_provider, >                       requires=IS_IN_DB(db,db.service_provider.id, > '%(name)s')), >  

[web2py] Re: My editor ...

2010-08-19 Thread mdipierro
This is impressive. I would like to distribute this with web2py (under contrib with its own license) What do you think? What are the prerequisites? Do you have binaries for windows and mac? Massimo On Aug 19, 3:12 pm, Stef Mientki wrote: >  hello, > > I made a movie about the most important fea

Re: [web2py] Re: list:reference problem?

2010-08-19 Thread Johann Spies
On 19 August 2010 22:17, mdipierro wrote: > This is fixed in trunk. Which version of web2py are you using? Version 1.83.2 (2010-08-15 08:16:30) Regards Johann --     "Be not deceived; God is not mocked: for whatsoever a      man soweth, that shall he also reap."                                

Re: [web2py] Re: list:reference problem?

2010-08-19 Thread Johann Spies
> Version 1.83.2 (2010-08-15 08:16:30) I think the problem was that I left out "multiple=True" Regards Johann --     "Be not deceived; God is not mocked: for whatsoever a      man soweth, that shall he also reap."                                   Galatians 6:7

Re: [web2py] Re: currval psycopg2.OperationalError

2010-08-19 Thread Richard Vézina
Web2py admin interface exported csv file... Try to import the exact exported csv file it fails. Richard 2010/8/19 mdipierro > Does table1 have a column called "table1_id"? Seems strange. Who > created the csv file? > > On Aug 19, 2:06 pm, Richard Vézina > wrote: > > I got it... Wrong model d

Re: [web2py] My editor ...

2010-08-19 Thread Richard Vézina
Nice! 2010/8/19 Stef Mientki > hello, > > I made a movie about the most important features of the editor I'm using, > you can see it here: > > http://mientki.ruhosting.nl/movies/web2py_1.html > > If there's enough interest, I'll make the application available under BSD > license. > At this mome

[web2py] Re: My editor ...

2010-08-19 Thread qqsaqq
Awesome. *drools* On Aug 19, 10:12 pm, Stef Mientki wrote: >  hello, > > I made a movie about the most important features of the editor I'm using, you > can see it here: > > http://mientki.ruhosting.nl/movies/web2py_1.html > > If there's enough interest, I'll make the application available under

Re: [web2py] Re: Solutions to a couple of IE layout problems

2010-08-19 Thread Michael Ellis
I suspect my changes would be more harm than help :-) They're mainly along the lines of including extra js files and some CSS that's specific to my app. That being said, the changes I made will be freely available in the next few days through the Google Code site that will house my repository.

Re: [web2py] My editor ...

2010-08-19 Thread Alexandre Andrade
It's really impressive. So cool. it would be nice if it works in linux and over ssh, but is already so good at this point. +1 to make the application available. 2010/8/19 Stef Mientki > hello, > > I made a movie about the most important features of the editor I'm using, > you can see it he

[web2py] Re: currval psycopg2.OperationalError

2010-08-19 Thread mdipierro
Can you post the model and the first two lines of the generated csv file? On Aug 19, 3:34 pm, Richard Vézina wrote: > Web2py admin interface exported csv file... Try to import the exact exported > csv file it fails. > > Richard > > 2010/8/19 mdipierro > > > Does table1 have a column called "tabl

[web2py] Re: My editor ...

2010-08-19 Thread Martin.Mulone
Amazing, Stef. Linux +1. On Aug 19, 6:08 pm, Alexandre Andrade wrote: > It's really impressive. So cool. it would be nice if it works in linux and > over ssh, but is already so good at this point. > > +1 to make the application available. > > 2010/8/19 Stef Mientki > > >  hello, > > > I made a m

Re: [web2py] Re: currval psycopg2.OperationalError

2010-08-19 Thread Richard Vézina
Here the w2p model : db.define_table('table1', Field('table1_id','id'), Field('field1'), migrate=False, sequence_name='table1_table1_id_seq') Here the postgresql SQL creation script : CREATE TABLE table1 ( table1_id serial NOT NULL, field1 character varying, CONSTRAINT tabl

Re: [web2py] Re: My editor ...

2010-08-19 Thread Tom Atkins
very impressive! hope you get time to continue to develop and agree with Massimo to release with web2py.

[web2py] Re: My editor ...

2010-08-19 Thread Pai
+1 On Aug 19, 3:12 pm, Stef Mientki wrote: >  hello, > > I made a movie about the most important features of the editor I'm using, you > can see it here: > > http://mientki.ruhosting.nl/movies/web2py_1.html > > If there's enough interest, I'll make the application available under BSD > license.

[web2py] Re: web2py 3rd edition available in PDF from LULU.com

2010-08-19 Thread Christopher Steel
well worth the money! On Aug 19, 8:18 am, mdipierro wrote: > 3 months of work on the book it also cost money. ;-) > > On Aug 19, 1:37 am, Robby O'Connor wrote:>   If I'm > not out of line: Why not make the PDF available for free? Print > > costs money, i can understand charging for that... >

Re: [web2py] Re: My editor ...

2010-08-19 Thread Stef Mientki
On 19-08-2010 22:24, mdipierro wrote: > This is impressive. thanks > I would like to distribute this with web2py (under > contrib with its own license) > What do you think? I feel honored, so sounds like a good idea to me. > What are the prerequisites? AFAIK (I always use a very full blown Python

Re: [web2py] My editor ...

2010-08-19 Thread Stef Mientki
On 19-08-2010 23:08, Alexandre Andrade wrote: > It's really impressive. So cool. thanks. > it would be nice if it works in linux most of it, except the wysiwyg editor should work under linux > and over ssh, I don't know if it works over ssh (I've no experience with that), at this moment it's a des

[web2py] Re: build a row base questionnaire

2010-08-19 Thread dlin
Tks, Bruno. I seems haven't describe the 'row base' questionaire. That is: I've already a table like: Question Answer Q1... A1 Q2... A2 Q3... A3 ... Q13... A1 Then, I'll random choose three(or by customized) questions to ask. Question Answer Q3.

[web2py] Re: currval psycopg2.OperationalError

2010-08-19 Thread mdipierro
It is a bug. Now fixed in trunk. Please give it a try. On Aug 19, 4:38 pm, Richard Vézina wrote: > Here the w2p model : > > db.define_table('table1', >     Field('table1_id','id'), >     Field('field1'), >     migrate=False, >     sequence_name='table1_table1_id_seq') > > Here the postgresql SQL

[web2py] Re: My editor ...

2010-08-19 Thread mdipierro
OK but even if this is only available to windows users it will be well worth inclusion. In this case we would include only binary. Massimo On Aug 19, 6:04 pm, Stef Mientki wrote: >  On 19-08-2010 22:24, mdipierro wrote:> This is impressive. > thanks > >  I would like to distribute this with web2

[web2py] Re: My editor ...

2010-08-19 Thread dlin
It's so cool. I often use linux & vim. But, I think that will let my colleagues happy to work with windows. And your slide is also very cool (what's tool you use?) On Aug 20, 7:08 am, Stef Mientki wrote: >  On 19-08-2010 23:08, Alexandre Andrade wrote:> It's really impressive. So > cool. > thank

[web2py] Re: Bug in URL(..,..,vars={})

2010-08-19 Thread mdipierro
There is a problem (in 1.83.2 and earlier version) URL() returns a string, not a helper. If you want to include the string without escaping twice you have to do {{=XML(URL(...))}} In trunk, I modified the definition of URL so that it returns the XML(..) helper wrapping the string. This will

[web2py] Re: Bug in URL(..,..,vars={})

2010-08-19 Thread mdipierro
On a second thought we should leave it alone. Else we break the scaffolding app, i.e. 90% os apps out there.. Anyway,... I'd still like to hear your opinions. On Aug 19, 8:38 pm, mdipierro wrote: > There is a problem (in 1.83.2 and earlier version) > > URL() > > returns a string, not a helper

[web2py] Re: My editor ...

2010-08-19 Thread Garrafa Pet 2 Litros
[2]... On 19 ago, 18:08, Alexandre Andrade wrote: > It's really impressive. So cool. it would be nice if it works in linux and > over ssh, but is already so good at this point. > > +1 to make the application available. > > 2010/8/19 Stef Mientki > > >  hello, > > > I made a movie about the most

[web2py] web2py russian group

2010-08-19 Thread mdipierro
There is a web2py group in russian. http://groups.google.ru/group/web2py_russian If you are the owner please let me know and I will be happy to link it from web2py.com

[web2py] Re: My editor ...

2010-08-19 Thread dlin
Instead of using wx, I suggest to try QT, that's will let it portable, and there is solution for webkit+qt. That's will let it more portable between windows/linux/mac On Aug 20, 10:00 am, Garrafa Pet 2 Litros wrote: > [2]... > > On 19 ago, 18:08, Alexandre Andrade wrote: > > > > > It's really im

[web2py] Re: web2py russian group

2010-08-19 Thread KMax
Thank you professor for announce. Добро пожаловать в группу. On 20 авг, 09:24, mdipierro wrote: > There is a web2py group in russian. > > http://groups.google.ru/group/web2py_russian > > If you are the owner please let me know and I will be happy to link it > from web2py.com

[web2py] oposite to XML operation or how to escape string

2010-08-19 Thread KMax
Hello I have a string with '&&' which must be replaced by If I change all && with and XML it, it could miss other html tag in a string I could join ''.join(DIV(substr)), but I do not need div tag in output. So how to escaped string without DIV or other HTML helper? I look at web2py source

[web2py] Detecting mobile devices

2010-08-19 Thread Adi
Hi all, Is there a python library which can detect mobile devices based on user-agent, so that I can redirect users to a mobile friendly site? I'm looking for a Python counterpart of this: http://detectmobilebrowsers.mobi/

Re: [web2py] Detecting mobile devices

2010-08-19 Thread Jason Brower
Yup. Used it. http://celljam.net/ It's massive, but very useful. It even covers things like, if they have a camera or other what not. --- Best regards, Jason On Thu, 2010-08-19 at 22:09 -0700, Adi wrote: > Hi all, > > Is there a python library which can detect mobile devices based on > user-age

Re: [web2py] My editor ...

2010-08-19 Thread Jason Brower
SSH can do a graphical connection, so to say, from a server to a client. It's very nice for stuff like this. We could try it in wine. :P I use a delphi windows program in linux all the time. Sadly, I couldn't see the video in my browsers. Somethings up with it. I wonder how hard it would be to ma

Re: [web2py] Re: My editor ...

2010-08-19 Thread Jason Brower
Aren't massive libraries required to make that happen? For example I don't have any qt apps. And on top of that, GTK is better. :P BR, Jason On Thu, 2010-08-19 at 19:36 -0700, dlin wrote: > Instead of using wx, I suggest to try QT, that's will let it portable, > and there is solution for webkit+

[web2py] Re: Detecting mobile devices

2010-08-19 Thread Adi
Nice, thanks! By the way I just tested mobile.sniffer: http://pypi.python.org/pypi/mobile.sniffer/0.1.1 So far it seems to work fine for detecting whether the device is mobile or not. On Aug 20, 10:36 am, Jason Brower wrote: > Yup.  Used it.http://celljam.net/ > It's massive, but very useful.  

Re: [web2py] Re: SQLFORM.factory

2010-08-19 Thread Kenneth Lundström
My view looks like: {{extend 'layout.html'}} {{=T('Sellers in this campaign')}} {{for person in person_data:}} {{=A(str(person.name + " " + person.surname), _href=URL(r=request, f='edit_seller', args=[troop.id, person.id, person.troop_group]))}} {{=groups[person.troop_group]['name']}}