[web2py] Re: DateInput Calendar and other widgets

2010-11-02 Thread annet
being a problem, because it can easily be restyled: www.fitwise.nl/init/eventlis/bydate Kind regards, Annet.

[web2py] Re: I may have missed some posts....

2010-11-02 Thread annet
> If there is any open that I missed please ping me. http://groups.google.com/group/web2py/browse_thread/thread/5702475cd1256677/e5e07824cff40403#e5e07824cff40403 Kind regards, Annet.

[web2py] Re: new admin layout

2010-11-02 Thread annet
> I like the old one better. This is too busy. Everything looks exactly the > same. Leads to much confusion on where things I need are. That's what I thought, so I agree with Thadeus. Annet.

[web2py] Re: DateInput Calendar and other widgets

2010-11-02 Thread annet
It's smaller when you build your own download, that's what I did when I just needed the tabs. Annet.

[web2py] Re: new admin layout

2010-11-03 Thread annet
Yes, especially when you have a look at how this thread started ... LOL Kind regards, Annet

[web2py] Re: Hyperlink urls in comments

2010-11-04 Thread annet
there a way to solve this problem?" Could this problem be solved using markmin? Regards, Annet

[web2py] Different register procedures multiple databases.

2010-11-04 Thread annet
efine a table in the second application called myTimetable which stores the company_id and the contents of the two drop boxes and then base the rendering of a personalized timetable on these data? Kind regards, Annet.

[web2py] Re: Hyperlink urls in comments

2010-11-05 Thread annet
oblem ... Kind regards, Annet.

[web2py] Re: Different register procedures multiple databases.

2010-11-07 Thread annet
Massimo, Thanks, for taking the time to answer my questions. Now that I know it's possible, I'll take up building the two apps that each have different ways of access control. Kind regards, Annet

[web2py] IMG helper and _width

2010-11-09 Thread annet
"/Library/Python/2.5/site-packages/web2py_1.87.3/applications/ init/views/locator/businesscard.html", line 45 response.write(IMG(_src=URL(r=request,a='base',c='static',f='base/ card/logos/' + logo[0].link) _width="228px")) SyntaxError: invalid syntax The ^ sign is under the h of _width="228px" Does one of you know the correct syntax? Kind regards, Annet.

[web2py] Re: IMG helper and _width

2010-11-10 Thread annet
able to set vertical-align on an img. Kind regards, Annet.

[web2py] Re: IMG helper and _width

2010-11-10 Thread annet
@Bruno, Thanks for providing me with a working solution. @Denes, Thanks for explaining me why I got this error. Kind regards, Annet. On Nov 10, 3:20 pm, DenesL wrote: > Annet, allow me a little explanation on why you got SyntaxError: > keyword can't be an expression. > w

[web2py] Re: radio button issue

2010-11-10 Thread annet
Hi Matt, The IS_IN_SET() should read: IS_IN_SET([(True,'Yes'),(False,'No')]) Kind regards, Annet.

[web2py:23324] _onclick

2009-06-05 Thread annet
h adjustment do I have to make to get this to work properly? Kind regards, Annet. --~--~-~--~~~---~--~~ 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@go

[web2py:23354] Posts to this group no longer visible.

2009-06-05 Thread annet
only one facing this problem? Is there a way to solve it? Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email

[web2py:23364] Re: should login redirect to index function after login?

2009-06-05 Thread annet
Massimo, On Mac OS X Leopard, your solution works. I noticed that you also uploaded the welcome app, do I have to change anything in my existing apps that are based on the previous welcome app? Kind regards, Annet. --~--~-~--~~~---~--~~ You received this

[web2py:23369] Re: should login redirect to index function after login?

2009-06-05 Thread annet
Massimo, Thanks, in that case I won't face any problems. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send

[web2py:23374] 1.63.1 issues.

2009-06-05 Thread annet
, every time user 2 navigates to one of the functions in site.py a flash is displayed: Insufficient privileges. Will I get this to work in web2py 1.63.1 or will I have to downgrade to 1.61.4? Kind regards, Annet. --~--~-~--~~~---~--~~ You received this mess

[web2py:23407] Re: 1.63.1 issues.

