please dont disturb me i am bussy in my bussiness .
On Saturday, October 29, 2011 1:17:43 AM UTC-4, pbreit wrote:
>
> Not the best urls but could you put them in static?
I assume he meant the main page content is static but the pages still need
to take advantage of web2py views for navigation, etc., so they aren't true
"static" files.
Anthony's suggestion is good in general. Bruno's is good if you are not able to
specify an initial or base query (to add to).
Not the best urls but could you put them in static?
Even if it's 20 or 50 pages, I would suggest just doing it the web2py way with
functions.
That's nice Peter. Good work!
Thanks for sharing.
On Wednesday, October 26, 2011, peter wrote:
> I am using and enjoying sqlform.grid. I have the latest version of
> web2py, however, I think that the css files within my application have
> become out of date.
>
> If I have ten pages, then the pag
Johan, we're you able to specify your own icons for your custom buttons? If
so, may I know how you did it?
On Thursday, October 27, 2011, Johann Spies wrote:
>
>
> On 26 October 2011 19:15, Cliff 'cvml', 'cjk...@gmail.com');>> wrote:
>
>> So you need a column on the right for an "Add to Cart" bu
I experience the same unexpected behavior.
On Friday, October 28, 2011, szimszon wrote:
> I have to tables
>
> db.define_table( 'wdirs',
> Field( 'name', type = 'string',
> requires = IS_NOT_EMPTY()),
> *(a)* *format='%(name)s %(id)s'*
> )
>
> db.define_table( 'files',
It mentions: "If you use jqueryui then the links are rendered as buttons. "
am still trying to find an answer about how to use icons for your custom
buttons.
On Friday, October 28, 2011, Cliff wrote:
> I'll try to keep an eye on it.
>
> On Oct 27, 1:47 pm, Massimo Di Pierro
>
> >
> wrote:
> >
Also, using the parameter-based router, you could make 'content' the
default function, so it would be hidden in the URL.
On Friday, October 28, 2011 9:58:58 PM UTC-4, Anthony wrote:
>
> You could create a single function (maybe call it something like
> 'content') and pass an argument in the URL
You could create a single function (maybe call it something like 'content')
and pass an argument in the URL to determine the view to display:
def content():
response.view = 'default/%s.%s' % (request.args(0), request.extension)
if request.args else 'default/index.html'
return dict()
URL
Excellent testimony, you could prepare an academic version to
incorporate the library of examples of web2py.
Ovidio Marinho Falcao Neto
Web Developer
ovidio...@gmail.com
ovidiomari...@itjp.net.br
ITJP - itjp.net.br
Hi all,
I want to share that CSSPIE could be a good prospect to include in
web2py. From its website:
"PIE stands for Progressive Internet Explorer. It is an IE attached
behavior which, when applied to an element, allows IE to recognize and
display a number of CSS3 properties."
It is curren
Dear All,
I'm developing a website for introduction of something. In this case
there is quite a lot of static contents (img+text) spreading over
several pages, like:
Home
|-Introduction 1
||-page 1
||-page 2
||-
|-Int
hi,
I am thinking how to extend DAL so it could be suitable for OriendDB
SQL
or for
http://www.unqlspec.org/display/UnQL/Home
do you have any thoughts on that?
gae storage is already an example of DAL variations by not supporting
joins and other features
If someone is looking for a nice mission with web2py why not create a
web UI for the sparkleshare service.
More info here:
http://sparkleshare.org/
https://github.com/hbons/SparkleShare
Whats available today:
https://github.com/hbons/SparkleShare-Dashboard
/R
On Friday, October 28, 2011 6:50:20 PM UTC-4, TheSweetlink wrote:
>
> Do you mean something like use jQuery from the outer part of the page
> which contains the component?
>
> I do not know how I would do that. I tried something along those
> lines unsuccessfully before but I may have just impl
Do you mean something like use jQuery from the outer part of the page
which contains the component?
I do not know how I would do that. I tried something along those
lines unsuccessfully before but I may have just implemented it
incorrectly.
My trouble is having js interact with the stuff loaded
Since the whole page isn't reloading, can't you capture what is being typed
using Javascript and then fill the content back in once the component
refreshes (i.e., do everything client side)?
On Friday, October 28, 2011 5:56:54 PM UTC-4, TheSweetlink wrote:
>
> Hi Anthony and thanks for your repl
On Friday, October 28, 2011 4:21:30 PM UTC-4, Gour wrote:
>
>
> One more concern: Massimo answered during the show that Web2py is mostly
> used
> in Intranet. so I wonder if there is, in general, enthusiasm withing this
> community to push out to build Internet sites as well and having
> CMS/blog/
Greetings,
We use DNS in our Active Directory domain, so we get some extra results in
a search:
[(None,
['ldap://ForestDnsZones.domain.com/DC=ForestDnsZones,DC=domain,DC=com']),
(None,
['ldap://DomainDnsZones.domain.com/DC=DomainDnsZones,DC=ttsd,DC=ttsd,DC=k12,DC=or,DC=us']),
(None, ['
can you suggest an improvement to storage to make it pickable on GAE? i
certainly would use it. :)
You can use hg-git to interface with git repos from mercurial.
http://hg-git.github.com/
On Fri, Oct 28, 2011 at 4:21 PM, Gour wrote:
> On Wed, 26 Oct 2011 17:17:51 -0200
> Bruno Rocha wrote:
>
>> VIDEO: http://twit.tv/show/floss-weekly/188
>
> Watched video today...very nice presentation fo We
Hi Anthony and thanks for your reply.
I do not believe that I can separate the form from the component.
Think of the component like a message board with a form up top for a
main post with comment forms for each post all wrapped into one
component.
All of the forms get blanked upon component relo
http://showmethecode.tumblr.com/post/9583103076/web2pydaldynamicqueries
http://showmethecode.tumblr.com/post/9624208451/likeingae
On Fri, Oct 28, 2011 at 5:41 PM, $p00ky wrote:
> Find answer:
> http://stackoverflow.com/questions/4512181/web2py-like-equivalents-with-google-app-engine
>
> So a real equivalent is not possible super..
>
--
Bruno Rocha
[
I have just written an ecommerce site in web2py. ukjazz.net. At the
moment it is in demo form, so you can buy things for free when you
click pay now. You will find that then it has things like view
downloads, and view order history. It also has a facility for the
record labels to look at their sale
I've built an app that I'd like to give to someone to use. It's
essentially a photo booth program. It's built in web2py, but it also
requires node.js, gphoto2, Chrome, as well as some configuration
changes to Gnome.
What's the best way to package something like this? Can my
'installer' handle t
On Wed, 26 Oct 2011 17:17:51 -0200
Bruno Rocha wrote:
> VIDEO: http://twit.tv/show/floss-weekly/188
Watched video today...very nice presentation fo Web2py!
One question: Massimo mentioned that web2py is going to move to github soon and
I wonder whether one will be able to still use hg to fetch
Just rewrote the thing to use not nested Storages but dicts and the
problem went away. C'mon, GAE...
Maybe:
query &= ~db.mytable.id.belongs(blacklist)
or just:
query = query & another_condition
On Friday, October 28, 2011 3:45:45 PM UTC-4, Cliff wrote:
>
> I'm pretty sure I saw a thread about this, but I can't find it.
>
> I need to do something like
>
> query = ((db.mytable.id==somevalue) &
Can you separate the form being typed in from the data being displayed by
the refresh (i.e., maybe used two separate components)?
On Friday, October 28, 2011 3:16:41 PM UTC-4, TheSweetlink wrote:
>
> I have an app that polls for new messages and reloads a component when
> there are new messages.
On Friday, October 28, 2011 3:02:11 PM UTC-4, Ross Peoples wrote:
>
> I was originally going to suggest checking for FieldStorage rather than
> StringIO, but wasn't sure if I wanted to suggest adding another import (of
> cgi).
Maybe hasattr(file, 'file') would be sufficient. I'm not sure file h
I'm pretty sure I saw a thread about this, but I can't find it.
I need to do something like
query = ((db.mytable.id==somevalue) & (db.mytable.active==True))
if blacklist:
query.append(~db.mytable.id.belongs(blacklist))
How do I do this?
The reason I'm doing this is psycopg2 raises an excep
Find answer:
http://stackoverflow.com/questions/4512181/web2py-like-equivalents-with-google-app-engine
So a real equivalent is not possible super..
Hi Hong-Khoan,
Sure, send it to me and i will try it.
Regards,
Thodoris
Dear all,
Apparently, Google App Engine datastore does not support "WHERE myfield
LIKE '%search%'" feature...
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
Traceback (most recent call last):
File
"/base/data/home/apps/s~ddl-lagoon/1.354289280423718203/gluon/restricted.py
Hi,
I'm pretty new to python, mongoDB and pymongo so I'm hoping this is
pretty easy to track down. When I invoke the following method from a
flex client I am seeing the error described below:
@service.amfrpc3("mydomain")
def test():
dbh = getConnection()
record =
dbh.events.find_one({"eve
Hello Ross,
Here is a bunch of info from another post I made regarding manual
uploads with SQLFORM.factory.
Now that I notice it though, you are using FORM and I'm uncertain
whether or not FORM worked for me, I had to use SQLFORM.
The whole thread can be found here for more info, relevant stuff
I have an app that polls for new messages and reloads a component when
there are new messages.
My problem is that when the component is refreshed/reloaded while a
user is typing, the message being typed disappears.
This makes sense because the component contains the form being
submitted. For exa
Hi Samuele, thanks for your answer.
Do you have any idea whats the status of the mongodb adapter
development?
> You will be able to do that using DAL with the mongodb adapter (once it
> is finished); you get that error since Auth() expects a DAL object as
> the second argument to constructor, in o
I was originally going to suggest checking for FieldStorage rather than
StringIO, but wasn't sure if I wanted to suggest adding another import (of
cgi).
This one just hit me when I uploaded the app on GAE. No problems
whatsoever on the local development environment where I can pickle/
unpickle any Storage instance with Python 2.5.
The trace looks like:
Traceback (most recent call last):
File "/base/data/home/apps/s~b-stock-staging/1.354286568593
One of the investigations would be to install postgres and see if it's the
samemistake, becauseI'm almost thinking that is a problem with mysql
relationships.
Ovidio Marinho Falcao Neto
Web Developer
ovidio...@gmail.com
ovidiomari...@itjp.net.br
On Friday, October 28, 2011 12:37:04 PM UTC-4, Ross Peoples wrote:
>
> The list part was a typo, because the controller was just an example. I
> found the original thread where I got the store() code from:
>
>
> https://groups.google.com/forum/#!searchin/web2py/manual$20upload/web2py/a5YanKxNbVU/9
Is there somewhere that lists the diff between the most current and prior
versions?
I just wrote a small CSS that changes a bit the layout of the web2py
book in order to make it more printer-friendly.
I tested it using Stylish Firefox addon, and PDF generated by print to
pdf looks nice.
I'm attaching two versions of the CSS:
web2py_book_stylish.css
is the one I used with Styl
Thank you Anthony, I have given it a thought and I will create another
table called "status".
The "message" table contains the fields : "id" and "to" among others.
The "status" table contains the fields : "id", "message_id", "person"
and "status" among others.
"to" is readable and writable.
"messa
I tried this, replacing the document.forms[0].elements[0].focus()
line. It didn't work.
Thanks,
Richard
On Oct 28, 10:11 am, Richard G wrote:
> Or if you don't have much info on the page and just want the first visible
> field to have focus you could do:
> $("input:visible:enabled:first").focu
Hi,
I think that depends on Massimo. I sent him the patch yesterday, I
think. So Massimo, maybe you can say something about that?
Of course I can also send the patch to you, thodoris, so that you
can also test whether the bug is fixed.
Regards
Hong-Khoan
Am 28.10.2011 17:47, schrieb thodoris:
if you want a solid and updated solution use SQLFORM.grid or
SQLFORM.smartgrid
if you need more flexibility on client side, templates and a grid based in
ajax with JSON use PowerGrid.
I am not updating PowerTable, it needs to be completelly rewriten.
if someone wants to addopt it the code is in
Hi Anthony,
Thanks, problem solved:
Home
Lesrooster
Kind regards
The list part was a typo, because the controller was just an example. I
found the original thread where I got the store() code from:
https://groups.google.com/forum/#!searchin/web2py/manual$20upload/web2py/a5YanKxNbVU/99bxaB7A82IJ
See Massimo's first reply. Also see this thread, because this per
On Friday, October 28, 2011 12:07:08 PM UTC-4, Anthony wrote:
>
> On Friday, October 28, 2011 10:57:05 AM UTC-4, Ross Peoples wrote:
>>
>> I'm starting to think this is a bug since SQLFORM calls store() like this:
>>
>> store(f.file, f.filename)
>>
>> I could do the same thing in my code, but the d
On Friday, October 28, 2011 10:57:05 AM UTC-4, Ross Peoples wrote:
>
> I'm starting to think this is a bug since SQLFORM calls store() like this:
>
> store(f.file, f.filename)
>
> I could do the same thing in my code, but the documentation I've seen so
> far only requires you to pass one parameter
On Friday, October 28, 2011 10:38:10 AM UTC-4, Ross Peoples wrote:
>
> Having a little trouble with getting an attachment to work. This is a
> simplified version of the controller:
>
> form = FORM('Attach', [INPUT(_name='attachment', _type='file')])
>
Is the above a typo? INPUT should either not
Massimo, Chris
Thank you both of your reply!
I added import pyodbc in db.py and here's what I get. This is expected just
like Chris described.
"ImportError: DLL load failed: A dynamic link library (DLL) initialization
routine failed."
Then I tried mt.exe things. (See attached file)
Strangely
Hi, i have come across the same problem. Do you have any idea when will the
patch be included in a realease?
After creating the Symbolic link I have not had any problems. I hope
that continues.
thanks annet
Jose
On Oct 25, 2011, at 11:26 PM, Pawel Jasinski wrote:
> On Oct 26, 5:25 am, Jonathan Lundell wrote:
>> On Oct 25, 2011, at 2:06 PM, Pawel Jasinski wrote:
>>
>>> hi,
>>
>>> thanks! That solved my ~ problem.
>>
>>> Unfortunately for my öäü (chars above 128 and below 255 in latin-1) I
>>> still nee
Tnx,
I'm starting to think this is a bug since SQLFORM calls store() like this:
store(f.file, f.filename)
I could do the same thing in my code, but the documentation I've seen so
far only requires you to pass one parameter to store(). So, if the DAL was
changed to look something like this (starting
Hi,
I sent you the patch as a pm since I don't know whether it is ok to post
the patch here.
Regards
Hong-Khoan
Am 28.10.2011 09:01, schrieb szimszon:
> Hi!
>
> Could you please post the patch here or pm me I need it as fast as
> possible :-o
>
> Tnx.
signature.asc
Description: OpenPGP dig
Having a little trouble with getting an attachment to work. This is a
simplified version of the controller:
form = FORM('Attach', [INPUT(_name='attachment', _type='file')])
if form.accepts(request):
v = form.vars.attachment
if not v is None and not v == '':
v = db.attachments.att
You could also use jquery syntax:
$('#item' :input:visible:enabled:first).focus()
Or if you don't have much info on the page and just want the first visible
field to have focus you could do:
$("input:visible:enabled:first").focus()
More info on the jquery selectors is at:
http://docs.jquery.com
Use jQuery -- it's a lot easier to find particular elements within the DOM.
http://api.jquery.com/focus/
On Friday, October 28, 2011 9:51:36 AM UTC-4, horridohobbyist wrote:
>
> Problem sol-ved...
>
>
> document.forms[0].elements[0].focus();
>
>
> Richard
>
> On Oct 28, 7:13 am, horridohob
Ovidio thank you for your consideration.
In fact, I have not given much attention to the results grid because the
goal of my work was to create a control for uploading multiple files.
In addition, the visual aspect is only demonstration. The essential css
rules are on the top of multiuploads.css
Problem sol-ved...
document.forms[0].elements[0].focus();
Richard
On Oct 28, 7:13 am, horridohobbyist wrote:
> I've searched the archive and have found several solutions for
> specifying field focus using JavaScript, but they all seem to be out
> of date, ie, they don't work. What is the curr
This is fixed in trunk.
On Oct 28, 1:44 am, Bob St John wrote:
> using 1.99.2
>
> SQLFORM.grid...
>
> I don't see the need for this statement...
>
> line 1641: if not searchable and not rows: return DIV(T('No records
> found'))
>
> If it was removed a user would see an empty grid rather than just
I think an Add button by itself would look better, maybe with the same
background as the search header.
On Oct 27, 8:44 pm, Bob St John wrote:
> using 1.99.2
>
> SQLFORM.grid...
>
> I don't see the need for this statement...
>
> line 1641: if not searchable and not rows: return DIV(T('No records
Estava pensando em usar um grid e fiquei na duvida PowerGrid ou PowerTable,
quando usar um ou outro? e quais suas diferenças particulares?
I was thinking of using a grid and I was in doubt or PowerTable PowerGrid, when
using one or the other? and what their particular differences?
Ovidio
Without model I think it difficult to debug...
But the problem come from a float type error, so there must be a failing
constrain on one of your field... Look at you member model if there is a
double type field or decimal and make sure you have a validator with
appropriate constraining domain...
A(_onclick='web2py_component("%s","component")' %
URL('locator','imagetext.load',args=company.id), ...)
On Friday, October 28, 2011 5:55:14 AM UTC-4, annet wrote:
>
> Is there a way in web2py to generate the following element:
>
> 283","component");return false;" href="/init/locator/imagetext.l
Could be related: https://groups.google.com/forum/#!topic/web2py/lLCCUrwB5x0
Hi!
I started to use the debian version of web2py, which comes with an
executable '/usr/bin/web2py'. It was run from a custom directory under
'/home/web2py'. This script gets the current directory, and adds it to
the command line with a '-f' switch, and chdir-s into '/usr/share/
web2py'. This work
Hi,
I have this simple configuration:
db.define_table( 'files',
Field('file','upload'))
@auth.requires_login()
def upload():
db.files.id.default = request.args(0)
form = crud.create(db.files)
return dict(form=form)
If i remove authentication from upload() i can upload a file usi
Thank you very much Anthony.
I have read Chapter 7 up to the "Hidden Fields" section and it is
already more clear in my head.
Archibald
On 28 oct, 02:12, Anthony wrote:
> On Thursday, October 27, 2011 7:57:31 PM UTC-4, Archibald Linx wrote:
>
> > 1) Sometimes I see in the documentation "if for
Hello, is it a good thinking to use Ext Designer for the ui and web2py for
the background BI?
Other alternatives for Rapid App Devel.?
I've searched the archive and have found several solutions for
specifying field focus using JavaScript, but they all seem to be out
of date, ie, they don't work. What is the current accepted method of
specifying field focus? I have a form with a text area field named
"message". Something like:
do
Is there a way in web2py to generate the following element:
Home
using the A helper:
{{=A('Home',_href=URL('locator','imagetext.load',args=[company.id]),cid='component')}}
This is part of an icon menu:
{{=A('Home',_href=URL('locator','imagetext.load',args=[company.id]),cid='component'
I have to tables
db.define_table( 'wdirs',
Field( 'name', type = 'string',
requires = IS_NOT_EMPTY()),
*(a)* *format='%(name)s %(id)s'*
)
db.define_table( 'files',
Field( 'wdirs_id', db.wdirs,
requires = IS_IN_DB( db, db.wdirs.id, "%(name)s
Hi!
Could you please post the patch here or pm me I need it as fast as possible
:-o
Tnx.
81 matches
Mail list logo