Re: [JSF2] absolute-ordering warning

2010-09-02 Thread Matthias Wessendorf
HEy Christian,

I will take a look. I think I have not seen this issue w/ Trinidad,
which has a similar entry:

https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-impl/src/main/conf/META-INF/faces-config-base.xml

-M

On Thu, Sep 2, 2010 at 6:43 AM, Christian Kaltepoth
christ...@kaltepoth.de wrote:
 Hello,

 I'm committer on the PrettyFaces project and we are currently
 preparing our next release. While testing the release in different
 environments I discovered that MyFaces 2.0.1 prints a warning to the
 console:

 WARNING: absolute-ordering element found in application
 configuration resource prettyfaces. This description will be ignored
 and the actions described in ordering elements will be taken into
 account instead.

 The weird thing about this is that we DON'T use absolute-ordering in
 our faces-config.xml at all. Our ordering configuration looks like
 this:

  ordering
   before
     others/
   /before
  /ordering

 See:

 https://prettyfaces.googlecode.com/svn/prettyfaces/trunk/impl-jsf2/src/main/resources/META-INF/faces-config.xml

 I looked at the MyFaces code and found the code emitting this warning:

 http://myfaces.apache.org/core20/myfaces-impl/xref/org/apache/myfaces/config/FacesConfigurator.html#982

 We discussed this issue on the prettyfaces-dev list. We think that it
 is a bug in MyFaces.

 http://groups.google.com/group/prettyfaces-dev/msg/da44e1e6660887c6

 What do you think? Is it a bug?

 Christian

 --
 Christian Kaltepoth
 Blog: http://chkal.blogspot.com/
 Twitter: http://twitter.com/chkal




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [JSF2] absolute-ordering warning

2010-09-02 Thread Christian Kaltepoth
Hey Matthias,

thank you very much. You can use this sample app to reproduce this issue:

http://github.com/chkal/prettyfaces-tests

Just checkout the jsf2 branch and run via mvn tomcat:run-war and
you will see the warning.

Christian


2010/9/2 Matthias Wessendorf mat...@apache.org:
 HEy Christian,

 I will take a look. I think I have not seen this issue w/ Trinidad,
 which has a similar entry:

 https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-impl/src/main/conf/META-INF/faces-config-base.xml

 -M

 On Thu, Sep 2, 2010 at 6:43 AM, Christian Kaltepoth
 christ...@kaltepoth.de wrote:
 Hello,

 I'm committer on the PrettyFaces project and we are currently
 preparing our next release. While testing the release in different
 environments I discovered that MyFaces 2.0.1 prints a warning to the
 console:

 WARNING: absolute-ordering element found in application
 configuration resource prettyfaces. This description will be ignored
 and the actions described in ordering elements will be taken into
 account instead.

 The weird thing about this is that we DON'T use absolute-ordering in
 our faces-config.xml at all. Our ordering configuration looks like
 this:

  ordering
   before
     others/
   /before
  /ordering

 See:

 https://prettyfaces.googlecode.com/svn/prettyfaces/trunk/impl-jsf2/src/main/resources/META-INF/faces-config.xml

 I looked at the MyFaces code and found the code emitting this warning:

 http://myfaces.apache.org/core20/myfaces-impl/xref/org/apache/myfaces/config/FacesConfigurator.html#982

 We discussed this issue on the prettyfaces-dev list. We think that it
 is a bug in MyFaces.

 http://groups.google.com/group/prettyfaces-dev/msg/da44e1e6660887c6

 What do you think? Is it a bug?

 Christian

 --
 Christian Kaltepoth
 Blog: http://chkal.blogspot.com/
 Twitter: http://twitter.com/chkal




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




-- 
Christian Kaltepoth
Blog: http://chkal.blogspot.com/
Twitter: http://twitter.com/chkal


Re: [JSF2] absolute-ordering warning

2010-09-02 Thread Matthias Wessendorf
I think I need new glasses...

WARNING: absolute-ordering element found in application
configuration resource trinidad. This description will be ignored and
the actions described in ordering elements will be taken into
account instead.

-M