2009-06-05 Thread annet
2py this worked all flawless. In web2py 1.63.1 only core.py and > core_navigation work all right. When user 2 logs in both menu's are > displayed, however, every time user 2 navigates to one of the > functions in site.py a flash is displayed: Insufficient privileges. Kind regards,

[web2py:23418] Re: 1.63.1 issues.

2009-06-06 Thread annet
in. Whereas I set auth.settings.login_next=URL(r=request,c='core',f='index') Is it possible that the issue described below has something to do with the user only being allowed to be a member of one group? - Show quoted text - Kind regards, Annet. --~--~-~--~~-

[web2py:23419] Re: 1.63.1 issues.

2009-06-06 Thread annet
File "/Library/Python/2.5/site-packages/web2py_1_63_5/gluon/ tools.py", line 1609, in update onvalidation=onvalidation): KeyError: 'id' Is it possible to revert to the tools.py of version 1.61.4 in version 1.63.5? Kind regards, Annet. --~--~-~--~~-

[web2py:23446] Re: 1.63.1 issues.

2009-06-06 Thread annet
63_5/gluon/ tools.py", line 895, in retrieve_username session = self.environment.session NameError: global name 'response' is not defined The latter results in a flash being displayed: Function disabled. Kind regards, Annet. --~--~-~--~~~---~--~~ You re

[web2py:23447] Re: 1.63.1 issues.

2009-06-06 Thread annet
Massimo, I resolved the behaviour issue myself. I provided the group_id instead of the role, I changed the group_id to role and now it works as it did before. I have no idea why group_id did not work. Best regards, Annet. --~--~-~--~~~---~--~~ You received

[web2py:23450] Re: Delete error on crud

2009-06-06 Thread annet
ython/2.5/site-packages/web2py_1_63_5/gluon/ tools.py", line 1609, in update onvalidation=onvalidation): KeyError: 'id' Since the check to delete worked in version 1.61.4 I do not think the error is caused by an error in our code. Best regards, Annet. --~--~-~--~-

[web2py:23475] Re: Delete error on crud

2009-06-06 Thread annet
crud record {{for record in records:}} {{=record.straat}} {{=record.huisnummer}} {{=record.huisnummerextensie}} {

[web2py:23510] Re: Delete error on crud

2009-06-07 Thread annet
Massimo, I sent you a minimal mock app to illustrate the problem. I hope it works an helps you locate the problem and fix it. Kind regards, Annet. P.S. I am afraid your profile suffers from the same issue I draw your attention to in this post: http://groups.google.com/group/web2py

[web2py:23511] Re: Delete error on crud

2009-06-07 Thread annet
Massimo, I sent you a minimal mock app to illustrate the problem. I hope it works an helps you locate the problem and fix it. Kind regards, Annet. P.S. I am afraid your profile suffers from the same issue I drew your attention to in this post: http://groups.google.com/group/web2py

[web2py:23654] Re: Delete error on crud

2009-06-08 Thread annet
Massimo, I just tested the check to delete functionality based on r1006, and it passe all tests. Thanks for fixing this issues. Which adjustments did you make to the welcome app I based my applications on? Kind regards, Annet --~--~-~--~~~---~--~~ You

[web2py:23659] Login_next

2009-06-09 Thread annet
: http://127.0.0.1:8000/admin/default/design/cms, instead of core/index I also bookmarked the login page. When I login I am redirect to core/ index. However, when I logout and login again, I am redirected to default/index. So only when I login from outside web2py the login_next works correc

[web2py:23660] retrieve_username and retrieve_password

2009-06-09 Thread annet
name response.flash = self.messages.function_disabled NameError: global name 'response' is not defined ... and in case of retrieve_password in a flash: function disabled. What change in 1.63.5 causes these settings to no longer work. Kind regards, Annet --~--~-~--~

[web2py:23686] Re: how to prevent deletion of referenced records

2009-06-09 Thread annet
Marco, Did you test this in Sqlite: db.define_table('table', db.Field('field',...,ondelete='RESTRICT'), migrate='table.table') It does set the ON DELETE to RESTRICT in the foreign key constraint in Postres. Annet. --~--~-~--~~--

[web2py:23699] Re: response.flash upgrade

2009-06-09 Thread annet
ueryui.com/demos/datepicker/ Kind regards, Annet. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe f

[web2py:23704] Re: retrieve_username and retrieve_password

2009-06-09 Thread annet
Massimo, Uncommenting auth.settings.mailer=mail solved the problem. Annet. --~--~-~--~~~---~--~~ 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@google

[web2py:23709] Re: response.flash upgrade

2009-06-09 Thread annet
Massimo, No, you're right, however, I prefer a more straightforward date-picker to the awkward date- and date-time-picker. Kind regards, Annet --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web

[web2py:23710] Re: Login_next

2009-06-09 Thread annet
stent with this behavior. Am I wrong? No, you are right. What I would like is web2py to always go to the page set in login_next , so its behaviour is consistent, and not dependent on being redirected or not. I hope this can be fixed. Annet. --~--~-~--~~~---~--

[web2py:23722] Re: response.flash upgrade

2009-06-09 Thread annet
months, restricting the date range etc ;-) Kind regards, Annet --~--~-~--~~~---~--~~ 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@googlegroups.com To un

