Re: final Page.onInitialize()

2011-02-10 Thread Hans Lesmeister 2
Hi, Clint Checketts wrote: I don't believe the goal of onInitiallize is to move all component creation from the constructor to onInitialize, since if you are adding the component to the parent in the onInitialize method then you are back to the problem of not being able to call

Can't remember: way to add properties files for validators?

2011-02-10 Thread Jeremy Thomerson
Someone asked today, and I can't remember I think the answer is no. Is there a way to add a properties file with messages for a validator? In other words, could we package a jar of validators with their messages to be reused by folks? -- Jeremy Thomerson http://wickettraining.com *Need a

Re: Can't remember: way to add properties files for validators?

2011-02-10 Thread Igor Vaynberg
yes. added in both 1.4 and 1.5 i think. MyValidator.properties next to MyValidator.class -igor On Thu, Feb 10, 2011 at 9:58 AM, Jeremy Thomerson jer...@wickettraining.com wrote: Someone asked today, and I can't remember I think the answer is no.  Is there a way to add a properties file

Re: Can't remember: way to add properties files for validators?

2011-02-10 Thread Jeremy Thomerson
Hmm just tried it in 1.4 and it worked in one example, and not in another. I'll look at it more tonight when I'm through with this training class and add a JIRA if it has a bug. Thanks! -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org* On

Where are 1.4-snapshot jars automatically built now?

2011-02-10 Thread Jeremy Thomerson
Wicketstuff repo only has from last June. Where are the current snapshots? I just realized that my quickstart was pulling from old jars that don't even have onConfigure. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org*

Re: final Page.onInitialize()

2011-02-10 Thread Clint Checketts
Hans, I'm agreeing. I'm just saying that if you start treating the onIniliaze() as the place to create your components then you are stuck with the same problem as before: class MyPage { MyPage() { } * onInitialize() Using onInitialize in the page doesn't give you anything, so that

Re: Where are 1.4-snapshot jars automatically built now?

2011-02-10 Thread Igor Vaynberg
i wonder if hudson is publishing them somewhere... -igor On Thu, Feb 10, 2011 at 12:17 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Wicketstuff repo only has from last June.  Where are the current snapshots?  I just realized that my quickstart was pulling from old jars that don't

Re: Where are 1.4-snapshot jars automatically built now?

2011-02-10 Thread Attila Király
This one gets 1.4 and 1.5 snapshots regularly from somewhere: https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/ https://repository.apache.org/content/repositories/snapshots/org/apache/wicket/ 2011/2/10 Igor Vaynberg igor.vaynb...@gmail.com i wonder if hudson is

Re: Where are 1.4-snapshot jars automatically built now?

2011-02-10 Thread Jeremy Thomerson
Ah, thanks. I think we should probably add that as a repo for our quickstart. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org* On Fri, Feb 11, 2011 at 12:38 AM, Attila Király kiralyattila...@gmail.comwrote: This one gets 1.4 and 1.5