On Thu, Sep 2, 2010 at 9:24 AM, Christian Kaltepoth
christ...@kaltepoth.de wrote:
 Hey Matthias,

 thank you very much. You can use this sample app to reproduce this issue:

 http://github.com/chkal/prettyfaces-tests

 Just checkout the jsf2 branch and run via mvn tomcat:run-war and
 you will see the warning.

 Christian


 2010/9/2 Matthias Wessendorf mat...@apache.org:
 HEy Christian,

 I will take a look. I think I have not seen this issue w/ Trinidad,
 which has a similar entry:

 https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-impl/src/main/conf/META-INF/faces-config-base.xml

 -M

 On Thu, Sep 2, 2010 at 6:43 AM, Christian Kaltepoth
 christ...@kaltepoth.de wrote:
 Hello,

 I'm committer on the PrettyFaces project and we are currently
 preparing our next release. While testing the release in different
 environments I discovered that MyFaces 2.0.1 prints a warning to the
 console:

 WARNING: absolute-ordering element found in application
 configuration resource prettyfaces. This description will be ignored
 and the actions described in ordering elements will be taken into
 account instead.

 The weird thing about this is that we DON'T use absolute-ordering in
 our faces-config.xml at all. Our ordering configuration looks like
 this:

  ordering
   before
     others/
   /before
  /ordering

 See:

 https://prettyfaces.googlecode.com/svn/prettyfaces/trunk/impl-jsf2/src/main/resources/META-INF/faces-config.xml

 I looked at the MyFaces code and found the code emitting this warning:

 http://myfaces.apache.org/core20/myfaces-impl/xref/org/apache/myfaces/config/FacesConfigurator.html#982

 We discussed this issue on the prettyfaces-dev list. We think that it
 is a bug in MyFaces.

 http://groups.google.com/group/prettyfaces-dev/msg/da44e1e6660887c6

 What do you think? Is it a bug?

 Christian

 --
 Christian Kaltepoth
 Blog: http://chkal.blogspot.com/
 Twitter: http://twitter.com/chkal




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




 --
 Christian Kaltepoth
 Blog: http://chkal.blogspot.com/
 Twitter: http://twitter.com/chkal




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


Re: [JSF2] absolute-ordering warning

2010-09-02 Thread Matthias Wessendorf
Should be easy fix

-M

On Thu, Sep 2, 2010 at 10:57 AM, Matthias Wessendorf mat...@apache.org wrote:
 I think I need new glasses...

 WARNING: absolute-ordering element found in application
 configuration resource trinidad. This description will be ignored and
 the actions described in ordering elements will be taken into
 account instead.

 -M


 On Thu, Sep 2, 2010 at 9:24 AM, Christian Kaltepoth
 christ...@kaltepoth.de wrote:
 Hey Matthias,

 thank you very much. You can use this sample app to reproduce this issue:

 http://github.com/chkal/prettyfaces-tests

 Just checkout the jsf2 branch and run via mvn tomcat:run-war and
 you will see the warning.

 Christian


 2010/9/2 Matthias Wessendorf mat...@apache.org:
 HEy Christian,

 I will take a look. I think I have not seen this issue w/ Trinidad,
 which has a similar entry:

 https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-impl/src/main/conf/META-INF/faces-config-base.xml

 -M

 On Thu, Sep 2, 2010 at 6:43 AM, Christian Kaltepoth
 christ...@kaltepoth.de wrote:
 Hello,

 I'm committer on the PrettyFaces project and we are currently
 preparing our next release. While testing the release in different
 environments I discovered that MyFaces 2.0.1 prints a warning to the
 console:

 WARNING: absolute-ordering element found in application
 configuration resource prettyfaces. This description will be ignored
 and the actions described in ordering elements will be taken into
 account instead.

 The weird thing about this is that we DON'T use absolute-ordering in
 our faces-config.xml at all. Our ordering configuration looks like
 this:

  ordering
   before
     others/
   /before
  /ordering

 See:

 https://prettyfaces.googlecode.com/svn/prettyfaces/trunk/impl-jsf2/src/main/resources/META-INF/faces-config.xml

 I looked at the MyFaces code and found the code emitting this warning:

 http://myfaces.apache.org/core20/myfaces-impl/xref/org/apache/myfaces/config/FacesConfigurator.html#982

 We discussed this issue on the prettyfaces-dev list. We think that it
 is a bug in MyFaces.

 http://groups.google.com/group/prettyfaces-dev/msg/da44e1e6660887c6

 What do you think? Is it a bug?

 Christian

 --
 Christian Kaltepoth
 Blog: http://chkal.blogspot.com/
 Twitter: http://twitter.com/chkal




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




 --
 Christian Kaltepoth
 Blog: http://chkal.blogspot.com/
 Twitter: http://twitter.com/chkal




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[jira] Created: (MYFACES-2905) [JSF2] absolute-ordering warning

2010-09-02 Thread JIRA
[JSF2] absolute-ordering warning


 Key: MYFACES-2905
 URL: https://issues.apache.org/jira/browse/MYFACES-2905
 Project: MyFaces Core
  Issue Type: Bug
Affects Versions: 2.0.1
Reporter: Matthias Weßendorf
Assignee: Matthias Weßendorf


See thread for this