[web2py:23725] Re: Problem in 1.63.5

2009-06-09 Thread annet
Peter, Aren't you facing the same problem as I am: http://groups.google.com/group/web2py/browse_thread/thread/d5083ed08c685e34 Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web

[web2py:23728] Re: Texteditor

2009-06-09 Thread annet
I am using NicEdit: http://nicedit.com/ Annet. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe

[web2py:23827] Re: response.flash upgrade

2009-06-10 Thread annet
mode ...out, without me providing any clues. Actually I don't. Kind regards, Annet --~--~-~--~~~---~--~~ 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@g

[web2py:23828] Re: Login_next

2009-06-10 Thread annet
Massimo, I tried the version in trunk. Problem solved, thanks! Kind regards, Annet --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email

[web2py:23875] Re: how to prevent deletion of referenced records

2009-06-10 Thread annet
ncie" violates foreign key constraint "gemeente_provincie_fkey" on table "gemeente" DETAIL: Key (id)=(1) is still referenced from table "gemeente". Isn't displaying a warning message just a matter of 'translating' this error ticket into a resp

[web2py:23876] Re: Login_next

2009-06-11 Thread annet
.bedrijf==auth.user.bedrijf)& (db.openingstijd.dag==db.dag.id))\ .select(db.openingstijd.ALL,db.dag.dag,orderby=db.openingstijd.dag| db.openingstijd.van_tijd) return dict(form=form,records=records) Version r1016 did not break this functionality. Kind regards, Annet. --~--~-~

[web2py:23877] Static files

2009-06-11 Thread annet
k, or am I overlooking something that will cause this to break. Kind regards, Annet. --~--~-~--~~~---~--~~ 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

[web2py:23878] Static files

2009-06-11 Thread annet
k, or am I overlooking something that will cause this to break. What about moving the static files the applications have in common to a location outside the applications? What would be the best location? Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message b

[web2py:23879] MIME type

2009-06-11 Thread annet
/html Is there a way to fix this? Annet. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this g

[web2py:23883] Re: MIME type

2009-06-11 Thread annet
I do not know if it is a copy and paste error, but did not you forget the closing tag. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to

[web2py:23885] Firefox

2009-06-11 Thread annet
idth=600'); if (window.focus) clubdetailswindow.focus(); return false; } In Safari this works flawless, In Firefox the master view works, however, when I click a link in the table a new browser window opens, displaying an empty page, no URL, not resized, ... Kind regards, Annet. --~--~

[web2py:23891] Re: Login_next

2009-06-11 Thread annet
cations folder. I do not know if this is the right way to proceed, but is works... Kin regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, se

[web2py:23897] Re: how to prevent deletion of referenced records

2009-06-11 Thread annet
s=[IS_NOT_EMPTY(),IS_NOT_IN_DB (db,'provincie.provincie',error_message=T('provincie already in database'))] ... the notnull=True would be covered at web2py form level by the IS_NOT_EMPTY() and the unique=True by the IS_NOT_IN_DB(..) validator.

[web2py:23908] Re: Firefox

2009-06-11 Thread annet
ank' and removed the 'return false'; I do not know why I had to remove 'return false', I got the information from: http://www.w3schools.com/js/tryit.asp?filename=tryjs_openallwindow Kind regards, Annet. --~--~-~--~~~---~--~~ You received

