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: ADF Faces/Trinidad Shale?

2006-10-23 Thread Anthony Yulo
Hi. I used the cleaned-up version of web.xml. But Im still getting the same error: No AdfRenderingContext -Original Message- From: Simon Lessard [mailto:[EMAIL PROTECTED] Sent: Friday, October 20, 2006 9:53 PM To: adffaces-dev@incubator.apache.org Subject: Re: ADF Faces/Trinidad

RE: ADF Faces/Trinidad Shale?

2006-10-23 Thread Anthony Yulo
Hi Mathias, Yes pls. I want to know if there is an issue between using servlets and filters with the commercial ADF Faces and with Trinidad. Actually I already tried using Mabon, I added the necessary entries for Mabon servlet, and I still get the same error: No AdfRenderingContext.

trinidad build taking time

2006-10-23 Thread Piyush Hari
My trinidad build is taking a lot of time. It seems to get stuck here for a while. Anyone else, facing the same delay ? Is this related to the scheduled downtime ? [INFO] snapshot org.apache.myfaces.trinidadbuild:maven-faces-plugin:incubator-m1 -SNAPSHOT: checking for updates from

Re: trinidad build taking time

2006-10-23 Thread Matthias Wessendorf
people.apache-mirror is currently down. this is one of the less interesting servers at the ASF. Only snapshot's and podlings deploy their stuff to it... Others might be ok, but some have still DNS issues with other asf servers... Tomorrow should be better :) -M On 10/23/06, Piyush Hari

Re: Formatting locale vs. translation locale

2006-10-23 Thread Arash Rajaeeyan
Hi adam I have some experience of using ADF in countries which English is not primary language and their software needed to support more than one language at the same time. having a RequestContext.getFormattingLocale() looks like a nice idea to me, and it makes it easier to add

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: Formatting locale vs. translation locale

2006-10-23 Thread Matthias Wessendorf
+1 for the FormatingLocale(); you mean facesCtx.getViewRoot().getLocale() right? that's what the Trin Number/DateTime currently use when locale not set. -M On 10/23/06, Adam Winer [EMAIL PROTECTED] wrote: JSF currently has support for one Locale, off of FacesContext.getLocale(). It's also

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.

Re: Re: Formatting locale vs. translation locale

2006-10-23 Thread Adam Winer
Yep, that's the idea. -- Adam On 10/23/06, Gabrielle Crawford [EMAIL PROTECTED] wrote: +1 for a formatting locale. If I'm understanding you correctly the formatting locale would only be used for formatting, meaning 11-7-06 in the US and 7-11-06 in Germany, but the error string will still use

Re: Re: Formatting locale vs. translation locale

2006-10-23 Thread Adam Winer
Arash, ViewHandler.calculateLocale() is used to set the Locale on the UIViewRoot; so no conflicts really. They're different Locales. There's two possibilities here, though, for the default behavior: (1) RequestContext.getFormattingLocale() defaults to just returning null; so,