Perhaps there's an issue there, were certain component ids should not
be allowed, as they will conflict on the client side. A global ban on
components named "submit" would address this issue. It's all too easy
to do, since the default id of a Submit component is "submit".

On Wed, Apr 29, 2009 at 6:29 AM, rolfst <rol...@gmail.com> wrote:
>
> 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 <rol...@gmail.com>
>> 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: users-unsubscr...@tapestry.apache.org
>> For additional commands, e-mail: users-h...@tapestry.apache.org
>>
>>
>>
>
> --
> 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: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry
Director of Open Source Technology at Formos

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to