Form not displaying in IE was caused by other Jquery stuff on the page. Sorry for bothering you. However, redirection doesn't work in IE6. Julius
V Utorok, 10. august 2010 o 10:07 +0200, Julius Minka napísal(a): > Massimo, > > I got a message from a friend telling me the form isn't displayed in IE8 > at all. > It is from my application available at http://93.184.68.161:9999/real > > If you would like to see the response from the search you need to choose > Predaj > Prievidza > 2-izbovy byt > > > Webpage error details > > User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; > Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR > 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; .NET4.0C; .NET4.0E) > Timestamp: Tue, 10 Aug 2010 07:05:34 UTC > > Message: Invalid argument. > Line: 116 > Char: 165 > Code: 0 > URI: http://93.184.68.161:9999/real/static/jquery.js > > Did you see the form working in an IE? Which version? > Julius > > > > > V Pondelok, 9. august 2010 o 13:20 +0200, Julius Minka napísal(a): > > I didn't get any JS error. > > > > Details: > > Epiphany has Webinspector which allowed me to run JS with debugging > > enabled. It didn't throw any error while doing that. > > > > Opera has its Dragonfly which does similar things. Neither it reported > > any error. > > > > > > Just to note: > > Opera behaves differently from Epiphany. In Epiphany, the form > > disappears after submission, in Opera nothing happens, screen remains as > > it was in beginning. > > > > Julius > > > > > > > > V Pondelok, 9. august 2010 o 02:23 -0700, mdipierro napísal(a): > > > Does any of the browsers with problem have a debug feature that allow > > > you to see if there is JS error? > > > > > > On Aug 9, 3:48 am, Julius Minka <[email protected]> wrote: > > > > I am not able to fix this, but I am willing to test it again if needed. > > > > Julius > > > > > > > > V Pondelok, 9. august 2010 o 01:28 -0700, mdipierro napísal(a): > > > > > > > > > If you ding out what the problem is perhaps we can improve the code > > > > > and make it more cross-browser compatible. > > > > > > > > > On Aug 9, 3:27 am, Julius Minka <[email protected]> wrote: > > > > > > Yes, now I see. It is browser issue. > > > > > > I am on Ubuntu Linux 10.04. > > > > > > > > > > It works on Firefox, Chromium, Konqueror. > > > > > > it doesn't on Opera 10.60 and Epiphany, Midori (both are based on > > > > > > WebKit > > > > > > rendering engine) > > > > > > > > > > Hope this helps. > > > > > > Julius > > > > > > > > > > V Sobota, 7. august 2010 o 16:29 -0700, mdipierro napísal(a): > > > > > > > > > > > I am using trunk version > > > > > > > Version 1.82.1 (2010-08-04 18:57:33) > > > > > > > and the code you sent me works perfectly. > > > > > > > > > > > Either I do not understand the problem or this is a browser issue. > > > > > > > What os and browser do you use? > > > > > > > > > > > Massimo > > > > > > > > > > > On Aug 7, 2:16 pm, Julius Minka <[email protected]> wrote: > > > > > > > > No, redirection doesn't work for me. > > > > > > > > Last released version I used before was Version 1.82.1 > > > > > > > > (2010-08-05 > > > > > > > > 01:00:12) > > > > > > > > > > > > I got current trunk this way: > > > > > > > > hg clonehttps://web2py.googlecode.com/hg/web2py078a > > > > > > > > requesting all changes > > > > > > > > adding changesets > > > > > > > > adding manifests > > > > > > > > adding file changes > > > > > > > > added 764 changesets with 2180 changes to 733 files > > > > > > > > updating to branch default > > > > > > > > 588 files updated, 0 files merged, 0 files removed, 0 files > > > > > > > > unresolved > > > > > > > > > > > > It identifies itself as Version 1.82.1 (2010-08-04 18:57:33). > > > > > > > > Attached you can find the application as I typed it from your > > > > > > > > email. > > > > > > > > > > > > Julius > > > > > > > > > > > > V Sobota, 7. august 2010 o 10:58 -0700, mdipierro napísal(a): > > > > > > > > > > > > > There is a problem with URL. Please check trunk and see if it > > > > > > > > > solves > > > > > > > > > the problem for you: > > > > > > > > > > > > > This works for me > > > > > > > > > > > > > def index(): > > > > > > > > > return dict() > > > > > > > > > > > > > def test1(): > > > > > > > > > form=SQLFORM.factory(Field('name')) > > > > > > > > > if form.accepts(request.vars,session): > > > > > > > > > url = URL('test2',extension='html') > > > > > > > > > response.headers['web2py-component- > > > > > > > > > command']='document.location="%s"' % url > > > > > > > > > raise HTTP(303,**response.headers) > > > > > > > > > redirect(URL('test2')) > > > > > > > > > return dict(form=form) > > > > > > > > > > > > > def test2(): > > > > > > > > > return dict(h=H1('hello world')) > > > > > > > > > > > > > with default/index.html > > > > > > > > > > > > > {{extend 'layout.html'}} > > > > > > > > > This is a test > > > > > > > > > {{=LOAD('default','test1.load',ajax=True)}} > > > > > > > > > > > > web2py.app.test.w2p > > > > > > > > 100KViewDownload > > > > >