[web2py:23909] Re: how to prevent deletion of referenced records

2009-06-11 Thread annet
es=self.requires))) This prevents the field from being empty but it does not prevent the user from adding a duplicate value. Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framew

[web2py:23911] Re: Login_next

2009-06-11 Thread annet
ions folder. I do not know if this is the right way to proceed, but is works... Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this

[web2py:23914] Re: Firefox

2009-06-11 Thread annet
ould. That statement was the work around. I put the return false back to were it was, and it still works in Safari and Firefox. So, as a reference this: http://www.w3schools.com/js/tryit.asp?filename=tryjs_openallwindow is not a indicative. Thanks for pointing

[web2py:24136] Built-in helper A.

2009-06-14 Thread annet
-packages/web2py_1_63_5/applications/ demo/views/site/index.html", line 46 response.write(A('{{=response.companyname)\nresponse.write ('\',_href=URL(r=request,f=\'index\'))}}\n \n \n',escape=False) ^ SyntaxError: unexpected character after line cont

[web2py:24195] Re: Built-in helper A.

2009-06-14 Thread annet
Hans, Thanks. Problem solved. Annet. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this g

[web2py:24198] Variables stored in session.

2009-06-15 Thread annet
e controllers would solve the problem, but that would make the whole thing less generic, because in my view I have: {{=A(session.comname,_href=URL(r=request,f='index'))}} I don't see how to solve this problem. I hope one of you does. Kind regards, Annet. --~--~-~--~~--

[web2py:24202] request.now.date()

2009-06-15 Thread annet
ion results in an error ticket being issued: SyntaxError: invalid syntax. I tested the entire controller, the syntax error is in the given line of code. What is the correct syntax? Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you a

[web2py:24212] Re: request.now.date()

2009-06-15 Thread annet
Massimo, Thanks, something else though, how do I increase request.now by 2 months? db.event.fromdate<=request.now + 2 months Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "we

[web2py:24214] Re: request.now.date()

2009-06-15 Thread annet
Massimo, Thanks, for providing me with the plus_two_months(da) function. Annet --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email

[web2py:24217] Re: Variables stored in session.

2009-06-15 Thread annet
ll these cases the correct comname was displayed. I hope this justifies the conclusion that my controllers work. If I am overlooking anything, please let me know. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[web2py:24374] Time

2009-06-17 Thread annet
Kind regards, Annet. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to

[web2py:24378] Re: Time

2009-06-17 Thread annet
Massimo, I tried request.now and it works. Thanks. Annet. --~--~-~--~~~---~--~~ 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@googlegroups.com To u

[web2py:24560] Re: How using free id in db

2009-06-20 Thread annet
. As I said, I gave this some thought, in Postgres the sequences are set to a maximum of 9223372036854775807, so I don't think there is a need to fill the gaps. Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[web2py:24562] JavaScript return false

2009-06-20 Thread annet
RL is displayed as well, in Safari it is not. I know I need the return false for IE's sake, how do I solve the problem in Firefox? Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py

[web2py:24609] Re: JavaScript return false

2009-06-20 Thread annet
details window: http://127.0.0.1:8000/demo/site/eventdetails/2 In Safari the address in the master window reads like: http://127.0.0.1:8000/demo/site/eventlist and in the details window it doesn't display, because of the attributes in the window.open()

[web2py:24615] Built-in helper A from database.

2009-06-21 Thread annet
ct formulier',_href=URL(r=request,f='contact'))}} which is displayed as it is, not as a link. What is the correct syntax to get the link displayed as a link. Kind regards, Annet --~--~-~--~~~---~--~~ You received this message because you are subscribe

[web2py:24639] Re: JavaScript return false

2009-06-21 Thread annet
works on both Safari and Firefox on Mac. Kind regards, Annet. --~--~-~--~~~---~--~~ 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@googlegroups.com To

[web2py:24644] Re: Built-in helper A from database.

2009-06-21 Thread annet
r, instead of return dict(content=content[0]) I have to write content.content out to an html file in the views folder. I haven't done that before. I'll give it a try. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subsc

[web2py:24686] Table in a view

