NPE in FormTester.submit

2007-11-26 Thread Jason Anderson
Am i doing something wrong here? i couldn't find much docs on testing besides the javadoc and a page on the wiki... tester = new WicketTester(new MyApplication()); public void testLogin() throws Exception { tester.startPage(HomePage.class); tester.assertRenderedPage(Login

Re: NPE in FormTester.submit

2007-11-26 Thread Jason Anderson
ssibly live long enough to exist in this method. On Nov 26, 2007 7:58 PM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Mon, 26 Nov 2007, Jason Anderson wrote: > > tester.startPage(HomePage.class); > > I'm not sure if it changes anything here, but we'

Re: NPE in FormTester.submit

2007-11-26 Thread Jason Anderson
i made a quickstart and attached it to the following issue https://issues.apache.org/jira/browse/WICKET-1187 thanks for the help On Nov 26, 2007 8:57 PM, Timo Rantalaiho <[EMAIL PROTECTED]> wrote: > On Mon, 26 Nov 2007, Jason Anderson wrote: > > and the code for MockHttp

Re: DateField renders twice in 1.3.0-rc1

2007-11-27 Thread Jason Anderson
I had the same problem the first time i tried using the component, so I would have to agree that some sort of warning would be handy On Nov 27, 2007 1:14 AM, Gerolf Seitz <[EMAIL PROTECTED]> wrote: > hi matt, > > DateField is derived from FormComponentPanel and thus the markup should look > someth

Re: Turn off SWARM

2008-08-12 Thread Jason Anderson
I've found that during development the combination of running mvn jetty:run and using javarebel to automagically reload the newly compiled classes makes for an extremely fast edit/compile/test cycle - much faster than even letting jetty do the reloading YMMV On Thu, Aug 7, 2008 at 1:50 AM, Joha

adding wicket palette buttons

2007-12-01 Thread Jason Anderson
Hi All, What would be the proper way to add a pair of "add all / remove all" buttons to a wicket palette component? Thanks, Jason - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: adding wicket palette buttons

2007-12-01 Thread Jason Anderson
t;[EMAIL PROTECTED]> wrote: > subclass the palette and add the buttons into markup.afaik these dont > need to be on serverside because they are pure js buttons. > > -igor > > > > On Dec 1, 2007 8:53 AM, Jason Anderson <[EMAIL PROTECTED]> wrote: > > Hi All, > &

Re: ListMultipleChoice and submitting added list items

2007-12-05 Thread Jason Anderson
you might use the built in Palette component rather than reimplementing it... http://wicketstuff.org/wicket13/compref/ (click the palette link) On Dec 5, 2007 4:29 AM, Kjetil Paulsen <[EMAIL PROTECTED]> wrote: > I'm currently rewriting an application from Stripes to Wicket in a > project here a

Re: Format date column in DefaultDataTable

2007-12-17 Thread Jason Anderson
Likewise, I'm not sure if its the "best" way but i generally create a quick FormattedPropertyColumn class that extends PropertyColumn and creates the formatted label model with java.text.MessageFormat for number/currency/date formatting purposes Cheers, Jason On Dec 17, 2007 11:03 PM, Stefan Lind

Re: Overlay div on ajax call

2008-02-15 Thread Jason Anderson
you might take a look at how IndicatingAjaxLink/Button show/hide the ajax loading indicator or just use it to show your hidden veil during an ajax operation On Thu, Feb 14, 2008 at 1:43 PM, JulianS <[EMAIL PROTECTED]> wrote: > > > Martijn Dashorst wrote: > > > > See wicketstuff-minis' veil > >