[jira] Created: (TRINIDAD-1369) XMLMenuModel:No support for actionListener

2009-01-18 Thread Abhijit S Ghosh (JIRA)
XMLMenuModel:No support for actionListener -- Key: TRINIDAD-1369 URL: https://issues.apache.org/jira/browse/TRINIDAD-1369 Project: MyFaces Trinidad Issue Type: Bug Components: Components

[jira] Updated: (TRINIDAD-1369) XMLMenuModel:No support for actionListener

2009-01-18 Thread Abhijit S Ghosh (JIRA)
[ https://issues.apache.org/jira/browse/TRINIDAD-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Abhijit S Ghosh updated TRINIDAD-1369: -- Status: Patch Available (was: Open) XMLMenuModel:No support for actionListener

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Jan-Kees van Andel
2009/1/11 Matthias Wessendorf mat...@apache.org: On Sun, Jan 11, 2009 at 4:46 AM, Mario Ivankovits ma...@ops.co.at wrote: ;-) I really hate to wait on the boot-up. :-) -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Cagatay Civici
Hi Jan, Thanks for your contribution, yes this could be done without adding a dependency. We could avoid reflection stuff and use byte code exploring. Mojarra 2.0 uses code from Glassfish codebase for this byte code stuff btw. You may take a look at their implementation to give an idea. I agree

[jira] Created: (TOBAGO-740) Alternative SheetRenderer

2009-01-18 Thread Bernd Bohmann (JIRA)
Alternative SheetRenderer - Key: TOBAGO-740 URL: https://issues.apache.org/jira/browse/TOBAGO-740 Project: MyFaces Tobago Issue Type: Improvement Components: Themes Affects Versions: 1.0.20

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Jan-Kees van Andel
2009/1/18 Cagatay Civici cagatay.civ...@gmail.com: Hi Jan, Thanks for your contribution, yes this could be done without adding a dependency. We could avoid reflection stuff and use byte code exploring. Mojarra 2.0 uses code from Glassfish codebase for this byte code stuff btw. You may take

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Simon Kitching
On Sun, 2009-01-18 at 14:41 +0100, Jan-Kees van Andel wrote: 2009/1/11 Matthias Wessendorf mat...@apache.org: On Sun, Jan 11, 2009 at 4:46 AM, Mario Ivankovits ma...@ops.co.at wrote: ;-) I really hate to wait on the boot-up. :-) -- Matthias Wessendorf blog:

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Jan-Kees van Andel
That sounds great. What is your general approach? Just read in the class as byte[], then use the class-file-format rules to get to the annotations sections on the class and the methods? From my quick scan of the classfile spec it seemed reasonably easy to do that... This line is the

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Cagatay Civici
I also have some questions for the JSF 2.0 EG, like what classpaths need to be scanned by default. Or the policy of dealing with runtime invisible annotations (I can read them, but Reflection cannot). I'm also interested in general rules regarding class/method signatures. For example, do you

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Matthias Wessendorf
We could avoid reflection stuff and use byte code exploring. Mojarra 2.0 uses code from Glassfish codebase for this byte code stuff btw. You may take a look at their implementation to give an idea. eh... ? -1 on that... -M -- Matthias Wessendorf blog:

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Jan-Kees van Andel
eh... ? -1 on that... -M LOL! Don't worry. I won't copy their codebase. ;-) I already have a working implementation.

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Simon Lessard
Hi Cagatay, The issue of what packages to scan is the responsibility of the specification here however. We cannot simply decide to avoid some packages in this case, we have to wait for the spec to normalize a way to define those. Regards, ~ Simon On Sun, Jan 18, 2009 at 8:50 AM, Cagatay

[jira] Created: (TRINIDAD-1370) Trinidad Tree dose not support left to right lang

