I solved it. I needed to set return false; in the javascript to get it to
work in all browsers.
--
View this message in context:
http://old.nabble.com/Click-link-tp28127635p28132265.html
Sent from the Wicket - User mailing list archive at Nabble.com
://old.nabble.com/Click-link-tp28127635p28132265.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h
What is your suggestion?
--
View this message in context:
http://old.nabble.com/Click-link-tp28127635p28133755.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
.
On Sun, Apr 4, 2010 at 8:11 PM, Mathias Nilsson
wicket.program...@gmail.com wrote:
What is your suggestion?
--
View this message in context:
http://old.nabble.com/Click-link-tp28127635p28133755.html
Sent from the Wicket - User mailing list archive at Nabble.com
Hi,
I have a a listview in a form that contains cart items.
Every list view item has quantity textfield and ajaxsubmitlink. Now I want
to add a behavior that enables enter keypress for the textfield.
public abstract class KeyEnterBehavior extends
AjaxFormComponentUpdatingBehavior{
private
Move the logic in the onClick() into a helper method (that takes an
AjaxRequestTarget) and just call that from the onUpdate() method?
On Sat, Apr 3, 2010 at 11:17 AM, Mathias Nilsson
wicket.program...@gmail.com wrote:
Hi,
I have a a listview in a form that contains cart items.
Every list
yes, I have done that but the it causes the page to post. I want the scroll
to remain and no postback.
--
View this message in context:
http://old.nabble.com/Click-link-tp28127635p28127729.html
Sent from the Wicket - User mailing list archive at Nabble.com
This happens in google Chrome and not opera and firefox. In IE7 It works but
I get a noisy sound?
--
View this message in context:
http://old.nabble.com/Click-link-tp28127635p28127746.html
Sent from the Wicket - User mailing list archive at Nabble.com
this message in context:
http://old.nabble.com/Click-link-tp28127635p28127729.html
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional
Hello everybody,
I've just subscribed to this ml, and even thou I searched past mails about
my problem, I couldn't find any hint.
I have a page that's refreshing its components every n seconds using
AbstractAjaxTimerBehavior.
Among these components there's a list of links.
If I try to click a
Is blocking the page with a veil while refreshing a valid solution? That
way users could not click on links while the page is refreshing...
Best,
Ernesto
On Thu, Oct 1, 2009 at 12:37 PM, Alessandro Novarini
a.novar...@sourcesense.com wrote:
Hello everybody,
I've just subscribed to this ml,
I have a page that's refreshing its components every n seconds using
AbstractAjaxTimerBehavior.
Among these components there's a list of links.
Would be nice if you apply AbstractAjaxTimerBehavior only to components that
need to be updated. Than you don't get in trouble with your links...
On
Ernesto,
Thanks for the quick reply, but maybe I haven't explained in an accurate way
the problem.
Please correct me if I'm wrong; I get that you're suggesting me to disable
all the components after the user clicks on a link, and enabling them after
the server sends back the response. Is it
Pedro,
Thank you.
This is indeed a solution, but it would mean rewriting the whole
application. There are lots of components that need to be refreshed, and
adding to each of them the behavior don't seem trivial.
I'll give it a try anyway.
Thank you
Ale
On Thu, Oct 1, 2009 at 1:17 PM, Pedro
Hi, consider to use Wicket api like IVisitor to help keep your code clear
On Thu, Oct 1, 2009 at 10:00 AM, Alessandro Novarini
a.novar...@sourcesense.com wrote:
Pedro,
Thank you.
This is indeed a solution, but it would mean rewriting the whole
application. There are lots of components
What I suggested was the other way round... When the page is refreshing
block it so that users can't click on a link while that is happening... And
the way to block it could be using a veil (e.g. a transparent div layer with
a loading icon) that does not allows the user to click on a link (the
Maybe this thread has information useful to you.
http://www.nabble.com/How-to-tackle-Ajax-Flooding-td25216116.html#a25221503http://www.nabble.com/How-to-tackle-Ajax-%22Flooding%22-td25216116.html#a25221503
http://www.nabble.com/How-to-tackle-Ajax-%22Flooding%22-td25216116.html#a25221503
Ernesto
Ok, thank you to everyone.
I've made further investigation and I (think) can describe the problem:
The refresh of the page is set to 3 seconds;
The server takes 2 seconds to give the response back to the client;
If the user clicks during the 2 seconds interval, the event is lost, and the
dialog
You have to be very careful about what you are doing. Think about the
following situation:
1-You have panel A that contains a panel B which in turn contains a check
box.
2-Suppose panel B in recreated every time panel A is rendered (e.g. on
onBeforeRendered()).
3-The state of the check box depends
19 matches
Mail list logo