IUnversionedBehaviorListener

2007-05-04 Thread Juergen Donnerstag
May be it is too early, but I have a strange problem. I'm currently playing with backporting some MarkupParser functionality which makes it is more easy to add IMarkupFilter and insert them at the right (user determined) place. This is the original junit output of SimpleTestPanelTest: ...IUnvers

Re: isFirstAttach() convenience method

2007-05-04 Thread Jonathan Locke
oh that's right. i totally forgot about that semantics change. is that already in trunk? i think this since this is really just for initing components that need context, under the new semantics we would only need isFirstRender and isFirstRenderAfterAdd. that seems fairly clean and self-explanato

Re: isFirstAttach() convenience method

2007-05-04 Thread Igor Vaynberg
will we also have isFirstBeforeRender and isFirstBeforeRenderAfterAdd? since in onattach you cannot modify component hierarchy anymore, and you shouldnt really be attaching models in onbeforerender. -igor On 5/4/07, Jonathan Locke <[EMAIL PROTECTED]> wrote: right. well, if the component wa

Re: isFirstAttach() convenience method

2007-05-04 Thread Jonathan Locke
right. well, if the component wants to check for re-init, the method should definitely not be called isFirstAttach() because a re-init is not a first attachment. i think there's a compelling and very common use case for one-shot isFirstAttach() that works exactly like a constructor with the r

VOTE: EmptyPanel

2007-05-04 Thread Jonathan Locke
so i propose a vote to add this. i'm +1. Eelco Hillenius wrote: > > Yeah. I actually think I proposed something like this, or at least > +1-ed one at more than a year ago. You'll have to dig in the archives > to find out why other people didn't agree back then, but I still think > it's much e

Re: Concept: Methods versus Listeners

2007-05-04 Thread Eelco Hillenius
We (Johan and me) actually discussed this with Jonathan right after we became active. Jonathan's reason was that he thought it was just simpler/ more straightforward. On top of that, it saves a little bit of memory. Imho, I could live with both, but my preference now would be to keep what we have

Re: Concept: Methods versus Listeners

2007-05-04 Thread Igor Vaynberg
wicket uses callback methods instead of listeners for a simple reason: it is a smaller memory footprint - there is no list to store, no listener implementations to serialize. it is further my experience that you very very rarely need more then one listener, so it cannot justify the overhead imho.

Concept: Methods versus Listeners

2007-05-04 Thread Bruno Borges
When I've started using Wicket few months ago, I found myself wondering: why do I have to override methods instead add listeners to my component? Developing forms is quite strange to me, when I have to override the onSubmit() method. If we say "Swing-like OO Component Model", why there's no liste

Re: EmptyPanel?

2007-05-04 Thread Eelco Hillenius
Yeah. I actually think I proposed something like this, or at least +1-ed one at more than a year ago. You'll have to dig in the archives to find out why other people didn't agree back then, but I still think it's much easier for users to discover something just because it has an obvious name, and

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Eelco Hillenius
On 5/4/07, Upayavira <[EMAIL PROTECTED]> wrote: > So, do we want to propose graduation? > > [+1 ] Yes, propose Wicket for Graduation Definitely - and (briefly) meeting some of the Wicket guys here at ApacheCon has been a pleasure! Likewise. Let's do that more often! Eelco

Re: isFirstAttach() convenience method

2007-05-04 Thread Igor Vaynberg
as of yesterday it is -igor On 5/4/07, Ivo van Dongen <[EMAIL PROTECTED]> wrote: On 5/4/07, James McLaughlin <[EMAIL PROTECTED]> wrote: > > fwiw, i've occasionally wanted an onRemove callback in the component (and > now behavior :) ) Did I mis something? Is it possible to remove behaviors

Re: isFirstAttach() convenience method