2009-01-18 Thread Mohd Weshah (JIRA)
Trinidad Tree dose not support left to right lang - Key: TRINIDAD-1370 URL: https://issues.apache.org/jira/browse/TRINIDAD-1370 Project: MyFaces Trinidad Issue Type: Bug Components:

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Simon Lessard
Hi again, Actually, much more packages have to be scanned. The goal of those annotation is 0-Config, so a faces-config.xml might not even be needed anymore in the libraries. Anyway, before implementing any kind of package filter, I would wait for the final spec version, as long as the scanner is

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Gerhard Petracek
hello, i agree with simon. regards, gerhard 2009/1/18 Simon Lessard simon.lessar...@gmail.com Hi again, Actually, much more packages have to be scanned. The goal of those annotation is 0-Config, so a faces-config.xml might not even be needed anymore in the libraries. Anyway, before

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Bernd Bohmann
Hello, perhaps the annotation scanning was already solved by openejb? We should try to create a common annotation module for apache projects like openejb, tomcat, cxf and myfaces. Regards Bernd Gerhard Petracek schrieb: hello, i agree with simon. regards, gerhard 2009/1/18

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Matthias Wessendorf
On Sun, Jan 18, 2009 at 1:00 PM, Bernd Bohmann bernd.bohm...@atanion.com wrote: Hello, perhaps the annotation scanning was already solved by openejb? We should try to create a common annotation module for apache projects like openejb, tomcat, cxf and myfaces. and openwebbeans +1 Regards

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Gerhard Petracek
+1 regards, gerhard 2009/1/18 Matthias Wessendorf mat...@apache.org On Sun, Jan 18, 2009 at 1:00 PM, Bernd Bohmann bernd.bohm...@atanion.com wrote: Hello, perhaps the annotation scanning was already solved by openejb? We should try to create a common annotation module for apache

[jira] Updated: (TRINIDAD-1369) XMLMenuModel:No support for actionListener

2009-01-18 Thread JIRA
[ https://issues.apache.org/jira/browse/TRINIDAD-1369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Weßendorf updated TRINIDAD-1369: - Resolution: Fixed Fix Version/s: 1.2.10-core Assignee:

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread Mark Struberg
+1 for a commons.annoscan Concerning the question of how to design the API for this scanner: Sometimes there is not a fixed set of annotations to scan for (like a.g. JPA) but one doesn't even a priori know which annotations are really important. In WebBeans any user may define it's own

[jira] Resolved: (TRINIDAD-1362) tr:convertDateTime leniency: dates or times without separators

2009-01-18 Thread JIRA
[ https://issues.apache.org/jira/browse/TRINIDAD-1362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matthias Weßendorf resolved TRINIDAD-1362. -- Resolution: Won't Fix sounds wacky tr:convertDateTime leniency: dates or

[jira] Commented: (TRINIDAD-1370) Trinidad Tree dose not support left to right lang

2009-01-18 Thread JIRA
[ https://issues.apache.org/jira/browse/TRINIDAD-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12665013#action_12665013 ] Matthias Weßendorf commented on TRINIDAD-1370: -- tried to the the firefox

org.apache.myfaces.trinidad.CLIENT_STATE_METHOD all / token problem

2009-01-18 Thread Mark Badorrek
We have a rather large Webapp using trinidad 1.2.7 When setting org.apache.myfaces.trinidad.CLIENT_STATE_METHOD to 'token', the app works correctly. When setting org.apache.myfaces.trinidad.CLIENT_STATE_METHOD to 'all', the app does not see any updates that have happened on the web-page. Not

Re: Scanning for annotated classes in MyFaces 2

2009-01-18 Thread David Blevins
When I did this for OpenEJB I put the work into a neutral place (xbean) so it could be shared by anyone who needed it. XBean is sort of a common-like dumping ground for server-ish bits and pieces we were sharing between OpenEJB, ActiveMQ, ServiceMix, Geronimo, Maven and similar projects.

Re: org.apache.myfaces.trinidad.CLIENT_STATE_METHOD all / token problem

2009-01-18 Thread Mark Badorrek
Replying to myself... The same issue exists under 1.2.10 Mark Badorrek mark.bador...@osr.nsw.gov.au 19/01/2009 11:17 am We have a rather large Webapp using trinidad 1.2.7 When setting org.apache.myfaces.trinidad.CLIENT_STATE_METHOD to 'token', the app works correctly. When setting