Hard to say without details. Are you not getting the behavior you expect
(and what is that behavior?). Are you getting an error message?
"RAM /abr./: Rarely Adequate Memory."
From: jcf1974 <
[hidden email]>
To:
[hidden email]
Date: 05/07/2012 07:07 AM
Subject: Calling wicket from javascript
Hello,
I'm new in this forum, and i love wicket!!!
My question is:
What wrong with this code?
@Override
protected IAjaxCallDecorator getAjaxCallDecorator() {
return new
AjaxPreprocessingCallDecorator(super.getAjaxCallDecorator()) {
private static final long serialVersionUID = 1L;
@Override
public CharSequence preDecorateScript(CharSequence
script) {
return "function callWicket(){" + script + "};
$('.search-div').slideDown('slow', callWicket());";
}
};
}
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Calling-wicket-from-javascript-tp4614627.htmlSent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]
**
This email and any attachments may contain information that is confidential and/or privileged for the sole use of the intended recipient. Any use, review, disclosure, copying, distribution or reliance by others, and any forwarding of this email or its contents, without the express permission of the sender is strictly prohibited by law. If you are not the intended recipient, please contact the sender immediately, delete the e-mail and destroy all copies.
**