Hello everyone,

I have a question about a SubmitLink. I am using wicket 1.4.rc2 and am
trying to add some logic to the onSubmit() of the link. However when I
do not use the constructor where you need to pass the Form to it, it
generates really 'weird' html and the link does not work. The link is
a child (somewhere down the hierarchy) of a Form. The form is a
transparent resolver, if I pass the form along it happily works and
generates the needed javascript in the onclick of the link.

Without form parameter SubmitLink generates something like:  <a
href="#" onclick><span>Detailed information</span></a>. As you can see
the onclick is not finished (the spans are from a Label). Any ideas?

Best regards,
Martijn

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

Reply via email to