[jira] Created: (WICKET-1057) Remove final from WebRequestCodingStrategy. urlCodingStrategyForPath
Remove final from WebRequestCodingStrategy. urlCodingStrategyForPath Key: WICKET-1057 URL: https://issues.apache.org/jira/browse/WICKET-1057 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 1.3.0-beta3 Reporter: John Patterson I am trying to use my own encoding that does not depend on mounted paths. I want normal mounted paths and the default wicket paths to work as usual and for my strategy to be used after they have been tried. For encoding URLs with my strategy I can override WebRequestCodingStrategy .getMountEncoder(IRequestTarget) which allows the normal mounts to be tried first and then return my strategy if non are found. The default decoding works OK but WebRequestCycleProcessor will call WebRequestCodingStrategy .targetForRequest() after the default handling fails and I cannot return my own strategy because I cannot override urlCodingStrategyForPath() because it is final. I have removed this locally and it works as I expected. It seems like the only option at the moment is to use a subclass or WebRequestCodingStrategy AND create an adaptor (wrapper) for WebRequestCodingStrategy which detects when targetForRequest() returns null and returns my own strategy. If the final is removed from rlCodingStrategyForPath(String path) life would be a lot easier! -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[CONF] Apache Wicket: Tables and Grids (page edited)
Page Edited : WICKET : Tables and Grids Tables and Grids has been edited by Adam A. Koch (Oct 09, 2007). (View changes) Content: Tables and Grids Extract from explanations given by Igor Vaynberg on mailing list There are a few ways to display and populate table/grid data in wicket. They include: RepeatingView RefreshingView AbstractPageableView GridView and DataView DataGridView DataTable If you look at the class hieararchy you will see that every repeater builds on the other. Why so many ? Because there are many different ways table data can be retrieved, populated and then displayed, having a hierarchy like this lets you pick a component that delivers the exact functionality you need, without over complicating the simple cases. In Action/Examples You can see each of these components in action here. A Simple DataView Example by Adam A. Koch The Details Repeating View This is a very basic repeater. You add items to it - those items are rendered using the repeater's markup. RefreshingView This view takes an iterator and lets you generate items based on that iterator much like ListView. Items are also refreshed every request unlike the RepeatingView. The big differences when compared to ListView is that refreshing view works with iterators where as ListView is limited to lists. Another big difference is that RefreshingView makes you wrap each iterator item in a model where as ListView does not (you have to override getListItemModel() to do that in a listview). Doing this enables you to avoid all kinds of problems when dealing with non-static collections. It is easy to use any iterator by using ModelIteratorAdapter. AbstractPageableView This is like RefreshingView + paging support DataView and GridView DataView - this is a pageable view that is populated via idataprovider instead of an iterator which makes working with databases much simpler. GridView - makes it simple to show an iterator in a grid where each row can have a max number of items DataGridView This is a view that extends the DataView with the idea of populators and makes displaying tabular data easy by letting populators populate each cell instead of you doing that in populateItem() yourself. The idea is that depending on your application logic (eg. roles/permissions etc.) you can vary the list of populators and simplify the logic. DataTable This is the mac daddy of the table oriented components. DataTable extends the tree not by inheritance but by delegation. It wraps a DataGridView and provides all the markup for you so you dont have to. It adds support for interchangeable toolbars like sortable headers, filters, pagers, etc. Powered by Atlassian Confluence (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request Unsubscribe or edit your notifications preferences
[CONF] Apache Wicket: A Simple DataView Example (page created)
Page Created : WICKET : A Simple DataView Example A Simple DataView Example has been created by Adam A. Koch (Oct 09, 2007). Content: This does assume you have a "Base Page". Sub1Page.java import java.io.Serializable; import java.util.ArrayList; import org.apache.wicket.markup.html.basic.Label; import org.apache.wicket.markup.html.navigation.paging.PagingNavigator; import org.apache.wicket.markup.repeater.Item; import org.apache.wicket.markup.repeater.data.DataView; import org.apache.wicket.markup.repeater.data.ListDataProvider; import org.apache.wicket.model.IModel; import org.apache.wicket.model.Model; public class Sub1Page extends BasePage { public Sub1Page() { Contact contact = null; ArrayList list = new ArrayList(); char character; // a - z for (int i = 97; i < 123; i++) { character = (char) i; contact = new Contact(String.valueOf(character)); list.add(contact); } final DataView dataView = new DataView("simple", new ListDataProvider( list)) { public void populateItem(final Item item) { final Contact user = (Contact) item.getModelObject(); item.add(new Label("id", user.getId())); } }; dataView.setItemsPerPage(10); add(dataView); add(new PagingNavigator("navigator", dataView)); } } class Contact implements Serializable { private final String id; public Contact(String id) { this.id = id; } public String getId() { return id; } } Sub1Page.html "0" class="dataview"> "simple"> "id">Test ID "navigator"> Powered by Atlassian Confluence (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request Unsubscribe or edit your notifications preferences
[jira] Created: (WICKET-1056) CreditCardValidator does not handle spaces or dashes
CreditCardValidator does not handle spaces or dashes Key: WICKET-1056 URL: https://issues.apache.org/jira/browse/WICKET-1056 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 1.3.0-beta3 Reporter: Mark Sandori Priority: Minor The CreditCardValidator assumes that the provided input only contains numbers without spaces, dashes, etc. The validator should be extended to properly handle these common input scenarios, perhaps with an optional attribute around stripping these unwanted characters from the input. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
svn commit: r583210 - /wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/request/AbstractRequestCycleProcessor.java
Author: ehillenius Date: Tue Oct 9 09:27:50 2007 New Revision: 583210 URL: http://svn.apache.org/viewvc?rev=583210&view=rev Log: check assumption that url does not start with '/' Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/request/AbstractRequestCycleProcessor.java Modified: wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/request/AbstractRequestCycleProcessor.java URL: http://svn.apache.org/viewvc/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/request/AbstractRequestCycleProcessor.java?rev=583210&r1=583209&r2=583210&view=diff == --- wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/request/AbstractRequestCycleProcessor.java (original) +++ wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/request/AbstractRequestCycleProcessor.java Tue Oct 9 09:27:50 2007 @@ -268,7 +268,11 @@ // NOTE: we NEED to put the '/' in front as otherwise some versions // of application servers (e.g. Jetty 5.1.x) will fail for requests // like '/mysubdir/myfile.css' - final String url = '/' + requestCycle.getRequest().getURL(); + String url = requestCycle.getRequest().getURL(); + if ((url.length() > 0 && url.charAt(0) != '/') || url.length() == 0) + { + url = '/' + url; + } return new WebExternalResourceRequestTarget(url); }
[jira] Created: (WICKET-1055) Add ability to have Radio and RadioGroup not related via component hierarchy
Add ability to have Radio and RadioGroup not related via component hierarchy Key: WICKET-1055 URL: https://issues.apache.org/jira/browse/WICKET-1055 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 1.3.0-beta3 Reporter: Tim O'Brien Fix For: 1.3.0-beta4 Attachments: patch-detached-radio.txt I was working on an application that needed to be able to support a Radio button that wasn't nested within a RadioGroup. Here's an illustration of the component hierarchy I needed to support: The existing RadioGroup/Radio code relies on the component hierarchy, so the only way to render a radio group would be: The following patch to Radio and RadioGroup adds the ability to provide an explicit relationship between Radio and RadioGroup - bypassing the component hierarchy. Why did I need this? The application I'm working on creates a form based on meta-data about a specific object. There were a few situation where I needed to render two radio options in different parts of a form, and then only way to support this was to violate the hierarchy requirement of Radio/RadioGroup. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Updated: (WICKET-1055) Add ability to have Radio and RadioGroup not related via component hierarchy
[ https://issues.apache.org/jira/browse/WICKET-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim O'Brien updated WICKET-1055: Attachment: patch-detached-radio.txt Here is the patch "relative to trunk/wicket/jdk-1.4/wicket" that changes Radio and RadioGroup. > Add ability to have Radio and RadioGroup not related via component hierarchy > > > Key: WICKET-1055 > URL: https://issues.apache.org/jira/browse/WICKET-1055 > Project: Wicket > Issue Type: Improvement > Components: wicket >Affects Versions: 1.3.0-beta3 >Reporter: Tim O'Brien > Fix For: 1.3.0-beta4 > > Attachments: patch-detached-radio.txt > > > I was working on an application that needed to be able to support a Radio > button that wasn't nested within a RadioGroup. Here's an illustration of > the component hierarchy I needed to support: > > > > The existing RadioGroup/Radio code relies on the component hierarchy, so the > only way to render a radio group would be: > > > > > The following patch to Radio and RadioGroup adds the ability to provide an > explicit relationship between Radio and RadioGroup - bypassing the component > hierarchy. > Why did I need this? The application I'm working on creates a form based on > meta-data about a specific object. There were a few situation where I > needed to render two radio options in different parts of a form, and then > only way to support this was to violate the hierarchy requirement of > Radio/RadioGroup. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Created: (WICKET-1054) No way to escape html markup but keep non-7 bit characters in generated output
No way to escape html markup but keep non-7 bit characters in generated output -- Key: WICKET-1054 URL: https://issues.apache.org/jira/browse/WICKET-1054 Project: Wicket Issue Type: Improvement Components: wicket Affects Versions: 1.3.0-beta3 Reporter: Marat Radchenko from Component#String getModelObjectAsString(Object): == if (getFlag(FLAG_ESCAPE_MODEL_STRINGS)) { // Escape it return Strings.escapeMarkup(modelString, false, true).toString(); } return modelString; == As you can see, we have two options. 1) Output will be html-escaped and all non-7 bit characters will be replaced with codes. 2) Nothing will be escaped. These might be enough for ASCII-speaking people but not very friendly for others. We need third option: escape html-sensitive characters (&, <, >, etc) and do not modify all other characters because it is very difficult to view html-escaped page source and search engines are not happy with it. This can be done by replacing if {} body with following code: return Strings.escapeMarkup(modelString, false, false).toString(); Maybe some additional flag could be added in order to support such behavior? Hope this will be fixed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[CONF] Apache Wicket: Community meetups (page edited)
Page Edited : WICKET : Community meetups Community meetups has been edited by Marieke Vandamme (Oct 09, 2007). (View changes) Content: Bookmarkable link If you're thinking about organizing a local meetup, don't hesitate to add your initiative to this list! United Kingdom Location: London Next meetup: Tuesday October 2nd To register, go here: http://jweekend.co.uk/dev/LWUGReg Belgium Location: Antwerp Next meetup: JavaPolis'07 (dec 12th-14th) Martijn Dashorst will give a Wicket presentation at the conference. We are interested in a Birds of a Feather (BoF) meeting, and interest can be registered here. When you want to attend, you need to be registered at the conference too. The presentation and BoF will be in English. Name Interested Will come! BoF? Martijn Dashorst x x x Per Ejeklint x x yeah! Xavier Hanin x x x Francis De Brabandere x ? x The Netherlands Location: TBD Next meetup: TBD Ideas for the programme Ask-a-committer (bring your code and get some advice from the committers) Maurice Marrink: Help on Wicket stuff projects. If anyone has any questions / problems about / with wasp or swarm they can not / will not ask on the mailing list, they are free to ask me on the conference and I'll do my best assist them. If they bring there projects with them it will be even easier to do so. Martin Funk: I could throw in a 10 minute presentation about wicket-contrib-gmap2. Ate Douma: I can answer "Everything you always wanted to know but were afraid to ask" about Wicket Portlet support, as well as provide a presentation/demo if there is enough interest for it People interested in this meetup Please add your name and tick which days suit you best! The current proposal is to meet in the Felix Meritis building in Amsterdam: Google Map of the venue. Name Interested Will come! I speak Dutch very well. I learn it from a book Fri Nov 23 Mon Nov 26 Fri Nov 30 Daytime Evening Weekend Wouter Huijnink x x x x x x x x Matthijs Wensveen x o ** x Arjé Cahn x x x I prefer English x x x x x Kees de Kooter x x x x x x x x Thies Edeling x x x Maurice Marrink x x x C. Bergström x x o All the Dutch I know is from y coworkers yelling at me Francis De Brabandere x ? x Wander Grevink x x x x x x x x Erik van Oosten x ? x (but not from a book) x x x x x Ard Schrijvers x x x Martijn Dashorst x x x Thijs Vonk x ? x Martin Funk x x sorry no Dutch, only German and English x x x x x Danny van Bruggen x ? * x Tom Desmet x ? * x x x x x Marieke Vandamme x ? * x x x x x Ann Baert x ? * x x x x x Patrick Vansevenant x ? * x x x x x Ate Douma x x x English is fine too x x x x x Jasha Joachimsthal x ? ? Arthur Bogaart x ? ? Niels van Kampenhout x ? ? Johan Compagner x x x x x x x x Ivo van Dongen x x x x x x x x Ivana Cace x ? * x x x x*** x*** x Emiel van der Herberg x ? x Martijn Vos x ? x Reinout van Schouwen x ? x Martin Tilma x x x x x x x * can't really say if I will come if there's no date yet. ** Due to imminent birth of son, will not be able to make it anytime soon. Will try though. *** Friday day, Monday evening Denmark Location: Copenhagen Next meetup: Speakers/ areas of interest? Write what you want to hear about here.. Then people can add themselves as speakers content speaker? Name Interested Will come Language Comments Frank Bille x ? Danish,English Nino Martinez x ? Danish,English Jan Mikkelsen x ? Danish,English Sweden Location: Stockholm Next meetup: 5th November 17.00 Web page: http://wicket.jalbum.net Send an e-mail to Daniel Frisk ([EMAIL PROTECTED]) and let us know you are coming Name Interested Will come Language Comments Per Ejeklint x x Svenska Tar på mig att hålla SWUG's första presentation Daniel Frisk x x Svenska Skicka ett mail till mig om du lägger till dig själv till listan Anders Callertun x x Svenska David Ekholm x x Svenska Mathias Axelsson x x Svenska Mats Norén x x Svenska Brazil Location: Rio de Janeiro Next meetup: to be sc
[CONF] Apache Wicket: Community meetups (page edited)
Page Edited : WICKET : Community meetups Community meetups has been edited by Wander Grevink (Oct 09, 2007). (View changes) Content: Bookmarkable link If you're thinking about organizing a local meetup, don't hesitate to add your initiative to this list! United Kingdom Location: London Next meetup: Tuesday October 2nd To register, go here: http://jweekend.co.uk/dev/LWUGReg Belgium Location: Antwerp Next meetup: JavaPolis'07 (dec 12th-14th) Martijn Dashorst will give a Wicket presentation at the conference. We are interested in a Birds of a Feather (BoF) meeting, and interest can be registered here. When you want to attend, you need to be registered at the conference too. The presentation and BoF will be in English. Name Interested Will come! BoF? Martijn Dashorst x x x Per Ejeklint x x yeah! Xavier Hanin x x x Francis De Brabandere x ? x The Netherlands Location: TBD Next meetup: TBD Ideas for the programme Ask-a-committer (bring your code and get some advice from the committers) Maurice Marrink: Help on Wicket stuff projects. If anyone has any questions / problems about / with wasp or swarm they can not / will not ask on the mailing list, they are free to ask me on the conference and I'll do my best assist them. If they bring there projects with them it will be even easier to do so. Martin Funk: I could throw in a 10 minute presentation about wicket-contrib-gmap2. Ate Douma: I can answer "Everything you always wanted to know but were afraid to ask" about Wicket Portlet support, as well as provide a presentation/demo if there is enough interest for it People interested in this meetup Please add your name and tick which days suit you best! The current proposal is to meet in the Felix Meritis building in Amsterdam: Google Map of the venue. Name Interested Will come! I speak Dutch very well. I learn it from a book Fri Nov 23 Mon Nov 26 Fri Nov 30 Daytime Evening Weekend Wouter Huijnink x x x x x x x x Matthijs Wensveen x o ** x Arjé Cahn x x x I prefer English x x x x x Kees de Kooter x x x x x x x x Thies Edeling x x x Maurice Marrink x x x C. Bergström x x o All the Dutch I know is from y coworkers yelling at me Francis De Brabandere x ? x Wander Grevink x x x x x x x x Erik van Oosten x ? x (but not from a book) x x x x x Ard Schrijvers x x x Martijn Dashorst x x x Thijs Vonk x ? x Martin Funk x x sorry no Dutch, only German and English x x x x x Danny van Bruggen x ? * x Tom Desmet x ? * x Marieke Vandamme x ? * x Ann Baert x ? * x Ate Douma x x x English is fine too x x x x x Jasha Joachimsthal x ? ? Arthur Bogaart x ? ? Niels van Kampenhout x ? ? Johan Compagner x x x x x x x x Ivo van Dongen x x x x x x x x Ivana Cace x ? * x x x x*** x*** x Emiel van der Herberg x ? x Martijn Vos x ? x Reinout van Schouwen x ? x Martin Tilma x x x x x x x * can't really say if I will come if there's no date yet. ** Due to imminent birth of son, will not be able to make it anytime soon. Will try though. *** Friday day, Monday evening Denmark Location: Copenhagen Next meetup: Speakers/ areas of interest? Write what you want to hear about here.. Then people can add themselves as speakers content speaker? Name Interested Will come Language Comments Frank Bille x ? Danish,English Nino Martinez x ? Danish,English Jan Mikkelsen x ? Danish,English Sweden Location: Stockholm Next meetup: 5th November 17.00 Web page: http://wicket.jalbum.net Send an e-mail to Daniel Frisk ([EMAIL PROTECTED]) and let us know you are coming Name Interested Will come Language Comments Per Ejeklint x x Svenska Tar på mig att hålla SWUG's första presentation Daniel Frisk x x Svenska Skicka ett mail till mig om du lägger till dig själv till listan Anders Callertun x x Svenska David Ekholm x x Svenska Mathias Axelsson x x Svenska Mats Norén x x Svenska Brazil Location: Rio de Janeiro Next meetup: to be scheduled Send an e-mail to Alexandre Bairos (alexandre.bairos at gmail.com) and let
[CONF] Apache Wicket: Articles about Wicket (page edited)
Page Edited : WICKET : Articles about Wicket Articles about Wicket has been edited by Robert Novotny (Oct 09, 2007). (View changes) Content: Bookmarkable link Wicket in the News Wicket has been featured in a number of on-line publications: Interview with Eugene Ciurana from Leapfrog Enterprises ~ August 29, 2007 Wicket Development - TheServerSide Video Interview Nick Heudecker ~ May 22 , 2007 A Wicket user tries JSF Peter Thomas ~ May 14, 2007 Why Wicket? ZedroS ~ April 20, 2007 Wicket Impressions, moving from Spring MVC / WebFlow Peter Thomas ~ March 2, 2007 Wicket Tutorial Justin Spradlin ~ February 6, 2007 Wicket Tutorial JavaBeat.net ~ Unknown date Wicket - (another) Java Web Framework: My First Impressions Timothy M. O'Brien ~ January 10, 2007 Backward compatible AJAX development with Wicket Erik van Oosten ~ January 7, 2007 Review: Wicket 1.1 "javaboutique", Drew Falkman Wicket autocompletion improvements ~ Erik van Oosten ~ October 20, 2006 Comparing Web Frameworks: Wicket "javageek" An introduction to Wicket by Guillermo Castro based on a series of Web Framework comparisons. ~ March 8, 2006 A Little Bit About Wicket - R.J. Lorimer on Javalobby. January-August 2006 A Little Bit About Wicket Reusable Panels Let Components Contribute to the Header Section Using Links - An Example of Session State Server-Side State Revisited; Bookmarkable Links Page Parameters 1.2: Control Wicket URLs with URL Mounting Contributing Static CSS and JS Loving web development using Wicket JavaPolis Javanews December 2, 2005 SDTimes JavaOne article Wicket is mentioned 2 paragraphs Wicket overview Serbian JUG site (written in Serbian), November 14, 2005 A First Look at the Wicket Framework by David R. Heffelfinger on Ensode.net Nothing sticky about Wicket Editorial in Network World on the release of Wicket 1.0 ~ July 7, 2005 Wicket 1.0, web framework, released the announcement of Wicket 1.0 ~ June 21, 2005 Wicket: Do we need yet another presentation layer framework? the first public appearance of Wicket ~ August 18, 2004 French Ajax supportant les navigateurs sans _javascript_ ("Backward compatible") avec Wicket Erik van Oosten, ZedroS ~ April 26 , 2007 Pourquoi Wicket? ZedroS ~ April 20, 2007 Redécouvrez le web avec Wicket Par Romain Guy Chinese A book of "Wicket Development User Guide" is free to download(Wicket) wanglei ~ May 8, 2007 Many articles about wicket is on the website wanglei ~ May 8, 2007 Portuguese Wicket! ... Hein? Bruno Borges ~ April 23, 2007 Dutch Backward compatible AJAX ontwikkeling met Wicket Erik van Oosten ~ January 7, 2007 German Wicket - ein neuer Stern am Webframework-Himmel? René Preißel, Markus Wittwer - Java Magazin Ausgabe 11.2007 Powered by Atlassian Confluence (Version: 2.2.9 Build:#527 Sep 07, 2006) - Bug/feature request Unsubscribe or edit your notifications preferences
[jira] Assigned: (WICKET-702) MockWebApplication doesn't redirect properly to mounted pages under RestartResponseAtInterceptPageException
[ https://issues.apache.org/jira/browse/WICKET-702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Quenot reassigned WICKET-702: --- Assignee: (was: Jean-Baptiste Quenot) > MockWebApplication doesn't redirect properly to mounted pages under > RestartResponseAtInterceptPageException > > > Key: WICKET-702 > URL: https://issues.apache.org/jira/browse/WICKET-702 > Project: Wicket > Issue Type: Bug > Components: wicket >Affects Versions: 1.3.0-beta1 >Reporter: Mark Sandori > Fix For: 1.3.0-beta4 > > Attachments: 20070703-WICKET-702.txt, LoginPage.html, LoginPage.java, > ProtectedPage.html, ProtectedPage.java, RestartWithMountedPageTest.java > > > The MockWebApplication doesn't decode the redirect request properly when > redirecting to a mounted page due to a > RestartResponseAtInterceptPageException. > This is the test: > @Test > public void testPageRender() > { > WicketTest tester = new WicketTester(new MyApplication()); > //must be logged in to get to the Profile page > tester.startPage(Profile.class); > //should redirect to the Login page > tester.assertRenderedPage(Login.class); > } > The application mounts pages via: > mount("/main", PackageName.forPackage(Profile.class.getPackage())); > Running the test results in this exception: > org.apache.wicket.WicketRuntimeException: Already redirecting to > 'main/Login'. Cannot redirect more than once > at > org.apache.wicket.protocol.http.BufferedWebResponse.redirect(BufferedWebResponse.java:100) > at > org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:219) > at > org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:103) > at > org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:981) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1048) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1127) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:489) > at > org.apache.wicket.protocol.http.MockWebApplication.postProcessRequestCycle(MockWebApplication.java:426) > at > org.apache.wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:372) > at > org.apache.wicket.util.tester.BaseWicketTester.startPage(BaseWicketTester.java:237) > What is happening is that the redirect URL "main/Login" is not getting > resolved to a bookmarkable page and the RequestParameters is therefore not > setup correctly. Then in WebRequestCycleProcessor.resolve(final RequestCycle > requestCycle, final RequestParameters requestParameters) the > bookmarkablePageClass of the requestParameters is null and the method > resolves to the Home page instead of the page that is intended to redirect > to. This causes an attempt to redirect again thereby causing the exception. > If the mount() is removed then the unit test passes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.