Re: [web2py] Re: From Web2py to executable app

2012-06-10 Thread Miroslav Gojic
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

Re: [web2py] Re: From Web2py to executable app

2012-06-10 Thread Miroslav Gojic
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

Re: [web2py] From Web2py to executable app

2012-06-10 Thread Miroslav Gojic
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

Re: [web2py] Re: Happy new year

2012-01-01 Thread Miroslav Gojic
Sretna Nova Godina! - - Miroslav Gojic - - 2012/1/1 Gerd > Ein gutes und glückliches neues Jahr > > Gerd >

Re: [web2py] Re: Web2py

2011-12-30 Thread Miroslav Gojic
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

Re: [web2py] Web2Py on Kubuntu 11.10

2011-12-23 Thread Miroslav Gojic
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

Re: [web2py] Re: Custom name for uploaded file

2011-11-20 Thread Miroslav Gojic
_' + 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: [web2py] Re: Custom name for uploaded file

2011-11-20 Thread Miroslav Gojic
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&#x

Re: [web2py] Re: Custom name for uploaded file

2011-11-19 Thread Miroslav Gojic
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

Re: [web2py] Re: RIA Framework Recomendation

2011-10-22 Thread Miroslav Gojic
/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

Re: [web2py] Re: RIA Framework Recomendation

2011-10-22 Thread Miroslav Gojic
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

Re: [web2py] Re: upload - file in custom folder

2011-10-17 Thread Miroslav Gojic
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')

Re: [web2py] Re: Custom Form Action empty

2011-10-16 Thread Miroslav Gojic
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

Re: [web2py] Re: Custom Form Action empty

2011-10-16 Thread Miroslav Gojic
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 >

Re: [web2py] Re: Custom Form Action empty

2011-10-16 Thread Miroslav Gojic
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

Re: [web2py] Re: Custom Form Action empty

2011-10-16 Thread Miroslav Gojic
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

Re: [web2py] Re: Custom Form Action empty

2011-10-16 Thread Miroslav Gojic
; 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&

Re: [web2py] Re: Custom Form Action empty

2011-10-16 Thread Miroslav Gojic
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

Re: [web2py] Re: Custom Form Action empty

2011-10-16 Thread Miroslav Gojic
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

Re: [web2py] Re: Custom Form Action empty

2011-10-16 Thread Miroslav Gojic
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

Re: [web2py] Re: DIV Helper and Include

2011-10-15 Thread Miroslav Gojic
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,_

Re: [web2py] Re: On-line Of-line problems

2011-10-13 Thread Miroslav Gojic
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

Re: [web2py] Re: Help for creating template

2011-10-12 Thread Miroslav Gojic
- - 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

Re: [web2py] Re: Help for creating template

2011-10-11 Thread Miroslav Gojic
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

Re: [web2py] Re: Help for creating template

2011-10-10 Thread Miroslav Gojic
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

Re: [web2py] Re: Help for creating template

2011-10-10 Thread Miroslav Gojic
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

Re: [web2py] Re: Web2py and LaTeX

2011-10-09 Thread Miroslav Gojic
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/

Re: [web2py] Re: Help for creating template

2011-10-08 Thread Miroslav Gojic
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.

Re: [web2py] Re: Help for creating template

2011-10-07 Thread Miroslav Gojic
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'), [])] *

Re: [web2py] Re: Help for creating template

2011-10-06 Thread Miroslav Gojic
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

Re: [web2py] Re: Help for creating template

2011-10-06 Thread Miroslav Gojic
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

Re: [web2py] Re: CRUD and Auth

2011-10-06 Thread Miroslav Gojic
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' >

Re: [web2py] Re: How to setup Web2py on live Linux server

2011-10-06 Thread Miroslav Gojic
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

Re: [web2py] Re: Help for creating template

2011-10-06 Thread Miroslav Gojic
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

Re: [web2py] Re: Form output format

2011-10-06 Thread Miroslav Gojic
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