Yep, SubmitLink was added for 2.1.0. We're pretty close to 2.1.0 final, basically waiting for the
click.apache.org domain name to be added and some other infrastructure changes.
You can build Click from trunk or just grab SubmitLink from the source tree and include it in your
project. Note that SubmitLink depends on a newly added JavaScript function added to extras-controls.js.
kind regards
bob
On 13/01/2010 11:43 PM, getagrip wrote:
Thank you for the hint!
When was the SubmitLink added to click? I cannot see it in my version
(2.0.1-incubating).
Is it only available in the lates Release Canditate (2.1.0-RC1)?
If so, when will it be ready for production use?
Regards, getagrip
Bob Schellink wrote:
Hi,
Is SubmitLink what you are after?
http://incubator.apache.org/click/docs/extras-api/org/apache/click/extras/control/SubmitLink.html
kind regards
bob
On 13/01/2010 11:09 PM, getagrip wrote:
Hi,
is there any to add a callback to a text-based href submit?
We cannot work with buttons/images so our forms have to be submitted
like this:
<a href="javascript:document.loginform.submit();">Login</a>
Unfortunately I cannot find any hints on how to do this programmatically
via the framework. Maybe in combination with an ActionLink? But this
would just call a Page and not submit the form I guess.
Cheers, getagrip