On Jun 10, 12:16 am, mdipierro wrote:
> Uploaded the fix. please give it a try.
Bingo - many thanks!
F
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email
On Wednesday 10 June 2009 09:01:04 Alexey Nezhdanov wrote:
> about 10k times faster than yours.
Ah... no. I never used timit module before. You get values of the same order.
--
Sincerely yours
Alexey Nezhdanov
--~--~-~--~~~---~--~~
You received this message becau
I get these results (best timing):
try-variant: 10.24s
regex: 9.58s
So on my laptop try:except: function loses about 5% to regex - probably it
depends on hardware/OS.
Still there is a serious reason why to stick with regexp. try: int(x) is not
really checking for an int - it checks for a _num
Thanks!
On Jun 9, 11:03 pm, "mr.freeze" wrote:
> Massimo, you should have a patch in email for active directory ldap
> auth. As noted in my email:
> It works but we will also need to change tools.py so that it forces
> ldap authentication each time, not just the first (maybe track the
> auth me
tomorrow I will make the WAR file.
Any tester?
I am far from being an expert on this java stuff.
Massimo
On Jun 9, 11:23 pm, mdipierro wrote:
> The current trunk WORKS with Jython including zxJDBC (sqlite *tested*
> and postgresql *not tested yet*)
>
> download jython-2.5rc3.jar
> downloa
The current trunk WORKS with Jython including zxJDBC (sqlite *tested*
and postgresql *not tested yet*)
download jython-2.5rc3.jar
download qlite-jdbc-3.6.14.2.jar
java -jar jython-xxx.jar
export CLASSPATH=$CLASSPATH:/Users/mdipierro/jython2.5rc3/sqlite-
jdbc-3.6.14.2.jar
cd web2py
../
Out of ideas. If you send me your app and steps to reproduce the
problem I will try it tomorrow.
Massimo
On Jun 9, 10:46 pm, Rui Gomes wrote:
> i don't have nothing define in auth.settings.login_next but i try this
> define as "auth.settings.login_next=URL(r=request, f='/')" still the same
> pr
Maybe somebody can make an example page displaying the various pickers
out there with some descriptions etc.
On Wed, Jun 10, 2009 at 2:27 AM, DenesL wrote:
>
> OK, but I am not the only one overlooking features ;-)
>
> There is a new version of www.dynarch.com/projects/calendar/
> with a demo at
Massimo, you should have a patch in email for active directory ldap
auth. As noted in my email:
It works but we will also need to change tools.py so that it forces
ldap authentication each time, not just the first (maybe track the
auth method in the db?).
Currently after the account is authentica
i don't have nothing define in auth.settings.login_next but i try this
define as "auth.settings.login_next=URL(r=request, f='/')" still the same
problem :S
On Wed, Jun 10, 2009 at 3:38 AM, mdipierro wrote:
>
> What's in your auth.settings.login_next? It is supposed to be a URL
> but looks like t
What's in your auth.settings.login_next? It is supposed to be a URL
but looks like there is a list in there!
Massimo
On Jun 9, 10:21 pm, Rui Gomes wrote:
> I still getting a error, but now is different :S
>
> Error traceback
>
> 1.
> 2.
> 3.
> 4.
> 5.
> 6.
> 7.
> 8.
> 9.
> 10.
> 11.
> 12.
> 13
try 1018
On Jun 9, 10:24 pm, Rui Gomes wrote:
> I have the last revision in the trunk Version 1.63.5 (2009-06-09 18:11:22) -
> Rev 1016
>
> I just have this error now in the previous version just return to the index!
>
> Any idea about this now?
>
> On Wed, Jun 10, 2009 at 3:21 AM, Rui Gomes wr
Allow me simplify it, else I do not understand it:
def managetable():
(tablename, id) = (request.args(0), request.args(1)) # can be
None
response.view = "%s/%s.html" % (request.controller,
tablename)
return thefields(setsubmit(tablename))
# why not return dict(
I have the last revision in the trunk Version 1.63.5 (2009-06-09 18:11:22) -
Rev 1016
I just have this error now in the previous version just return to the index!
Any idea about this now?
On Wed, Jun 10, 2009 at 3:21 AM, Rui Gomes wrote:
> I still getting a error, but now is different :S
>
> E
I still getting a error, but now is different :S
Error traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
Traceback (most recent call last):
File "/home/rui/Public/web2py/gluon/restricted.py", line 107, in restricted
exec ccode in environment
File
"/home/rui/Public/web2py/applicat
I have no idea. Never seen this problem before. I will try debug more
tomorrow.
Massimo
On Jun 9, 9:53 pm, FERNANDO VILLARROEL wrote:
> Hi,
>
> Tha table exist there and the table have a unique auto-increment "id" field
> also.
>
> The schema of table calls is the following
>
> id
There is a bug in keepvalues and crud. I fixed it in trunk but that
was not causing your problem.
This code works for me:
@auth.requires_login()
def customcreate():
crud.settings.keepvalues = True
if not session.create: session.create = []
form = crud.create(db.ttt, onvalidation=r, o
Hi,
Tha table exist there and the table have a unique auto-increment "id" field
also.
The schema of table calls is the following
id | integer | not null default
nextval('calls_id_seq'::regclass)
account_id | integer | not null
uuid
could you post an example
On Jun 9, 8:07 pm, JohnMc wrote:
> Fran,
>
> I do something very similar in jQuery. Bind a object to an event and
> use a anonymous function that calls Windows.Open(). The new window
> could call a download function. But I guess at that point its not a
> redirect.
>
> J
yes i set crud.settings.keepvalues=True, and what happen is when i call the
function customcreate, the function don't return the form but a redirection
to the index page, but if i try the same application with 1.62 version and
work fine :(
PS: i double check in different machines
On Mon, Jun 8,
If form --
$('form').find('#whatever')
works as well, though slower
On Jun 9, 5:48 pm, mdipierro wrote:
> it returns the actual helper, not a copy.
>
> On Jun 9, 4:41 pm, AchipA wrote:
>
> > Err... I was under the impression div.element only works on direct
> > child nodes and even there
Fran,
I do something very similar in jQuery. Bind a object to an event and
use a anonymous function that calls Windows.Open(). The new window
could call a download function. But I guess at that point its not a
redirect.
JohnMc
On Jun 9, 1:56 pm, Fran wrote:
> On Jun 9, 7:19 pm, mdipierro wrot
Or try to insert a birth date on somebody who is 58 using that simple
calendar.
On Jun 9, 10:11 am, DenesL wrote:
> I feel this is a matter of taste.
> The current one looks more cluttered but that is because it offers
> more info and options to the user.
> Try selecting June 2010 with the jquer
OK, but I am not the only one overlooking features ;-)
There is a new version of www.dynarch.com/projects/calendar/
with a demo at www.dynarch.com/static/JSCal2/index.html
It can even select multiple dates, something the other one can't do.
Anyway, I agree with Massimo on minimizing the JS load
Please try the version in trunk. No more request.env.referer.
Massimo
On Jun 9, 11:40 am, mdipierro wrote:
> I have an idea that may fix this. I will work on it tonight.
>
> On Jun 9, 10:05 am, annet wrote:
>
> > Massimo,
>
> > > Right now there are two possibilities:
>
> > > - if web2py redir
Massimo,
This is kind of complicated. It's part of a generalized application
that uses a database to to define which tables can be accessed through
CRUD. The database contains the table name, some search criteria and
decorators. The controllers look more like web2py source than a
"normal" cont
Gary,
I need more explanation. One example or screenshot would help.
Massimo
On Jun 9, 4:31 pm, Gary wrote:
> Hans,
>
> The model is kind of long, but SQLFORM (I don't know how to only show
> fields using SQLFORMS), as well as the Custom Update CRUD, works
> fine. It's only the Read CRUD that
it returns the actual helper, not a copy.
On Jun 9, 4:41 pm, AchipA wrote:
> Err... I was under the impression div.element only works on direct
> child nodes and even there it returns just a copy on the helper (not
> the reference to the actual one). Been quite a while since I looked in
> html.p
Uploaded the fix. please give it a try.
On Jun 9, 1:25 pm, mdipierro wrote:
> in update_fields and table[field].update
>
> should be
>
> in update_fields and table[fieldname].update
>
> will fix it tonight.
>
> On Jun 9, 1:02 pm, Fran wrote:
>
> > On Jun 9, 6:27 pm, Fran wrote:
>
> > > On Jun
On 9 jun, 15:19, mdipierro wrote:
> I am not familiar with the function
>
> reportes.impresion_tramite(...)
>
> what does it return? If your intention is to return the PDF to the
> user (http 200 ok) you cannot redirect (http 303 redirect). The two
> statements are not compatible.
>
Yes, it gen
That just means the table "calls" does not exist. It is not a web2py
errors. It is an error from the db driver. Are you sure the table is
there?
Does the table have a unique auto-increment "id" field?
Massimo
On Jun 9, 5:16 pm, visuallinux wrote:
> I am new on web2py and i trying accesing a da
Hans,
The model is kind of long, but SQLFORM (I don't know how to only show
fields using SQLFORMS), as well as the Custom Update CRUD, works
fine. It's only the Read CRUD that is giving me a problem. In other
words, the input tag works fine but the field display is showing the
'id' value rather
I am new on web2py and i trying accesing a database existing:
In my db.py i have:
db=SQLDB('postgres://foo:f...@192.168.0.1:5432/registros')
db.define_table('calls',
SQLField('account_id','integer'),
SQLField('uuid','string'),
SQLField('caller_id_number','string'),
SQLField('des
Err... I was under the impression div.element only works on direct
child nodes and even there it returns just a copy on the helper (not
the reference to the actual one). Been quite a while since I looked in
html.py, so I might be wrong, though...
On Jun 9, 10:33 pm, mdipierro wrote:
> It is ther
Hi Guys,
Joe Barnhart wrote:
> Got it. Please do not call it "is_integer". Names are important.
> Having a name that implies one thing but does another is a big no-no.
>
>
How about "is_id"?
--
PhilK
--~--~-~--~~~---~--~~
You received this message because
Got it. Please do not call it "is_integer". Names are important.
Having a name that implies one thing but does another is a big no-no.
On Jun 9, 1:28 pm, mdipierro wrote:
> We are not checking for arbitrary integers, only "valid" record ids
> and they cannot be negative.
--~--~-~--~-
We are not checking for arbitrary integers, only "valid" record ids
and they cannot be negative.
On Jun 9, 2:43 pm, AchipA wrote:
> Regardless of speed, if you *really* want to check for integers,
> you'll need a far more complex regex (how do you handle sign ? int
> size ?). int() does all that
It is there already:
form.element(_id='something')['_class']='red'
On Jun 9, 2:58 pm, AchipA wrote:
> Another idea while I wait for some of my computations to finish.
> Javascript can access HTML elements in different ways. With web2py
> helpers, this can get a bit cumbersome. How about a gener
Hi Francois.
db.define_table('accountfromchart',
SQLField('number', length=10),
SQLField('description', length=155),
SQLField('parentaccount', "reference
accountfromchart")
)
db.accountfromchart.parentaccount.requires=IS_IN_DB
(db,'
no but you can send me a patch to do it. ;-)
On Jun 9, 2:05 pm, Hans Donner wrote:
> anyway to run all the doctests in one go?
>
> On Tue, Jun 9, 2009 at 8:59 PM, Hans Donner wrote:
> > yep, just did a trunk upgrade
>
> > 2009/6/9 mdipierro :
>
> >> BTW,... I am sure I fixed that a few days ago.
Thanks, that was exactly what I needed!
On Jun 9, 12:54 pm, mdipierro wrote:
> I do not fully understand. You want a create incident form but that
> does not have a school field.
> I guess what you want is display only students for the same school as
> the logged in staff. In this case you can d
3) provide a patch, so it might end up in SQLTABLE ?
On Tue, Jun 9, 2009 at 6:57 PM, mdipierro wrote:
>
> There is no may to make a SQLTABLE taht fits everybody's taste and
> needs. I think you should
>
> 1) define your own SQLTABLE2, or
> 2) loop over rows explicitly
>
> Massimo
>
> On Jun 9, 11
I am creating a simple model to represent a chart of accounts:
For example, we have
0. top account
1. Account 1
1.1 account 1.1
1.11
1.12
1.13
1.2
(...)
2.
2.1
2.2
2.21
2.22
The model is as below :
db.define_table('accountfrom
Another idea while I wait for some of my computations to finish.
Javascript can access HTML elements in different ways. With web2py
helpers, this can get a bit cumbersome. How about a generic
getHelperById method for the base helper class so it goes through it's
components and fetches the helper w
Regardless of speed, if you *really* want to check for integers,
you'll need a far more complex regex (how do you handle sign ? int
size ?). int() does all that for you without too much effort.
But, for the record, to satisfy my own curiosity, too - one quickie
profiling coming up (python 2.5.2,
I understand that, but I though if we already do nearly the same thing
for the header row, why not do it for the data rows, too ?
On Jun 9, 6:57 pm, mdipierro wrote:
> There is no may to make a SQLTABLE taht fits everybody's taste and
> needs. I think you should
>
> 1) define your own SQLTABLE2,
Gary,
how dows your model look like?
And how does it show when you are just using SQLFORM?
On Tue, Jun 9, 2009 at 9:40 PM, Gary wrote:
>
> Thank you Fran and Massimo for the info.
>
> I downloaded the trunk using:
>
> bzr branch lp:~mdipierro/web2py/devel web2py-devel
>
> and installed the applic
Alexey,
custom.widget is already in trunk
On Tue, Jun 9, 2009 at 2:14 PM, Alexey Nezhdanov wrote:
> Finally, I started migration (before I was just slapping sql.py, checked out
> of the trunk over my ancient 1.61.4 install).
> Migration is not easy, I've been bending source for my needs so now I
Thank you Fran and Massimo for the info.
I downloaded the trunk using:
bzr branch lp:~mdipierro/web2py/devel web2py-devel
and installed the application. The error message went away, but
{{=form.custom.widget.town_id}} still displayed '1' vs. the 'lookup'
value. It also didn't display a checkb
anyway to run all the doctests in one go?
On Tue, Jun 9, 2009 at 8:59 PM, Hans Donner wrote:
> yep, just did a trunk upgrade
>
> 2009/6/9 mdipierro :
>>
>> BTW,... I am sure I fixed that a few days ago. Can you double check
>> you upgraded the tests?
>>
>> On Jun 9, 1:23 pm, Hans Donner wrote:
Mmm, even after this log.py goes into models/log.py, I think the line:
logging=cache.ram(...)
should be replaced by:
import logging
# logging=cache.ram(...) # Uncomment me if you need app-logging
Because:
1. My log.py will cause the an incremental system.log which will
eventually cram up yo
yep, just did a trunk upgrade
2009/6/9 mdipierro :
>
> BTW,... I am sure I fixed that a few days ago. Can you double check
> you upgraded the tests?
>
> On Jun 9, 1:23 pm, Hans Donner wrote:
>> Got:
>>
>> **
>> File "html.py", l
On Jun 9, 7:19 pm, mdipierro wrote:
> If your intention is to return the PDF to the
> user (http 200 ok) you cannot redirect (http 303 redirect). The two
> statements are not compatible.
Whilst at first sight I'd say that's true, what could be done is to
return the PDF in another Window/Tab (A t
I am glad you like it. So every new app will have a models/log.py
soon?
BTW, I personally prefer this formatter, hope you do:
"%(asctime)s %(levelname)s %(funcName)s():%(lineno)d %(message)s"
On Jun10, 2:22am, mdipierro wrote:
> I think you nailed it! I would change the file name so that it r
BTW,... I am sure I fixed that a few days ago. Can you double check
you upgraded the tests?
On Jun 9, 1:23 pm, Hans Donner wrote:
> Got:
>
> **
> File "html.py", line 841, in __main__.FORM
> Failed example:
> form.xml()
> Ex
hmm. yes the expected is wrong.
Massimo
On Jun 9, 1:23 pm, Hans Donner wrote:
> Got:
>
> **
> File "html.py", line 841, in __main__.FORM
> Failed example:
> form.xml()
> Expected:
> ' method="post">'
> Got:
> ' meth
in update_fields and table[field].update
should be
in update_fields and table[fieldname].update
will fix it tonight.
On Jun 9, 1:02 pm, Fran wrote:
> On Jun 9, 6:27 pm, Fran wrote:
>
> > On Jun 9, 3:13 pm, mdipierro wrote:
> > > Uploading another version to trunk. Please give it another try
By trunk we mean "not officially released yet" and "not guaranteed to
work".
Massimo
On Jun 9, 12:41 pm, Gary wrote:
> I tried {{=form.custom.widget.town_id}} in 1.63.5 and got an error
> "AttributeError: 'NoneType' object has no attribute 'town_id'".
> Using {{=form.custom.inpval.town_id}} ret
Got:
**
File "html.py", line 841, in __main__.FORM
Failed example:
form.xml()
Expected:
''
Got:
''
**
1 items had failures:
1 of 2 in __main__.F
No problem at all. this is an important issue and if we are not doing
it right, I want to know.
On Jun 9, 12:19 pm, cesmiga wrote:
> Massimo,
>
> Thank you for the update. My apologies since this was discussed
> earlier.
>
> Christopher
>
> mdipierro wrote:
> > Yes and no.
>
> > We are moving t
I think you nailed it! I would change the file name so that it resides
inside the applicaitons folder:
handler=logging.FileHandler(os.path.join(request.folder,"system.log"))
we could also add a line in the admin to peek the log (like with
sql.log).
On Jun 9, 12:18 pm, Iceberg wrote:
> request.
I am not familiar with the function
reportes.impresion_tramite(...)
what does it return? If your intention is to return the PDF to the
user (http 200 ok) you cannot redirect (http 303 redirect). The two
statements are not compatible.
Massimo
On Jun 9, 12:11 pm, Jose wrote:
> Hello
>
> At th
I don't know but you'd better do some profiling if you really want to
find out. IMHO, try...except might be fast, but wrapping it inside a
user-defined function could be another story, because defining a
function is expensive in python, so we shall call native function
(implemented by C) whenever
On Jun 9, 6:27 pm, Fran wrote:
> On Jun 9, 3:13 pm, mdipierro wrote:
> > Uploading another version to trunk. Please give it another try
> r896 works fine - many thanks :)
Solves that issue but seems to break updates:
This is a ticket from Tools' register() (but it also happens on other
DB upda
On Jun 9, 6:41 pm, Gary wrote:
> For clarification, does 'new trunk' mean something other than the
> current release?
It means the live code downloaded via Bzr:
https://code.launchpad.net/~mdipierro/web2py/devel
So more current than the latest release.
F
--~--~-~--~~~--
I tried {{=form.custom.widget.town_id}} in 1.63.5 and got an error
"AttributeError: 'NoneType' object has no attribute 'town_id'".
Using {{=form.custom.inpval.town_id}} returns a '1', the value of the
id in the 'Location' file pointing to the 'Town' file.
For clarification, does 'new trunk' mean
On Jun 9, 3:13 pm, mdipierro wrote:
> Uploading another version to trunk. Please give it another try
r896 works fine - many thanks :)
F
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
It seems I created two new decks without hitting the submit button by
just navigating away from the page. Also would be nice to be able to
delete them.
Mike
On Jun 9, 9:12 am, Iceberg wrote:
> I promise Matt is surely right about the font issue. :-)
>
> And one more defect, trying to not compl
Massimo,
Thank you for the update. My apologies since this was discussed
earlier.
Christopher
mdipierro wrote:
> Yes and no.
>
> We are moving to mercurial very very soon and move away from launchpad
> so I would prefer we use google code for bug tracking.
> It is also faster for me to acces
request.log(message) would be nice, but all the advantages of standard
logging are too good to let go. So I came up with this little trick.
Add following codes inside model/log.py:
def _init_log():
import logging
logger=logging.getLogger(request.application)
logger.setLevel(logging
Hello
At the end of the load of information on the part of the user there is
a link to the following function:
def terminar():
if session.documento is None:
redirect(URL(r=request, c='default', f='index'))
...
if solicitud[0].id > 0:
response.headers['Content-Type']=
There is no may to make a SQLTABLE taht fits everybody's taste and
needs. I think you should
1) define your own SQLTABLE2, or
2) loop over rows explicitly
Massimo
On Jun 9, 11:50 am, AchipA wrote:
> Just been through some TABLE() and SQLTABLE() work and could not find
> a way (I was satisfied
I do not fully understand. You want a create incident form but that
does not have a school field.
I guess what you want is display only students for the same school as
the logged in staff. In this case you can do
school_id=db.staff[userid()].school if userdi() else None
db.incident.student.requir
Just been through some TABLE() and SQLTABLE() work and could not find
a way (I was satisfied with) to change output results of particular
columns. For example, I have an sql column that is a color code and
I'd like to put in a css element with that color. The hard way is
obviously foregoing the {{
good point. Anyway, the function is no longer called as often as
Alexey originally pointed out, so it would make a negligible
difference. I will change it though.
Massimo
On Jun 9, 11:24 am, AchipA wrote:
> Any particular reason not doing is_integer via a 'try: int(i) except:
> return False' s
Yes and no.
We are moving to mercurial very very soon and move away from launchpad
so I would prefer we use google code for bug tracking.
It is also faster for me to access.
Anyway, I never said that we should use bug tracking. I only asked to
first email the list to make sure you indeed found a
oh thanks, it`s a cool tool.
peter
On 9 Jun., 18:16, annet wrote:
> 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 th
just a reminder - there was a plan afoot to move from launchpad to mercurial
hosting (likely on google code)...
On Tue, Jun 9, 2009 at 11:16 AM, Jason Brower wrote:
>
> Sadly, I agree, but 1 month ago, the choice was made to stick to what we
> have now. I REALLY want that to happen.
> Regards,
Hello,
Sorry if this question is a repeat, but I'm new here and couldn't find
anything on point in the archive.
I'm trying to create a form for data insertion, which will include a
dropbox representing a foreign key. Trouble is, the foreign table has
another key representing the row's 'school',
Using nicedit you can change the textareas for the field you need into
wysiwyg fields.
To then display the field properly you much prevent escaping with
{{=XML(fieldvalue)}}
On Jun 9, 11:16 am, annet wrote:
> I am using NicEdit:
>
> http://nicedit.com/
>
> Annet.
--~--~-~--~~---
I have an idea that may fix this. I will work on it tonight.
On Jun 9, 10:05 am, annet wrote:
> Massimo,
>
> > Right now there are two possibilities:
>
> > - if web2py redirects you to login, after login, login redirects you
> > to the referencing page
> > - if you go to the login page without r
with the new trunk you can do
{{=form.custom.widget.fieldname}}
On Jun 9, 11:06 am, Gary wrote:
> I'm using crud to interact with a custom view.
> form.custom.inpval.fieldname and form.custom.dspval.fieldname display
> the proper value for most field types, but not files, select boxes and
> che
Any particular reason not doing is_integer via a 'try: int(i) except:
return False' statement ? It should be faster than regexes.
On Jun 7, 1:49 pm, Iceberg wrote:
> On Jun7, 6:35pm, Alexey Nezhdanov wrote:
>
>
>
> > > 2) is_integer is a fast call, but with 1.1k (!) calls ...
>
> > Replaced it
Sadly, I agree, but 1 month ago, the choice was made to stick to what we
have now. I REALLY want that to happen.
Regards,
Jason Brower
On Tue, 2009-06-09 at 08:56 -0700, cesmiga wrote:
> All:
>
> I'm not sure if this has been discussed in the past and would like to
> hear more if we should be
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 from this gro
Hi Annet,
it seems to be the same problem.
Peter
On 9 Jun., 18:09, annet wrote:
> Peter,
>
> Aren't you facing the same problem as I am:
>
> http://groups.google.com/group/web2py/browse_thread/thread/d5083ed08c...
>
> Annet.
--~--~-~--~~~---~--~~
You received th
I promise Matt is surely right about the font issue. :-)
And one more defect, trying to not completing necessary field results
in a "function error_message at 0x8c1c41c" appearing at the usual
response.flash area.
Everything else seems ok. I like your two level menu especially. Hope
to see your
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 Framework" grou
There are many more options in the jQueryUI calendar. For this you
could use:
$('.selector').datepicker({ changeYear: true });
On Jun 9, 10:11 am, DenesL wrote:
> I feel this is a matter of taste.
> The current one looks more cluttered but that is because it offers
> more info and options to t
I'm using crud to interact with a custom view.
form.custom.inpval.fieldname and form.custom.dspval.fieldname display
the proper value for most field types, but not files, select boxes and
checkboxes. The download easily fixes the file display, but I've been
unable to find a similar solution to di
Denes,
Indeed, it is a matter of taste.
But cognitive ergonomically the current calendar is a disaster. The
arrows to increase the months and years are next to today, my test
user did not see the month change when he clicked the arrow nor did he
see the year change when he clicked the double arr
i load the version: Current Version 1.63.5 (2009-06-03 23:35:00) for
osx.
and i use the auth-object. on my index page i`ve a form to login,
register a user.
when the login is correct i receive the follow link:
http://localhost:8000/admin/default/site
but i will receive: http://localhost:8000/2bu
All:
I'm not sure if this has been discussed in the past and would like to
hear more if we should be tracking bugs and enhancement requests at
Launchpad?
https://launchpad.net/web2py
Wouldn't it make code management and processes more manageable and
more folks could aid with QA.
Thank you,
The best way is to customize the auth_user table as shown in the
slides, insdead of subclassing it. Else it is much more complex than
just setting auth.settings.table_user, since references from other
built-in tables will break
Massimo
On Jun 9, 10:42 am, Trollkarlen wrote:
> Fran wrote:
> > On
Can you explain better? Is this is a prblem with the stable or the
tunk version?
On Jun 9, 10:17 am, pk wrote:
> Hi Massimo,
>
> I´ve problems when i login in the new version, i get the default page
> of web2py not my requested page. In 1.62 i haven`t got this problem.
>
> Here my code:
> @auth.
Fran wrote:
> On Jun 9, 11:42 am, Robert Marklund wrote:
> > Cant auth be changed somhow to it will be easier to extend like this:
> > db.define_table('auth_user2',
> > db.auth_user,
> > SQLField('nickname'),
> > SQLField('image','upload'))
> > Th
Created a new repository and exported from svn again.
Now it works (!?)
Strange, old gluon repository has all green svn check marks.
Oh well, main thing is it works.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"w
Hi,
is there a possibilty to use a texteditor in the html-page (bold-font,
newline ...) for the user and after submit it will save it in the
table.
i need it for an cms for example.
thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed
This is very easy to reproduce.
Could someone else test and confirm either way?.
Thanks.
--~--~-~--~~~---~--~~
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@googl
Hi Massimo,
I´ve problems when i login in the new version, i get the default page
of web2py not my requested page. In 1.62 i haven`t got this problem.
Here my code:
@auth.requires_login()
def index():
redirect(URL(r=request,c='menu',f='index'))
## # #
1 - 100 of 158 matches
Mail list logo