SitePoint Sponsor

User Tag List

Results 1 to 15 of 15

Thread: Ajax wicket

  1. #1
    SitePoint Evangelist achintya's Avatar
    Join Date
    Apr 2005
    Location
    Chandannagar(India)
    Posts
    459
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Ajax wicket

    Hello All

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

    Thanks

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,996
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    Hi,

    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.

  3. #3
    SitePoint Evangelist achintya's Avatar
    Join Date
    Apr 2005
    Location
    Chandannagar(India)
    Posts
    459
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi

    Thanks for your reply.

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

    Thanks

  4. #4
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,996
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    That still doesn't explain what an AJAX wicket is
    Could you share a link to the page with said wicket?

  5. #5
    Non-Member
    Join Date
    Feb 2012
    Posts
    892
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    You can always start at the source: http://wicket.apache.org/learn/examp...axcounter.html

  6. #6
    SitePoint Evangelist achintya's Avatar
    Join Date
    Apr 2005
    Location
    Chandannagar(India)
    Posts
    459
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi

    The following are the some part of the page of a website with apache ajax wicket.
    Code:
    <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.

    Thanks

  7. #7
    Non-Member
    Join Date
    Feb 2012
    Posts
    892
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    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/examp...axcounter.html

  8. #8
    SitePoint Evangelist achintya's Avatar
    Join Date
    Apr 2005
    Location
    Chandannagar(India)
    Posts
    459
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    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.

    Thanks

  9. #9
    Non-Member
    Join Date
    Feb 2012
    Posts
    892
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    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.

  10. #10
    SitePoint Evangelist achintya's Avatar
    Join Date
    Apr 2005
    Location
    Chandannagar(India)
    Posts
    459
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi

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

    Thanks

  11. #11
    Non-Member
    Join Date
    Feb 2012
    Posts
    892
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    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.

  12. #12
    SitePoint Evangelist achintya's Avatar
    Join Date
    Apr 2005
    Location
    Chandannagar(India)
    Posts
    459
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi

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

    Thanks

  13. #13
    Non-Member
    Join Date
    Feb 2012
    Posts
    892
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    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.

  14. #14
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,996
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    Quote Originally Posted by myty View Post
    You can always start at the source: http://wicket.apache.org/learn/examp...axcounter.html
    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-...ork-42770.html
    It's relatively up-to-date and the third part goes into AJAX.
    Maybe it'll help. Good luck!

  15. #15
    Non-Member
    Join Date
    Feb 2012
    Posts
    892
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    http://wicket.apache.org/guide/guide/chapter3.html

    It basically allows you to define handlers as attributes on HTML elements (the same way data-X attributes work)
    Code:
    wicket:id="handler"
    or custom tags (the same way web components work)
    Code:
    <wicket:tag></wicket:tag>
    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.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •