I was reading wx.html widget documentation and it is very interesting,
the browser is browser but not what user have installed, it is HTML
browser as widget from wx.Python.
This mean that user have usual window frame, and there no need to
know what is behind.
For me I have once written application
On Sun, Jun 10, 2012 at 3:54 PM, Anthony wrote:
> Rather than converting to an independent GUI, you might consider creating a
> standalone browser-based app --
> see http://web2py.com/books/default/chapter/29/14#How-to-distribute-your-applications-as-binaries.
> The web2py Application Development
On Sun, Jun 10, 2012 at 3:08 PM, Cornelius Kölbel
wrote:
> "Independent GUI"?
> Are you thinking of something like PyGTK?
That was my idea, or wxPython ...
> I very much doubt that this is possible.
I need to ask that I know ...
> Kind regards
> Cornelius
Thanks
> Am 10.06.2012 12:56, schri
Sretna Nova Godina!
- - Miroslav Gojic - -
2012/1/1 Gerd
> Ein gutes und glückliches neues Jahr
>
> Gerd
>
lder for web2py but I
tray 'me' as user and it is same
- - Miroslav Gojic - -
+ 381 64 014 8868
On Thu, Dec 29, 2011 at 22:45, Massimo Di Pierro wrote:
> This is most likely a problem with accessing file system. what os?
>
> On Dec 29, 11:49 am, miroslavgojic wrote:
> &g
This is very nice,
I was presently surprise when during setup my system when I discovered
package web2py.
Thanks for link, I will make update of my web2py...
Regards
- - Miroslav Gojic - -
2011/12/23 José Luis Redrejo Rodríguez
>
>
> 2011/12/22 miroslavgojic
>
>> Today I
_' + form.vars.new_name
my_object = form.vars.my_file.file
m_f = open(m_nf, "wb")
#m_f.write(my_object.read()) //this ca be used
shutil.copyfileobj(my_object,m_f) //but I us this
m_f.close()
return dict(form=form)
Thanks to Anthony and
re is that good way
if I have file in some variable how I can that file save to folder?
- - Miroslav Gojic - -
On Sat, Nov 19, 2011 at 22:36, Anthony wrote:
> Something like this:
>
> def upload():
> import os
> uploadfolder=os.path.join(request.folder, 'uploads
Can I get full example for upload function?
This is maybe simply but after one day I don'n have any success.
- - Miroslav Gojic - -
On Sat, Nov 19, 2011 at 19:24, Anthony wrote:
> Don't put the form.accepts inside the 'if request.vars' block -- it needs
> to run
/browsers/browsers_stats.asp
- - Miroslav Gojic - -
+ 381 64 014 8868
On Sun, Oct 23, 2011 at 07:26, Miroslav Gojic
wrote:
>
> Usage of browsers is next /for September 2011/
>
> IE - 51%
> Firefox - 21%
> Chrome - 15%
> Safari - 8%
> others - 5%
>
> Browsers from mobil
Usage of browsers is next /for September 2011/
IE - 51%
Firefox - 21%
Chrome - 15%
Safari - 8%
others - 5%
Browsers from mobile devices are 10% and 90% from notebook and net-book ...
- - Miroslav Gojic - -
On Sun, Oct 23, 2011 at 00:02, Vasile Ermicioi wrote:
> as you see ie6+ie7+ie8
e folder path for
upload location.
Can I make path definition in controller or view instead in model.
- - Miroslav Gojic - -
On Mon, Oct 17, 2011 at 14:03, Anthony wrote:
> Field('myupload', 'upload', uploadfolder='path/to/your/folder')
small
examples what I can need later,
My apologies for my questions what sometimes are not ease to understand but
after all I'm beginner at web2py.
Thanks
- - Miroslav Gojic - -
>
>
> On Sunday, October 16, 2011 6:05:41 PM UTC-4, miroslavgojic wrote:
>
>> After some
back to the same action that generated the form).
>
I see that, my form with action empty worked - that mean that action can be
empty, but on www.http://validator.w3.org (validate by direct input) when I
put my source I get error for empty action
- when I put my site online this can be fixed by validating online page...
- - Miroslav Gojic - -
>
> Anthony
>
After some time and several trays I get solution
in view for custom form I used
{{=XML(form.custom.begin.replace('action=""', 'action="people"'))}}
and it produce code in source:
and my form now work and I have not empty action field
Thanks everybody fo
And about validation
on suggested link
it is writhed under point 9 (section 4.10.22.3)
*If action is the empty string, let action be the document's address of the
form document.*
- - Miroslav Gojic - -
On Sun, Oct 16, 2011 at 19:41, Anthony wrote:
> I see the problem -- setting the
;
enctype="multipart/form-data" method="post">
and in browser I get this:
just to put this what I see to code and everything is than resolved.
Thanks
- - Miroslav Gojic - -
On Sun, Oct 16, 2011 at 19:41, Anthony wrote:
> I see the problem -- setting the '_action&
where is
redirected) I need only to get something in action field in form.
If is this possible in form.custom.begin
- - Miroslav Gojic - -
On Sun, Oct 16, 2011 at 18:50, Miroslav Gojic wrote:
> My errors in previews post:
>
> form['_action'] = URL(index') - my error
mentioned options:
def people():
form = crud.create(db.person,next=URL('people'),message=T("record created"))
form['_action'] = URL('index')
return dict(form = form)
but my action field in form is empty.
- - Miroslav Gojic - -
On Sun, Oct 16, 2011 at
orm.update(_action=my_value) - this make error
In view after beginning of form.custom.start I tray next similar code
{{=form['_action'] = URL(index')}}
but nothing work, or I get error or work but my attribute action value
it stay empty
- - Miroslav Gojic - -
On Sun, Oct
Thanks
I was play wit that that half day ...
- - Miroslav Gojic - -
On Sat, Oct 15, 2011 at 16:54, Massimo Di Pierro
wrote:
> Not possible.
>
> On Oct 15, 6:05 am, miroslavgojic wrote:
>> {{=HTML(HEAD(),BODY(DIV(DIV('Header',_id='header'),DIV(include,_
internet is of-line is that mean that my site not work in
intranet.
Is possible make installation of web2py that can work without internet
connection and that is possible can work in intranet.
- - Miroslav Gojic - -
On Thu, Oct 13, 2011 at 13:57, MidGe wrote:
> I am afraid that if you have WEB
- - Miroslav Gojic - -
On Wed, Oct 12, 2011 at 13:17, Anthony wrote:
>
> Have you read the chapter on access
> control: http://web2py.com/book/default/chapter/08? The Auth system should be
> able to handle this kind of thing for you. You can use @auth decorators on
> your actions t
is what is on my mind but is this only options or already is something
implemented by default.
- - Miroslav Gojic - -
On Tue, Oct 11, 2011 at 00:10, Massimo Di Pierro wrote:
> In fact this
> {{if {{=request.function}} == index:}}
> is wrong because web2py would look for the fir
html goes here
{{else:}}
alternative html goes here
{{pass}}
But this is work
{{if request.function == 'index':}}
your html goes here
{{else:}}
alternative html goes here
{{pass}}
Thanks
- - Miroslav Gojic - -
On Mon, Oct 10, 2011 at 22:53, Anthony wrote:
> On Monday, Octob
his, I need one part layout.htm to be different for index
page than an other pages, is there some other solutions
- - Miroslav Gojic - -
On Sun, Oct 9, 2011 at 13:22, Anthony wrote:
> On Sunday, October 9, 2011 1:56:18 AM UTC-4, miroslavgojic wrote:
>>
>> What if I need more th
I did not know for this, but I will check and tray...
Thanks
- - Miroslav Gojic - -
On Mon, Oct 10, 2011 at 07:24, mdipierro wrote:
> Did you look into gluon/contrib/markmin/markmin2latex.py and gluon/
> contrib/markmin/markmin2pdf.py?
>
> http://web2py.com/examples/static/
nse>.menu
=(...))
in layout
{{=MENU(var1,_class='sf-menu')}}
{{=MENU(var2,_class='sf-menu')}}
- - Miroslav Gojic - -
On Fri, Oct 7, 2011 at 22:07, Anthony wrote:
> See http://web2py.com/book/default/chapter/05#Custom-Helpers for details
> on using the MENU helper.
t make implementation of
response <http://web2py.com/book/default/docstring/response>.menu =
[('Google', False, 'http://www.google.com',[]),
('Index', True, URL
<http://web2py.com/book/default/docstring/URL>('index'), [])]
*
http://www.google.com',[]),
('Index', True, URL
<http://web2py.com/book/default/docstring/URL>('index'), [])]
but without any success.
I reed in book that mentioned code I must put in controller but how to get
same than in layout and does in controller I must use definiti
tray this options.
- - Miroslav Gojic - -
On Thu, Oct 6, 2011 at 22:19, Anthony wrote:
>
>- Header:
>
> http://code.google.com/p/web2py/source/browse/applications/welcome/views/layout.html#90
>- Status Bar:
>
> http://code.google.com/p/web2py/source/b
Just simple instead CRUD i put Auth and get my settings for form.
I know that there is more than one form (there is three forms: login,
registration, and lost password)
- - Miroslav Gojic - -
On Thu, Oct 6, 2011 at 22:27, Anthony wrote:
> auth.settings.formstyle = 'divs'
>
I will tray to instal Centos and then to put web2py in online usage.
After that linux installation it will be more questions
- - Miroslav Gojic - -
On Thu, Oct 6, 2011 at 21:51, pbreit wrote:
> Should work OK I think. There are no costs or licensing needs just to run
> Web2py so
I didn't find any simple example, I look at my layout.html but it is to much
complicated for my needs, or I must my template from beginning to end that I
can understood.
I look in the book but nothing helpful for beginners, and where is that
thing commented, here on the group.
- - Mir
You have right, Chroma developer toll is better than Firefox addons
On Thu, Oct 6, 2011 at 10:56, Farsheed Ashouri
wrote:
> Chrome development tools is way better than firebug in my experience.
>
>
> On Thursday, October 6, 2011, miroslavgojic wrote:
>
>> Hi,
>>
>> I know for firebug and mozil
35 matches
Mail list logo