Hi, thanx for your response.

The failure stated: object does not support this function.

Apparently it was a browser issue using ids and functions of the same name,
also did it have something to do with caching of my browser.
it retained an element with id submit. 
The javascript function of the linksubmit tried to call a function on this
element and that obvious failed.

this morning I tried to reproduce and everything went fine.


Howard Lewis Ship wrote:
> 
> "fails" can mean many things.  What exactly does it do?
> 
> On Tue, Apr 28, 2009 at 1:26 PM, Rolf Strijdhorst <[email protected]>
> wrote:
>> Hi is there a way to put both a linksubmit and a submit component on a
>> page?
>>
>> when i press the linksubmit it fails at the javascript with the line
>> this.form.submit();
>>
>> onClick : function(event)7828 {
>> 7829 // Tapestry.debug("LinkSubmit #{id} clicked.", this.element);
>> 7830
>> 7831 Event.stop(event);
>> 7832
>> 7833 var onsubmit = this.form.onsubmit;
>> 7834
>> 7835 if (onsubmit == undefined || onsubmit.call(window.document, event))
>> 7836 {
>> 7837 this.createHidden();
>> 7838 this.form.submit();
>> 7839 }
>> 7840
>> 7841 return false;
>> 7842 }
>> 7843});
>>
>> thanx,
>> Rolf Strijdhorst
>>
> 
> 
> 
> -- 
> Howard M. Lewis Ship
> 
> Creator of Apache Tapestry
> Director of Open Source Technology at Formos
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-T5--combination-of-linksubmit-and-submit-fails-tp23285402p23295863.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to