Re: [web2py] Re: How do you create custom form feilds?

2010-11-05 Thread Jason (spot) Brower
It certainly won't be on GAE because of what I do with it. (I need more flexibitliy.) But it is interesting to hear your solution. I will try my way and see how it lands. BR, Jason On Sat, Nov 6, 2010 at 5:44 AM, howesc wrote: > i say the answer depends on where you are running the system. a >

[web2py] Re: Using tinymce for text areas of in component views

2010-11-05 Thread Luther Goh Lu Feng
I am putting this link here http://tinymce.moxiecode.com/punbb/viewtopic.php?id=28 as this is the solution to problematic form submissions. tinyMCE.triggerSave() might need to be called if you are using ajax or components for your form submission. Hope this will be useful to someone who searches

[web2py] Re: RFC

2010-11-05 Thread mdipierro
You could mix but not this way. db.define_table('person','name unique, address, married boolean, bio wiki') db.person.bio.default='...' On Nov 5, 10:04 pm, rochacbruno wrote: > bio wiki will be a Markmin represent? > > I think it is a good idea, but , if mixed with the normal sintax, will it >

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread mdipierro
yes but once and only once, when an upgrade corrupts a cache file. On Nov 5, 10:01 pm, Carlos Costa wrote: > The ticket is good idea but it will pop to the user? > > 2010/11/6 mdipierro : > > > > > Perhaps we can generate a ticket and then delete the file, so the > > ticket happens once. > > > On

[web2py] Re: How do you create custom form feilds?

2010-11-05 Thread howesc
i say the answer depends on where you are running the system. a schemaless system like google app engine allows you to add fields on the fly. i actually have a table that specifies fields to be appended to a user table. in my db.py i query the first table and generate my user table on the fly.

Re: [web2py] RFC

