Why do you need classes to style the default widgets?
They are very simple, they basically just have an INPUT so you can do
form['_class']='myclass'
.myclass INPUT#name {
... style of the INPUT in the widget name in form...
}
There is nothing you cannot already do in CSS.
Massimo
On Nov 2
I am having problems displaying profile data =db.profile.provider and
=db.profile.pic_url
I cannot get it to work and must be syntax problem, I have tried for
instance auth.provider
but gives value=none.
Any ideas appreciated
chrism
On Nov 21, 1:33 pm, murray3 wrote:
> scratch that!!!
> I had the
If you need custom fields you have to create a custom auth table first
then create a mapping in the RPXAuth instance. I hope that makes
sense. Feel free to email me your code and I will take a closer look.
On Nov 28, 3:13 am, murray3 wrote:
> I am having problems displaying profile data =db.prof
Hello,
I want to run one web2py instance where each web2py application
will be mapped to different domain and with ability to map some urls
differently in different domains.
I tried to edit routes.py but without success.
Can anyone show examples of such routes.py?
Thanks.
--
You received this
You can but strongly suggest you use virtual hosts in apache +
mod_wsgi + mod_rewrite. It will give you more flexibility in the long
run.
Massimo
On Nov 28, 10:31 am, Alex wrote:
> Hello,
>
> I want to run one web2py instance where each web2py application
> will be mapped to different domain and
Actually i'm using nginx with mod_proxy
This helped me with nginx for incoming requests:
rewrite ^(.*)$ /domain_app_name$1 last;
but how to change "out" url generation to do not include
app name "domain_app_name" in all links?
On Nov 28, 6:48 pm, mdipierro wrote:
> You can but strongly sug
The reason is he had a outsourced designer make all of the stylesheets. He
would have to either rewrite those stylesheets to accommodate web2py, or
change web2py to accommodate those spreadsheets. From the sound of it, there
are tons of form spreadsheets and would be quite tedious to alter them.
T
Is Web2py deployable on Apache tomcat, can anyone help??
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups
Is there any way to omit default controller name in URL if there is
appropriate default controller action, like it's done for index action
but to work for any default controller action?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to
What is the most seem-less way to disable user registration system. In a
system where you only need one user and don't want anyone else to join.
-Thadeus
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web..
Hey there I just modified the tagging plugin so multiple users can tag
one record, a tag cloud can be displayed for each record, for each
table, and for all tags.
I did not test it very much, please post improvements!
http://www.delarue-berlin.de/tmp/web2py.plugin.tagging.gz
--
You received this
Hello everyone,
Ok I am putting the finishing touches on our new web2py plugin hosting site.
Could everyone take a look at it, let me know what you think, and reply to
this thread for any comments or suggestions. I will not get a chance to
update it until next weekend, but would love to start gat
hi
Nice! Thank you for the attention. There is a good reason that I'm sure you
deeply understand for me to be less connected... I've been finishing my mst.
thesis. Work done, presentation finished more time free.
Meanwhile, I've been working on some interesting projects including web2py
based.
Correct. Design is out-sourced to a designer. Logic code is being done
by me. Main issue going forward will be with service contracts with
outsourced work. It's like voiding a warranty on a hard-drive in your
computer if you open it and modify anything.
On Nov 28, 9:36 am, Thadeus Burgess wrot
Good job!
Lets hope that the plugins will be as good as the repository.
Speaking of quality... a rating system would make a nice addition.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.
just remembered I am using the original RPXAuth.py from april.
There is a table called profile auto created in my project and
on inspection I can see the fields for provider, email etc from admin.
Just when I try and access them from the view i.e
{{=db.profile.provider))
it returns nothing?
On Nov
def twitter_post(username,password,message):
import urllib, urlib2, base64, gluon.contrib.simplejson
args= urllib.urlencode([('status',message)])
headers={}
headers['Authorization'] = 'Basic '+base64.b64encode(username
+':'+password)
request = urllib2.Request('http://twitter.com
The custom categories checkboxes widget I am using for plugincentral is
broken.
Did you change anything that might effect this?
-Thadeus
On Sun, Nov 22, 2009 at 8:13 PM, mr.freeze wrote:
>
> Yes, but having no default means that the user will be required to
> actively choose. I like that.
I've implemented a doctest for routes.py. The idea is to modify the doctest as
required to verify that your routes.py is doing what you expect. Massimo has
the patch, but in the meantime (he's busy) feedback would be useful. Post it
here, or send me a note.
You'll need to replace gluon/rewrite.
On Nov 28, 2009, at 4:54 PM, Jonathan Lundell wrote:
> I've implemented a doctest for routes.py. The idea is to modify the doctest
> as required to verify that your routes.py is doing what you expect. Massimo
> has the patch, but in the meantime (he's busy) feedback would be useful. Post
> it h
For the record
field.requires.options()
You have to call that :)
Why is this?
-Thadeus
On Sat, Nov 28, 2009 at 6:53 PM, Thadeus Burgess wrote:
> The custom categories checkboxes widget I am using for plugincentral is
> broken.
>
> Did you change anything that might effect this?
>
> -Th
Looks great!
On Nov 28, 1:57 pm, Thadeus Burgess wrote:
> Hello everyone,
>
> Ok I am putting the finishing touches on our new web2py plugin hosting site.
>
> Could everyone take a look at it, let me know what you think, and reply to
> this thread for any comments or suggestions. I will not get a
Just fixed a couple of bugs :P Search should be working again, so should
creation of plugins
-Thadeus
On Sat, Nov 28, 2009 at 8:08 PM, mr.freeze wrote:
> Looks great!
>
> On Nov 28, 1:57 pm, Thadeus Burgess wrote:
> > Hello everyone,
> >
> > Ok I am putting the finishing touches on our new
Could anybody explain the following traceback to me?
db.define_table...
Field('slug', unique=True, required=True),
)
db.page.slug.requires = IS_NOT_IN_DB(db, 'page.slug')
form = SQLFORM.factory(db.page.slug, Field('tags'))
Produces the following error on form.accepts(), works fine if wit
On Nov29, 2:11am, Alex wrote:
> Is there any way to omit default controller name in URL if there is
> appropriate default controller action, like it's done for index action
> but to work for any default controller action?
Create a routes.py in your web2py directory. See web2py/
route.example.py f
in routes.py
routes_out=(('/domain_app_name/$anything','$anything'),)
On Nov 28, 11:08 am, Alex wrote:
> Actually i'm using nginx with mod_proxy
>
> This helped me with nginx for incoming requests:
>
> rewrite ^(.*)$ /domain_app_name$1 last;
>
> but how to change "out" url generation to do no
You can run on apache
http://web2py.com/examples/static/web2py_manual_cut.pdf
but apache tomcat (as far as I understand) is JSP. web2py runs on
Python, not Java.
On Nov 28, 11:56 am, haftish21 wrote:
> Is Web2py deployable on Apache tomcat, can anyone help??
--
You received this message bec
auth.settings.actions_disabled.append('register')
On Nov 28, 12:38 pm, Thadeus Burgess wrote:
> What is the most seem-less way to disable user registration system. In a
> system where you only need one user and don't want anyone else to join.
>
> -Thadeus
--
You received this message because yo
This makes a good point.
On Nov 28, 2:36 pm, waTR wrote:
> Correct. Design is out-sourced to a designer. Logic code is being done
> by me. Main issue going forward will be with service contracts with
> outsourced work. It's like voiding a warranty on a hard-drive in your
> computer if you open it
good job! I will be contributing some more plugins soon.
On Nov 28, 8:22 pm, Thadeus Burgess wrote:
> Just fixed a couple of bugs :P Search should be working again, so should
> creation of plugins
>
> -Thadeus
>
> On Sat, Nov 28, 2009 at 8:08 PM, mr.freeze wrote:
> > Looks great!
>
> > On Nov 28
I have been noticing that forms seem to get stuck. Using SQLFORM.factory, it
seems that under certain cases the form freezes, when you submit the form,
it acts as if form.accepts() has failed, this is most likely due to double
submission, since removing session from form.accepts() the form will wor
well. It is a bug. I think I fixed it in trunk. Please give it a try
and let us know.
Massimo
On Nov 28, 8:36 pm, Thadeus Burgess wrote:
> Could anybody explain the following traceback to me?
>
> db.define_table...
>
> Field('slug', unique=True, required=True),
>
>
> )
>
> db.page.slug.requ
uploading to trunk. Thanks.
On Nov 28, 2:28 pm, Francisco Ribeiro wrote:
> hi
>
> Nice! Thank you for the attention. There is a good reason that I'm sure you
> deeply understand for me to be less connected... I've been finishing my mst.
> thesis. Work done, presentation finished more time free.
So any chance a patch will be made?
I have been trying to make the modification myself, however, I am
coming from C++ so I am not yet used to the art of Python function/
method arguments.
I am trying to add a argument to FormWidget so it takes another
argument called "stylized={}" before **attrib
Working now. Thanks.
Any idea about freezing sessions from my other post?
-Thadeus
On Sat, Nov 28, 2009 at 10:35 PM, mdipierro wrote:
> well. It is a bug. I think I fixed it in trunk. Please give it a try
> and let us know.
>
> Massimo
>
> On Nov 28, 8:36 pm, Thadeus Burgess wrote:
> > Cou
I do not know. If more people experience this problem, please let me
know as many details as you can.
Massimo
On Nov 28, 10:17 pm, Thadeus Burgess wrote:
> I have been noticing that forms seem to get stuck. Using SQLFORM.factory, it
> seems that under certain cases the form freezes, when you sub
Nevermind, I got it. I was mixing up things at the function call not
in the arguments.
On Nov 28, 8:57 pm, waTR wrote:
> So any chance a patch will be made?
>
> I have been trying to make the modification myself, however, I am
> coming from C++ so I am not yet used to the art of Python function
Hello Massimo,
I found an open source SQLite extension that provides 256 AES
encryption of database files.
site: http://zetetic.net/software/sqlcipher
github: http://github.com/sjlombardo/sqlcipher
license:
http://zetetic.net/page_attachments//0309/sqlcipher-license2009.txt
Is there a wa
Can Jython not be used as intermediary.
http://skunkyjay.wordpress.com/2009/06/12/web2py-now-works-with-jython/
You would just need a WSGI adapter for Jython that can interact with
Tomcat API.
Graham
On Nov 29, 3:04 pm, mdipierro wrote:
> You can run on apache
>
> http://web2py.com/examples/st
Patch sent.
I will post a web2pyslice tutorial tomorrow.
On Nov 28, 9:21 pm, waTR wrote:
> Nevermind, I got it. I was mixing up things at the function call not
> in the arguments.
>
> On Nov 28, 8:57 pm, waTR wrote:
>
> > So any chance a patch will be made?
>
> > I have been trying to make th
Is there a wsgi adaptor for Jython?
I should mention that although web2py works with jython2.5rc2 (that is
what I used in my tests at the time)m I do not consider it a
production alternative because:
- users have preported problems with web2py jython 2.5 stable
- the problems are related to a Java
I am actually having this problem with IS_NOT_IN_DB for updating records...
Just attempting to use my basic slug example in my other post.
-Thadeus
On Fri, Nov 27, 2009 at 10:34 AM, mdipierro wrote:
>
> If a validator has a method set_self_id, it is called automatically by
> web2py upon edi
I am attempting to use
row.update_record()
-Thadeus
On Sun, Nov 29, 2009 at 1:30 AM, Thadeus Burgess wrote:
> I am actually having this problem with IS_NOT_IN_DB for updating records...
>
> Just attempting to use my basic slug example in my other post.
>
> -Thadeus
>
>
>
>
>
> On Fri, No
Web2py view is successfully calling an online javascritpt library
under
Actually, the problem is I am using an IS_NOT_IN_DB with an SQLFORM.factory.
Then I use update_record.
-Thadeus
On Sun, Nov 29, 2009 at 1:37 AM, Thadeus Burgess wrote:
> I am attempting to use
>
> row.update_record()
>
> -Thadeus
>
>
>
>
>
> On Sun, Nov 29, 2009 at 1:30 AM, Thadeus Burges
45 matches
Mail list logo