You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Schulte Marcus <ma...@bmw.ch> on 2006/05/17 08:52:08 UTC
[tacos] Problems with DirtyFormWarning and @LinkSubmit
A UI-Design change I had to turn @Submit into @LinkSubmit.
After that, I got warnings form @tacos:DirtyFormWarning when
the user hits the save-button.
I figured that would be due to @LinkSubmit setting it's name
on a hidden field to indicate the link that submitted the form.
So I added a script to my save-button component that does something like
document.forms['${formName}']._linkSubmit.value = '${saveId}';
That worked in Gecko but not in our old friend IE-6 :(((
Any ideas would be greatly appreciated
Marcus
PS: With this App I'm still on tap3, but the code in 4 looks pretty similar
as far as I've seen.
PPS: Anybody already adapted DirtyFormWarning to work with multiple Forms
per Page?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org