Don't use the onclick attribute, it gets overwritten.

Use Prototype's observe():

  $(linkId).observe("click", function() { startProcessingWheel( ... ); });

On Wed, May 5, 2010 at 2:14 PM, DavidWei <xinhua....@rrd.com> wrote:
>
>
> Hi,
>
> In the application I am working on, I like to show a processing wheel
> turning when processing "Delete" action. After deletion is done, it will
> refresh the update zone with some sort of messages related to "Delete" and
> stop processing wheel. It works in Firefox, but not in IE because the
> onclick function is not called at all.
>
> sample codes like this in 'a' tag which has:
> t:id="deleteTemplate" t:zone="updateZone"  t:context="${template.id}"
> t:type="actionLink" onclick="startProcessingWheel('${processingMessage}',
> numOfParam);">Delete
>
> Can somebody know what is going on in IE? What is the solution?
>
> Thanks,
>
> David
>
> --
> View this message in context: 
> http://tapestry-users.832.n2.nabble.com/T5-1-onclick-not-called-in-actionLink-with-updateZone-in-IE-tp5011177p5011177.html
> Sent from the Tapestry Users 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

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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

Reply via email to