Ajax wicket

Hello All

Does anyone has any idea how ajax wicket works? Any tutorial would be great for me.



I’ve never hear of an AJAX wicket, but I have a reasonable idea how AJAX works.
Maybe you could describe a little more what it is you are trying to do.


Thanks for your reply.

I have got a website where I need pass some data via url which has this ajax wicket.


That still doesn’t explain what an AJAX wicket is :slight_smile:
Could you share a link to the page with said wicket?

You can always start at the source: http://wicket.apache.org/learn/examples/ajaxcounter.html


The following are the some part of the page of a website with apache ajax wicket.

<form id="captchaForm" method="post" action="?wicket:interface=:3:2::::" onsubmit="var wcall=wicketSubmitFormById('captchaForm', '?wicket:interface=:3:3:::0:&amp;wicket:ignoreIfNotActive=true', null,function() { }.bind(this),function() { }.bind(this), function() {return Wicket.$$(this)&amp;&amp;Wicket.$$('captchaForm')}.bind(this));;return false;"><div style="width:0px;height:0px;position:absolute;left:-100px;top:-100px;overflow:hidden">

The term apache is also comes up with this.


And so is the term Java. A simple search shows this to be of Java and not JavaScript nature.

Again, this here is the source: http://wicket.apache.org/. You can get help here, it seems: http://wicket.apache.org/help/

And again, here is a simple AJAX wicket example: http://wicket.apache.org/learn/examples/ajaxcounter.html

Hi All

Then how come ajax comes into this? Does it means the website I am visiting is done using java server pages?

Please explain.


AJAX comes also into php, ruby, c++, dotNET and many more. And yes, like JSP or JSF, it means it requires Java on the server-side.

Reading about it, it seems it’s more closely related to Swing Java framework.


Can I pass a integer value to input box from url?


Again, this is Java related technology. Are you familiar with Java programming? If not, there is little hope for you to actually make something useful out of wicket before the summer ends.

Beside the Java language, you’ll also need to check the requirements and follow the installation and deployment steps. So better make that before the fall ends.


Can you help me with that? I am not a java pro but I can manage.


Obviously you can’t manage. I strongly suggest you to start at the source: http://wicket.apache.org/start/quickstart.html. If that is gibberish to you, let it be, focus on something else. It’s a long long long ride, Java based programming.

Thanks. I did actually find that, but wasn’t even sure if that was what the OP was talking about as I have never heard of Apache Wicket.
Anyways, I have done a bit more reading and found out that it’s a “component-oriented Java web framework” and that it seems quite popular.

@achintya ;
I’m afraid I know nothing of Java, so I cannot help you further.
I did find this tutorial however, which I thought explained things quite well: http://jaxenter.com/tutorial-apache-wicket-the-fun-web-framework-42770.html
It’s relatively up-to-date and the third part goes into AJAX.
Maybe it’ll help. Good luck!


It basically allows you to define handlers as attributes on HTML elements (the same way data-X attributes work)


or custom tags (the same way web components work)


in HTML template files, having Java code assigned to these (and a few others) in a separate file.

It then uses the JVM to parse the template pages together with the accompanying Java files and the resulting HTML files are sent to the users.