2009-06-21 Thread annet
: mon.09:30 - 10.15 mon.10.30 - 11.15 etc. I would like: Monday 09:30 - 10.15... 10:30 - 11.15... Tuesday 10:30 - 11.15... etc. I have given it a try but didn't get it right, I hope one of you knows how to code this. Kind regards,

[web2py:24689] Request.now.hour

2009-06-22 Thread annet
time, format it like '%H:%S' and then do: db.timetable.time>=request.now But a field of type datetime makes the calendar pop up and that doesn't allow me to enter times like 09:45. I wonder whether request.now.hour is able to return the hours in a different format. Els

[web2py:24700] Re: Request.now.hour

2009-06-22 Thread annet
str > (request.now.minute) > lack of '0' would give you a 'no match' against the database I'll see if it works tomorrow morning. Thanks for giving an explanation as well. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this

[web2py:24723] Re: Request.now.hour

2009-06-22 Thread annet
s the calendar pop up and that doesn't allow me to enter > times like 09:45. ... to work. Hence, my "mucking about with times in string format" ;-) Thank you both for your help, Annet. --~--~-~--~~~---~--~~ You received this message because yo

[web2py:24765] Re: Request.now.hour

2009-06-22 Thread annet
nge this message to read like: must be HH:MM! The time references the time at which a program starts, so seconds are not relevant. Finally, in one my views I have: {{=db.event.from_date.formatter(event.from_date)}} Is there something equivalent to get the time formatted correctly. i.e 1

[web2py:24770] Re: Table in a view

2009-06-23 Thread annet
Hi Denes, Perfect. I used the colspan to let the day stand out from the rest. Thanks. Kind regards, Annet --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this g

[web2py:24781] Re: Request.now.hour

2009-06-23 Thread annet
y, importing them and assign them to the fields in the model file. In my case, I would create a widgets.py file in the modules folder of my application, put the widget code in widgets.py, in my model import the widgets (from modules import widgets) and use it like this: widget=timep

[web2py:24789] Re: Request.now.hour

2009-06-23 Thread annet
es) ... and put it the widgets.py ... in the model of my application: from applications.parent.modules.widgets import* ... and in the function: form=form_factory(SQLField('place',requires=IS_NOT_EMPTY (),widget=clubbyplace(clubbyplace,???))) I gave it a try, but I don't get the wi

[web2py:24790] form_factory and radio buttons

2009-06-23 Thread annet
radio buttons. I read this AlterEgo item: http://www.web2py.com/AlterEgo/default/show/170, but that's based on a table. Is it possible to do this in form_factory? Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribe

[web2py:24809] form.append repetition

2009-06-23 Thread annet
"window.location='%s';"%URL (r=request,f='index'))) I wonder whether there is a way to keep me from repeating this part of the function: form[0][-1][1].append(INPUT(_type='reset',_value='Reset')) form[0][-1][1].append(INPUT (_type='button'

[web2py:24816] Re: form_factory and radio buttons

2009-06-23 Thread annet
rary/Python/2.5/site-packages/web2py_1_63_5/gluon/ globals.py", line 97, in self._caller = lambda f: f() File "/Library/Python/2.5/site-packages/web2py_1_63_5/applications/ core/controllers/utilities.py", line 40, in contact gender.widget=radioboxes NameError: global name &

[web2py:24819] Re: form.append repetition

2009-06-23 Thread annet
ed: def update_form(table,nxt) form=crud.update(table,request.args[0],next=(URL (r=request,f='nxt'))) form[0][-1][1].append(INPUT (_type='button',_value='Cancel',_onclick='javascript:history.go(-1)')) return form But it doesn't work, do you know why n

[web2py:24868] Re: web2py 1.64.4 is out

2009-06-23 Thread annet
ry('') Kind regards, Annet. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this grou

[web2py:24874] Re: form.append repetition

2009-06-24 Thread annet
te it in db.py, but that didn't get me any further ... I hope you can provide me with a skeleton class that I can use to implement the module ... Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[web2py:24899] Re: Request.now.hour

2009-06-24 Thread annet
I'm afraid I don't have time to trace > through everything above ... I realise I can't expect anyone to follow my lines of thought. I very much appreciate all the help I get from you and the others and I have learnt a lot since I got started with web2py. Kind regards, Annet. --

[web2py:24986] OR in query

2009-06-25 Thread annet
vent.from_datum>=fromdate)| (db.event.to_date>=fromdate))&(db.event.from_datum<=todate).select() I wonder whether this is possible. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &quo