2010-11-05 Thread rochacbruno
bio wiki will be a Markmin represent? I think it is a good idea, but , if mixed with the normal sintax, will it work? Some users, specially students, will try to mix for example: > db.define_table('person','name unique, address, married boolean, bio > wiki',Field('foo','text'), format=' ' , migr

Re: [web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread Carlos Costa
The ticket is good idea but it will pop to the user? 2010/11/6 mdipierro : > Perhaps we can generate a ticket and then delete the file, so the > ticket happens once. > > On Nov 5, 9:55 pm, mdipierro wrote: >> It stores the cache.disk (in principle it can be deleted without data >> loss). The prob

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread mdipierro
Perhaps we can generate a ticket and then delete the file, so the ticket happens once. On Nov 5, 9:55 pm, mdipierro wrote: > It stores the cache.disk (in principle it can be deleted without data > loss). The problem is that if the failure is caused by some other > serious problem, deleting automa

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread mdipierro
It stores the cache.disk (in principle it can be deleted without data loss). The problem is that if the failure is caused by some other serious problem, deleting automatically, will hide a problem with cache.disk. On Nov 5, 9:52 pm, Carlos Costa wrote: > Well, I don´t know exactly. What´s this fi

[web2py] RFC

2010-11-05 Thread mdipierro
We could easily provide this alternative syntax: db.define_table('person','name unique, address, married boolean, bio wiki') form = SQLFORM.factory('name unique, address, married boolean, bio wiki') by taking it out of the wizard and moving into the DAL (sql.py). Is it a good idea?

Re: [web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread Carlos Costa
Well, I don´t know exactly. What´s this file exactly for? 2010/11/5 mdipierro : > perhaps when this occurs should delete the file automatically? Pros? > Cons? > > On Nov 5, 4:35 pm, Carlos Costa wrote: >> Looks like it fixed. >> So simple! >> Thanks! >> >> 2010/11/5 mdipierro : >> >> >> >> > dele

[web2py] Re: error in admin: _read function missing

2010-11-05 Thread mdipierro
fixed. please check it. On Nov 5, 8:27 am, Seeker wrote: > Sorry, that was a bit cryptic. > > - Generate a test app with the wizard (with a few test tables). > - Click on the '... Select' menu item for one of the tables. > - Click the 'view' link for one of the records. > - Click the 'edit ...' l

[web2py] Re: new welcome app in trunk but minor problem...

2010-11-05 Thread mdipierro
I understand that. But do you want dead links in the welcome menu? On Nov 5, 7:13 pm, "Martin.Mulone" wrote: > here i found some explanation > > http://www.webdevelopersnotes.com/tutorials/javascript/javascript_eve... > > On 5 nov, 20:57, "Martin.Mulone" wrote: > > > This is the correct way to m

[web2py] Re: new welcome app in trunk but minor problem...

2010-11-05 Thread Martin.Mulone
here i found some explanation http://www.webdevelopersnotes.com/tutorials/javascript/javascript_event_handlers_onclick_ondblclick.php3 On 5 nov, 20:57, "Martin.Mulone" wrote: > This is the correct way to make a link to do nothing, so you can click > and going to display sub-menus without going t

[web2py] Oracle raises MySQL prices

2010-11-05 Thread Massimo Di Pierro
http://www.h-online.com/open/news/item/Oracle-raises-prices-for-MySQL-1130988.html

[web2py] Re: new welcome app in trunk but minor problem...

2010-11-05 Thread Martin.Mulone
This is the correct way to make a link to do nothing, so you can click and going to display sub-menus without going to a link. If you put a normal link with # or #nolink some browser (mosts) interpreat to search in the page this anchor, and move the screen. On 5 nov, 20:44, mdipierro wrote: > I a

[web2py] Re: blob readable writeable = false not workin

2010-11-05 Thread mdipierro
Can I see the model? On Nov 5, 11:40 am, Richard Vézina wrote: > The origin of this need is the following : > > In web2py 1.83.2 we was possible to omit the upload of file for the field, > but with the exact same model and controller in web2py 1.88.2 it raise a > ticket in case upload is omited.

[web2py] Re: new welcome app in trunk but minor problem...

2010-11-05 Thread mdipierro
I applied part of the patch but I do not understand the A(...void(0)). Why? On Nov 5, 11:58 am, Martín Mulone wrote: > Massimo, reviewing the welcome in trunk, I see that i made some little > important mistakes. Also I made a little fix to the menu, to work with touch > screens. See the attached

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread mdipierro
perhaps when this occurs should delete the file automatically? Pros? Cons? On Nov 5, 4:35 pm, Carlos Costa wrote: > Looks like it fixed. > So simple! > Thanks! > > 2010/11/5 mdipierro : > > > > > delete it > > > C:\...\applications\welcome/cache/cache.shelve > > > do you still have the problem? >

Re: [web2py] unicode problem in DAL

2010-11-05 Thread Tomeu Roig
Hi, before to make the insert, you need change the string ascii to utf8, Newvalue=value.encode(utf-8) El 05/11/2010 12:18, "Stef Mientki" escribió: I'm trying to insert a record with a filed value u"ëLocatie" and I get an error in sql.Table._insert at the last line: return 'INSERT INT

[web2py] cSans CSS framework

2010-11-05 Thread Branko Vukelic
Haven't used it yet, but examples look promissing: http://code.google.com/p/csans/ -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.brankovukelic.com/ Check out my portfolio: http://www.flickr.com/photos/foxbunny/ Registered Linux user #438078 (http:

[web2py] Re: ISBN database

2010-11-05 Thread Richard
You can find data about a book with an ISBN by querying the Amazon API or using this link format: http://www.amazon.com/FAKE/dp/ I have done this before and have a database of ISBN's - feel free to contact me privately. Richard On Nov 5, 6:39 pm, Kenneth wrote: > Hello list, > > have any of yo

Re: [web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread Carlos Costa
Looks like it fixed. So simple! Thanks! 2010/11/5 mdipierro : > delete it > > C:\...\applications\welcome/cache/cache.shelve > > do you still have the problem? > > On Nov 5, 1:53 pm, yamandu wrote: >> I´ve installed win32 extensions. >> >> Now I get: >> ERROR:web2py.cache:corrupted file: C:\...\a

Re: [web2py] Re: SQLTABLE linkto

2010-11-05 Thread Jonathan Lundell
On Nov 5, 2010, at 12:18 PM, Richard Vézina wrote: > Try this! > > table.id.represent = lambda id: \ >A('Edit',_href=URL(r=request,f='FUNCNAME',args=('TABLE',id))) That's going to have the same problem, since in villas's example, both FUNCNAME and TABLE are 'mytable'. My earlier suggest

[web2py] Re: Countries as Python objects

2010-11-05 Thread puercoespin
sorry, i have a problem with links The correct http://www.geonames.org In download section there are a exhaustive list of regions, cities and countries. On 5 Nov, 22:02, puercoespin wrote: > www.geonames.org > > On 3 Nov, 14:18, Bruno Rocha wrote: > > > More difficult to get is a list of Sta

[web2py] Re: Countries as Python objects

2010-11-05 Thread puercoespin
www.geonames.org On 3 Nov, 14:18, Bruno Rocha wrote: > More difficult to get is a list of States/Cities > > 2010/11/3 Martín Mulone > > > > > Very usefull > > > 2010/11/3 Jason Brower > > >  Yeah, I noticed that a few months ago.  It's very nice to use. > > >> On Wed, 2010-11-03 at 10:49 -0200

Re: [web2py] Re: list:reference issue

2010-11-05 Thread Richard Vézina
I just test it still there... Richard On Fri, Nov 5, 2010 at 4:18 PM, Richard Vézina wrote: > I will during the weekend. > > Thank you Massimo > > Richard > > > On Fri, Nov 5, 2010 at 4:09 PM, mdipierro wrote: > >> I believe this problem was fixed in trunk a few days ago. Did you try >> trunk?

Re: [web2py] Re: list:reference issue

2010-11-05 Thread Richard Vézina
I will during the weekend. Thank you Massimo Richard On Fri, Nov 5, 2010 at 4:09 PM, mdipierro wrote: > I believe this problem was fixed in trunk a few days ago. Did you try > trunk? > > Massimo > > On Nov 5, 2:11 pm, Richard Vézina wrote: > > Oups! > > > > I start with tablelist I forgot to

[web2py] Re: Using tinymce for text areas of in component views

2010-11-05 Thread Luther Goh Lu Feng
Erm I know the issue already. Too complex to put in words. On Nov 6, 12:31 am, Luther Goh Lu Feng wrote: > I have implemeted the basic tinymce editor here:http:// > wiki.moxiecode.com/index.php/ > TinyMCE:For_Dummies#To_create_a_very_simple_TinyMCE_wysiwyg_Editor > > In a normal view, tinymce wor

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread mdipierro
delete it C:\...\applications\welcome/cache/cache.shelve do you still have the problem? On Nov 5, 1:53 pm, yamandu wrote: > I´ve installed win32 extensions. > > Now I get: > ERROR:web2py.cache:corrupted file: C:\...\applications\welcome/cache/ > cache.shelve > everytime! > > On Oct 6, 6:54 pm,

[web2py] Re: list:reference issue

2010-11-05 Thread mdipierro
I believe this problem was fixed in trunk a few days ago. Did you try trunk? Massimo On Nov 5, 2:11 pm, Richard Vézina wrote: > Oups! > > I start with tablelist I forgot to correct it. > > It solves the problem default multiselect view un broswer... And banko! We > can reproduce the first proble

Re: [web2py] Re: plugin.wiki.theme: error in book?

2010-11-05 Thread Johann Spies
> plugins = PluginManager > > should be > > plugins = PluginManager() Thanks Regards Johann --  May grace and peace be yours in abundance through the full knowledge of God and of Jesus our Lord!  His divine power has given us everything we need for life and godliness through the full knowledge o

[web2py] Re: Logical Delete instead of true delete of a record using crud.update

2010-11-05 Thread ggivler
Ignore this, it is a duplicate. On Nov 5, 3:38 pm, ggivler wrote: > Sorry if this is a repeat, but I have not seen my original post. I > have a situation where I would like to use the crud.update with the > delete checkbox, I am using the ondelete callback to set other record > to invalid, howeve

[web2py] Re: Logical Delete instead of true delete of a record using crud.update

2010-11-05 Thread ggivler
Thanks, I will do that, or something similar. BTW, ignore my other post, for some reason I could not find the original post and posted again. Greg On Nov 4, 2:58 pm, mdipierro wrote: > hm. that breaks the workflow. > > You should expose the nonvalid field (field.writable=True) and do a > crud.up

[web2py] Logical Delete instead of true delete of a record using crud.update

2010-11-05 Thread ggivler
Sorry if this is a repeat, but I have not seen my original post. I have a situation where I would like to use the crud.update with the delete checkbox, I am using the ondelete callback to set other record to invalid, however after the ondelete function completes the underlying record is deleted. Is

Re: [web2py] Re: Clone and rename apps in admin

2010-11-05 Thread Bruno Rocha
Cool! But [rename app] will be needed to manage app versions 2010/11/5 mdipierro > I think we can modify admin/controller/default.py site() and when you > upload a new up, if instead of a url you provide an app name it gets > cloned. > > On Nov 5, 10:16 am, Bruno Rocha wrote: > > HI, > > > > I

Re: [web2py] Re: SQLTABLE linkto

2010-11-05 Thread Jonathan Lundell
On Nov 5, 2010, at 12:11 PM, villas wrote: > > @Jonathan > I think you are right about the /// convention > for SQLTABLE linkto. > But by using linkto=URL() I should be able specify whichever URL I > want rather than have to work around an unnecessary convention? Probably not, at least not the wa

Re: [web2py] Re: SQLTABLE linkto

2010-11-05 Thread Richard Vézina
Try this! table.id.represent = lambda id: \ A('Edit',_href=URL(r=request,f='FUNCNAME',args=('TABLE',id))) On Fri, Nov 5, 2010 at 3:11 PM, villas wrote: > @Jonathan > I think you are right about the /// convention > for SQLTABLE linkto. > But by using linkto=URL() I should be able specify

[web2py] Re: SQLTABLE linkto

2010-11-05 Thread villas
@Jonathan I think you are right about the /// convention for SQLTABLE linkto. But by using linkto=URL() I should be able specify whichever URL I want rather than have to work around an unnecessary convention? @Richard I played around a little, but I couldn't make that work for me, but maybe I'm m

Re: [web2py] Re: \sample markmin app

2010-11-05 Thread Bruno Rocha
2010/11/5 mdipierro > Field('MyMarkup','text',represent=lambda t: MARKMIN(t)) Nice! I should use that right now! but this only renders markmin in to html, I am talking about including the markmin editor into a widget for insert/update

Re: [web2py] Re: new admin layout

2010-11-05 Thread Branko Vukelic
I think it was mentioned a few times that orange is not very readable. I tend to agree with that, too. Anyone else had that problem? On Fri, Nov 5, 2010 at 7:33 PM, mdipierro wrote: > I like white background and neutral colors (like grey buttons, black > header, etc.) and orange for links and edi

Re: [web2py] Re: list:reference issue

2010-11-05 Thread Richard Vézina
No widget. On Fri, Nov 5, 2010 at 2:30 PM, Bruno Rocha wrote: > What widget is that used in your Capture.png? > > 2010/11/4 Richard Vézina > > More input on the problem. >> >> It happen when the date validator is activated. The refresh form not >> expose the normal list field. I reproduce the p

[web2py] Re: Language File is Reseted when Server is Reseted

2010-11-05 Thread yamandu
I´ve installed win32 extensions. Now I get: ERROR:web2py.cache:corrupted file: C:\...\applications\welcome/cache/ cache.shelve everytime! On Oct 6, 6:54 pm, mdipierro wrote: > Yes it is somewhere in the manual. > > On Oct 6, 3:41 pm, Carlos Costa wrote: > > > Things make more sense now. > > I a

[web2py] Re: How to perform a sort() in joined Rows?

2010-11-05 Thread yamandu
Thanks Massimo, I realized the need to use the tablename but as I am writing a helper class for reporting this was harder. The code has to figure out when this is needed. I borrowed two lines of code from webgrid.py and id solved to me: self.tablenames = list(set(map(lambda c: c.split('.')[0], ro

[web2py] Re: list:reference issue

2010-11-05 Thread mdipierro
I do not understand: db.define_table('userlist', Field('fname','string',notnull=True), Field('lname','string',notnull=True), format='%(fname)s %(lname)s (%(id)s)') db.define_table('name', Field('name','string',notnull=True), Field('date','date',notnull=True), Field('userse

[web2py] Re: Clone and rename apps in admin

2010-11-05 Thread mdipierro
I think we can modify admin/controller/default.py site() and when you upload a new up, if instead of a url you provide an app name it gets cloned. On Nov 5, 10:16 am, Bruno Rocha wrote: > HI, > > I Know it is easy to clone an app within console using > $ cp /app/* -R /newapp/ or something like th

[web2py] Re: new admin layout

2010-11-05 Thread mdipierro
I like white background and neutral colors (like grey buttons, black header, etc.) and orange for links and edit buttons. On Nov 5, 11:38 am, Branko Vukelic wrote: > On Fri, Nov 5, 2010 at 11:40 AM, selecta wrote: > > also it should be css => cursor: pointer; when i did not see my mouse > > trur

Re: [web2py] SQLTABLE linkto

2010-11-05 Thread Jonathan Lundell
On Nov 5, 2010, at 11:00 AM, villas wrote: > > Does SQLTABLE linkto work properly? > > If I use: > SQLTABLE(mytablerows,linkto=URL()) > > I get URLs like this: myapp/default/mytable/mytable/id > > Note the duplication of "mytable". I wonder if this is really a "duplication". As web2py inte

[web2py] Re: \sample markmin app

2010-11-05 Thread mdipierro
Field('MyMarkup','text',represent=lambda t: MARKMIN(t)) On Nov 5, 12:46 pm, Bruno Rocha wrote: > Changing the subject a little, > > What about including a markmin widget for 'text' datatype? > > Field('myMarkup','text',widget='markmin') or simply > Field('MyMarkup','markmin') then auto generated

Re: [web2py] Re: list:reference issue

2010-11-05 Thread Bruno Rocha
What widget is that used in your Capture.png? 2010/11/4 Richard Vézina > More input on the problem. > > It happen when the date validator is activated. The refresh form not expose > the normal list field. I reproduce the problem with Chrome and Firefox > systematically when the date is forgot an

[web2py] Re: How to perform a sort() in joined Rows?

2010-11-05 Thread mdipierro
You always have to options: sort at the db level (1) or sort ate the web2py level (2) 1) rows = db(query).select(orderby=db.table1.field1) 2) rows=rows.sort(lambda row: row.table1.field1) On Nov 5, 12:31 pm, yamandu wrote: > I need to do .sort() in a Rows object gerenarate by select join.

[web2py] Re: plugin.wiki.theme: error in book?

2010-11-05 Thread mdipierro
plugins = PluginManager should be plugins = PluginManager() On Nov 5, 12:02 pm, Johann Spies wrote: > from gluon.tools import PluginManager > plugins = PluginManager > plugins.wiki.theme = 'cupertino' > > results in > > Traceback (most recent call last): >   File "/Users/js/Programmeer/zenex/we

Re: [web2py] SQLTABLE linkto

2010-11-05 Thread Richard Vézina
I think you should specify r=request, f=YOURFUNCTION, args=request.args(0)+'/'+str(ID) request.args(0) = YOURTABLENAMESPECIFYINREQUEST Works for me! Richard On Fri, Nov 5, 2010 at 2:00 PM, villas wrote: > Does SQLTABLE linkto work properly? > > If I use: > SQLTABLE(mytablerows,linkto=URL()

[web2py] Re: customizating the headers of the result in crud.search

2010-11-05 Thread demetrio
It seems that it's been a long day... {{if not rows:}} No matches found {{else:}} {{=SQLTABLE(rows,headers={"field.id":"custom name id", "field.name":"custom name"})}} {{pass}} more simple... impossible... Sorry for wasting your time :( On 5 nov, 18:06, demetrio wrote: > I think I got excited

Re: [web2py] Re: new admin layout

2010-11-05 Thread Thadeus Burgess
My vote is for a light-ish theme. -- Thadeus On Fri, Nov 5, 2010 at 11:38 AM, Branko Vukelic wrote: > On Fri, Nov 5, 2010 at 11:40 AM, selecta wrote: > > also it should be css => cursor: pointer; when i did not see my mouse > > trurn to a hand i thought i could not click it > > These issues

[web2py] SQLTABLE linkto

2010-11-05 Thread villas
Does SQLTABLE linkto work properly? If I use: SQLTABLE(mytablerows,linkto=URL()) I get URLs like this: myapp/default/mytable/mytable/id Note the duplication of "mytable". I have tried with URL('mytable') and URL(f='mytable'), but it's the same. Of course I can work around the issue specif

Re: [web2py] Re: \sample markmin app

2010-11-05 Thread Bruno Rocha
Changing the subject a little, What about including a markmin widget for 'text' datatype? Field('myMarkup','text',widget='markmin') or simply Field('MyMarkup','markmin') then auto generated forms would render it by default including the markitUp editor in the widget. The same could be done for a

[web2py] How to perform a sort() in joined Rows?

2010-11-05 Thread yamandu
I need to do .sort() in a Rows object gerenarate by select join. I get key error if I use onlye the field name. Looks like the structure is different when it comes from a join. So it sort must be different. This is bad. How to do it?

[web2py] Re: How to make a dropbox in a create.form with IS_IN_DB and an join of multiple tables

2010-11-05 Thread demetrio
At the moment we are developing the app in a private SVN server, but I think that we are gonna release the project on January-February (more or less), and if nothing changes, it will be open source. Anyway, i'll speak with the other developer on the next monday about this. best regards On 4 nov,

[web2py] Re: How to make a dropbox in a create.form with IS_IN_DB and an join of multiple tables

2010-11-05 Thread demetrio
It works! Thank you very much! On 4 nov, 22:03, howesc wrote: > your problem is where you put the query in the IS_IN_DB.  try > modifying to put the query in the first spot.  something like: > >                          requires=IS_IN_DB(db((db.file_asset.type == > db.file_asset_type.id) & > > (

[web2py] Re: customizating the headers of the result in crud.search

2010-11-05 Thread demetrio
I think I got excited too soon. I tried these method and it seems that it not works. This is the traceback: Traceback (most recent call last): File "/home/demetrio/devel/web2py_devel/trunk/devel/web2py/gluon/ restricted.py", line 188, in restricted exec ccode in environment File "/home/de

[web2py] plugin.wiki.theme: error in book?

2010-11-05 Thread Johann Spies
from gluon.tools import PluginManager plugins = PluginManager plugins.wiki.theme = 'cupertino' results in Traceback (most recent call last): File "/Users/js/Programmeer/zenex/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/Users/js/Programmeer/zenex/w

[web2py] Re: blob readable writeable = false not workin

2010-11-05 Thread Richard Vézina
The origin of this need is the following : In web2py 1.83.2 we was possible to omit the upload of file for the field, but with the exact same model and controller in web2py 1.88.2 it raise a ticket in case upload is omited. Richard On Fri, Nov 5, 2010 at 12:11 PM, Richard Vézina wrote: > Hello

Re: [web2py] Re: new admin layout

2010-11-05 Thread Branko Vukelic
On Fri, Nov 5, 2010 at 11:40 AM, selecta wrote: > also it should be css => cursor: pointer; when i did not see my mouse > trurn to a hand i thought i could not click it These issues will hopefully be resolved in a consistent manner (not by patch one thing at a time, but everything at once) once t

[web2py] Using tinymce for text areas of in component views

2010-11-05 Thread Luther Goh Lu Feng
I have implemeted the basic tinymce editor here:http:// wiki.moxiecode.com/index.php/ TinyMCE:For_Dummies#To_create_a_very_simple_TinyMCE_wysiwyg_Editor In a normal view, tinymce works fine. The forms were constructed manually using and tags (It's a long story why sqlform isn't use but let's lea

[web2py] blob readable writeable = false not workin

2010-11-05 Thread Richard Vézina
Hello, How I may hide blob field from a form? I did : db[request.args(0)].blobfield.readable=\ db[request.args(0)].blobfield.writeable=\ db[request.args(0)].blobfield_blob.readable=\ db[request.args(0)].blobfield_blob.writeable=False In my controller without succes. I use crud.create(db[reques

[web2py] Clone and rename apps in admin

2010-11-05 Thread Bruno Rocha
HI, I Know it is easy to clone an app within console using $ cp /app/* -R /newapp/ or something like this But, I am working in a project hosted in a shared poor host, where I have access to admin via HTTPS, but I have not the SSH access. Sometimes I need to clone an existing application for test

Re: [web2py] Re: How to unplug or upgrade a plugin

2010-11-05 Thread Johann Spies
On 5 November 2010 15:42, mdipierro wrote: > Do the columns have label=T(...)? or do they have unicode in them? > I think I know the problem... Your question about the labels made me experiment. I removed the labels from the gr02-definition and now I get a functional grid for gr02 but not yet f

[web2py] Re: How to unplug or upgrade a plugin

2010-11-05 Thread mdipierro
Do the columns have label=T(...)? or do they have unicode in them? I think I know the problem... On Nov 5, 8:36 am, Johann Spies wrote: > On 5 November 2010 14:50, mdipierro wrote: > > > Anyway... I m sure jqgrid works well in plugin_wiki. Either there is > > an error in passing arguments to it

[web2py] Re: How to unplug or upgrade a plugin

2010-11-05 Thread mdipierro
What is the value of request.vars.tabel and what is the definition of the table you are showing? On Nov 5, 8:36 am, Johann Spies wrote: > On 5 November 2010 14:50, mdipierro wrote: > > > Anyway... I m sure jqgrid works well in plugin_wiki. Either there is > > an error in passing arguments to it

[web2py] Re: error in admin: _read function missing

2010-11-05 Thread Seeker
ACTUALLY ... I am have just confused myself with another error I logged earlier. the description above refers to 'Error in wizard generated scaffold?' THIS error is in the normal appadmin section (http://127.0.0.1:8000/ test/appadmin/select/...). Clicking on the 'View' link causes an error: Inval

Re: [web2py] Re: How to unplug or upgrade a plugin

2010-11-05 Thread Johann Spies
On 5 November 2010 14:50, mdipierro wrote: > Anyway... I m sure jqgrid works well in plugin_wiki. Either there is > an error in passing arguments to it or there is an issue with > permissions or there is a JS conflict. Well I am unable to find the cause of the problem. This is in my controller:

[web2py] Re: error in admin: _read function missing

2010-11-05 Thread mdipierro
I understand. Will fix it. On Nov 5, 8:27 am, Seeker wrote: > Sorry, that was a bit cryptic. > > - Generate a test app with the wizard (with a few test tables). > - Click on the '... Select' menu item for one of the tables. > - Click the 'view' link for one of the records. > - Click the 'edit ...

[web2py] Re: error in admin: _read function missing

2010-11-05 Thread Seeker
Sorry, that was a bit cryptic. - Generate a test app with the wizard (with a few test tables). - Click on the '... Select' menu item for one of the tables. - Click the 'view' link for one of the records. - Click the 'edit ...' link for the record. - Tick the 'delete'check box and submit. - Error:

Re: [web2py] Re: Learning Management System survey

2010-11-05 Thread Tom Atkins
I can volunteer time and input for the LMS idea. I'm not experienced enough with Python and web2py yet to contribute good code but can help with frontend UI, design, jQuery and documentation. Assuming the project would have a Free license? I'd be happy to register, host, set up and manage a dedi

[web2py] Re: \sample markmin app

2010-11-05 Thread mdipierro
Markitup is not plugin_wiki (static/plugin_wiki/markitup) not in web2py On Nov 5, 4:23 am, villas wrote: > > it has been included for some time. > > Could you tell me exactly where the editor MarkItUp is included? > > I looked in Contrib etc but maybe I'm missing something? > Sorry for this quest

[web2py] Re: error in admin: _read function missing

2010-11-05 Thread mdipierro
I do not understand where to click. On Nov 5, 2:14 am, Seeker wrote: > Hi, > > In trunk: > Clicking on 'view' link on the select page complains of an invalid > function ... > > Thanks.

[web2py] Re: How to unplug or upgrade a plugin

2010-11-05 Thread mdipierro
Anyway... I m sure jqgrid works well in plugin_wiki. Either there is an error in passing arguments to it or there is an issue with permissions or there is a JS conflict. On Nov 5, 2:10 am, Johann Spies wrote: > I have the problem that the jqrid-plugin's search function works as > expected in one

[web2py] Re: How to unplug or upgrade a plugin

2010-11-05 Thread mdipierro
You can remove the plugin using the admin interface (click plugin, click remove from plugin page). You can upgrade a plugin by applying the new plugin over the old one). On Nov 5, 2:10 am, Johann Spies wrote: > I have the problem that the jqrid-plugin's search function works as > expected in on

[web2py] Getting back to where you were

2010-11-05 Thread Johann Spies
I combine two (crud.create with keepvalues=True) forms on one page and below the forms a SQLTABLE (not using jqgrid because I don't know how to pass a query to jqgrid) with an 'edit' link in the first column. I want to get back to the same screen after one of the entries in the SQLTABLE has been

Re: [web2py] Re: Learning Management System survey

2010-11-05 Thread José Ignacio Hurtado
I have some spare time, have a few ideas and find the project interesting but my perspective may be different because i don't use a LMS at work now. 2010/11/3 mdipierro > We need to assemble a team. > > On Nov 3, 3:00 pm, jnowl wrote: > > I keep an eye on python web frameworks. > > > > Here at

[web2py] unicode problem in DAL

2010-11-05 Thread Stef Mientki
I'm trying to insert a record with a filed value u"ëLocatie" and I get an error in sql.Table._insert at the last line: return 'INSERT INTO %s(%s) VALUES (%s);' % (sql_t, sql_f, sql_v) here the traceback File "D:\Data_Python_25\support\Web2Py_DAL_support.py", line 250, in DAL_Table

[web2py] Re: Web2py Application Exhibition ( Version 2.0 )

2010-11-05 Thread NetAdmin
Ramjee, Yes the app must be opensource. ( Like Web2py ) Mr.NetAdmin On Nov 5, 3:20 am, Ramjee Ganti wrote: > Hi Netadmin, > > Very nice initiative. Is it mandatory that the project is opensource. I am > working on an enterprise analytics application using web2py. However, I am > not going to m

[web2py] Re: new admin layout

2010-11-05 Thread selecta
I like the new design small things: in the online editor the save icon is quite different from the rest of the simplistic icons, it confused me. also it should be css => cursor: pointer; when i did not see my mouse trurn to a hand i thought i could not click it

[web2py] Re: Book Edit Suggestion

2010-11-05 Thread villas
Good to know. I suppose you just need to change the 'select' to 'search'. However, it would be nice to mention that tuple! :) On Nov 5, 4:42 am, rochacbruno wrote: > Sorry I didnt test this way. > > I also didnt know that search returns a select. > > Enviado via iPhone > > Em 05/11/2010, às 01:

Re: [web2py] Re: Straw poll on the learning curve of markmin for the layman

2010-11-05 Thread Tom Atkins
[sorry - I meant The combination of MarkItUp and **Markmin** is excellent.] On 5 November 2010 09:30, Tom Atkins wrote: > I'm very happy about Markmin! I've used Markdown for years for creating > eLearning resources and blogging. > > I have tried to get 'normal' users to use Markdown (Markmin wo

Re: [web2py] Re: Straw poll on the learning curve of markmin for the layman

2010-11-05 Thread Tom Atkins
I'm very happy about Markmin! I've used Markdown for years for creating eLearning resources and blogging. I have tried to get 'normal' users to use Markdown (Markmin would be the same) and it's not easy. Non-techy people will not use inline markup! So an editor like MarkItUp is essential. The c

[web2py] Re: \sample markmin app

2010-11-05 Thread villas
> it has been included for some time. Could you tell me exactly where the editor MarkItUp is included? I looked in Contrib etc but maybe I'm missing something? Sorry for this question but I am not always very good at seeing what is obvious! :-) On Nov 4, 6:25 pm, mdipierro wrote: > it has bee

[web2py] Re: Learning Management System survey

2010-11-05 Thread Nico de Groot
Volunteering. I might be able to get some funding at our university. BTW thanks for the BBB suggestion, I'm integrating it now in my application. Nico On Nov 3, 10:35 pm, mdipierro wrote: > We need to assemble a team. > > On Nov 3, 3:00 pm, jnowl wrote: > > > > > > > > > I keep an eye on python

Re: [web2py] Web2py Application Exhibition ( Version 2.0 )

2010-11-05 Thread Ramjee Ganti
Hi Netadmin, Very nice initiative. Is it mandatory that the project is opensource. I am working on an enterprise analytics application using web2py. However, I am not going to make it opensource. (I might consider making some parts of it opensource later). rAm i Think, i Wait, i Fast -- Siddhart

[web2py] Error in wizard generated scaffold?

2010-11-05 Thread Seeker
Hi, Using trunk: Testing the wizard generated scaffold; attempting to delete a record from the update page generates an error: document does not exist.

[web2py] ISBN database

2010-11-05 Thread Kenneth
Hello list, have any of you tried to find out data about a book via the ISBN number, maybe using web2py. Kenneth

[web2py] error in admin: _read function missing

2010-11-05 Thread Seeker
Hi, In trunk: Clicking on 'view' link on the select page complains of an invalid function ... Thanks.

[web2py] How to unplug or upgrade a plugin

2010-11-05 Thread Johann Spies
I have the problem that the jqrid-plugin's search function works as expected in one application and not in another (older) one. In the latter it flatly ignored the mouse on the search icon. So I decided to upgrade plugin_wiki on the second one by reinstalling a newer version and ended up having t

[web2py] Re: Hyperlink urls in comments

2010-11-05 Thread annet
Thanks for your reply, you're right. The problem occurred in round cube in Thunderbird the link is click-able. > I have not yet tried to send HTML formatted mail for the auth methods, > but I suspect that is what you are looking to do. Yes, if that's the only way to solve the problem ... Kind r