http://markmail.org/message/cco2pdvuzlecs6da

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Commented: (MYFACES-2905) [JSF2] absolute-ordering warning

2010-09-02 Thread JIRA

[ 
https://issues.apache.org/jira/browse/MYFACES-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12905460#action_12905460
 ] 

Matthias Weßendorf commented on MYFACES-2905:
-

Problem is that in:

else if (!appConfigResources.isEmpty())
{
//Relative ordering
for (FacesConfig resource : appConfigResources)
{
if (resource.getOrdering() != null)
{
if (log.isLoggable(Level.WARNING))
{
log.warning(absolute-ordering element found in 
application  +
configuration resource +resource.getName()+. 
 +
This description will be ignored and the 
actions described  +
in ordering elements will be taken into 
account instead.);
}
}
}
..

we check incorrectly for ordering.

changing to if (resource.getAbsoluteOrdering() != null) is the fix

 [JSF2] absolute-ordering warning
 

 Key: MYFACES-2905
 URL: https://issues.apache.org/jira/browse/MYFACES-2905
 Project: MyFaces Core
  Issue Type: Bug
Affects Versions: 2.0.1
Reporter: Matthias Weßendorf
Assignee: Matthias Weßendorf

 See thread for this
 http://markmail.org/message/cco2pdvuzlecs6da

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [JSF2] absolute-ordering warning

2010-09-02 Thread Matthias Wessendorf
https://issues.apache.org/jira/browse/MYFACES-2905

On Thu, Sep 2, 2010 at 10:58 AM, Matthias Wessendorf mat...@apache.org wrote:
 Should be easy fix

 -M

 On Thu, Sep 2, 2010 at 10:57 AM, Matthias Wessendorf mat...@apache.org 
 wrote:
 I think I need new glasses...

 WARNING: absolute-ordering element found in application
 configuration resource trinidad. This description will be ignored and
 the actions described in ordering elements will be taken into
 account instead.

 -M


 On Thu, Sep 2, 2010 at 9:24 AM, Christian Kaltepoth
 christ...@kaltepoth.de wrote:
 Hey Matthias,

 thank you very much. You can use this sample app to reproduce this issue:

 http://github.com/chkal/prettyfaces-tests

 Just checkout the jsf2 branch and run via mvn tomcat:run-war and
 you will see the warning.

 Christian


 2010/9/2 Matthias Wessendorf mat...@apache.org:
 HEy Christian,

 I will take a look. I think I have not seen this issue w/ Trinidad,
 which has a similar entry:

 https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-impl/src/main/conf/META-INF/faces-config-base.xml

 -M

 On Thu, Sep 2, 2010 at 6:43 AM, Christian Kaltepoth
 christ...@kaltepoth.de wrote:
 Hello,

 I'm committer on the PrettyFaces project and we are currently
 preparing our next release. While testing the release in different
 environments I discovered that MyFaces 2.0.1 prints a warning to the
 console:

 WARNING: absolute-ordering element found in application
 configuration resource prettyfaces. This description will be ignored
 and the actions described in ordering elements will be taken into
 account instead.

 The weird thing about this is that we DON'T use absolute-ordering in
 our faces-config.xml at all. Our ordering configuration looks like
 this:

  ordering
   before
     others/
   /before
  /ordering

 See:

 https://prettyfaces.googlecode.com/svn/prettyfaces/trunk/impl-jsf2/src/main/resources/META-INF/faces-config.xml

 I looked at the MyFaces code and found the code emitting this warning:

 http://myfaces.apache.org/core20/myfaces-impl/xref/org/apache/myfaces/config/FacesConfigurator.html#982

 We discussed this issue on the prettyfaces-dev list. We think that it
 is a bug in MyFaces.

 http://groups.google.com/group/prettyfaces-dev/msg/da44e1e6660887c6

 What do you think? Is it a bug?

 Christian

 --
 Christian Kaltepoth
 Blog: http://chkal.blogspot.com/
 Twitter: http://twitter.com/chkal




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




 --
 Christian Kaltepoth
 Blog: http://chkal.blogspot.com/
 Twitter: http://twitter.com/chkal




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf


[jira] Resolved: (MYFACES-2905) [JSF2] absolute-ordering warning

2010-09-02 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/MYFACES-2905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Weßendorf resolved MYFACES-2905.
-

Fix Version/s: 2.0.2-SNAPSHOT
   Resolution: Fixed

 [JSF2] absolute-ordering warning
 

 Key: MYFACES-2905
 URL: https://issues.apache.org/jira/browse/MYFACES-2905
 Project: MyFaces Core
  Issue Type: Bug
Affects Versions: 2.0.1
Reporter: Matthias Weßendorf
Assignee: Matthias Weßendorf
 Fix For: 2.0.2-SNAPSHOT


 See thread for this
 http://markmail.org/message/cco2pdvuzlecs6da

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



Re: [JSF2] absolute-ordering warning

2010-09-02 Thread Christian Kaltepoth
Thank you very much! :-)

