And I think EventType shouldn't be an enum but instead a class with
several constants. So everybody could add own event types if necessary.
Regards
Johannes
Johannes Schneider wrote:
I made some progress:
When using the (newly created) EventType onclick the behvious seems to
be improved.
Thanks for the feedback, the quick solution would be to extend the
inputevent class. Did you see the example project?
2009/8/28 Johannes Schneider maili...@cedarsoft.com:
And I think EventType shouldn't be an enum but instead a class with
several constants. So everybody could add own event
Yes, I have seen the example project - thanks for that. Great stuff btw.
Extending inputevent class? I don't get it...
One more thing: What about adding some sort of direct ajax callback to
java without having to add a AjaxLink?
In my case I have a delete link that opens a popup. But now I try to
look at
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/input-events-parent/
2009/8/26 Johannes Schneider maili...@cedarsoft.com
Hi,
I have here several AjaxLinks that should be triggered using a shortcut
(e.g. PageDown or Delete).
Does anybody have some
That thing works great with normal links. But I have a problem with
Ajax(Fallback)Links. The created JavaScript looks good but it does not work.
Since I really don't understand JavaScript I don't have a clue what to
do next. I have modified the example to reproduce the problem:
Add to
I made some progress:
When using the (newly created) EventType onclick the behvious seems to
be improved.
The first time it works great, but if I add the link to the
AjaxRequestTarget (so that the link is updated), the event is executed
multiple times...
Regards,
Johannes
Johannes Schneider
Hi,
I have here several AjaxLinks that should be triggered using a shortcut
(e.g. PageDown or Delete).
Does anybody have some lines of code or a hint how that could be done?
Alternatively a AjaxBehaviour could be used to start the action.
Any ideas?
Thanks,
Johannes