[announce] wicket 1.4.x branched

2009-08-20 Thread Igor Vaynberg
Wicket 1.4.x has been branched and now lives in https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x Trunk is now what will become 1.5.0. Trunk may be broken in the early days of development and contain a lot of API breaks, so if you are following bleeding edge you may want to do so on

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Antony Stubbs
Apologies if this is known, but is there anywhere noted the plan for 1.5? Also, I'd like to look back at the portal events work I did, and try and get that into 1.5. What would be the process for doing so? In terms of making a branch, or just re-patching, or do I just need to get the

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Jeremy Thomerson
On Thu, Aug 20, 2009 at 11:51 AM, Antony Stubbsantony.stu...@gmail.com wrote: Apologies if this is known, but is there anywhere noted the plan for 1.5? http://www.google.com/search?q=wicket+1.5 http://cwiki.apache.org/WICKET/wicket-15-wish-list.html Also, I'd like to look back at the portal

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Antony Stubbs
There us already a working patch since early this year. I just need to update it to trunk which shouldn't be a big deal. Regards, Antony Stubbs website: sharca.com On 20/08/2009, at 7:58 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: come up with a proposal we can discuss. when we

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Matej Knopp
Hi, actually the changes in 1.5 might be quite drastic as far as wicket internals are concerned. I've already rewritten the request cycle, url processing and page management. I'm not sure how much of it will actually get to trunk though. You can take a look at the code here if you are interested:

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Martijn Dashorst
It would be nice to get some guidance towards the goals, and architecture of your new design before we commit to it. Just looking at the code doesn't reveal intention or the bigger picture. Martijn On Thu, Aug 20, 2009 at 8:09 PM, Matej Knoppmatej.kn...@gmail.com wrote: Hi, actually the

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Igor Vaynberg
the intention is to drastically simply the process of going from a url to a page. right now we have the filter-requestcycle-processor-coding strategy-target-page. everything between the filter and the page is very complicated. we would like to clean it up and simplify it. our url handling is a

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Jeremy Thomerson
+100 as a side note, I work for an audio and web conferencing company, so if at some point it would be beneficial for the developers to actually *talk* about this over phone, or collaborate online, let me know and I can setup an account for this. we have or can obtain numbers in quite a few

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Douglas Ferguson
I agree that this area could benefit from a redesign. I specifically found it difficult when writing a RequestHandler that would redirect request from ssl to non-ssl depending no the page type. I.E. Login is redirected to HTTPS, then regular page redirects you back to HTTP D/ On 8/20/09

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Matej Knopp
I'll try to find some time to write an overview of the experimental branch. But the code is an order of magnitude simpler than current Wicket codes and about the same amount less tangled. It also does lot less though :) (some of that is intentional). I have basically rewritten the most messy

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Douglas Ferguson
No.. I just finally set our pom to 1.4 and dealing with the 4,000 warnings! I'm wondering what other folks are doing for thinks like Link(s) or simple components that don't make use of a model. In some cases I've just added String to make eclipse stop complaining... I'll look into @RequireHttps,

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Matej Knopp
If your component does not use model you can use Void. -Matej On Fri, Aug 21, 2009 at 12:54 AM, Douglas Fergusondoug...@douglasferguson.us wrote: No.. I just finally set our pom to 1.4 and dealing with the 4,000 warnings! I'm wondering what other folks are doing for thinks like Link(s) or

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Douglas Ferguson
Something that I've encounter that I found frustrating that might be worth considering in the new design: Construct a page... Realize you need to forward to another page, Call setResponsePage(...) If the constructor short circuits when it realizes that the request is getting forwarded, Wicket

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Douglas Ferguson
Wow.. Cool.. Thanks! Another one that I had trouble with was ModelListMyPojo I'm guessing cuz the compiler/ide doesn't see List as Serializable. D/ On 8/20/09 5:57 PM, Matej Knopp matej.kn...@gmail.com wrote: If your component does not use model you can use Void. -Matej On Fri, Aug 21, 2009

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Igor Vaynberg
thats why we have RestartResponseException(page) -igor On Thu, Aug 20, 2009 at 4:01 PM, Douglas Fergusondoug...@douglasferguson.us wrote: Something that I've encounter that I found frustrating that might be worth considering in the new design: Construct a page... Realize you need to

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Matej Knopp
This really isn't the right thread... -Matej On Fri, Aug 21, 2009 at 1:03 AM, Douglas Fergusondoug...@douglasferguson.us wrote: Wow.. Cool.. Thanks! Another one that I had trouble with was ModelListMyPojo I'm guessing cuz the compiler/ide doesn't see List as Serializable. D/ On 8/20/09

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Douglas Ferguson
Sorry.. I know.. Didn't mean for it to go there. On 8/20/09 6:05 PM, Matej Knopp matej.kn...@gmail.com wrote: This really isn't the right thread... -Matej On Fri, Aug 21, 2009 at 1:03 AM, Douglas Fergusondoug...@douglasferguson.us wrote: Wow.. Cool.. Thanks! Another one that I had trouble

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Douglas Ferguson
It seems odd to throw an exception to control flow in a non error state, that's why I was suggesting that you consider a different approach in 1.5 D/ On 8/20/09 6:03 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: thats why we have RestartResponseException(page) -igor On Thu, Aug 20, 2009

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Igor Vaynberg
doesnt seem that weird if you want to abort the creation of an object - that is what you want here dont you? if you know of another construct in java that will let us do that i am all ears. -igor On Thu, Aug 20, 2009 at 4:10 PM, Douglas Fergusondoug...@douglasferguson.us wrote: It seems odd to

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Igor Vaynberg
see Model.ofList(list) -igor On Thu, Aug 20, 2009 at 4:03 PM, Douglas Fergusondoug...@douglasferguson.us wrote: Wow.. Cool.. Thanks! Another one that I had trouble with was ModelListMyPojo I'm guessing cuz the compiler/ide doesn't see List as Serializable. D/ On 8/20/09 5:57 PM, Matej

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Douglas Ferguson
It isn't my constructor I'm trying to abort. It is the wicket code that expects me to add certain objects to the page. If I've already told it that I want to forward to another page, why should it care that I didn't add X component to the page or the heirarchy doesn't match D/ On 8/20/09 6:14

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Igor Vaynberg
On Thu, Aug 20, 2009 at 4:19 PM, Douglas Fergusondoug...@douglasferguson.us wrote: It isn't my constructor I'm trying to abort. no? so you let it finish running after setresponsepage()? -igor It is the wicket code that expects me to add certain objects to the page. If I've already told it

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Douglas Ferguson
This is what I tried to do that would error out. Page(){ if(condition){ setResponsePage() }else{ //add components } } On 8/20/09 6:26 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: On Thu, Aug 20, 2009 at 4:19 PM, Douglas Fergusondoug...@douglasferguson.us wrote:

Re: [announce] wicket 1.4.x branched

2009-08-20 Thread Igor Vaynberg
looks like you are aborting the constructor to me. -igor On Thu, Aug 20, 2009 at 5:04 PM, Douglas Fergusondoug...@douglasferguson.us wrote: This is what I tried to do that would error out. Page(){    if(condition){       setResponsePage()    }else{       //add components   } } On