• Home
  • RSS Feed
  • Log in

Archive for the ‘Wicket’ Category

Testing Wicket AjaxBehavior
Posted by Mischa Dasberg at around evening time: August 25th, 2009

Last week I ran into a problem while testing AjaxBehavior in Wicket.

Consider the following scenario: we have a FormComponent which has an AjaxBehavior added to it. We want to test that behavior. Depending on the selected value of for instance a RadioChoice, the Ajaxbehavior should show one component and hide another.

You would think that this would be out of the box behavior when using WicketTester, but unfortunately this is not the case. Triggering an Ajaxbehavior is easy using WicketTester, but setting the selected value isn't. (more...)

  • Share/Bookmark

Filed under Ajax, Java, Testing, Wicket | 1 Comment »

Readable url’s in Wicket – An introduction to wicketstuff-annotation
Posted by Jeroen van Wilgenburg around lunchtime: October 9th, 2008

Have you ever tried to pronounce a url generated by Wicket? It’s quite a tedious job and often end users want to have understandable url’s (even when that url has no meaning).

It’s is quite easy to get normal url’s in Wicket. In this article I’ll show you several solutions, the first two with plain Wicket and the final solution is with wicketstuff-annotations.

(more...)

  • Share/Bookmark

Filed under Frameworks, Java, Maven, Wicket | 1 Comment »

Testing Wicket with Fitnesse
Posted by Mischa Dasberg at around evening time: July 6th, 2008

On our latest project, My colleague Tjeerd Kaastra and I, have been using Wicket.
Since our GUI was so complex, and we had to write 100s of unit tests (a lot of corner cases), we sat down with our testers to find out how we should approach this. Because Our testers use Fitnesse to test both functional acceptance as well as regression tests, they test a lot of the code as well. So we thought, why not integrate the two and that is what we did.

This blog describes how to test Wicket applications using Fitnesse. It is about stretching the limits of the Wicket test components to do so. We will try to explain this by using a small example project we have created to illustrate things. This example project has been inspired on the new user wizard example by Eelco Hillenius. We adapted this example so that it uses Spring, because most apps use a backend system.

(more...)

  • Share/Bookmark

Filed under Ajax, Java, Spring, Testing, Wicket | 7 Comments »

Wicket – Updating ListViews using an AjaxLink
Posted by Mischa Dasberg mid-morning: June 4th, 2008

Consider the following senario: we want to display some data in a table like manner, and we want it to update when we click on a link or button. We do not want to do a complete page refresh, we want it in an ajax way. Also we would like the modify the css for each cell.

In wicket you can use a ListView iterate over a List of Objects and display them in a table like manner.
This blog describes how you can update ListView data and modify the css for each cell.
(more...)

  • Share/Bookmark

Tags: Ajax, Java, Wicket
Filed under Ajax, Java, Wicket | 10 Comments »

Deployment automation for Java application running on Websphere, WebLogic and JBoss

Archives

  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009

Xebia Sites

  • Xebia Corporate
  • Xebia France
  • Xebia India

Categories

  • Java (282)
  • Agile (109)
  • General (50)
  • Testing (42)
  • Performance (42)
  • Hibernate (36)
  • Scrum (33)
  • Podcast (31)
  • Architecture (31)
  • Spring (28)
  • SOA (24)
  • Maven (22)
  • Project Management (22)
  • Middleware (23)
    • Deployment (14)
  • Flex (17)
  • JPA (17)
  • Eclipse (15)
  • Xebia Labs (15)
  • Quality Assurance (14)

Tag Cloud

    Groovy Grails Introduction to Agile JavaOne Performance Spring Seam IntelliJ qcon XML Closures Scala Functional Programming Scrum Agile Ajax Testing fitnesse SOA Java Maven Poppendieck esb Hibernate Lean Xebia product owner Agile Awareness Workshop Semantic Web Architecture