Re: LinkSubmit doesn't work

2010-06-08 Thread paha
try to change onsubmit.call(window.document, event) to onsubmit.call(window.document, event) == undefined -- View this message in context: http://old.nabble.com/LinkSubmit-doesn%27t-work-tp28813499p28814310.html Sent from the Tapestry - User mailing list archive at Nabble.com.

Re: LinkSubmit doesn't work

2010-06-08 Thread Paul Stanton
i think you mixed up the email subjects ^ ?? Radek Terber wrote: I'm sorry, I mistook in WAR's URL. the correct is http://www.gapo.cz/download/genusinum.war - To unsubscribe, e-

Re: LinkSubmit doesn't work

2010-06-07 Thread Radek Terber
I'm sorry, I mistook in WAR's URL. the correct is http://www.gapo.cz/download/genusinum.war

Re: LinkSubmit doesn't work

2010-06-07 Thread Paul Stanton
https://issues.apache.org/jira/browse/TAP5-1180 Paul Stanton wrote: After stepping through the javascript, I believe it's because the onsubmit event handler for the form is "javascript:Tapestry.waitForPage(event);" who's first line is "if (Tapestry.pageLoaded) return;". This is the equivalen

Re: LinkSubmit doesn't work

2010-06-07 Thread Paul Stanton
After stepping through the javascript, I believe it's because the onsubmit event handler for the form is "javascript:Tapestry.waitForPage(event);" who's first line is "if (Tapestry.pageLoaded) return;". This is the equivalent of "if (Tapestry.pageLoaded) return false;" when evaluated to a boo

LinkSubmit doesn't work

2010-06-07 Thread Paul Stanton
Hi, I'm guessing I'm doing something wrong but it's hardly obvious. I have a Form, with a LinkSubmit and a Submit: link public void onSuccessFromMyForm() { LOG.debug("onSuccessFromMyForm"); } public void onSelectedFromMyLink() { LOG.debug("

Re: linksubmit doesn't work on localized pages

2010-03-21 Thread Ilya Obshadko
Thanks Howard, the hint really helped. I've double checkes page initialization and immediately found the problem: for non-Russian locales template logic were hiding one form which was referred from addInit (). Shoudln't be there any kind of console error in such a case? On Sun, Mar 21, 2010 at 5

Re: linksubmit doesn't work on localized pages

2010-03-20 Thread Howard Lewis Ship
I suspect you have some other JavaScript error on your page that is keeping Tapestry from initializing correctly. Use FireBug and debug it. I know you're thinking that's a cop out and it should just work ... but experience has shown that when things don't work for one user that do work for other

Re: linksubmit doesn't work on localized pages

2010-03-20 Thread Ilya Obshadko
Any ideas yet? On Fri, Mar 19, 2010 at 12:30 AM, Ilya Obshadko wrote: > No, the problem is that I don't see any request on the server side. > > No request is being sent at all. After clicking on linksubmit component it > calls waitForPage() which is handling form submit event. > Then, inside this

Re: linksubmit doesn't work on localized pages

2010-03-18 Thread Ilya Obshadko
No, the problem is that I don't see any request on the server side. No request is being sent at all. After clicking on linksubmit component it calls waitForPage() which is handling form submit event. Then, inside this function, it terminates right after checking whether Tapestry.pageLoaded is true

Re: linksubmit doesn't work on localized pages

2010-03-18 Thread Howard Lewis Ship
Do you see the request on the server side? I.e., use FireBug Net panel to see what request is being sent, what response is coming down. There shouldn't be any difference between normal and localized pages. Is it possible that some intermediate server is mangling the query path in some way? On T

linksubmit doesn't work on localized pages

2010-03-18 Thread Ilya Obshadko
I have a very strange blocker bug: linksubmit component doesn't work at all on localized pages. I have an AJAX form in a sidebar that processes user login and logout. Basically I'm on 5.1.0.5, but I am using LinkSubmit code from 5.1.0.6 (with a bugfix for working in zone-based forms). To make it

Re: Component LinkSubmit doesn't work

2009-08-24 Thread Sergey Didenko
http://tapestry.apache.org/tapestry5.0/ http://tapestry.apache.org/tapestry5.0/apidocs/ On Wed, Aug 19, 2009 at 2:55 PM, Borut Bolčina wrote: > By the way, what is the url of T 5.0.18 and its API? - To unsubscribe, e-mail: users

Re: Component LinkSubmit doesn't work

2009-08-19 Thread Borut Bolčina
Maybe with the example code someone can explain this better why the event onSendPin is not called when LinkSubmit is clicked, but it is when the submit button is clicked: TML === http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";> linksubmit

Re: Component LinkSubmit doesn't work

2009-08-19 Thread Borut Bolčina
Hi, I am using T 5.0.18 and have problems with LinkSubmit not firing the event. By the way, what is the url of T 5.0.18 and its API? I have two TextField components, one LinkSubmit and one non-tapestry ordinary input submit button. I want to set some variable (varA) in case LinkSubmit is clicke

Component LinkSubmit doesn't work

2009-05-12 Thread petkovf
I'm found this problem since in 5.1.0.5 (stable), in 5.0.0.18 LinkSubmit work properly. Linksubmit inside a form didn't fire events while no required property is defined inside the form: if you add @Property @Validate("required") private String somefield; in java and