Re: Conversation scope in wicket

2009-06-19 Thread janneru
hi jamesjoe, which are the issues with clint popetz's current work on the webbeans-wicket integration (already contained in the webbeans preview) that you would write your own? cheers, uwe. On Thu, Jun 18, 2009 at 8:05 PM, James Carman jcar...@carmanconsulting.comwrote: JSR-299 is somewhat

Re: Conversation scope in wicket

2009-06-19 Thread James Carman
#1, I didn't know about it. #2, I wanted to get familiar with JSR-299, so having to write an integration is a pretty good way to get down and dirty. :) On Fri, Jun 19, 2009 at 3:43 AM, jannerujan.ne...@googlemail.com wrote: hi jamesjoe, which are the issues with clint popetz's current work

Re: Conversation scope in wicket

2009-06-19 Thread Joe Fawzy
Hi dearfirst of all, why add another dependency,just for conversation handling, while we have in wicket a strong ground for it note: jsr299 is a big spec with a somehow complex lifecycle(which may not be compatible with that of wicket) and really complicated bean resolution strategy second:

Re: Conversation scope in wicket

2009-06-18 Thread svenmeier
this message in context: http://www.nabble.com/Conversation-scope-in-wicket-tp24078377p24088943.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: Conversation scope in wicket

2009-06-18 Thread Johan Compagner
,mergeConversation ,suspendConversation,resumeConversation and other concepts like workspace what do u think? Joe -- View this message in context: http://www.nabble.com/Conversation-scope-in-wicket-tp24078377p24088943.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Conversation scope in wicket

2009-06-18 Thread Carl-Eric Menzel
+1 I fully agree. Conversation scope is a kludge for a broken model, and in the end nothing more than a specialized form of global variables. Just put your state into the appropriate page or component instances and/or models, and you get *any* scope you need, for free. Carl-Eric On Thu, 18

Re: Conversation scope in wicket

2009-06-18 Thread James Carman
On Thu, Jun 18, 2009 at 7:07 AM, Carl-Eric Menzel cm.wic...@users.bitforce.com wrote: +1 I fully agree. Conversation scope is a kludge for a broken model, and in the end nothing more than a specialized form of global variables. To which model are you referring? Just put your state into

Re: Conversation scope in wicket

2009-06-18 Thread Carl-Eric Menzel
On Thu, 18 Jun 2009 07:21:36 -0400 James Carman jcar...@carmanconsulting.com wrote: I fully agree. Conversation scope is a kludge for a broken model, and in the end nothing more than a specialized form of global variables. To which model are you referring? Not a model in the Wicket

Re: Conversation scope in wicket

2009-06-18 Thread James Carman
On Thu, Jun 18, 2009 at 7:46 AM, Carl-Eric Menzel cm.wic...@users.bitforce.com wrote: Then you already have an object that your components can work on. Put that in a Wicket model and enjoy. My point is this: You either have existing business code that supports conversations - then you don't

Re: Conversation scope in wicket

2009-06-18 Thread Carl-Eric Menzel
On Thu, 18 Jun 2009 08:10:33 -0400 James Carman jcar...@carmanconsulting.com wrote: On Thu, Jun 18, 2009 at 7:46 AM, Carl-Eric Menzel cm.wic...@users.bitforce.com wrote: Then you already have an object that your components can work on. Put that in a Wicket model and enjoy. My point is this:

Re: Conversation scope in wicket

2009-06-18 Thread James Carman
On Thu, Jun 18, 2009 at 8:27 AM, Carl-Eric Menzel cm.wic...@users.bitforce.com wrote: The idea of a conversation has been around for a long time.  It's called a stateful session bean. You have a point there. But I think this is all provided by Wicket already - You have components and models

Re: Conversation scope in wicket

2009-06-18 Thread Joe Fawzy
getconversation(ipagemap pmap) { return conversations.get(pmap.getid()); } } -igor On Wed, Jun 17, 2009 at 10:29 AM, Joe Fawzy joewic...@gmail.com wrote: Hi alli need to implement something like a conversation scope in wicket i

Re: Conversation scope in wicket

2009-06-18 Thread Joe Fawzy
Hi all On Thu, Jun 18, 2009 at 7:44 AM, James Carman jcar...@carmanconsulting.comwrote: On Thu, Jun 18, 2009 at 12:38 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you are free to implement this as an open source addition to wicket. there is wicketstuff or googlecode or sf.net where

Re: Conversation scope in wicket

