On 8/28/06, Pierre-Yves Saumont <[EMAIL PROTECTED]> wrote:
Not really a problem for me. It's just that it can be misleading to havean Ajax call failing when Wicket Ajax Debug Window says it succeeded.it really says it succeeded? the call should never be made...
May be I did not make myself clear :
Not really a problem for me. It's just that it can be misleading to have
an Ajax call failing when Wicket Ajax Debug Window says it succeeded.
May be I did not make myself clear : using double quotes in the failure
handler script makes the *Ajax call* fail, not only the failure handler.
Pierre-
not that much we can do since the event script is already in quotes when in html eg style="color: rgb(255, 0, 0);">"foo();"
if its a big problem write out the message in a standalone js function and call that func from the call decorator.-IgorOn 8/28/06,
Pierre-Yves Saumont <[EMAIL PROTECTED]> wr
Hello,
When defining a script to use with decorateOnFailureScript in
AjaxCallDecorator, it is not possible do write:
public CharSequence decorateOnFailureScript(CharSequence script) {
return "alert(\"message\")";
}
one can only use single quotes:
public CharSequence decorateOnFailureScript(