2007-05-04 Thread Ivo van Dongen
On 5/4/07, James McLaughlin <[EMAIL PROTECTED]> wrote: fwiw, i've occasionally wanted an onRemove callback in the component (and now behavior :) ) Did I mis something? Is it possible to remove behaviors now? That would be great, this was something I ran into last week with a timer behavior.

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Julian Klappenbach
Having worked with many Apache based projects in the past, I'd say (for what my own voice is worth), that Wicket deserves graduation. Wicket is a well conceived architecture, and a model that should enjoy a healthy adoption rate. [+1] Yes, propose Wicket for Graduation -jjk On 5/4/07, Bertrand

Re: isFirstAttach() convenience method

2007-05-04 Thread Igor Vaynberg
well i dont know if you need second-phase-init then you are likely doing something that is "context-sensitive" because this context is the only thing you are missing in the constructor really. so when you move things around the context changes, so should the component reinit itself? -igor On

Re: isFirstAttach() convenience method

2007-05-04 Thread Jonathan Locke
good question. re-adding dynamism seems like a fairly unusual use case (can you think of any good ones?) so i think the answer is probably no. it seems like if you have a component that dynamically does things on being re-added you could manage that case on your own. igor.vaynberg wrote: >

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Bertrand Delacretaz
On 5/4/07, Upayavira <[EMAIL PROTECTED]> wrote: So, do we want to propose graduation? [+1 ] Yes, propose Wicket for Graduation Definitely - and (briefly) meeting some of the Wicket guys here at ApacheCon has been a pleasure! -Bertrand

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Bruno Borges
[X] Yes, propose Wicket for Graduation -- Bruno Borges Summa Technologies Inc. www.summa-tech.com (48) 8404-1300 (11) 3055-2060 On 5/4/07, Jan Vermeulen <[EMAIL PROTECTED]> wrote: [X] Yes, propose Wicket for Graduation Jan. -- View this message in context: http://www.nabble.com/-VOTE--Propos

Re: isFirstAttach() convenience method

2007-05-04 Thread James McLaughlin
fwiw, i've occasionally wanted an onRemove callback in the component (and now behavior :) ) hierarchy so the object can undo some of its "damage" when replaced. If we had this, then we could leave that issue to the developer's discretion. I've had to use the two phase init pattern occassionally, s

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Jan Vermeulen
[X] Yes, propose Wicket for Graduation Jan. -- View this message in context: http://www.nabble.com/-VOTE--Propose-Wicket-for-Graduation-tf3691551.html#a10324760 Sent from the Wicket - Dev mailing list archive at Nabble.com.

Re: isFirstAttach() convenience method

2007-05-04 Thread Igor Vaynberg
so is it a firstattach if you remove a component and then readd it at a later time? -igor On 5/4/07, Jonathan Locke <[EMAIL PROTECTED]> wrote: Although I do still think we should generally discourage two-phase construction, it is occasionally truly necessary and it seems like it might be nic

EmptyPanel?

2007-05-04 Thread Jonathan Locke
In my work project, I've added and frequently use an EmptyPanel which is simply a panel with empty markup. Although you can do the same thing with WebMarkupContainer or implement this yourself, it does seem like a nice conceptual addition, particularly for newbies who might not think "hmm... i wa

isFirstAttach() convenience method

2007-05-04 Thread Jonathan Locke
Although I do still think we should generally discourage two-phase construction, it is occasionally truly necessary and it seems like it might be nice to have a method up in Component that uses those component bits to return whether the component has been attached already. This way, when two phase

Backporting from 2.0: Session.attach() only called when session is created

