I'm still having this problem on 1.3 snapshot.

Interesting point about the markup (html id attribute). My markup looks like
this:

<form wicket:id="formTransaction" id="formTransaction">

And the generated javascript looks like this:

[a onclick="var e=document.getElementById('formTransaction_hf_0');
e.name='linkAddEntry'; e.value='x';var
f=document.getElementById('formTransaction2');var ff=f;if (ff.onsubmit !=
undefined) { if (ff.onsubmit()==false) return false;
}f.submit();e.value='';e.name='';return false;" href="#"
wicket:id="linkAddEntry"]Add[/a]

the second getElementById always has a '2' appended to it...




-- 
View this message in context: 
http://www.nabble.com/Javascript-Error-using-submit-link-in-1.3-that-didn%27t-happen-in-1.2.5-tf3563824.html#a11167918
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to