2009-06-18 Thread James Carman
JSR-299 is somewhat of a moving target right now, so it's hard to stay up-to-date with it. I'm mainly working with the OpenWebBeans folks on it. On Thu, Jun 18, 2009 at 2:03 PM, Joe Fawzy joewic...@gmail.com wrote: Hi all On Thu, Jun 18, 2009 at 7:44 AM, James Carman

Re: Conversation scope in wicket

2009-06-18 Thread Joe Fawzy
()); } } in your last code line , do you mean pmap.getName() instead of pmap.getId() as i cannot find a public getId() in ipagemap thanks Joe -igor On Wed, Jun 17, 2009 at 10:29 AM, Joe Fawzyjoewic...@gmail.com wrote: Hi alli need to implement something like a conversation scope in wicket i know

Conversation scope in wicket

2009-06-17 Thread Joe Fawzy
Hi alli need to implement something like a conversation scope in wicket i know that wicket is stateful by default and i can pass object o from page A - page B But if Object o in page A which - page B - page C - page D - page E and i need Object o in page E ,that will be very tedious to pass o all

Re: Conversation scope in wicket

2009-06-17 Thread Igor Vaynberg
to implement something like a conversation scope in wicket i know that wicket is stateful by default and i can pass object o from page A - page B But if Object o in page A which - page B - page C - page D - page E and i need Object o in page E ,that will be very tedious to pass o all throught

Re: Conversation scope in wicket

2009-06-17 Thread Joe Fawzy
like a conversation scope in wicket i know that wicket is stateful by default and i can pass object o from page A - page B But if Object o in page A which - page B - page C - page D - page E and i need Object o in page E ,that will be very tedious to pass o all throught the way from

Re: Conversation scope in wicket

2009-06-17 Thread Igor Vaynberg
) {        return conversations.get(pmap.getid());  } } -igor On Wed, Jun 17, 2009 at 10:29 AM, Joe Fawzyjoewic...@gmail.com wrote: Hi alli need to implement something like a conversation scope in wicket i know that wicket is stateful by default and i can pass object o from page A - page B

Re: Conversation scope in wicket

2009-06-17 Thread Joe Fawzy
, Joe Fawzyjoewic...@gmail.com wrote: Hi alli need to implement something like a conversation scope in wicket i know that wicket is stateful by default and i can pass object o from page A - page B But if Object o in page A which - page B - page C - page D - page E and i need

Re: Conversation scope in wicket

2009-06-17 Thread Igor Vaynberg
) {        return conversations.get(pmap.getid());  } } -igor On Wed, Jun 17, 2009 at 10:29 AM, Joe Fawzyjoewic...@gmail.com wrote: Hi alli need to implement something like a conversation scope in wicket i know that wicket is stateful by default and i can pass object o from page

Re: Conversation scope in wicket

2009-06-17 Thread Joe Fawzy
conversations.get(pmap.getid()); } } -igor On Wed, Jun 17, 2009 at 10:29 AM, Joe Fawzyjoewic...@gmail.com wrote: Hi alli need to implement something like a conversation scope in wicket i know that wicket is stateful by default and i can pass object o from page

Re: Conversation scope in wicket

2009-06-17 Thread James Carman
getconversation(ipagemap pmap) { return conversations.get(pmap.getid()); } } -igor On Wed, Jun 17, 2009 at 10:29 AM, Joe Fawzyjoewic...@gmail.com wrote: Hi alli need to implement something like a conversation scope in wicket i know that wicket

Re: Conversation scope in wicket

2009-06-17 Thread Igor Vaynberg
conversations.get(pmap.getid());  } } -igor On Wed, Jun 17, 2009 at 10:29 AM, Joe Fawzyjoewic...@gmail.com wrote: Hi alli need to implement something like a conversation scope in wicket i know that wicket is stateful by default and i can pass object o

Re: Conversation scope in wicket

2009-06-17 Thread James Carman
On Thu, Jun 18, 2009 at 12:38 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you are free to implement this as an open source addition to wicket. there is wicketstuff or googlecode or sf.net where you can host it. wicket is a ui framework and conversational scope management falls outside

Re: Conversation scope in wicket

2009-06-17 Thread Igor Vaynberg
jira it up. -igor On Wed, Jun 17, 2009 at 9:44 PM, James Carmanjcar...@carmanconsulting.com wrote: On Thu, Jun 18, 2009 at 12:38 AM, Igor Vaynberg igor.vaynb...@gmail.com wrote: you are free to implement this as an open source addition to wicket. there is wicketstuff or googlecode or