Hi,
On Tue, Aug 27, 2013 at 5:21 PM, podmak pod...@azet.sk wrote:
hi,
I need add some js in my AjaxSubmitLink.onSubmit(AjaxRequestTarget target,
Form? form) but it is not working. example on my onSubmit function:
@Override
protected void onSubmit (AjaxRequestTarget target, Form? form)
{
hi,
I need add some js in my AjaxSubmitLink.onSubmit(AjaxRequestTarget target,
Form? form) but it is not working. example on my onSubmit function:
@Override
protected void onSubmit (AjaxRequestTarget target, Form? form)
{
super.onSubmit(target, form);
You can use PowerMock to register a mock via
WebApplication#newAjaxRequestTarget()
On Fri, Nov 30, 2012 at 4:16 PM, Tom Norton
tomwnorton.mailing.li...@gmail.com wrote:
Is it possible to test that appendJavascript is called on wicket 1.5?
Thanks,
Tom
--
Martin Grigorov
jWeekend
Thanks a bunch :D
On Fri, Nov 30, 2012 at 10:19 AM, Martin Grigorov mgrigo...@apache.orgwrote:
You can use PowerMock to register a mock via
WebApplication#newAjaxRequestTarget()
On Fri, Nov 30, 2012 at 4:16 PM, Tom Norton
tomwnorton.mailing.li...@gmail.com wrote:
Is it possible to
I tried to implement this, but newAjaxRequestTarget is final :(
On Fri, Nov 30, 2012 at 10:24 AM, Tom Norton
tomwnorton.mailing.li...@gmail.com wrote:
Thanks a bunch :D
On Fri, Nov 30, 2012 at 10:19 AM, Martin Grigorov mgrigo...@apache.orgwrote:
You can use PowerMock to register a mock
Sorry.
See org.apache.wicket.protocol.http.WebApplication#setAjaxRequestTargetProvider
On Fri, Nov 30, 2012 at 4:34 PM, Tom Norton
tomwnorton.mailing.li...@gmail.com wrote:
I tried to implement this, but newAjaxRequestTarget is final :(
On Fri, Nov 30, 2012 at 10:24 AM, Tom Norton
I was finally able to get it to work with PowerMock. I forgot to add both
the WebApplication and the AjaxRequestTarget to the PrepareForTest
annotation.
Thanks for your help,
Tom
On Fri, Nov 30, 2012 at 10:40 AM, Martin Grigorov mgrigo...@apache.orgwrote:
Sorry.
See
Hi guys
I have a question about how to avoid multiple evaluations of same
javascripts in AjaxRequestTarget.appendJavaScript().
I have a lots of components that append javascript to AjaxRequestTarget.
Some of these javascript strings are same and some are different. So what
I'm trying to figure
about how to avoid multiple evaluations of same
javascripts in AjaxRequestTarget.appendJavaScript().
I have a lots of components that append javascript to AjaxRequestTarget.
Some of these javascript strings are same and some are different. So what
I'm trying to figure out is how to avoid adding
Hi;
When i append jquery progressbar script to AjaxRequestTarget like below
for (int i = 0; i 101; i++) {
ajaxRequestTarget.appendJavascript($(document).ready(function()
{\n +
$(\#progressbar\).progressbar({ value: + i
+ });\n
I used AjaxSelfUpdatingTimerBehavior and it's done.
Thanks.
From: Lurtz Nazgul lu...@ymail.com
To: users@wicket.apache.org
Sent: Wed, August 3, 2011 11:36:50 AM
Subject: flush ajaxRequestTarget.appendJavascript
Hi;
When i append jquery progressbar script
Double checked.
Confirming no issue (probably my JS was broken at the time of initial
testing).
-Dmitry
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxRequestTarget-appendJavascript-broken-arrays-tp2290353p2294403.html
Sent from the Wicket - User mailing list
Hello, guys
I've noticed one thing recently (could not find anything related in the
forum).
My Wicket is 1.4.9 and I needed a JSON data with arrays which is attached to
the Ajax response.
Currently I see that all arrays' closing brackets ']' are turned into ']^'
which technically breaks my JSON
Are you sure its not actually ^M which is a windows CR/LF linefeed?
This may be causing the parser to choke if its passing them through as literals.
Long shot, sorry :)
J
On Thu, Jul 15, 2010 at 9:07 AM, DmitryM nsk...@aol.com wrote:
Hello, guys
I've noticed one thing recently (could not
it is expected in order to escape any possible CDATA]] closing tags,
this is escaped back into ] by javascript on the client side.
-igor
On Thu, Jul 15, 2010 at 9:07 AM, DmitryM nsk...@aol.com wrote:
Hello, guys
I've noticed one thing recently (could not find anything related in the
forum).
Okay, I will double check that (since it's still in the XML response coming
back to the page)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/AjaxRequestTarget-appendJavascript-broken-arrays-tp2290353p2290924.html
Sent from the Wicket - User mailing list archive at
yes, i think the debug window shows it unescaped.
-igor
On Thu, Jul 15, 2010 at 8:47 PM, DmitryM nsk...@aol.com wrote:
Okay, I will double check that (since it's still in the XML response coming
back to the page)
--
View this message in context:
Hi,
I have really newbe question.
I did in my code (just for test):
target.appendJavascript(alert(message););
And I found in debug window:
evaluate![CDATA[alert(message);]]/evaluate
So I gues that alert Windows with my message should be displayed but it is
not.
How
Hi,
current 1.4 trunk 'messes' with escaping '[' to '[^' on
AjaxRequestTarget.appendJavascript which leeds to non-functional Javascript (at
least on my FF 3) when using array indices on variables.
It worked fine before without problems here - where/in which cases is the
escacping for the CDATA
19 matches
Mail list logo