Return-Path: X-Original-To: apmail-myfaces-users-archive@www.apache.org Delivered-To: apmail-myfaces-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A779FD0D1 for ; Fri, 23 Nov 2012 13:15:17 +0000 (UTC) Received: (qmail 48252 invoked by uid 500); 23 Nov 2012 13:15:17 -0000 Delivered-To: apmail-myfaces-users-archive@myfaces.apache.org Received: (qmail 47779 invoked by uid 500); 23 Nov 2012 13:15:10 -0000 Mailing-List: contact users-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Discussion" Delivered-To: mailing list users@myfaces.apache.org Received: (qmail 47738 invoked by uid 99); 23 Nov 2012 13:15:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2012 13:15:08 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gcjmu-myfaces-user@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2012 13:15:00 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Tbt5l-0002Kx-Hs for users@myfaces.apache.org; Fri, 23 Nov 2012 14:14:49 +0100 Received: from cm209-171.liwest.at ([81.10.209.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2012 14:14:49 +0100 Received: from werner.punz by cm209-171.liwest.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Nov 2012 14:14:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: users@myfaces.apache.org From: Werner Punz Subject: Re: Migration to TomEE/CODI: very strange AJAX issue during regression testing Date: Fri, 23 Nov 2012 14:14:30 +0100 Lines: 251 Message-ID: References: <50ADE6D0.5030308@gmail.com> <1353581191.31484.YahooMailNeo@web28901.mail.ir2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cm209-171.liwest.at User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: X-Virus-Checked: Checked by ClamAV on apache.org Btw. Howard could you blog what you did for the migration, this might interest other users as well. Werner Am 22.11.12 17:16, schrieb Howard W. Smith, Jr.: > +1 Werner's response, too. Thanks for that response, so I know where to > file relevant issues and which email list to send to, but honestly, I think > this issue should go to TomEE as well as MyFaces user lists, because others > may be using MyFaces Core (like myself). > > Mark, > > FYI, for some/whatever reason, I added JUEL jar to tomee /lib, and it has > 'lived' there ever since, and my app is running well with it (since I have > context-parm in web.xml referencing juel). I just have to find and resolve > any issues I have, and as you have already noticed, I like to communicate > issues I have as well as 'my workarounds' to these issues. I always do what > I can to workaround issues that I'm confronted with. :) > > IMHO, some weeks ago, I didn't find tomcat7 'easy' at all, and I 'found' > TomEE 'easier' than tomcat7. That may be a more accurate way of saying > it...at least from the community of users migrating from 'Glassfish' to > tomcat7. TomEE and the really-great (Apache) user community is the > solution!!! :) > > File an issue. I love filing issues and providing as many details as > possible. I just need the experiencing of filing a new issue, and then I > should be set/fine, going forward. > > I'll read [1][2] that you provided and respond accordingly or as necessary. > > Thanks, > Howard > > > On Thu, Nov 22, 2012 at 5:46 AM, Mark Struberg wrote: > >> +1 >> >> Howard, as most other stuff is now working, we can continue with getting >> back JUEL in place. But please file a tomcat issue for the EL stuff first! >> >> For TomEE it's as easy as for tomcat7. A long time ago I wrote up a >> description in our wiki [1] which is basically still true. >> There is also some info on the juel page [2]. >> >> >> >> [1] http://wiki.apache.org/myfaces/HowToEnableEl22 >> [2] http://juel.sourceforge.net/guide/service.html >> >> >> ----- Original Message ----- >>> From: Werner Punz >>> To: MyFaces Discussion >>> Cc: >>> Sent: Thursday, November 22, 2012 9:48 AM >>> Subject: Re: Migration to TomEE/CODI: very strange AJAX issue during >> regression testing >>> >>> If there is an EL struggling problem then this is probably a tomcat >>> issue. Tomcat is providing the EL in tomee to my knowledge. >>> >>> >>> Werner >>> >>> >>> Am 22.11.12 00:07, schrieb Howard W. Smith, Jr.: >>>> I think I just solved this issue as follows: >>>> >>>> *CAUSED BY:* p:calendar >>> *readonlyInput="#{pf_usersController.loggedInViaIpad >>>> == 'Y' ? 'true' : 'false'}"* >>>> >>>> >>>> 1. Glassfish 3.1.2.2 and MyFaces Core 2.1.9 handles that perfectly >>>> 2. OpenWebBeans and MyFaces Core 2.1.9 seem to struggle with that >> EL >>> for >>>> whatever reason >>>> 3. So, I made it easy on OpenWebBeans and moved that EL to >>>> rendered="...", and conditionally render separate components >>> with a >>>> readonlyInput="true" only for iPad device/endusers >>>> >>>> *CODE CHANGES* below: >>>> >>>> >>>> >>>> >>> value="#{pf_ordersController.filterTripDateFrom}" >>>> mode="popup" showOn="button" >>>> navigator="true" effect="fadeIn" >>>> pattern="MM/dd/yyyy" size="10" >>>> rendered="#{pf_usersController.loggedInViaIpad == >>> 'N'}"> >>>> >>> event="dateSelect" >>>> listener="#{pf_ordersController.filterTripDateFromSelected}" >>>> update=":ordersBrowseForm:ordersDataTable >>>> :ordersBrowseForm:formMessages :ordersBrowseForm:_ajax_status" /> >>>> >>>> >>> value="#{pf_ordersController.filterTripDateFrom}" >>>> mode="popup" showOn="button" >>> readonlyInput="true" >>>> navigator="true" effect="fadeIn" >>>> pattern="MM/dd/yyyy" size="10" >>>> rendered="#{pf_usersController.loggedInViaIpad == >>> 'Y'}"> >>>> >>> event="dateSelect" >>>> listener="#{pf_ordersController.filterTripDateFromSelected}" >>>> update=":ordersBrowseForm:ordersDataTable >>>> :ordersBrowseForm:formMessages :ordersBrowseForm:_ajax_status" /> >>>> >>>> >>>> >>> value="#{pf_ordersController.filterTripDateTo}" >>>> mode="popup" showOn="button" >>>> navigator="true" effect="fadeIn" >>> pattern="MM/dd/yyyy" size="10" >>>> rendered="#{pf_usersController.loggedInViaIpad == >>> 'N'}"> >>>> >>> event="dateSelect" >>>> listener="#{pf_ordersController.filterTripDateToSelected}" >>>> update=":ordersBrowseForm:ordersDataTable >>>> :ordersBrowseForm:formMessages :ordersBrowseForm:_ajax_status" /> >>>> >>>> >>> value="#{pf_ordersController.filterTripDateTo}" >>>> mode="popup" showOn="button" >>> readonlyInput="true" >>>> navigator="true" effect="fadeIn" >>> pattern="MM/dd/yyyy" size="10" >>>> rendered="#{pf_usersController.loggedInViaIpad == >>> 'Y'}"> >>>> >>> event="dateSelect" >>>> listener="#{pf_ordersController.filterTripDateToSelected}" >>>> update=":ordersBrowseForm:ordersDataTable >>>> :ordersBrowseForm:formMessages :ordersBrowseForm:_ajax_status" /> >>>> >>>> >>>> >>>> >>>> On Wed, Nov 21, 2012 at 3:19 PM, Howard W. Smith, Jr. < >>>> smithh032772@gmail.com> wrote: >>>> >>>>> The following is the XHTML for the *FROM* and *TO* p:calendar >>> components >>>>> in PrimeFaces p:dataTable component. Please note that the >>> *mode="popup" >>>>> showOn="button"* is hardcoded in the xhtml below, and is not >>>>> conditionally dependent on EL. >>>>> >>>>> As the screen captures will show, I am testing this via my >>>>> test/development server, so please do not think I'm testing from >>> iPad >>>>> (since there is EL for iPad devices below). >>>>> >>>>> This issue is not happening in the Production environment (Glassfish >>>>> 3.1.2.2 and MyFaces Core 2.1.9). >>>>> >>>>> >>>> >>> value="#{pf_ordersController.filterTripDateFrom}" >>>>> mode="popup" showOn="button" >>>>> readonlyInput="#{pf_usersController.loggedInViaIpad == 'Y' >>> ? 'true' : >>>>> 'false'}" >>>>> navigator="true" effect="fadeIn" >>>>> pattern="MM/dd/yyyy" size="10"> >>>>> >>>> event="dateSelect" >>>>> listener="#{pf_ordersController.filterTripDateFromSelected}" >>>>> update=":ordersBrowseForm:ordersDataTable >>>>> :ordersBrowseForm:formMessages :ordersBrowseForm:_ajax_status" >>> /> >>>>> >>>>> >>>>> >>>> value="#{pf_ordersController.filterTripDateTo}" >>>>> mode="popup" showOn="button" >>>>> readonlyInput="#{pf_usersController.loggedInViaIpad == 'Y' >>> ? 'true' : >>>>> 'false'}" >>>>> navigator="true" effect="fadeIn" >>> pattern="MM/dd/yyyy" >>>>> size="10"> >>>>> >>>> event="dateSelect" >>>>> listener="#{pf_ordersController.filterTripDateToSelected}" >>>>> update=":ordersBrowseForm:ordersDataTable >>>>> :ordersBrowseForm:formMessages :ordersBrowseForm:_ajax_status" >>> /> >>>>> >>>>> >>>>> >>>>> >>>>> On Wed, Nov 21, 2012 at 3:06 PM, Howard W. Smith, Jr. < >>>>> smithh032772@gmail.com> wrote: >>>>> >>>>>> You all know by now that I recently migrated >>>>>> >>>>>> *FROM*: Glassfish 3.1.2.2, MyFaces 2.1.9, and JSF Managed beans >>>>>> >>>>>> *TO*: TomEE 1.5 SNAPSHOT, Apache MyFaces CDI Extensions 1.0.6 >>> (CODI), >>>>>> and CDI managed beans >>>>>> >>>>>> So, I am regression testing, and I am experiencing a very very >>> strange >>>>>> issue with *TomEE/CODI* (development/test environment) that I have >>> never >>>>>> seen with *Glassfish 3.1.2.2 *and* MyFaces 2.1.9* (currently in >>>>>> production). >>>>>> >>>>>> Attached you will find screen captures: >>>>>> >>>>>> 1. Page that shows *FROM* and *TO* (PrimeFaces) p:calendar >>> components >>>>>> (jQuery DatePicker) that has *button* beside the textInput >>>>>> 2. Page that shows FROM and TO p:calendar components *without >>> the >>>>>> button* beside textInput; this is an issue and *not* working as >>>>>> designed; this happens *sporadically after AJAX update* on the >>> page, >>>>>> after I click the p:calendar button to update the data on the >>> page via AJAX >>>>>> >>>>>> Someone please open an issue for this, and let me know if this is a >>>>>> TomEE/OpenEJB issue *or* MyFaces Core 2.1.9 and CODI issue. This is >>> the >>>>>> reason why I am sending this email to both user mail lists. >>>>>> >>>>>> Thanks, >>>>>> Howard >>>>>> >>>>>> >>>>> >>>> >>> >> >