Refreshing DataView fails if it was initially empty

2010-06-30 Thread Steve Hiller
Hi All, I have what seems like a strange problem with refreshing a DataView. I have a WebMarkupContainer that contains a DataView. The DataView uses a SortableDataProvider as its DataProvider. The WebMarkupContainer uses the DataView's SortableDataProvider to determine if there are any items to

Wicket-Stuff ObjectAutoCompleteField component inside a ListView

2010-05-13 Thread Steve Hiller
Hi All, Has anyone tried using the Wicket-Stuff ObjectAutoCompleteField component inside a ListView? The search text field form input control is not created in the HTML output. If I make a single ObjectAutoCompleteField outside of a ListView then the input control is created. Thanks, Steve

What is the best way to use LoadableDetachableModel with a WebPage and DataView?

2010-04-19 Thread Steve Hiller
Hi All, I need help with a Wicket architecture design issue that I am having. In previous Wicket applications, I have used the LoadableDetachableModel in 2 separate ways: 1) In the constructor of a WebPage, an LDM is instantiated and then used as the model for a component such as a ListView.

JavaOne in San Francisco

2010-04-08 Thread Steve Hiller
The economy must be improving -- my employer is sending me to JavaOne this year :-) Will there be any Wicket events at JavaOne?

URL pattern /app/* does not work for Wicket 1.4.6 and WebSphere 6.1

2010-03-05 Thread Steve Hiller
Hi All, I am working on my first Wicket app that uses the 1.4 branch instead of 1.3. As usual, this app will be deployed to WebSphere 6.1. For the 1.4 project, I have found that I still need to use a Wicket servlet instead of a filter in order to get to work with WebSphere 6.1 (even though I

[OT] ASP.NET equivalent of WicketTester?

2010-01-10 Thread Steve Hiller
My manager was so impressed by the unit testing capabilities of the WicketTester class that he asked me to research for an ASP.NET equivalent, to be used by another development team. I didn't find anything obvious by googling? Anybody know of a useful tool? Thanks!

WicketTester -- No Form onSubmit when using Ajax DropDownChoice Component

2010-01-03 Thread Steve Hiller
Hi All, I'm having an issue when using WicketTester with a form that has 3 DropDownChoice component, which are linked together using the AjaxFormComponentUpdatingBehavior. In the following code snippet, selecting from the brands DropDownChoice causes the categories DropDownChoice to be filled.

[OT a wee bit] Happy Holidays Wicketeers!

2009-12-22 Thread Steve Hiller
I just want to take this opportunity to thank all the Wicketeers who have been very kind to me over the past couple of years by 1) creating the Wicket framework and 2) providing generous support. The company I work for now has several enterprise-wise apps based on Wicket, all of which are

Any issues using @SpringBean in WebApplication

2009-10-28 Thread Steve Hiller
Hi All, Are there any issues associated with using the @SpringBean annotation in a class that inherits from WebApplication or AuthenticatedWebApplication? Thanks, Steve

1 EAR, 2 WARs causes Spring Context Problem

2009-09-30 Thread Steve Hiller
Hi All, I'm not sure if this is a Wicket, Spring or WebSphere issue or some combination of the 3. General Setup: WebSphere 6.1, wicket 1.3.7, Spring 2.5.6 Specific Setup: 1 EAR contains 2 WARs, call them WAR1 and WAR2. Each WAR uses the Wicket Spring frameworks. The EAR is deployed to

Testing DataView Redux

2009-09-19 Thread Steve Hiller
Hi All, I originally posted this message yesterday as a response to the post called Testing DataView (see http://www.nabble.com/Testing-DataView-td21863271.html). For some reason, my response didn't show up in the list as one of the most recent comments. So I am posting it again as a new

Using java.util.Date class with CompoundPropertyModel

2009-09-07 Thread Steve Hiller
Hi All, I have created a very simple class that includes a property based on the java.util.Date class. This model is used with a simple WebPage and a Label component is used to present the date. For some reason, only the time part of the underlying Date object is being displayed. I'm using

WicketTester Newbie User Issue: MarkupNotFoundException

2009-08-08 Thread Steve Hiller
Hi All, I'm trying out the small WicketTester example that is shown in the org.apache.wicket.util.tester.WicketTester API page. However, I am getting the following exception: Caused by: org.apache.wicket.markup.MarkupNotFoundException: Markup not found. Component class:

Looking for some enlightenment for using DummyHomePage in unit testing

2009-08-08 Thread Steve Hiller
Hi All, I've been studying the following article, which is about unit testing Wicket when injected Spring beans are involved: http://www.mail-archive.com/comm...@wicket.apache.org/msg06613.html#Spring-UnitTestingtheProxyApproach I am not clear about Part 4 of the DeleteContactPageTest example,