2007-05-04 Thread Jan Vermeulen
In the former Wicket 2.0, the Session attach() was defined in WebSession, and called in WebSession:initForRequest(): /** * Initializes this session for a request. */ public final void initForRequest() { // Set the current session

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Xavier Hanin
[X] Yes, propose Wicket for Graduation On 5/4/07, Upayavira <[EMAIL PROTECTED]> wrote: After many discussions with folks here at ApacheCon EU, I have confirmed my previous feeling that Wicket is ready to graduate. The community is strong, a successful release has been made, and the community wo

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Juergen Donnerstag
[X] Yes, propose Wicket for Graduation Juergen

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Igor Vaynberg
[X] Yes, propose Wicket for Graduation -igor

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Jonathan Locke
[X] Yes, propose Wicket for Graduation Upayavira-2 wrote: > > After many discussions with folks here at ApacheCon EU, I have confirmed > my previous feeling that Wicket is ready to graduate. > > The community is strong, a successful release has been made, and the > community would really be

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Eelco Hillenius
[ x ] Yes, propose Wicket for Graduation [ ] No, Wicket is not ready to graduate Eelco

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Alex Karasulu
I couldn't be more supportive of doing this. IMO Wicket is the best community we have had in the incubator to date. On 5/4/07, Upayavira <[EMAIL PROTECTED]> wrote: [X] Yes, propose Wicket for Graduation Alex

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Ate Douma
[X] Yes, propose Wicket for Graduation Ate Upayavira wrote: After many discussions with folks here at ApacheCon EU, I have confirmed my previous feeling that Wicket is ready to graduate. The community is strong, a successful release has been made, and the community would really benefit from

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Gwyn Evans
On Friday, May 4, 2007, 12:23:37 PM, Upayavira <[EMAIL PROTECTED]> wrote: > So, do we want to propose graduation? [X] Yes, propose Wicket for Graduation /Gwyn

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Matej Knopp
[X] Yes, propose Wicket for Graduation [ ] No, Wicket is not ready to graduate -Matej On 5/4/07, Upayavira <[EMAIL PROTECTED]> wrote: After many discussions with folks here at ApacheCon EU, I have confirmed my previous feeling that Wicket is ready to graduate. The community is strong, a succes

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Martijn Dashorst
On 5/4/07, Upayavira <[EMAIL PROTECTED]> wrote: [X] Yes, propose Wicket for Graduation Martijn -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframewor

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Upayavira
Upayavira wrote: After many discussions with folks here at ApacheCon EU, I have confirmed my previous feeling that Wicket is ready to graduate. The community is strong, a successful release has been made, and the community would really benefit from the move to TLP. For this move, we as a com

Re: [VOTE] Propose Wicket for Graduation

2007-05-04 Thread Johan Compagner
[X ] Yes, propose Wicket for Graduation On 5/4/07, Upayavira <[EMAIL PROTECTED]> wrote: After many discussions with folks here at ApacheCon EU, I have confirmed my previous feeling that Wicket is ready to graduate. The community is strong, a successful release has been made, and the community

[VOTE] Propose Wicket for Graduation

2007-05-04 Thread Upayavira
After many discussions with folks here at ApacheCon EU, I have confirmed my previous feeling that Wicket is ready to graduate. The community is strong, a successful release has been made, and the community would really benefit from the move to TLP. For this move, we as a community need to agr

Re: Bamboo Trunk build

2007-05-04 Thread Erik van Oosten
No no, the wiki is fine, it is just located in another sub-directory! > fix wiki! :) > > On 5/4/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: >> >> Oosp, I found it at >> http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/! >> Of course, the groupid changed. >> >> > Hi, >> > >> > Th

Re: Bamboo Trunk build

2007-05-04 Thread Johan Compagner
fix wiki! :) On 5/4/07, Erik van Oosten <[EMAIL PROTECTED]> wrote: Oosp, I found it at http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/! Of course, the groupid changed. Have fun, Erik. > Hi, > > The wiki page > http://cwiki.apache.org/confluence/display/WICKET/Wicket+fro

Re: Bamboo Trunk build

2007-05-04 Thread Erik van Oosten
Oosp, I found it at http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/! Of course, the groupid changed. Have fun, Erik. > Hi, > > The wiki page > http://cwiki.apache.org/confluence/display/WICKET/Wicket+from+source says > that you can find the latest snapshots on > http://wick

Bamboo Trunk build

2007-05-04 Thread Erik van Oosten
Hi, The wiki page http://cwiki.apache.org/confluence/display/WICKET/Wicket+from+source says that you can find the latest snapshots on http://wicketstuff.org/maven/repository/wicket/wicket/. There is no such build for the trunk. Will this be added? Regards, Erik. -- Erik van Oosten http://ww