This does not seem to work, I tried the jQuery command though and with a
simple Javascript statement, it seems to work as when I add by an attribute
modifier: onclick="alert("test");"

The content of my onchange event looks like this and cannot be triggered
(the Ajax debug does not show any debug either:

wicketThrottler
                .throttle(
                                'filterField',
                                500,
                                function() {
                                        if (function() {
                                                return 
Wicket.$('filterText36a') != null;
                                        }.bind(this)()) {
                                                
Wicket.showIncrementally('ajaxIndicator');
                                        }
                                        var wcall = wicketAjaxPost(
                                                
'./search?19-1.IBehaviorListener.0-ticketTable-noRefreshTopToolbars-toolbars-98-searchHeader-9-filterField-filterText',
                                                        
wicketSerialize(Wicket.$('filterText36a')),
                                                        function() {
                                                                ;
                                                                
Wicket.hideIncrementally('ajaxIndicator');
                                                        }.bind(this), 
function() {
                                                                ;
                                                                
Wicket.hideIncrementally('ajaxIndicator');
                                                        }.bind(this), 
function() {
                                                                if (!function() 
{
                                                                        return 
Wicket.$('filterText36a') != null;
                                                                }.bind(this)()) 
{
                                                                        
Wicket.hideIncrementally('ajaxIndicator');
                                                                }
                                                                return 
Wicket.$('filterText36a') != null;
                                                        }.bind(this));
                                }.bind(this));



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Behavior-triggered-by-Ajax-tp4652238p4652289.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to