Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 85763 invoked from network); 15 Jan 2010 06:47:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jan 2010 06:47:38 -0000 Received: (qmail 56839 invoked by uid 500); 15 Jan 2010 06:47:37 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 56757 invoked by uid 500); 15 Jan 2010 06:47:37 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 56749 invoked by uid 99); 15 Jan 2010 06:47:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2010 06:47:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mwessendorf@gmail.com designates 209.85.219.225 as permitted sender) Received: from [209.85.219.225] (HELO mail-ew0-f225.google.com) (209.85.219.225) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jan 2010 06:47:25 +0000 Received: by ewy25 with SMTP id 25so362362ewy.25 for ; Thu, 14 Jan 2010 22:47:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=YfdA/fdxXINBcA0j8CDJUL81txbWNlZ0pSFfthNhEkE=; b=N1Ive7V45rhkXmB23gMboIkNsOaDzLAiOu5NvoZP4iadf3QX+dayHjbzA6NWRiff4S u0lWQM454zPHZc47Yh1sFYpf3oikg+W/8kdI5Wug4jBAiTMI8xUNXagOxcgN6DV8/sYf NDLsEEVVR+Ja08oEAVzVDBEQWgSuwbDTLXQc0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=SGasZNfn9Tod7lUrnpl//vmrOsOndgZCAO6e+xvOrFDx+aMyTToUHsV5V93MJd+wPG kFo+CcpSLPePw4L0PwC+/P61dveYOjGLaa/WVjGflb4B4glhSy8f5G2tC77V4GzouDIX wlE8CHa82RovTw91H9dUVhIJFVeIAcfwLet1I= MIME-Version: 1.0 Sender: mwessendorf@gmail.com Received: by 10.213.23.200 with SMTP id s8mr510781ebb.52.1263538025207; Thu, 14 Jan 2010 22:47:05 -0800 (PST) In-Reply-To: <71235db41001142215r4e2ea973h868b09809faddaba@mail.gmail.com> References: <707456.333.qm@web27806.mail.ukl.yahoo.com> <71235db41001142214k216a7cfj9a149a1c9ea67f06@mail.gmail.com> <71235db41001142215r4e2ea973h868b09809faddaba@mail.gmail.com> Date: Fri, 15 Jan 2010 07:47:04 +0100 X-Google-Sender-Auth: 5b3f1c2fd7506262 Message-ID: <71235db41001142247v7daff518m725f3f80a8fef92b@mail.gmail.com> Subject: Re: [TOMAHAWK] CDI contributions to tomahawk? From: Matthias Wessendorf To: MyFaces Development , Mark Struberg Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org 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: org.apache.myfaces myfaces 6 https://svn.apache.org//repos/asf/myfaces/extensions/validator/trunk/pom.xml Ah, during that I noticed the "scripting" extension is not following that pattern; will fix that soon :-) If you need more, ping us here; Patches are supposed to be submitted against this jira instance, eh... nothing like that is there yet ... Ok.. :-) -Matthias -Matthias On Fri, Jan 15, 2010 at 7:15 AM, Matthias Wessendorf wrote: > On Fri, Jan 15, 2010 at 7:14 AM, Matthias Wessendorf wrote: >> On Fri, Jan 15, 2010 at 1:54 AM, Mark Struberg 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 pretty easy. @Secured interceptor? just a few ideas... >>> >>> And who is doing the project setup? >> >> here; the empty folder structure is enough, right ? > > what name should we use "cdi" or "openwebbeans" ? > > I think that CDI is probably enough.. > > https://svn.apache.org//repos/asf/myfaces/extensions/ > > We would have a > https://svn.apache.org//repos/asf/myfaces/extensions/cdi > SOON.. > > -Matthias > >> >> >> >>> >>> txs and LieGrue, >>> strub >>> >>> --- On Fri, 1/15/10, Jakob Korherr wrote: >>> >>>> From: Jakob Korherr >>>> Subject: Re: [TOMAHAWK] CDI contributions to tomahawk? >>>> To: "MyFaces Development" >>>> Date: Friday, January 15, 2010, 1:43 AM >>>> also +1 for a new extensions module! >>>> >>>> ..and I'd really like to contribute to that too :) >>>> >>>> Regards, >>>> Jakob >>>> >>>> 2010/1/15 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 >>>> >>>> >>>> >>>> >>>> Hey Mark, >>>> >>>> >>>> >>>> On Thu, Jan 14, 2010 at 1:41 PM, Mark Struberg >>>> 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 the >>>> javax.faces.beans.ViewScoped in our openwebbeans-jsf module, >>>> but honestly think that this is not the right place, because >>>> it is really CDI-container independent. Plus, I have a few >>>> other ideas which may serve the Apache JSF community. >>>> >>>> >>>> >>>> >>>> > >>>> >>>> > So, because those extensions are both JSF container >>>> independent and also CDI container independent, what about >>>> adding them to tomahawk-2 ? >>>> >>>> > >>>> >>>> > The extensions I have in mind are >>>> >>>> > >>>> >>>> > 1.) moving the CDI support for the @ViewScoped as >>>> mentioned above from openwebbeans-jsf to tomahawk. >>>> >>>> > >>>> >>>> > 2.) a new @ViewConversationScoped. Usually >>>> @ConversationScoped beans have the same lifecycle as >>>> @RequestScoped beans if no Conversation#begin() will get >>>> called in an action. Which means that one will always get a >>>> fresh instance of a @ConversationScoped bean if e.g. the >>>> validation fails before the begin() can be called. The >>>> lifecycle of @ViewConversationScoped bean would begin with >>>> the first view invocation and end at the end of the request >>>> in which the conversation gets closed. >>>> >>>> >>>> >>>> >>>> > >>>> >>>> >>>> >>>> that's neat; >>>> >>>> >>>> >>>> >>>> >>>> > 3.) a new @ViewRequestScoped. This is basically the >>>> same as @ViewScoped, but the contextual instance will stay >>>> available until the end of the request and will not get >>>> destroyed after the action continues on a return >>>> "nextPage";. This may be tricky if the following >>>> view accesses the same bean as the previous view - any >>>> suggestions on how this should behave are welcome. >>>> >>>> >>>> >>>> >>>> > >>>> >>>> >>>> >>>> not sure I get that :-) >>>> >>>> >>>> >>>> > wdyt? >>>> >>>> > >>>> >>>> > a) is tomahawk the right place (at least for 2 and >>>> 3)? >>>> >>>> >>>> >>>> No. >>>> >>>> Why not adding to here: >>>> >>>> https://svn.apache.org//repos/asf/myfaces/commons/ >>>> >>>> >>>> >>>> or >>>> >>>> >>>> >>>> https://svn.apache.org//repos/asf/myfaces/extensions/ >>>> >>>> >>>> >>>> That would make them also independent for a certain >>>> component suite ;-) >>>> >>>> >>>> >>>> > b) would the functionality be useful for JSF-2 >>>> developers? >>>> >>>> >>>> >>>> sounds useful to me! >>>> >>>> >>>> >>>> -Matthias >>>> >>>> >>>> >>>> > >>>> >>>> > >>>> >>>> > txs and LieGrue, >>>> >>>> > strub >>>> >>>> > >>>> >>>> > >>>> >>>> > >>>> >>>> > >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- >>>> >>>> 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 > -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf