MyFaces Fusion Name Poll App

2007-03-03 Thread Mario Ivankovits
Hi! Using Apache MyFaces Fusion I've created a new example app: Ballot A tool to help make what I call dynamic votes. BTW: Even if there would have such a tool already there, I wanted to create another example for fusion. It is not meant to replace the voting on the ML, its just to distill those

Re: MyFaces Fusion Name Poll App

2007-03-03 Thread Mario Ivankovits
Btw, this poll will not be anonymous, so that everyone can be sure that I don't manipulate the data. A (to be create) page will allow you to have a look at the vote of each voter. If you don't mind Hi! Using Apache MyFaces Fusion I've created a new example app: Ballot A tool to help make

Re: MyFaces Fusion Name Poll App

2007-03-03 Thread Mario Ivankovits
Another question is, if I should allow you to vote for each name, or if I should force you to cast your vote for e.g. 5 names only. Then changing the available vote selections should be 0 1 2 3 4 5, no? Hi! Using Apache MyFaces Fusion I've created a new example app: Ballot A tool to help make

Re: MyFaces Fusion Name Poll App

2007-03-03 Thread Mike Kienenberger
Top 5 On 3/3/07, Mario Ivankovits [EMAIL PROTECTED] wrote: Another question is, if I should allow you to vote for each name, or if I should force you to cast your vote for e.g. 5 names only. Then changing the available vote selections should be 0 1 2 3 4 5, no? Hi! Using Apache MyFaces

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Bernd Bohmann
Hello Dennis, why we should look at the RI? Can we use this Interface http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/AnnotationProcessor.html? Why you don't like to import javax.annotation. in the code. If the annotation are missing in the container the annotations in the managed

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Dennis Byrne
On 3/3/07, Bernd Bohmann [EMAIL PROTECTED] wrote: Hello Dennis, why we should look at the RI? I'd prefer doing things that is compatible with them. This is easier on the users and it makes passing TCK smoother. Can we use this Interface

Re: getAlign() and setAlign() not in JSF 1.2 spec

2007-03-03 Thread Paul McMahan
Thanks Dennis! On 3/2/07, Dennis Byrne [EMAIL PROTECTED] wrote: I removed it from the code generator. Some of the renderers still look for the 'align' attribute but I'll get to that later. Thanks, Dennis Byrne On 3/2/07, Paul McMahan [EMAIL PROTECTED] wrote: I see that the datafld,

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Bernd Bohmann
Hello Dennis, I think the interface has nothing to do with tomcat. Would the interface meet your requirements? If yes, I would suggest following: Create a AnnotationProcessorFactory which return as default an AnnotationProcessor who is a copy of the tomcat DefaultAnnotationProcessor(the

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Paul McMahan
OK, I think the RI also recently added the META-INF/services technique. But I don't know how reliable this sun blog entry is: http://tinyurl.com/yrrjs2 Best wishes, Paul On 3/2/07, Mathias Brökelmann [EMAIL PROTECTED] wrote: The RI uses two ways to lookup the implementation of the vendor

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Dennis Byrne
I added a comment http://blogs.sun.com/rlubke/entry/jsf_ri_1_2_and#comment-1172947192023 . Two more ideas. Ryan mentions applications using facelets, jsf 1.2 and servlet 2.4. Unless I'm missing something, there's one reason to use annotation.getName().equals(javax.annotation.PostConstruct)

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Bernd Bohmann
Just added an implementation of the annotation handling based on the tomcat implementation. Bernd Dennis Byrne wrote: I added a comment http://blogs.sun.com/rlubke/entry/jsf_ri_1_2_and#comment-1172947192023 . Two more ideas. Ryan mentions applications using facelets, jsf 1.2 and servlet

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Dennis Byrne
Are you under the impression that our 1.2 branch didn't already handle @PostConstruct and @PreDestroy? Looks like the left hand doesn't know what the right hand is doing here. Dennis Byrne On 3/3/07, Bernd Bohmann [EMAIL PROTECTED] wrote: Just added an implementation of the annotation

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Bernd Bohmann
??? Yes, I know it. Dennis Byrne wrote: Are you under the impression that our 1.2 branch didn't already handle @PostConstruct and @PreDestroy? Looks like the left hand doesn't know what the right hand is doing here. Dennis Byrne On 3/3/07, Bernd Bohmann [EMAIL PROTECTED] wrote: Just added

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Dennis Byrne
Mathias, me and Paul were discussing the future of this feature. For the most part we were in agreement. I appreciate your input, but it did not gain traction w/ anyone. You then went ahead and committed a bunch of code. IMO, you have not been a good team member today Bernd. Please assign

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Bernd Bohmann
Sorry, I ask you if it's ok to add the code. I get no answer then I asume it's ok to add my idea. It's only a different possible implementation. If you don't like it you can remove it. Is anything wrong with the code? Bernd Dennis Byrne wrote: Mathias, me and Paul were discussing the future

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Bernd Bohmann
Just revert my commit Dennis Byrne wrote: Mathias, me and Paul were discussing the future of this feature. For the most part we were in agreement. I appreciate your input, but it did not gain traction w/ anyone. You then went ahead and committed a bunch of code. IMO, you have not been a

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Mathias Brökelmann
No code in myfaces (or any other apache project) is owned by someone. That is important for a healthy and moving community. Bernds submission was a little bit fast but sometimes a complex issue is better understand if we can look at the code - no matter if that is the solution we finally have. I

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Dennis Byrne
I don't hold anything against you. Ultimately I feel like this is a lose-lose situation for MyFaces because where things stand now, you are likely to feel as though your efforts on that branch are not appreciated. They are. Ryan has responded ...

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Dennis Byrne
On 3/3/07, Mathias Brökelmann [EMAIL PROTECTED] wrote: No code in myfaces (or any other apache project) is owned by someone. That is important for a healthy and moving community. Bernds submission was a little bit fast but sometimes a complex issue is better understand if we can look at the

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Bernd Bohmann
Hello Dennis, should i readd the other possible implementation? :-) But I should write my own TestCases. I think it should be possible to use the PostConstruct and PreDestroy Annotations with tomcat 5.5 and facelets. When a InitialContext is available we should try resource injection, too.