[web2py:24990] Re: OR in query

2009-06-25 Thread annet
Massimo, I work on Mac OS X Leopard Server for both development and production, so problem solved. Thanks. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" grou

[web2py:24991] form_factory focus

2009-06-25 Thread annet
view is displayed I would like the input field to have the focus. How do I set the focus in case of from_factory? Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framew

[web2py:25016] Re: autocomplete

2009-06-25 Thread annet
they call it auto_completion because you can add your own modules to it. Annet. --~--~-~--~~~---~--~~ 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@goog

[web2py:25017] Re: form_factory focus

2009-06-25 Thread annet
Problem solved. Thanks. Kind regards, Annet. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe

[web2py:25020] Re: OR in query

2009-06-26 Thread annet
John, Thanks for drawing my attention to Fran's solution. It also comes in handy to solve another problem I was facing. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web

[web2py:25022] Re: form_factory focus

2009-06-26 Thread annet
oblem described above, because I set the focus per field. However when I set the focus on a field of type date I run into the same problem. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Grou

[web2py:25047] Image validation on size and dimensions

2009-06-26 Thread annet
In my application I allow users to upload images. I would like to validate the images on size (xx KB) and dimensions (width xxx and height xxx). I wonder whether any one has done this before, and what is the best way to proceed. Kind regards, Annet

[web2py:25051] Re: form_factory focus

2009-06-26 Thread annet
I would have to set the focus on each first field in every form separately. I thought input:text meant input fields of type text only, and that it would exclude input fields of type date. I had hoped there would be a way to use Denes' code to take care of these two exceptions.

[web2py:25068] Re: form_factory focus

2009-06-27 Thread annet
you try? > jQuery(document).ready(function(){ jQuery > ("input:text:first:visble").focus(); }); No I put: jQuery("input:text:first:visble").focus(); in the function web2py_ajax_init() in the file web2py_ajax.html. Which is called in: jQuery(document).ready(web2py_a

[web2py:25222] Re: Web2py is not too designer friendly?

2009-06-29 Thread annet
, css and js keeping structure, style and action separated, something none of these IDE's complied with. I hope web2py will stay as 'clean' as it is, and not become another 'NetBeansese' IDE. Annet. --~--~-~--~~~---~--~~ You received thi

[web2py:25223] Image table and upload.

2009-06-29 Thread annet
cord the image isn't deleted from the uploads folder. What property do I have to set to delete the image file from the uploads folder. I came across an example in which the developer stores the image in the database in a blob field, what are the pros and cons of storing the image in the

[web2py:25319] Options widget

2009-06-30 Thread annet
bject: facilityrows=db(db.faciliteit.in_widget==True).select (db.faciliteit.faciliteit) The widget should go in a module: def facilitywidget(field,value,options): id='%s_%s' % (field._tablename,field.name) else: raise SyntaxError, &qu

[web2py:25335] If...else ...if versus if...elif...else

2009-06-30 Thread annet
x27;)) return dict(club=club[0],address=address[0],nfas=nfas) i.e. adding: if not club: redirect(URL(r=request,c='default',f='index')) ... solves the problem, but leaves me puzzled as to why this: if not (club or address or nfas): redirect(URL (r=request,c='defau

[web2py:25339] Re: new IS_IMAGE validator in trunk

2009-06-30 Thread annet
Just what I have been looking for, much appreciated. Two questions (no crticism ;-) ): why don't image validators validate file size. I would like the file size of an image not to exceed 50KB. Why not validate images in JavaScript? Kind regards,

[web2py:25343] Re: Options widget

2009-06-30 Thread annet
Kind regards, Annet. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group, send email to

[web2py:25346] Re: If...else ...if versus if...elif...else

2009-06-30 Thread annet
, address and nfa all contain values if (p and q and r) would accomplish that (1 and 1 and 1) evaluates to true. But that doesn't make any difference to the ticket being issued. Kind regards, Annet. --~--~-~--~~~---~--~~ You received this message because yo

<    1   2   3   4   5   6   7   8   9   10   >