Christian

2010/9/2 Matthias Wessendorf mat...@apache.org:
 https://issues.apache.org/jira/browse/MYFACES-2905

 On Thu, Sep 2, 2010 at 10:58 AM, Matthias Wessendorf mat...@apache.org 
 wrote:
 Should be easy fix

 -M

 On Thu, Sep 2, 2010 at 10:57 AM, Matthias Wessendorf mat...@apache.org 
 wrote:
 I think I need new glasses...

 WARNING: absolute-ordering element found in application
 configuration resource trinidad. This description will be ignored and
 the actions described in ordering elements will be taken into
 account instead.

 -M


 On Thu, Sep 2, 2010 at 9:24 AM, Christian Kaltepoth
 christ...@kaltepoth.de wrote:
 Hey Matthias,

 thank you very much. You can use this sample app to reproduce this issue:

 http://github.com/chkal/prettyfaces-tests

 Just checkout the jsf2 branch and run via mvn tomcat:run-war and
 you will see the warning.

 Christian


 2010/9/2 Matthias Wessendorf mat...@apache.org:
 HEy Christian,

 I will take a look. I think I have not seen this issue w/ Trinidad,
 which has a similar entry:

 https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-impl/src/main/conf/META-INF/faces-config-base.xml

 -M

 On Thu, Sep 2, 2010 at 6:43 AM, Christian Kaltepoth
 christ...@kaltepoth.de wrote:
 Hello,

 I'm committer on the PrettyFaces project and we are currently
 preparing our next release. While testing the release in different
 environments I discovered that MyFaces 2.0.1 prints a warning to the
 console:

 WARNING: absolute-ordering element found in application
 configuration resource prettyfaces. This description will be ignored
 and the actions described in ordering elements will be taken into
 account instead.

 The weird thing about this is that we DON'T use absolute-ordering in
 our faces-config.xml at all. Our ordering configuration looks like
 this:

  ordering
   before
     others/
   /before
  /ordering

 See:

 https://prettyfaces.googlecode.com/svn/prettyfaces/trunk/impl-jsf2/src/main/resources/META-INF/faces-config.xml

 I looked at the MyFaces code and found the code emitting this warning:

 http://myfaces.apache.org/core20/myfaces-impl/xref/org/apache/myfaces/config/FacesConfigurator.html#982

 We discussed this issue on the prettyfaces-dev list. We think that it
 is a bug in MyFaces.

 http://groups.google.com/group/prettyfaces-dev/msg/da44e1e6660887c6

 What do you think? Is it a bug?

 Christian

 --
 Christian Kaltepoth
 Blog: http://chkal.blogspot.com/
 Twitter: http://twitter.com/chkal




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




 --
 Christian Kaltepoth
 Blog: http://chkal.blogspot.com/
 Twitter: http://twitter.com/chkal




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




 --
 Matthias Wessendorf

 blog: http://matthiaswessendorf.wordpress.com/
 sessions: http://www.slideshare.net/mwessendorf
 twitter: http://twitter.com/mwessendorf




-- 
Christian Kaltepoth
Blog: http://chkal.blogspot.com/
Twitter: http://twitter.com/chkal


[JSF2] absolute-ordering warning

2010-09-01 Thread Christian Kaltepoth
Hello,

I'm committer on the PrettyFaces project and we are currently
preparing our next release. While testing the release in different
environments I discovered that MyFaces 2.0.1 prints a warning to the
console:

WARNING: absolute-ordering element found in application
configuration resource prettyfaces. This description will be ignored
and the actions described in ordering elements will be taken into
account instead.

The weird thing about this is that we DON'T use absolute-ordering in
our faces-config.xml at all. Our ordering configuration looks like
this:

 ordering
   before
 others/
   /before
 /ordering

See:

https://prettyfaces.googlecode.com/svn/prettyfaces/trunk/impl-jsf2/src/main/resources/META-INF/faces-config.xml

I looked at the MyFaces code and found the code emitting this warning:

http://myfaces.apache.org/core20/myfaces-impl/xref/org/apache/myfaces/config/FacesConfigurator.html#982

We discussed this issue on the prettyfaces-dev list. We think that it
is a bug in MyFaces.

http://groups.google.com/group/prettyfaces-dev/msg/da44e1e6660887c6

What do you think? Is it a bug?

Christian

-- 
Christian Kaltepoth
Blog: http://chkal.blogspot.com/
Twitter: http://twitter.com/chkal