[jira] Resolved: (MYFACES-2484) public final void pushComponentToEL(FacesContext context, UIComponent component) crashes if component is null

2010-01-14 Thread JIRA
[ https://issues.apache.org/jira/browse/MYFACES-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Weßendorf resolved MYFACES-2484. - Resolution: Fixed Fix Version/s: 2.0.0-alpha-2 public final void

[jira] Commented: (MYFACES-2484) public final void pushComponentToEL(FacesContext context, UIComponent component) crashes if component is null

2010-01-14 Thread JIRA
[ https://issues.apache.org/jira/browse/MYFACES-2484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12800147#action_12800147 ] Matthias Weßendorf commented on MYFACES-2484: - thanks for the patch Mark!

[jira] Commented: (MYFACES-2479) custom behavior makes form not to be submitted

2010-01-14 Thread Jakob Korherr (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12800158#action_12800158 ] Jakob Korherr commented on MYFACES-2479: posted in jsr-314-public forum:

[jira] Created: (MYFACES-2485) Ensure invocation of @PreDestroy methods on container shutdown/restart

2010-01-14 Thread Jakob Korherr (JIRA)
Ensure invocation of @PreDestroy methods on container shutdown/restart -- Key: MYFACES-2485 URL: https://issues.apache.org/jira/browse/MYFACES-2485 Project: MyFaces Core

[jira] Created: (MYFACES-2486) commandLink does now work inside t:columns f:facet name=header

2010-01-14 Thread Marek Majchrzak (JIRA)
commandLink does now work inside t:columnsf:facet name=header -- Key: MYFACES-2486 URL: https://issues.apache.org/jira/browse/MYFACES-2486 Project: MyFaces Core Issue

[TOMAHAWK] CDI contributions to tomahawk?

2010-01-14 Thread Mark Struberg
Hi folks! I'm working on the Apache Implementation of JSR-299 OpenWebBeans and I'm looking forward to add more support for JSF-2 via providing portable CDI extensions. I already implemented an Extension for the javax.faces.beans.ViewScoped in our openwebbeans-jsf module, but honestly think

Re: [TOMAHAWK] CDI contributions to tomahawk?

2010-01-14 Thread Matthias Wessendorf
Hey Mark, On Thu, Jan 14, 2010 at 1:41 PM, Mark Struberg strub...@yahoo.de wrote: Hi folks! I'm working on the Apache Implementation of JSR-299 OpenWebBeans and I'm looking forward to add more support for JSF-2 via providing portable CDI extensions. I already implemented an Extension for

[jira] Commented: (MYFACES-2485) Ensure invocation of @PreDestroy methods on container shutdown/restart

2010-01-14 Thread Bernhard Huemer (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12800189#action_12800189 ] Bernhard Huemer commented on MYFACES-2485: -- To be honest, I'd consider this as

Re: [core] Introduce ManagedBeanRegistry

2010-01-14 Thread Bernhard Huemer
Hey, sorry, I haven't noticed this thread, so I've already commented on the according JIRA issue (https://issues.apache.org/jira/browse/MYFACES-2485). Basically I've already mentioned it there, but I think the reason why only the contextDestroyed-callbacks are invoked is that Tomcat, by

Re: [core] Introduce ManagedBeanRegistry

2010-01-14 Thread Jakob Korherr
Hi, I just answered to your comment in the JIRA: So you're saying it would be better not to destroy all session beans on a container shutdown, because they are maybe serialized? Then what about a config parameter to turn this feature on or off? And what about view and request beans? Regards,

Re: [core] Introduce ManagedBeanRegistry

2010-01-14 Thread Mark Struberg
Session handling is a pretty complex topic. I assume that a HttpSessionListener#sessionDestroyed() is only be called if a) a session times out b) the server shuts down and no session persistence is available would that be an option? LieGrue, strub --- On Thu, 1/14/10, Jakob Korherr

[jira] Commented: (MYFACES-2485) Ensure invocation of @PreDestroy methods on container shutdown/restart

2010-01-14 Thread Bernhard Huemer (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12800198#action_12800198 ] Bernhard Huemer commented on MYFACES-2485: -- What I'm saying is basically don't

[jira] Commented: (MYFACES-2485) Ensure invocation of @PreDestroy methods on container shutdown/restart

2010-01-14 Thread Jakob Korherr (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12800205#action_12800205 ] Jakob Korherr commented on MYFACES-2485: The reason I opened this issue was

[ExtVal] refactoring of ReferencingStrategy to make it reusable, propertyValidationModule

2010-01-14 Thread Rudy De Busscher
hi all, The cross validation feature makes usage of the *ReferencingStrategy *implementations to find the other value for the comparison in the validation. The method *evaluateReferenceAndValidate *implements 2 kinds of functionality the evaluation of the reference and the validation (as the

Re: [ExtVal] refactoring of ReferencingStrategy to make it reusable, propertyValidationModule

2010-01-14 Thread Gerhard Petracek
hi, ReferencingStrategy is an internal concept (that's the reason why it isn't public and there is the marker UsageCategory.INTERNAL). (yes - the name should be different - at the beginning the plan was to implement exactly what you mentioned - but in the end there were some special reasons for

[jira] Commented: (MYFACES-2485) Ensure invocation of @PreDestroy methods on container shutdown/restart

2010-01-14 Thread Bernhard Huemer (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12800228#action_12800228 ] Bernhard Huemer commented on MYFACES-2485: -- Well, again I beg to differ, because

[jira] Commented: (MYFACES-2485) Ensure invocation of @PreDestroy methods on container shutdown/restart

2010-01-14 Thread Jakob Korherr (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12800231#action_12800231 ] Jakob Korherr commented on MYFACES-2485: Well, I did not think that far... So

[jira] Commented: (MYFACES-2485) Ensure invocation of @PreDestroy methods on container shutdown/restart

2010-01-14 Thread Bernhard Huemer (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12800252#action_12800252 ] Bernhard Huemer commented on MYFACES-2485: -- Yep, leaving it as it is is

[MyFaces 2] PSS in _DeltaList

2010-01-14 Thread Michael Kurz
Hi, I have an issue with partial state saving in _DeltaList. I have a page with a listener for PreRenderView. When I submit the page the listener is correctly set on building the view but is overwritten with null in _DeltaList.restoreState:310. This is done as the listener is transient and

Re: [Trinidad] Use of 'autoSub' event on client and AutoSubmitEvent on the server...

2010-01-14 Thread Blake Sullivan
Why isn't the ValueChangeEvent sufficient for the partial triggers? -- Blake Sullivan Gabrielle Crawford said the following On 1/14/2010 9:02 AM PT: Hi Pavitra, Pavitra Subramaniam wrote: 2. On the server side code in FormElementRenderer (and some of its sub-classed renderers) we call

Re: [MyFaces 2] PSS in _DeltaList

2010-01-14 Thread Leonardo Uribe
Hi In theory, a transient component should not survive a save/restore. If this is not true, pss will not be consistent, in other words, it will not work as jsf 1.2 state saving. I'm doing some tests related to MYFACES-2483 Find a way to allow c:if work with partial state saving enabled, and this

Re: [MyFaces 2] PSS in _DeltaList

2010-01-14 Thread Leonardo Uribe
2010/1/14 Leonardo Uribe lu4...@gmail.com Hi In theory, a transient component should not survive a save/restore. If this is not true, pss will not be consistent, in other words, it will not work as jsf 1.2 state saving. I'm doing some tests related to MYFACES-2483 Find a way to allow c:if

Re: [Trinidad] Use of 'autoSub' event on client and AutoSubmitEvent on the server...

2010-01-14 Thread Pavitra Subramaniam
On 1/14/2010 9:02 AM, Gabrielle Crawford wrote: Hi Pavitra, Pavitra Subramaniam wrote: 2. On the server side code in FormElementRenderer (and some of its sub-classed renderers) we call detectAutoSubmit() method that explicitly looks for the 'autoSub' event and queues an AutoSubmitEvent.

Re: [Trinidad] Use of 'autoSub' event on client and AutoSubmitEvent on the server...

2010-01-14 Thread Blake Sullivan
By default, any server event triggered by a component will ppr the components for which it is a partial trigger, so as long as the ShowDetailItem is already broadcasting a disclosure event, I don't know why we would need an AutoSubmitEvent as well in order for PPR to work. We might need these

[jira] Commented: (MYFACES-2466) NullPointerException in UIComponentBase.restoreDeltaSystemEventListenerClassMap() when UIViewRoot subscribed to PostAddToViewEvent

2010-01-14 Thread Leonardo Uribe (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12800296#action_12800296 ] Leonardo Uribe commented on MYFACES-2466: - Do you have any additional information

Re: [MyFaces 2] PSS in _DeltaList

2010-01-14 Thread Michael Kurz
Leonardo Uribe schrieb: In theory, a transient component should not survive a save/restore. If this is not true, pss will not be consistent, in other words, it will not work as jsf 1.2 state saving. I agree, but in this case the listener that was added on building the view is overwritten

Re: [MyFaces 2] PSS in _DeltaList

2010-01-14 Thread Leonardo Uribe
2010/1/14 Michael Kurz michi.k...@gmx.at Leonardo Uribe schrieb: In theory, a transient component should not survive a save/restore. If this is not true, pss will not be consistent, in other words, it will not work as jsf 1.2 state saving. I agree, but in this case the listener that was

Re: [MyFaces 2] PSS in _DeltaList

2010-01-14 Thread Michael Kurz
Leonardo Uribe schrieb: 2010/1/14 Michael Kurz michi.k...@gmx.at mailto:michi.k...@gmx.at Leonardo Uribe schrieb: In theory, a transient component should not survive a save/restore. If this is not true, pss will not be consistent, in other words, it will not work

Re: [MyFaces 2] PSS in _DeltaList

2010-01-14 Thread Leonardo Uribe
2010/1/14 Michael Kurz michi.k...@gmx.at Leonardo Uribe schrieb: 2010/1/14 Michael Kurz michi.k...@gmx.at mailto:michi.k...@gmx.at Leonardo Uribe schrieb: In theory, a transient component should not survive a save/restore. If this is not true, pss will not be

Re: [Trinidad] Use of 'autoSub' event on client and AutoSubmitEvent on the server...

2010-01-14 Thread Gabrielle Crawford
Sorry, for some reason I thought you were talking about other fields on the page triggering a valuechangeevent, so I was confused, but I agree the valueChangeEvent on the autosubmitted component will work. Thanks, Gab Pavitra Subramaniam wrote: On 1/14/2010 9:02 AM, Gabrielle Crawford

Re: [Trinidad] Use of 'autoSub' event on client and AutoSubmitEvent on the server...

2010-01-14 Thread Pavitra Subramaniam
On 1/14/2010 10:28 AM, Blake Sullivan wrote: By default, any server event triggered by a component will ppr the components for which it is a partial trigger, so as long as the ShowDetailItem is already broadcasting a disclosure event, I don't know why we would need an AutoSubmitEvent as well in

Re: [Trinidad] Use of 'autoSub' event on client and AutoSubmitEvent on the server...

2010-01-14 Thread Pavitra Subramaniam
On 1/14/2010 10:28 AM, Blake Sullivan wrote: By default, any server event triggered by a component will ppr the components for which it is a partial trigger, so as long as the ShowDetailItem is already broadcasting a disclosure event, I don't know why we would need an AutoSubmitEvent as well in

Re: [Trinidad] Use of 'autoSub' event on client and AutoSubmitEvent on the server...

2010-01-14 Thread Gabrielle Crawford
Pavitra Subramaniam wrote: I also noticed the following comment in the inner class, FormElementRenderer$AutoSubmitEvent, /** * Dummy class purely to get subforms to recognize that * an event has occurred */ static private final class AutoSubmitEvent extends FacesEvent {

Re: [TOMAHAWK] CDI contributions to tomahawk?

2010-01-14 Thread Gerhard Petracek
+1 for a new extensions module regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2010/1/14 Matthias Wessendorf mat...@apache.org Hey Mark, On Thu, Jan 14, 2010 at 1:41 PM, Mark

Re: [Trinidad][Skinning] Introduce include-Property in CSS

2010-01-14 Thread Jeanne Waldman
What is 'name'? Is that an alias? We distinguished between selector and name in XSS but we don't in the CSS format. We still do in the code, but the person working with the css shouldn't know the difference. Yes, the con of my suggestion is that order matters and the user needs to know what

[jira] Created: (TRINIDAD-1687) add a Skin api that will clear the skin file(s) and reload at runtime

2010-01-14 Thread Jeanne Waldman (JIRA)
add a Skin api that will clear the skin file(s) and reload at runtime - Key: TRINIDAD-1687 URL: https://issues.apache.org/jira/browse/TRINIDAD-1687 Project: MyFaces Trinidad

[TRINIDAD][API] TRINIDAD-1687 add a Skin api that will clear the skin file(s) and reload at runtime

2010-01-14 Thread Jeanne Waldman
I'm wondering if people are ok with this Skin API I plan to add for Issue 1687 We've had several requests where someone wants to reload the skin on demand but without needing the web.xml's CHECK_FILE_MODIFICATION flag on. On instance is the design time team who wants to muck with skins and

Re: [jira] Created: (TRINIDAD-1687) add a Skin api that will clear the skin file(s) and reload at runtime

2010-01-14 Thread Blake Sullivan
looks good. -- Blake Sullivan Jeanne Waldman (JIRA) said the following On 1/14/2010 4:08 PM PT: add a Skin api that will clear the skin file(s) and reload at runtime - Key: TRINIDAD-1687 URL:

Re: [TOMAHAWK] CDI contributions to tomahawk?

2010-01-14 Thread Jakob Korherr
also +1 for a new extensions module! ..and I'd really like to contribute to that too :) Regards, Jakob 2010/1/15 Gerhard Petracek gerhard.petra...@gmail.com +1 for a new extensions module regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and

Re: [TOMAHAWK] CDI contributions to tomahawk?

2010-01-14 Thread Mark Struberg
Oki, sounds good to me! Which things to start with? As I already explained, there may be a few scopes which might ease the life of a JSF developer. Another area are interceptors. Doing a @Transactional interceptor is pretty easy. @Secured interceptor? just a few ideas... And who is doing the

[Trinidad] Unable to create a private branch...

2010-01-14 Thread Pavitra Subramaniam
Hi, I have been working on the trinidad 2.0.x branch locally but would really like to save my changes in a private branch but for some reason, it looks like I have to be a committer (it does not accept my login) when I try to create a branch. Not sure if this is intentional, or perhaps I am

[jira] Resolved: (MYFACES-2487) DeltaList does not deal correctly with transient objects

2010-01-14 Thread Leonardo Uribe (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leonardo Uribe resolved MYFACES-2487. - Resolution: Fixed Fix Version/s: 2.0.0-alpha-2 DeltaList does not deal

[jira] Created: (MYFACES-2487) DeltaList does not deal correctly with transient objects

2010-01-14 Thread Leonardo Uribe (JIRA)
DeltaList does not deal correctly with transient objects Key: MYFACES-2487 URL: https://issues.apache.org/jira/browse/MYFACES-2487 Project: MyFaces Core Issue Type: Task

[jira] Reopened: (MYFACES-2473) Make listeners added by tag handlers transient

2010-01-14 Thread Leonardo Uribe (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leonardo Uribe reopened MYFACES-2473: - org.apache.myfaces.view.facelets.tag.composite.InsertChildrenHandler

[jira] Resolved: (MYFACES-2473) Make listeners added by tag handlers transient

2010-01-14 Thread Leonardo Uribe (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leonardo Uribe resolved MYFACES-2473. - Resolution: Fixed Make listeners added by tag handlers transient

Re: [TOMAHAWK] CDI contributions to tomahawk?

2010-01-14 Thread Matthias Wessendorf
On Fri, Jan 15, 2010 at 1:54 AM, Mark Struberg strub...@yahoo.de wrote: Oki, sounds good to me! Which things to start with? As I already explained, there may be a few scopes which might ease the life of a JSF developer. Another area are interceptors. Doing a @Transactional interceptor is

Re: [TOMAHAWK] CDI contributions to tomahawk?

2010-01-14 Thread Matthias Wessendorf
On Fri, Jan 15, 2010 at 7:14 AM, Matthias Wessendorf mat...@apache.org wrote: On Fri, Jan 15, 2010 at 1:54 AM, Mark Struberg strub...@yahoo.de wrote: Oki, sounds good to me! Which things to start with? As I already explained, there may be a few scopes which might ease the life of a JSF

Re: [jira] Created: (TRINIDAD-1687) add a Skin api that will clear the skin file(s) and reload at runtime

2010-01-14 Thread Matthias Wessendorf
sounds like a nice feature. +1 On Fri, Jan 15, 2010 at 1:13 AM, Blake Sullivan blake.sulli...@oracle.com wrote: looks good. -- Blake Sullivan Jeanne Waldman (JIRA) said the following On 1/14/2010 4:08 PM PT: add a Skin api that will clear the skin file(s) and reload at runtime

Re: [TOMAHAWK] CDI contributions to tomahawk?

2010-01-14 Thread Matthias Wessendorf
Hey Mark, I created the empty structure: https://svn.apache.org//repos/asf/myfaces/extensions/cdi/ regarding the pom.xml layout, please inherit from MyFaces_version:6: parent groupIdorg.apache.myfaces/groupId artifactIdmyfaces/artifactId version6/version /parent

[JIRA] adding new category for MyFaces

2010-01-14 Thread Matthias Wessendorf
Hello, who knows how to add a new category? Is that done by the infra@ team? Or am I just too tired to see the right button ? Thx, Matthias -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter:

Re: [TOMAHAWK] CDI contributions to tomahawk?

2010-01-14 Thread Mark Struberg
yes, cdi please, beceause it's really KSR-299 container independent. Otherwise I would check it in to OWB ;) LieGrue, strub --- On Fri, 1/15/10, Matthias Wessendorf mat...@apache.org wrote: From: Matthias Wessendorf mat...@apache.org Subject: Re: [TOMAHAWK] CDI contributions to tomahawk?

Re: [TOMAHAWK] CDI contributions to tomahawk?

2010-01-14 Thread Gerhard Petracek
hi, as i know the next seam version will provide portable cdi extensions. i also thought about suggesting an extensions module for myfaces which provides such portable cdi extensions (for jsf applications). so i created [1] to collect some ideas. regards, gerhard [1]