Re: MyFaces-API issue: getValue of UIInput

2007-03-03 Thread Martin Marinschek
I forwarded the thread to Ed, as neither Adam, Craig, Kito or Manfred had anything to say on this... or do they? There is an alternative workaround: I checked it in RendererUtils yesterday - for you to review. However, I think it makes the value lookup code in the renderer very complicated. It

Re: Status of subForm: time for promotion?

2007-03-03 Thread Martin Marinschek
my +1 for promoting this comp up to tomahawk. It's very useful, and I use it in several production level apps. I have never had any issues with its javascript either, but I don't have time to try to reproduce the bug. regards, Martin On 3/2/07, Jeff Bischoff [EMAIL PROTECTED] wrote: Does that

Re: MyFaces interview

2007-03-03 Thread Martin Marinschek
I'm certainly happy to do the interview - but whoever wants to join in is very welcome. We might also not forget about Mario as an option for doing the interview, he has been very active in the last year with new ideas for MyFaces as well... Well, it's hard to decide who is supposed to do an

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Remy Maucherat
Bernd Bohmann wrote: The AnnotationProcessor/InjectionProvider are very similar. I don't like to define a new myfaces Interface for this use case. I would prefer the org.apache.AnnotationProcessor because is not tomcat specific and an apache implementation. Until we find a final solution we

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Dennis Byrne
Unfortunately, I don't see a way to do non proprietary annotation/injection processing, since the component that has to do it (JSP or JSF) cannot possibly get the configuration (which could define overrides, etc). Since I suppose you'll want to support all containers, that's a problem. (It would

[jira] Created: (TOMAHAWK-916) jslistener.jsf example no longer works

2007-03-03 Thread Mike Kienenberger (JIRA)
Affects Versions: 1.1.3, 1.1.4-SNAPSHOT, 1.1.5-SNAPSHOT Reporter: Mike Kienenberger Priority: Critical The jslistener.jsf example no longer works. Not sure when it broke. http://www.irian.at/myfaces/jslistener.jsf http://example.irian.at/example-simple-20070303

[Facelets][JSF 1.2][jsCookMenu] hidden jscook_action input hack still required?

2007-03-03 Thread Mike Kienenberger
Came across this today -- For facelets and JSF RI 1.2, you have to manually add the following to your form in order for an action to be triggered by a navigationMenuItem enclosed in a jscookMenu component. input type=hidden name=jscook_action / Does anyone know if this is fixed in the latest

Re: @PreDestroy, Servlet API,

2007-03-03 Thread Jacob Hookom
There were a few of us that wanted to push back on the WebTier EG around annotation support over the fact that there wasn't a clear API provided-- yet oddly enough, everyone is ending up with basically the same API :-) My hope is that the WebBeans JSR can bring some solidarity around this