tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54191] TomEE 1.5+ SNAPSHOT struggling with PrimeFaces p:calendar readonlyInput="#{someEL ? 'true' : 'false'}"
Date Tue, 04 Dec 2012 22:54:07 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54191

--- Comment #10 from smithh032772 <smithh032772@gmail.com> ---
Even though I developed a workaround for this issue, I tried to half-way revert
my code back to the code that initially could duplicate this issue. I only
added the EL to the readonlyInput="..." property of p:calendar. See below.

    <p:calendar id="filterTripDateFrom"
                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"
                rendered="#{pf_usersController.loggedInViaIpad == 'N'}">
        <p:ajax partialSubmit="false"
                event="dateSelect"
listener="#{pf_ordersController.filterTripDateFromSelected}"
                update=":ordersBrowseForm:ordersDataTable
:ordersBrowseForm:formMessages :ordersBrowseForm:_ajax_status" />
    </p:calendar>
    <p:calendar id="filterTripDateFromOnIpad"
                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'}">
        <p:ajax partialSubmit="false"
                event="dateSelect"
listener="#{pf_ordersController.filterTripDateFromSelected}"
                update=":ordersBrowseForm:ordersDataTable
:ordersBrowseForm:formMessages :ordersBrowseForm:_ajax_status" />
    </p:calendar>

I attempted to duplicate this issue, but I was 'not' able to duplicate this
issue with yesterday's version of TomEE 1.5.1 SNAPSHOT,
apache-tomee-1.5.1-20121203.041800-97-plus.zip.

I set debug = true in LoginFilter, and the following was in server log:


Dec 04, 2012 5:45:47 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 26926 ms
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/login.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): agent.getUserAgent() = mozilla/5.0 (windows nt 6.0;
wow64) applewebkit/537.11 (khtml, like gecko) chrome/23.0.1271.95 safari/537.11
Dec 04, 2012 5:45:55 PM org.apache.myfaces.el.unified.ResolverBuilderBase
sortELResolvers
INFO: Chain of EL resolvers for Faces sorted with:
org.apache.myfaces.el.unified.OpenWebBeansELResolverComparator@3707cedb and the
result order is
[org.apache.myfaces.el.unified.resolver.implicitobject.ImplicitObjectResolver@619da816,
org.apache.myfaces.el.unified.resolver.CompositeComponentELResolver@35866e6b,
org.apache.myfaces.el.FlashELResolver@cbb4e41,
org.apache.myfaces.el.unified.resolver.ManagedBeanResolver@5d0e93ee,
org.apache.myfaces.el.unified.resolver.ResourceResolver@68121dfc,
javax.el.ResourceBundleELResolver@7d6ec0c4,
org.apache.myfaces.el.unified.resolver.ResourceBundleResolver@7231c431,
javax.el.MapELResolver@2147a789, javax.el.ListELResolver@67482470,
javax.el.ArrayELResolver@31506a09, javax.el.BeanELResolver@16618e2a,
org.apache.webbeans.el.WebBeansELResolver@5ebc72e0]
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/login.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
[EL Info]: 2012-12-04 17:45:57.189--ServerSession(534087359)--EclipseLink,
version: Eclipse Persistence Services - 2.3.2.v20111125-r10461
[EL Info]: 2012-12-04
17:45:57.776--ServerSession(534087359)--file:/C:/apache-tomee-plus-1.5.1-SNAPSHOT/webapps/mcmsweb/WEB-INF/classes/_mcmsPU
login successful
GoogleCalendarUtil: calendarList.getEntries().size() = 2
GoogleCalendarUtil: calendar ID/summary = oletaweb@gmail.com/mcmsweb
GoogleCalendarUtil: calendar ID/summary =
998449989713@developer.gserviceaccount.com/998449989713@developer.gserviceaccount.com
GoogleCalendarUtil: events.getItems().size() = 250
pf_UsersController.loginUser(): administrator logged in at Tue Dec 04 17:45:58
EST 2012
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = true; ajaxHeader = XMLHttpRequest
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = true; ajaxHeader = XMLHttpRequest
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = true; ajaxHeader = XMLHttpRequest
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = true; ajaxHeader = XMLHttpRequest
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = true; ajaxHeader = XMLHttpRequest
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = true; ajaxHeader = XMLHttpRequest
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = false; ajaxHeader = null
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = true; ajaxHeader = XMLHttpRequest
LoginFilter.doFilter(): session = NOT null
LoginFilter.doFilter(): pf_usersController = NOT null
LoginFilter.doFilter(): req.getRequestURI() = /mcmsweb/index.jsf
LoginFilter.doFilter(): ajaxRequest = true; ajaxHeader = XMLHttpRequest

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message