Re: [PORTAL] Custom lifecycle?

2006-10-26 Thread Adam Winer
OK, definitely seems worthwhile at least as an initial approach. (I wish JSF made it easier to register custom lifecycles, but that's not our issue!) -- Adam On 10/25/06, Scott O'Bryan [EMAIL PROTECTED] wrote: You know you can do that all in one phase listener, right? It's really not

Re: [PORTAL] Custom lifecycle?

2006-10-25 Thread Scott O'Bryan
You know you can do that all in one phase listener, right? It's really not much code at all to implement an algorithm like this. Yes, but even the code in 10.1.3.2 which doesn't take phases into account is somewhat scary. :) Adding logic to figure out what phase is next is a lot more

Re: [PORTAL] Custom lifecycle?

2006-10-23 Thread Adam Winer
On 10/20/06, Scott O'Bryan [EMAIL PROTECTED] wrote: My question is this, is there any reason we can't provide our own custom lifecycle object that decorates the default one and allows us to run our initialization code on the execute and render? If so, the code to manage things like the

Re: [PORTAL] Custom lifecycle?

2006-10-23 Thread Scott O'Bryan
Arash, Hey Arash, thanks for the links. The problem is that finding an AJAX solution will pretty much trump any other work we have. While certain portal implementations can be exploited to provide what is needed for AJAX, none of them are guaranteed with JSR-168. The real problem with

Re: [PORTAL] Custom lifecycle?

2006-10-23 Thread Scott O'Bryan
Matthias, I think that's true as well. There is no guaranteed order for phase listeners and whatnot. Ideally our initialization needs to happen before other phase listeners run. Scott Matthias Wessendorf wrote: Just a question regarding this: -Isn't it the case that you can't specifiy a

Re: [PORTAL] Custom lifecycle?

2006-10-23 Thread Arash Rajaeeyan
Hi scott, you are right JSR 286 has non of these problems because they have added Resource Serving and Portlet filter concepts: PLT.13 page 67 Resource serving – provides ability for a portlet to serve a resource.. PLT 19 page 199 Portlet filter – allowing on the fly transformations of

Re: [PORTAL] Custom lifecycle?

2006-10-23 Thread Arash Rajaeeyan
if we forget about ajax what about immediate, is there any facility in trinidad which shortcuts lifecycle? On 10/24/06, Scott O'Bryan [EMAIL PROTECTED] wrote: Arash, Hey Arash, thanks for the links. The problem is that finding an AJAX solution will pretty much trump any other work we have.

[PORTAL] Custom lifecycle?

2006-10-20 Thread Scott O'Bryan
Hey everyone, I'm going to be starting the portlet work on this starting next week. Yes, they are actually paying me to fix this stuff :)... So I was going over some of my strategies for doing some of this work. One of the major problems with using Trinidad with a portal environment are