[Trinidad 2.0] introducing ProjectStage API

2009-12-02 Thread Matthias Wessendorf
Hi, here is a (complete?) list of all Trinidad configuration parameters: * System Properties ( => System.getProperty()): org.apache.myfaces.trinidad.CHECK_STATE_SERIALIZATION documentation is here: http://issues.apache.org/jira/browse/TRINIDAD-1245 http://myfaces.apache.org/trinidad/trinidad-

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-02 Thread Bruno Aranda
Hi, I do agree. The list looks fine to me, and yes, we should allow the users to override parameters when they wish so in the web.xml. Cheers, Bruno 2009/12/2 Matthias Wessendorf > Hi, > > here is a (complete?) list of all Trinidad configuration parameters: > > * System Properties ( => System

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-02 Thread Matthias Wessendorf
Hi, I created a quick wiki page for to cover our "research": http://wiki.apache.org/myfaces/Trinidad_goes_ProjectStage -Matthias On Wed, Dec 2, 2009 at 10:49 AM, Bruno Aranda wrote: > Hi, > > I do agree. The list looks fine to me, and yes, we should allow the users to > override parameters whe

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-02 Thread Martin Koci
Hi, does trinidad reload both JSP and facelets views if org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION=true? For facelets based views there is a new JSF 2.0 param javax.faces.FACELETS_REFRESH_PERIOD (-1 = never reload, 0=always, 1,2, 3,.. - check interval) but it's relation to project stage

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-02 Thread Jakob Korherr
Hi, I think the best way would be that the init parameters have stage related standard values (actually that what Matthias suggested), for example: If we are in ProjectStage.Production the standard value of org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION is false, otherwise it is true. B

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-02 Thread Matthias Wessendorf
yep, that's what I was saying On Wed, Dec 2, 2009 at 3:04 PM, Jakob Korherr wrote: > Hi, > > I think the best way would be that the init parameters have stage related > standard values (actually that what Matthias suggested), for example: > > If we are in ProjectStage.Production the standard valu

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-02 Thread Matthias Wessendorf
Ok, I added some value suggestions to those guys that we identified to fit into the ProjectStage API: -org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT * Production => FALSE * other stages => TRUE -org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION * Production => FALSE * other stages => TR

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-02 Thread Martin Koci
Hi, my question was not clear probably, so I try to reformulate it: - Trindad has param CHECK_FILE_MODIFICATION - JSF 2.0 has param FACELETS_REFRESH_PERIOD - javax.faces.ProjectStage is a general parameter at higher level of abstraction than previous two - FACELETS_REFRESH_PERIOD vs. ProjectSta

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-02 Thread Pavitra Subramaniam
"Matthias Wessendorf wrote:" On 12/2/2009 10:43 AM PT: Ok, I added some value suggestions to those guys that we identified to fit into the ProjectStage API: -org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT * Production => FALSE * other stages => TRUE +1. although I think if a user were to ch

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-02 Thread Matthias Wessendorf
On Wed, Dec 2, 2009 at 8:32 PM, Martin Koci wrote: > Hi, > > my question was not clear probably, so I try to reformulate it: > > - Trindad has param  CHECK_FILE_MODIFICATION > - JSF 2.0 has param FACELETS_REFRESH_PERIOD > - javax.faces.ProjectStage is a general parameter at higher level of > abstr

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-02 Thread Matthias Wessendorf
On Wed, Dec 2, 2009 at 8:52 PM, Pavitra Subramaniam wrote: > "Matthias Wessendorf wrote:" On 12/2/2009 10:43 AM PT: > > Ok, > > I added some value suggestions to those guys that we identified to fit > into the ProjectStage API: > > > -org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT > * Production =>

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-08 Thread Matthias Wessendorf
ok, I updated the wiki: I will continue with these values, as there was no concern against them. regarding the hidden, unspecified "javax.faces.FACELETS_REFRESH_PERIOD" parameter, I will follow up in a different thread. -Matthias On Wed, Dec 2, 2009 at 9:06 PM, Matthias Wessendorf wrote: > On

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-08 Thread Matthias Wessendorf
http://wiki.apache.org/myfaces/Trinidad_goes_ProjectStage On Tue, Dec 8, 2009 at 5:54 PM, Matthias Wessendorf wrote: > ok, > > I updated the wiki: > > I will continue with these values, as there was no concern against them. > > regarding the hidden, unspecified > "javax.faces.FACELETS_REFRESH_PER

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-10 Thread Jeanne Waldman
I agree with your list Matthias. Jeanne Matthias Wessendorf wrote, On 12/8/2009 8:56 AM PT: http://wiki.apache.org/myfaces/Trinidad_goes_ProjectStage On Tue, Dec 8, 2009 at 5:54 PM, Matthias Wessendorf wrote: ok, I updated the wiki: I will continue with these values, as there

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-10 Thread Matthias Wessendorf
awesome. I plan to start development on that next week... Till than you can change your mind :-) -Matthias On Thu, Dec 10, 2009 at 7:08 PM, Jeanne Waldman wrote: > I agree with your list Matthias. > Jeanne > > Matthias Wessendorf wrote, On 12/8/2009 8:56 AM PT: > > http://wiki.apache.org/myface

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-11 Thread Simon Lessard
Looks good to me as well. I've got to admit that this ProjectStage thing seems to get more useful than what I was thinking when I first saw it pop on the EG list On Thu, Dec 10, 2009 at 1:12 PM, Matthias Wessendorf wrote: > awesome. > > I plan to start development on that next week... Till than y

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-11 Thread Matthias Wessendorf
On Fri, Dec 11, 2009 at 4:40 PM, Simon Lessard wrote: > Looks good to me as well. I've got to admit that this ProjectStage thing > seems to get more useful than what I was thinking when I first saw it pop on > the EG list +1 same here :-) I love the feature now :-) > > On Thu, Dec 10, 2009 at 1:

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-17 Thread Matthias Wessendorf
I will ignore the temporary "org.apache.myfaces.trinidadinternal.ENABLE_PPR_OPTIMIZATION" parameter, until we know more. See here: http://markmail.org/message/dqgeqwkzdwjkrhgm -Matthias On Tue, Dec 8, 2009 at 5:56 PM, Matthias Wessendorf wrote: > http://wiki.apache.org/myfaces/Trinidad_goes_Pro

Re: [Trinidad 2.0] introducing ProjectStage API

2009-12-17 Thread Matthias Wessendorf
I had another question regarding the "CHECK_STATE_SERIALIZATION" parameter (check dev@) patch for the other items is attached to: https://issues.apache.org/jira/browse/TRINIDAD-1652 Also, check: https://issues.apache.org/jira/browse/TRINIDAD-1661 https://issues.apache.org/jira/browse/TRINIDAD-166