From userstravis05@example.org Tue Nov 02 22:43:31 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 34693 invoked from network); 2 Nov 2010 22:43:30 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 Nov 2010 22:43:30 -0000 Received: (qmail 87924 invoked by uid 500); 2 Nov 2010 22:44:01 -0000 Delivered-To: travis05@example.org Received: (qmail 87872 invoked by uid 500); 2 Nov 2010 22:44:00 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 87864 invoked by uid 99); 2 Nov 2010 22:44:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 22:44:00 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO rcsinet10.oracle.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 22:43:49 +0000 Received: from acsinet15.oracle.com (acsinet15.oracle.com [83.161.120.155]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id oA2MhPsu025577 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <travis05@example.org>; Tue, 2 Nov 2010 22:43:27 GMT Received: from acsmt353.oracle.com (acsmt353.oracle.com [83.161.120.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id oA2J7Sdf008530 for <travis05@example.org>; Tue, 2 Nov 2010 22:43:25 GMT Received: from abhmt004.oracle.com by acsmt355.oracle.com with ESMTP id 743960291288737716; Tue, 02 Nov 2010 15:41:56 -0700 Received: from [83.161.120.155] (/83.161.120.155) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 02 Nov 2010 15:41:56 -0700 Message-ID: <travis05@example.org> Date: Tue, 02 Nov 2010 15:41:56 -0700 From: Michael Freedman <travis05@example.org> Organization: Oracle Corporation User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:83.161.120.155) Gecko/20101013 Thunderbird/3.1.5 MIME-Version: 1.0 To: MyFaces Discussion <travis05@example.org> Subject: Re: TRinidad + Portlet-Bridge ViewExpired in Internet Explorer References: <travis05@example.org> <travis05@example.org> <travis05@example.org> <travis05@example.org> <travis05@example.org> <travis05@example.org> <travis05@example.org> In-Reply-To: <travis05@example.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Any chance you can send me a .war file of this? If the actual app is much bigger its best if its narrowed just to these views but the whole app is fine as well. I can then try and recreate/debug given the dependent version you listed in a prior e-mail. Also I notice you reference the spring EL resolver in the faces-config.xml. Is this a dependency you forgot to list in your prior e-mail and if so what version of spring do you depend on/use? -Mike- On 10/29/2010 12:36 AM, Yves Deschamps wrote: > Thank you Michael, > > This is my "home" page and the faces.config... before i change them ... > > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> > <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> > <%@ taglib uri="http://myfaces.apache.org/trinidad" prefix="tr"%> > <f:view> > <tr:document> > <tr:form id="switch" rendered="#{not agentUtil.mobile}"> > <tr:commandButton text="desktop" action="desktopWelcome" immediate="true" > id="desktopWelcome" inlineStyle="display:none" /> > </tr:form> > <tr:form id="m_switch" rendered="#{agentUtil.mobile}"> > <tr:commandButton text="mobile" action="mobileWelcome" immediate="true" > id="mobileWelcome" inlineStyle="display:none" /> > </tr:form> > <f:facet name="meta"> > <script type="text/javascript"> > var f = document.forms[0]; > f.elements[0].click(); > </script> > </f:facet> > </tr:document> > </f:view> > > <?xml version="1.0" encoding="UTF-8"?> > > <faces-config xmlns="http://java.sun.com/xml/ns/javaee" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/javaee > http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd" > version="1.2"> > <application> > <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id> > > <locale-config> > <default-locale>fr</default-locale> > <supported-locale>fr</supported-locale> > <supported-locale>en</supported-locale> > </locale-config> > <resource-bundle> > <base-name>properties.i18n.bundles.Messages</base-name> > <var>msgs</var> > </resource-bundle> > <el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver> > > </application> > > <!-- desktop navigation --> > <navigation-rule> > <!--<from-view-id>/stylesheets/home.jsp</from-view-id>--> > <navigation-case> > <from-outcome>desktopWelcome</from-outcome> > <to-view-id>/stylesheets/desktop/welcome.jsp</to-view-id> > </navigation-case> > </navigation-rule> > <navigation-rule> > <from-view-id>/stylesheets/desktop/*</from-view-id> > <navigation-case> > <from-outcome>welcome</from-outcome> > <to-view-id>/stylesheets/desktop/welcome.jsp</to-view-id> > </navigation-case> > </navigation-rule> > <navigation-rule> > <from-view-id>/stylesheets/desktop/*</from-view-id> > <navigation-case> > <from-outcome>preferences</from-outcome> > <to-view-id>/stylesheets/desktop/preferences.jsp</to-view-id> > </navigation-case> > </navigation-rule> > <navigation-rule> > <from-view-id>/stylesheets/desktop/*</from-view-id> > <navigation-case> > <from-outcome>about</from-outcome> > <to-view-id>/stylesheets/desktop/about.jsp</to-view-id> > </navigation-case> > </navigation-rule> > <navigation-rule> > <from-view-id>/stylesheets/desktop/*</from-view-id> > <navigation-case> > <from-outcome>help</from-outcome> > <to-view-id>/stylesheets/desktop/help.jsp</to-view-id> > </navigation-case> > </navigation-rule> > > <!-- desktop pdf navigation --> > <navigation-rule> > <from-view-id>/stylesheets/desktop/*</from-view-id> > <navigation-case> > <from-outcome>helppdf</from-outcome> > <to-view-id>/stylesheets/print/help.pdf.jsf</to-view-id> > <redirect/> > </navigation-case> > </navigation-rule> > > <!-- mobile navigation --> > <navigation-rule> > <!-- <from-view-id>/stylesheets/home.jsp</from-view-id>--> > <navigation-case> > <from-outcome>mobileWelcome</from-outcome> > <to-view-id>/stylesheets/mobile/welcome.jsp</to-view-id> > </navigation-case> > </navigation-rule> > <navigation-rule> > <from-view-id>/stylesheets/mobile/*</from-view-id> > <navigation-case> > <from-outcome>welcome</from-outcome> > <to-view-id>/stylesheets/mobile/welcome.jsp</to-view-id> > </navigation-case> > </navigation-rule> > <navigation-rule> > <from-view-id>/stylesheets/mobile/*</from-view-id> > <navigation-case> > <from-outcome>preferences</from-outcome> > <to-view-id>/stylesheets/mobile/preferences.jsp</to-view-id> > </navigation-case> > </navigation-rule> > <navigation-rule> > <from-view-id>/stylesheets/mobile/*</from-view-id> > <navigation-case> > <from-outcome>about</from-outcome> > <to-view-id>/stylesheets/mobile/about.jsp</to-view-id> > </navigation-case> > </navigation-rule> > <navigation-rule> > <from-view-id>/stylesheets/mobile/*</from-view-id> > <navigation-case> > <from-outcome>help</from-outcome> > <to-view-id>/stylesheets/mobile/help.jsp</to-view-id> > </navigation-case> > </navigation-rule> > > </faces-config> > > > Le 28/10/2010 17:18, Michael Freedman a écrit : >> Any chance you can put together a simple/stripped down form of this >> use case and send to me? Yes, the <redirect /> works around the >> problem because it gets the bridge to think it should render the view >> in create mode (no existing state to restore) but its not clear that >> the the original way you coded it is incorrect. Hence I would like to >> take a look at the details of this (if possible) and see if its >> something that is a bug/needs to be fixed. >> -Mike- >> >> On 10/28/2010 2:00 AM, Yves Deschamps wrote: >>> Thank you all, >>> >>> The problem is now resolved. >>> In fact I use the first page " home.jsf " which activates an action >>> (a javascript which presses on a button) and thus passes in " / >>> stylesheets / desktop / welcome.jsf " if I am in "desktop" mode or " >>> / stylesheets / mobile / welcome.jsf " if I am in "mobile" mode. >>> The fact of indicating " < redirect / > " in "navigation-rules" >>> resolved my problem. >>> >>> I hope not to have made you lose too much time. >>> >>> Le 27/10/2010 22:48, Michael Freedman a écrit : >>>> Can you give us some additional details? >>>> >>>> 1. Can you confirm that /stylesheets/desktop/welcome.jsf is a valid >>>> viewId/view you have provided in the app? I.e. its not a >>>> resource/stylesheet referenced in the markup of a view? >>>> 2. Describe the various steps you take before this problem occurs >>>> ... >>>> something like: >>>> * Hit portal page: portlet renders view /xxxx.jsf >>>> * Invoke action in portlet results in rendering view >>>> /xxxx.jsf >>>> * At this point I (do something?/do nothing?) in then shortly >>>> the (page?/portlet?) auto rerenders and generates the error >>>> message. >>>> 3. Does this problem only occur in uPortal? I.e. since uPortal >>>> seems >>>> to use the pluto portlet container can you reproduce on Apache >>>> Pluto? >>>> 4. Have you enabled trace logging in Faces? If not can you? Can >>>> you >>>> send me the logged results? >>>> 5. Can you reproduce in a simplified test case that you can submit >>>> with a JIRA bug? >>>> >>>> -Mike- >>>> >>>> On 10/26/2010 12:16 AM, Yves Deschamps wrote: >>>>> I am using >>>>> >>>>> IE 8.0 >>>>> Faces 1.2.9 >>>>> Portlet-Bridge 1.0.0 >>>>> Trinidad 1.2.13 >>>>> uPortal 3.1.2 >>>>> >>>>> Thanks >>>>> >>>>> Le 25/10/2010 23:00, Scott O'Bryan a écrit : >>>>>> Which version of IE, Faces, Bridge, and Trinidad are you using? >>>>>> >>>>>> On 10/25/2010 10:17 AM, Yves Deschamps wrote: >>>>>>> Hi All, >>>>>>> >>>>>>> I have this issue in IE, not in Firefox ? The portlet it's Ok >>>>>>> but a few seconds later, it's down without action ! >>>>>>> >>>>>>> javax.faces.application.ViewExpiredException: >>>>>>> /stylesheets/desktop/welcome.jsfNo saved view state could be >>>>>>> found for the view identifier: /stylesheets/desktop/welcome.jsf >>>>>>> at >>>>>>> org.apache.myfaces.lifecycle.RestoreViewExecutor.execute(RestoreViewExecutor.java:88) >>>>>>> >>>>>>> at >>>>>>> org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:103) >>>>>>> >>>>>>> at >>>>>>> org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76) >>>>>>> at >>>>>>> org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRender(BridgeImpl.java:636) >>>>>>> >>>>>>> at >>>>>>> org.apache.myfaces.portlet.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:545) >>>>>>> >>>>>>> at >>>>>>> javax.portlet.faces.GenericFacesPortlet.doBridgeDispatch(GenericFacesPortlet.java:506) >>>>>>> >>>>>>> at >>>>>>> javax.portlet.faces.GenericFacesPortlet.doRenderDispatchInternal(GenericFacesPortlet.java:461) >>>>>>> >>>>>>> at >>>>>>> javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:231) >>>>>>> >>>>>>> at >>>>>>> javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247) >>>>>>> at >>>>>>> javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:202) >>>>>>> >>>>>>> at javax.portlet.GenericPortlet.render(GenericPortlet.java:175) >>>>>>> at >>>>>>> org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.java:208) >>>>>>> >>>>>>> at >>>>>>> org.apache.pluto.core.PortletServlet.doGet(PortletServlet.java:139) >>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) >>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) >>>>>>> >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) >>>>>>> >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) >>>>>>> >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551) >>>>>>> >>>>>>> at >>>>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488) >>>>>>> >>>>>>> at >>>>>>> org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:167) >>>>>>> >>>>>>> at >>>>>>> org.apache.pluto.core.DefaultPortletInvokerService.render(DefaultPortletInvokerService.java:101) >>>>>>> >>>>>>> at >>>>>>> org.apache.pluto.core.PortletContainerImpl.doRender(PortletContainerImpl.java:172) >>>>>>> >>>>>>> at >>>>>>> org.jasig.portal.channels.portlet.SpringPortletChannelImpl.render(SpringPortletChannelImpl.java:553) >>>>>>> >>>>>>> at >>>>>>> org.jasig.portal.channels.portlet.CSpringPortletAdaptor.renderCharacters(CSpringPortletAdaptor.java:197) >>>>>>> >>>>>>> at >>>>>>> org.jasig.portal.ChannelRenderer$Worker.execute(ChannelRenderer.java:607) >>>>>>> at >>>>>>> org.jasig.portal.utils.threading.BaseTask.run(BaseTask.java:27) >>>>>>> at sun.reflect.GeneratedMethodAccessor212.invoke(Unknown >>>>>>> Source) >>>>>>> at >>>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>>>>> >>>>>>> at java.lang.reflect.Method.invoke(Method.java:616) >>>>>>> at >>>>>>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) >>>>>>> >>>>>>> at >>>>>>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) >>>>>>> >>>>>>> at >>>>>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) >>>>>>> >>>>>>> at >>>>>>> org.springframework.orm.jpa.JpaInterceptor.invoke(JpaInterceptor.java:96) >>>>>>> at >>>>>>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) >>>>>>> >>>>>>> at >>>>>>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) >>>>>>> >>>>>>> at org.jasig.portal.$Proxy60.run(Unknown Source) >>>>>>> at >>>>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >>>>>>> >>>>>>> at >>>>>>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) >>>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:166) >>>>>>> at >>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) >>>>>>> >>>>>>> at >>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) >>>>>>> >>>>>>> at java.lang.Thread.run(Thread.java:636) >>>>>>> >>>>>> >>>>>> >>>>> >>>> >>> >> > From userstravis05@example.org Wed Nov 03 07:41:07 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 23066 invoked from network); 3 Nov 2010 07:41:07 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Nov 2010 07:41:07 -0000 Received: (qmail 39633 invoked by uid 500); 3 Nov 2010 07:41:38 -0000 Delivered-To: travis05@example.org Received: (qmail 39297 invoked by uid 500); 3 Nov 2010 07:41:36 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 39289 invoked by uid 99); 3 Nov 2010 07:41:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 07:41:35 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 07:41:28 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <travis05@example.org>) id 1PDXxz-0002lb-57 for travis05@example.org; Wed, 03 Nov 2010 00:41:07 -0700 Message-ID: <travis05@example.org> Date: Wed, 3 Nov 2010 00:41:07 -0700 (PDT) From: =?UTF-8?Q?Thomas_M=C3=B6ller?= <travis05@example.org> To: travis05@example.org Subject: Re: composite components: optional method-expression-attributes In-Reply-To: <travis05@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: travis05@example.org References: <travis05@example.org> X-Virus-Checked: Checked by ClamAV on apache.org Finally it seems to me that the "targets"-feature is only sufficient for the simplest scenarios. There are too many restrictions: 1) only for a restricted set of attribute names: "action", "actionListener", "validator", "valueChangeListener" 2) not supported in nested attributes So, what is the solution in my scenario (I thought it was simple enough): a composite component that consists of a panel with two buttons and *optional* actions and actionListeners. I want to use it in the following way: either 1) <my:twoButtons action1="..." actionListener1="..." action2="..." actionListener2="..." /> or 2) <my:twoButtons2 button1="..." button2="..." /> relying on a button model: public interface Button { String action(); void actionListener(ActionEvent e); } I tried to solve this problem without tricks like writing own tag handlers or modifying the facelets view declaration language. I'd really like to get an answer for this... ;-) -- View this message in context: http://old.nabble.com/composite-components%3A-optional-method-expression-attributes-tp30067392p30120526.html Sent from the MyFaces - Users mailing list travis05@example.org. From userstravis05@example.org Wed Nov 03 17:36:41 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 93232 invoked from network); 3 Nov 2010 17:36:41 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 Nov 2010 17:36:41 -0000 Received: (qmail 11067 invoked by uid 500); 3 Nov 2010 17:37:11 -0000 Delivered-To: travis05@example.org Received: (qmail 10969 invoked by uid 500); 3 Nov 2010 17:37:09 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 10960 invoked by uid 99); 3 Nov 2010 17:37:09 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 17:37:09 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-gw0-f53.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Nov 2010 17:37:03 +0000 Received: by gwb1 with SMTP id 1so705037gwb.12 for <travis05@example.org>; Wed, 03 Nov 2010 10:36:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=plvSGWueIr+qs4U7n7fQJmeqXaJvzHEI6yINjdwl73w=; b=b0SAwcs/h5+EEZudRTUHypcWVMeSje6p0kQ27Er9SK004P6n7ep38JAjNjQ/V4Cykw NoSn9NBSn9OgfkLURy95lNicOwhe8GYKc/e3lLqVof4fDtIbfN/FnuvVPoV1rasGFM19 F1P5RzXlY9Z5ASxbAr/l6bmoWlgbsvA8t/Kik= 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 :content-transfer-encoding; b=LnhVu1QjfO4ExFf4VTcam+vTtR6A4yot+tX4w9m7kvIMt0kLneSPQWUhsrVQgz86Rc d6uzGG2r6Kn9lJSuk/5I3VDvKWUA9FBliSs7ViOfBs3Ttj09fpbj0K+WHSvMpBCf/9oa 2yWNsVxKDBT3pk3wNq4gbZ1da7M9G8QkDFdmc= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id v52mr4833450wev.20.1288805801249; Wed, 03 Nov 2010 10:36:41 -0700 (PDT) Sender: travis05@example.org Received: by 83.161.120.155 with HTTP; Wed, 3 Nov 2010 10:36:41 -0700 (PDT) In-Reply-To: <travis05@example.org> References: <travis05@example.org> <travis05@example.org> Date: Wed, 3 Nov 2010 18:36:41 +0100 X-Google-Sender-Auth: gFbmGW5HSMEvd0BSMWURdm24WNM Message-ID: <travis05@example.org> Subject: Re: composite components: optional method-expression-attributes From: Jakob Korherr <travis05@example.org> To: MyFaces Discussion <travis05@example.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi Thomas, What you have encountered here is a known design problem of JSF 2.0. Currently we (the MyFaces team) are working hard to get all of this fixed for the JSF 2.1 specification, because - as you know - this stuff is really annoying and makes composite components unusable in the most scenarios. Sorry, but that is all we can do right now. Fortunately the JSF 2.1 spec release will be very soon! Regards, Jakob 2010/11/3 Thomas M=C3=B6ller <travis05@example.org>: > > Finally it seems to me that the "targets"-feature is only sufficient for = the > simplest scenarios. There are too many restrictions: > > 1) only for a restricted set of attribute names: "action", "actionListene= r", > "validator", "valueChangeListener" > 2) not supported in nested attributes > > So, what is the solution in my scenario (I thought it was simple enough):= a > composite component that consists of a panel with two buttons and *option= al* > actions and actionListeners. I want to use it in the following way: > > either 1) > > <my:twoButtons action1=3D"..." actionListener1=3D"..." action2=3D"..." > actionListener2=3D"..." /> > > or 2) > > <my:twoButtons2 button1=3D"..." button2=3D"..." /> relying on a button mo= del: > > public interface Button > { > =C2=A0String action(); > =C2=A0void actionListener(ActionEvent e); > } > > I tried to solve this problem without tricks like writing own tag handler= s > or modifying the facelets view declaration language. > > I'd really like to get an answer for this... ;-) > -- > View this message in context: http://old.nabble.com/composite-components%= 3A-optional-method-expression-attributes-tp30067392p30120526.html > Sent from the MyFaces - Users mailing list travis05@example.org. > > --=20 Jakob Korherr blog: http://www.jakobk.com twitter: http://twitter.com/jakobkorherr work: http://www.irian.at From userstravis05@example.org Thu Nov 04 05:44:08 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 31310 invoked from network); 4 Nov 2010 05:44:08 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Nov 2010 05:44:08 -0000 Received: (qmail 39681 invoked by uid 500); 4 Nov 2010 05:44:39 -0000 Delivered-To: travis05@example.org Received: (qmail 39248 invoked by uid 500); 4 Nov 2010 05:44:36 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 39240 invoked by uid 99); 4 Nov 2010 05:44:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 05:44:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-wy0-f181.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 05:44:29 +0000 Received: by wyb40 with SMTP id 40so1481631wyb.12 for <travis05@example.org>; Wed, 03 Nov 2010 22:44:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=eliNULbAlvLGCvlacV+QxZlzF+uJp+pL121FgRmXDeY=; b=IpoZlykt2t4+c3qud0bCRwcz7U3943UFrJ4pJ10LMgDcnPajb+1yCC96W/Li7Gvo/4 WgGAADuFc2nzFRbJSanaZLnLv6lHtOJTjpawJ3TDq/T/DlqSnF7Pkx9wNtfzI4OBeyj7 HdtQi2Ju3xOKK2L91BD2X5eP5gJ8yGK7s1A5o= 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=ttjOypo12SKuBPf7kdvhW17+FhzjoMl5opPadNj8A10CsMQoZmzaMrdWbuRYpwMhoD erX5imYsnJxn1ew98gdvy8aEdN0+vx6oP8gGNK02P+BXKN6R1OdaVLfUsdM6JhLSQIzg NI45HgxJH9oMPGp9qXOox/l0qBDASdI7BFSyI= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id d19mr209494wbt.203.1288849448498; Wed, 03 Nov 2010 22:44:08 -0700 (PDT) Sender: travis05@example.org Received: by 83.161.120.155 with HTTP; Wed, 3 Nov 2010 22:44:08 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 3 Nov 2010 22:44:08 -0700 (PDT) In-Reply-To: <travis05@example.org> References: <travis05@example.org> <travis05@example.org> <travis05@example.org> Date: Thu, 4 Nov 2010 06:44:08 +0100 X-Google-Sender-Auth: ABR48zGsKJt4Ja0iXPdnjIPRJDQ Message-ID: <travis05@example.org> Subject: Re: composite components: optional method-expression-attributes From: Matthias Wessendorf <travis05@example.org> To: MyFaces Discussion <travis05@example.org> Content-Type: multipart/alternative; boundary=0016367fae338bf819049433a54b X-Virus-Checked: Checked by ClamAV on apache.org --0016367fae338bf819049433a54b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I saw the discussion on the "open" jsr list. Jakob, is there any archive fo= r Thomas to read the mails? -M sent from my Android phone On Nov 3, 2010 6:37 PM, "Jakob Korherr" <travis05@example.org> wrote: > Hi Thomas, > > What you have encountered here is a known design problem of JSF 2.0. > Currently we (the MyFaces team) are working hard to get all of this > fixed for the JSF 2.1 specification, because - as you know - this > stuff is really annoying and makes composite components unusable in > the most scenarios. > > Sorry, but that is all we can do right now. Fortunately the JSF 2.1 > spec release will be very soon! > > Regards, > Jakob > > 2010/11/3 Thomas M=F6ller <travis05@example.org>: >> >> Finally it seems to me that the "targets"-feature is only sufficient for the >> simplest scenarios. There are too many restrictions: >> >> 1) only for a restricted set of attribute names: "action", "actionListener", >> "validator", "valueChangeListener" >> 2) not supported in nested attributes >> >> So, what is the solution in my scenario (I thought it was simple enough)= : a >> composite component that consists of a panel with two buttons and *optional* >> actions and actionListeners. I want to use it in the following way: >> >> either 1) >> >> <my:twoButtons action1=3D"..." actionListener1=3D"..." action2=3D"..." >> actionListener2=3D"..." /> >> >> or 2) >> >> <my:twoButtons2 button1=3D"..." button2=3D"..." /> relying on a button m= odel: >> >> public interface Button >> { >> String action(); >> void actionListener(ActionEvent e); >> } >> >> I tried to solve this problem without tricks like writing own tag handlers >> or modifying the facelets view declaration language. >> >> I'd really like to get an answer for this... ;-) >> -- >> View this message in context: http://old.nabble.com/composite-components%3A-optional-method-expression-at= tributes-tp30067392p30120526.html >> Sent from the MyFaces - Users mailing list travis05@example.org. >> >> > > > > -- > Jakob Korherr > > blog: http://www.jakobk.com > twitter: http://twitter.com/jakobkorherr > work: http://www.irian.at --0016367fae338bf819049433a54b-- From userstravis05@example.org Thu Nov 04 06:49:41 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 56756 invoked from network); 4 Nov 2010 06:49:40 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Nov 2010 06:49:40 -0000 Received: (qmail 78486 invoked by uid 500); 4 Nov 2010 06:50:11 -0000 Delivered-To: travis05@example.org Received: (qmail 78218 invoked by uid 500); 4 Nov 2010 06:50:08 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 78210 invoked by uid 99); 4 Nov 2010 06:50:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 06:50:07 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ww0-f43.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 06:49:59 +0000 Received: by wwi18 with SMTP id 18so1543205wwi.0 for <travis05@example.org>; Wed, 03 Nov 2010 23:49:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=kuS2qggw3lZmHbXFBw1nN/ar0rvObfuoRk0UIZUjzLU=; b=LYSUw8XyHOD4p7ajXiEAzvkmkRsTGSeW5BLj+F6JnhskTJb4E/xI6onpfFhHt8+VnD iuNtLPuOvUNChBQW5xTMEteknsRcEbz1CmTHpA+DfzX7gm9ThJQQOtuECwKpTyea78kV dg8Zc9MBqEUuGWQwMBok6/zjZ7ZrD18qFIh70= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JO1lFIimJDYoLF+YauBB3rBbJjtb21SQJKWBwTHx+eCiz7Pn2z8GP1fmv0QPXOnYod KBewcL+rizMB6PX5FIAQeGxeImrabNccQWQcjVE01Bqp/qyQ9uciJl6eXj5idKe9XivJ WVPfgtcZEFX/V5ZNTjK7RkpGMyi7mbGuKtEaM= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id c6mr316193wel.48.1288853379448; Wed, 03 Nov 2010 23:49:39 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 3 Nov 2010 23:49:39 -0700 (PDT) Date: Thu, 4 Nov 2010 06:49:39 +0000 Message-ID: <travis05@example.org> Subject: Re: t:inputCalendar not working properly in a pop up window From: Kissue Kissue <travis05@example.org> To: MyFaces Discussion <travis05@example.org> Content-Type: multipart/alternative; boundary=001636427565d9813c0494348f5e X-Virus-Checked: Checked by ClamAV on apache.org --001636427565d9813c0494348f5e Content-Type: text/plain; charset=ISO-8859-1 Hi, I am working on a project whereby i need to include the t:inputCalendar in a pop up window as a pop up calendar, the kind of pop up that appears and the background is faded. However when i click on the calendar icon, the pop up calendar appears against the main faded background rather than in the pop up window. Any ideas why this may be happening and anything i can do to make it work well? Thanks. K. --001636427565d9813c0494348f5e-- From userstravis05@example.org Thu Nov 04 08:44:40 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 95444 invoked from network); 4 Nov 2010 08:44:39 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Nov 2010 08:44:39 -0000 Received: (qmail 54881 invoked by uid 500); 4 Nov 2010 08:45:10 -0000 Delivered-To: travis05@example.org Received: (qmail 54733 invoked by uid 500); 4 Nov 2010 08:45:08 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 54723 invoked by uid 99); 4 Nov 2010 08:45:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 08:45:07 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 08:45:01 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <travis05@example.org>) id 1PDvR2-0008AN-7J for travis05@example.org; Thu, 04 Nov 2010 01:44:40 -0700 Message-ID: <travis05@example.org> Date: Thu, 4 Nov 2010 01:44:40 -0700 (PDT) From: =?UTF-8?Q?Thomas_M=C3=B6ller?= <travis05@example.org> To: travis05@example.org Subject: Re: composite components: optional method-expression-attributes In-Reply-To: <travis05@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: travis05@example.org References: <travis05@example.org> X-Virus-Checked: Checked by ClamAV on apache.org I found the discussion for jsf 2.1 and recognized that new attribute "targetAttributeName" on the attribute tag. But could somebody of the experts briefly answer here if I can do the following regarding to nested attributes: public interface SimpleModel { String myaction(); } <my:buttonPanel button1="#{simpleModel1}" button2="#{simpleModel2}" /> Is it possible to declare: <cc:interface> <cc:attribute name="model" type="SimpleModel" > <cc:attribute name="myaction" targetAttributeName="action" targets="button" /> </cc:attribute> </cc:interface> <cc:implementation> <h:commandButton id="button" ... /> </cc:implementation> How can I declare a navigation rule for all actions that arise from button1? <from-action>#{simpleModel1...}</from-action> <!-- ??? --> If I had two actions on a model I had to distinguish them from each other somehow. Thanks for your answers in advance! -- View this message in context: http://old.nabble.com/composite-components%3A-optional-method-expression-attributes-tp30067392p30129953.html Sent from the MyFaces - Users mailing list travis05@example.org. From userstravis05@example.org Thu Nov 04 13:16:30 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 15137 invoked from network); 4 Nov 2010 13:16:30 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 Nov 2010 13:16:30 -0000 Received: (qmail 33929 invoked by uid 500); 4 Nov 2010 13:17:00 -0000 Delivered-To: travis05@example.org Received: (qmail 33751 invoked by uid 500); 4 Nov 2010 13:16:57 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 33742 invoked by uid 99); 4 Nov 2010 13:16:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 13:16:56 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 13:16:50 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <travis05@example.org>) id 1PDzg5-0005yk-S8 for travis05@example.org; Thu, 04 Nov 2010 06:16:29 -0700 Message-ID: <travis05@example.org> Date: Thu, 4 Nov 2010 06:16:29 -0700 (PDT) From: "boreddy.ravi" <travis05@example.org> To: travis05@example.org Subject: Trinidad JSF table scrollbar issue when a row show/hide is clicked MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: travis05@example.org X-Virus-Checked: Checked by ClamAV on apache.org Hi Team, I am using Apache Trinidad JSF(trinidad-api-1.0.7.jar). I have a table with a set of rows.Each row can be expandable and collapsed using show/hide link. My table has a scroll bar(table has a height attribute.See below code). My Problem is here For example : If I have 10 rows in the table with a scroll bar .If I go to the last row by scrolling down and If I click on 'show' link on the last row.It seems the table is redisplayed as it was first time when the page is displayed.I mean to say that I need to scroll down to the last record to see the last expanded record. Note : On whichever row, the 'show' link is clicked, this is happening. My code is here. <tr:panelBox contentStyle="border: 1px #2461AA solid; height: 236px; width:990px;" background="transparent"> <tr:table width="100%" id="memberSort" var="results" value="#{MemberSearchResults.memberSearchResults}" rows="25" height="120px"> <f:facet name="detailStamp" > Some content is here </f:facet> </tr:table> </tr:panelBox> Can you please help me on this. Thanks & Regards, Ravi -- View this message in context: http://old.nabble.com/Trinidad-JSF-table-scrollbar-issue-when-a-row-show-hide-is-clicked-tp30131889p30131889.html Sent from the MyFaces - Users mailing list travis05@example.org. From userstravis05@example.org Fri Nov 05 13:00:02 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 92477 invoked from network); 5 Nov 2010 13:00:02 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 13:00:02 -0000 Received: (qmail 71982 invoked by uid 500); 5 Nov 2010 13:00:33 -0000 Delivered-To: travis05@example.org Received: (qmail 71533 invoked by uid 500); 5 Nov 2010 13:00:30 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 71516 invoked by uid 99); 5 Nov 2010 13:00:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 13:00:29 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mxout1.volkswagen.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 13:00:22 +0000 Received: from vwagwox00110.vw.vwg ([83.161.120.155]) by mxout1.volkswagen.de (MOS 3.10.6-GA) with ESMTP id CTL40945; Fri, 5 Nov 2010 14:00:00 +0100 (CET) Received: from vwagwox00103.vw.vwg ([83.161.120.155]) by vwagwox00110.vw.vwg with Microsoft SMTPSVC281.548.3564); Fri, 5 Nov 2010 13:59:55 +0100 Received: from vwagwox00024.vw.vwg ([83.161.120.155]) by vwagwox00103.vw.vwg over TLS secured channel with Microsoft SMTPSVC281.548.3564); Fri, 5 Nov 2010 13:59:54 +0100 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CB7CE9.5783D224" Subject: [Tobago] update model value with tc:hidden Date: Fri, 5 Nov 2010 13:59:54 +0100 Message-ID: <travis05@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Tobago] update model value with tc:hidden Thread-Index: Act86VdNy+0CP5iXSUyqAgrGqzmNlQ== From: "Abushammala, Hani (EXTERN: conceptQ)" <travis05@example.org> To: "MyFaces Discussion" <travis05@example.org> X-OriginalArrivalTime: 05 Nov 2010 12:59:54.0981 (UTC) FILETIME=[57A47150:01CB7CE9] ------_=_NextPart_001_01CB7CE9.5783D224 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello All, What is the recommended way to update model value in a hidden element by an ajax request in Tobago? I have noticed that only by invoking an action and not by an ajax request (e.g. sorting or paging in the sheet) the bounded value in a hidden element will be updated. Thanks in advanced. Regards, Hani ------_=_NextPart_001_01CB7CE9.5783D224-- From userstravis05@example.org Fri Nov 05 13:52:36 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 21420 invoked from network); 5 Nov 2010 13:52:36 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 13:52:36 -0000 Received: (qmail 50140 invoked by uid 500); 5 Nov 2010 13:53:07 -0000 Delivered-To: travis05@example.org Received: (qmail 49861 invoked by uid 500); 5 Nov 2010 13:53:04 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 49852 invoked by uid 99); 5 Nov 2010 13:53:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 13:53:03 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 13:52:57 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <travis05@example.org>) id 1PEMib-00013u-Bk for travis05@example.org; Fri, 05 Nov 2010 06:52:37 -0700 Message-ID: <travis05@example.org> Date: Fri, 5 Nov 2010 06:52:37 -0700 (PDT) From: Andreas Schmidt <travis05@example.org> To: travis05@example.org Subject: tomahawk 1.1.10 and Dojo (IE7 and SSL) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: travis05@example.org Hello all, I just downloaded the latest tomahawk release and discovered, that dojo.js still does not contain the patch TOMAHAWK-1389.patch that was made available over a year ago. (https://issues.apache.org/jira/browse/TOMAHAWK-1389). Are there any plans to change the buggy dojo.js in tomahawk.jar for good ? greetings, Andreas -- View this message in context: http://old.nabble.com/tomahawk-1.1.10-and-Dojo-%28IE7-and-SSL%29-tp30141321p30141321.html Sent from the MyFaces - Users mailing list travis05@example.org. From userstravis05@example.org Fri Nov 05 19:21:17 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 44298 invoked from network); 5 Nov 2010 19:21:16 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 Nov 2010 19:21:16 -0000 Received: (qmail 21777 invoked by uid 500); 5 Nov 2010 19:21:46 -0000 Delivered-To: travis05@example.org Received: (qmail 21651 invoked by uid 500); 5 Nov 2010 19:21:46 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 21301 invoked by uid 99); 5 Nov 2010 19:21:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 19:21:45 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-wy0-f181.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Nov 2010 19:21:41 +0000 Received: by wyb40 with SMTP id 40so3372886wyb.12 for <multiple recipients>; Fri, 05 Nov 2010 12:21:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=z0ElT58Z5eQbC7iFKsLyCVSBRDltyTqIajOFnNmQoQw=; b=VYpH955Gb35RDLQd6E4CrotodNtYpsDGy9p1H8FMRXzYC8sHaLo5ldpbnfuzx/jYE5 kGzXYQD7WafS2ydEDNSpPsuAEI1zxcPMSbAdxXyXzUPDTH3EtiIZgcKJoJU/cQbRH9oV bt5bqxVCvQA3mXwM1VJgF2WadPjUvDxLjLpLU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=UgYWir1AuWNQws052rWN11YamgxXY5pJR/kb+KyH3BHmEbklZv5oAm/LWKxzVVUSvt zXqQPfX4uSM4NMZbKNGVNhyTGzhMMHb0ZbyZU50pcmhCb1WfiCATECKey5soVx91UO25 m23EsNOaoX9CdzlqBGK3eCwK4nP/VN7LkBbrQ= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id d19mr2451739wbt.203.1288984879542; Fri, 05 Nov 2010 12:21:19 -0700 (PDT) Sender: travis05@example.org Received: by 83.161.120.155 with HTTP; Fri, 5 Nov 2010 12:21:19 -0700 (PDT) Date: Fri, 5 Nov 2010 20:21:19 +0100 X-Google-Sender-Auth: S02LUNQ34hk5ggMB7WRX8n0l0Xg Message-ID: <travis05@example.org> Subject: [Trinidad] Nightly Builds are back for 1.0.x, 1.2.x and 2.0.x From: Matthias Wessendorf <travis05@example.org> To: MyFaces Discussion <travis05@example.org>, MyFaces Development <travis05@example.org> Content-Type: text/plain; charset=ISO-8859-1 Hi, today I did some maven/pom clean up and hudson server related work. As part of that the nightly builds for all 'supported' Trinidad versions are back: See here for example: https://repository.apache.org/content/repositories/snapshots/org/apache/myfaces/trinidad/trinidad-api/ Next (as I did a bit of the clean up already) is doing releases for them - most likely end of the month... Greetings, Matthias -- Matthias Wessendorf blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf twitter: http://twitter.com/mwessendorf From userstravis05@example.org Sat Nov 06 22:20:03 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 7777 invoked from network); 6 Nov 2010 22:20:03 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 6 Nov 2010 22:20:03 -0000 Received: (qmail 93898 invoked by uid 500); 6 Nov 2010 22:20:33 -0000 Delivered-To: travis05@example.org Received: (qmail 93833 invoked by uid 500); 6 Nov 2010 22:20:32 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 93825 invoked by uid 99); 6 Nov 2010 22:20:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 22:20:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-ww0-f43.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 22:20:28 +0000 Received: by wwb13 with SMTP id 13so2600002wwb.0 for <travis05@example.org>; Sat, 06 Nov 2010 15:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=X+B/7GjqOoPsnTZQC9ZPQ0D9xBEajgP53UdAeP/dAXI=; b=SRRiisP+oXQ4ruBzCwU7ZOuXz1QJQuPlbJ1Upm4PEaMXZ2sABNGrHhGp5Pm8+yZ/fU 0TPydHVdR/tuLgs10dcS6rNHQ/6R8gjb0sC6RrQFMk75tHgFrTO9dTgsJywkBYBmUJxp nRJfilYnk5ecNbbUx8dfG8VbD/lrfVaIT5AsU= 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 :content-transfer-encoding; b=R4SdoU1SLXg7bbJyCZekAiorooQ+uS/wytU83ynQ6tDBRCdQPIFp+sOmeL+knXVqdn yuwkMXUEdW6a4Vv6IywhdpLMRf0gIBGXQ7G150pigtALQtw7ajIW2iKZK3qwaNqaFZkT AsnahZ0WuUYb0k9GAr0HTqT1O+MVdbtidBDaM= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id j43mr654508wea.20.1289082005825; Sat, 06 Nov 2010 15:20:05 -0700 (PDT) Sender: travis05@example.org Received: by 83.161.120.155 with HTTP; Sat, 6 Nov 2010 15:20:05 -0700 (PDT) In-Reply-To: <travis05@example.org> References: <travis05@example.org> <travis05@example.org> Date: Sat, 6 Nov 2010 23:20:05 +0100 X-Google-Sender-Auth: hnbcPNqWcoh04TV0WltcbiTKF7I Message-ID: <travis05@example.org> Subject: Re: composite components: optional method-expression-attributes From: Jakob Korherr <travis05@example.org> To: MyFaces Discussion <travis05@example.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Thomas, Could you explain this in a little more detail please? Regards, Jakob 2010/11/4 Thomas M=C3=B6ller <travis05@example.org>: > > I found the discussion for jsf 2.1 and recognized that new attribute > "targetAttributeName" on the attribute tag. But could somebody of the > experts briefly answer here if I can do the following regarding to nested > attributes: > > public interface SimpleModel > { > =C2=A0String myaction(); > } > > <my:buttonPanel button1=3D"#{simpleModel1}" button2=3D"#{simpleModel2}" /= > > > Is it possible to declare: > > <cc:interface> > =C2=A0<cc:attribute name=3D"model" type=3D"SimpleModel" > > =C2=A0 =C2=A0<cc:attribute name=3D"myaction" targetAttributeName=3D"actio= n" > targets=3D"button" /> > =C2=A0</cc:attribute> > </cc:interface> > > <cc:implementation> > =C2=A0<h:commandButton id=3D"button" ... /> > </cc:implementation> > > How can I declare a navigation rule for all actions that arise from butto= n1? > > =C2=A0<from-action>#{simpleModel1...}</from-action> <!-- ??? --> > > If I had two actions on a model I had to distinguish them from each other > somehow. > > Thanks for your answers in advance! > > > -- > View this message in context: http://old.nabble.com/composite-components%= 3A-optional-method-expression-attributes-tp30067392p30129953.html > Sent from the MyFaces - Users mailing list travis05@example.org. > > --=20 Jakob Korherr blog: http://www.jakobk.com twitter: http://twitter.com/jakobkorherr work: http://www.irian.at From userstravis05@example.org Sun Nov 07 11:16:50 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 21999 invoked from network); 7 Nov 2010 11:16:50 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 7 Nov 2010 11:16:50 -0000 Received: (qmail 4931 invoked by uid 500); 7 Nov 2010 11:17:21 -0000 Delivered-To: travis05@example.org Received: (qmail 4554 invoked by uid 500); 7 Nov 2010 11:17:18 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 4546 invoked by uid 99); 7 Nov 2010 11:17:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 11:17:17 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-iw0-f181.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 11:17:11 +0000 Received: by iwn3 with SMTP id 3so5127229iwn.12 for <travis05@example.org>; Sun, 07 Nov 2010 03:16:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=hIhTFGe9OjTDrw7CRGAqDMjfqBj+t9Us6m1JhIav9t8=; b=KmLk9uUZ/23mxLbNRTsuQh97kdSGncq1/2QcmViouCIfJRCaJPaGhraUpiCn/WROR9 95yj/3v3cKt3qA86caTU3m14OhW6JxTgSZZRaKUvtmJ5p8u+2BV/jNp/WAnZBIegRRgE Weildkz0wd+9slbKjY0Im+oF8/qSGajsKPkXM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=rokQs+Gr/2WCE6nskhUEQxFLlHPB6WIdaD5f2/tpiHYnyh6s69H/xIZfs7lX0e1xav IGMdhekvuRF76s8v9+4qxIvRwJ3d358WGD0o/MRY8yJvvZDI9v/CoBFp4p+FZZ/5jADE Vk7dQFwxKGekOw4nKIDSW4SlP0mgNNegpP9+I= Received: by 83.161.120.155 with SMTP id ca13mr3193169ibb.16.1289128610069; Sun, 07 Nov 2010 03:16:50 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with HTTP; Sun, 7 Nov 2010 03:16:29 -0800 (PST) From: =?UTF-8?Q?Walter_Mour=C3=A3o?= <travis05@example.org> Date: Sun, 7 Nov 2010 09:16:29 -0200 Message-ID: <travis05@example.org> Subject: [Trinidad] partialSubmit + server side validation To: MyFaces Discussion <travis05@example.org> Content-Type: multipart/alternative; boundary=0016362850fadf7d9c049474a4a2 X-Virus-Checked: Checked by ClamAV on apache.org --0016362850fadf7d9c049474a4a2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi folks, when testing the following form with client-side validation disabled (<client-validation-disabled>true</client-validation-disabled> - I really need this way), the "required" message is now shown: * <tr:form partialTriggers=3D"button1"> <tr:panelPage> <tr:inputText label=3D"Your name" id=3D"input1" value=3D"#{helloWorldBacking.name}" required=3D"true"/> <tr:commandButton id=3D"button1" text=3D"press me" action=3D"#{helloWorldBacking.send}" partialSubmit=3D"true"/> </tr:panelPage> </tr:form>* This test case uses MyFaces 1.2.9 + Trinidad 1.2.13. Is it really a known bug (maybe related with https://issues.apache.org/jira/browse/TRINIDAD-697) ? Is there a workaround ? Best regards, Walter Mour=C3=A3o http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br --0016362850fadf7d9c049474a4a2-- From userstravis05@example.org Sun Nov 07 11:46:37 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 27111 invoked from network); 7 Nov 2010 11:46:37 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 7 Nov 2010 11:46:37 -0000 Received: (qmail 16575 invoked by uid 500); 7 Nov 2010 11:47:07 -0000 Delivered-To: travis05@example.org Received: (qmail 16310 invoked by uid 500); 7 Nov 2010 11:47:05 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 16301 invoked by uid 99); 7 Nov 2010 11:47:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 11:47:05 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-iw0-f181.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Nov 2010 11:46:59 +0000 Received: by iwn3 with SMTP id 3so5150172iwn.12 for <travis05@example.org>; Sun, 07 Nov 2010 03:46:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=uNjO1U5SupXo9lbh6PAtSWAJkb9FrD7qHOAsosz8jAE=; b=FxTE/oY4e/MqMsAuxdXqMm0Sg0w/LGf76CoDzCf+5FhVzoC32IErV33VR45MOtZWyV 4jjqwf5jd+9SvmkL9rJmQ9AOps5X2aMjMqCHFsHapCpsm6uvrc+VMmxVBN6iwbpXktSk n3BlmmBBuQ3fWVwAQ5f81rHdDhsocodhL4Tos= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=KsEHvkj6JZP/gV9H1WA3UuCQiSYLNR3o1p+ecJgvox/MGep1xSZiQ1CM1XAhXadJKm t9NByjwFPd/ABjx5Kmfj54ESUXygKtccKfSP19NamdWNL6g5PwhZlX5Nz4Xqj+R5gKDc wQpTC85LibW3OBZcCgKlKu4sy1Tx8tJ6jF7Cc= Received: by 83.161.120.155 with SMTP id hc7mr2607821icb.289.1289130397638; Sun, 07 Nov 2010 03:46:37 -0800 (PST) MIME-Version: 1.0 Received: by 83.161.120.155 with HTTP; Sun, 7 Nov 2010 03:46:17 -0800 (PST) In-Reply-To: <travis05@example.org> References: <travis05@example.org> From: =?UTF-8?Q?Walter_Mour=C3=A3o?= <travis05@example.org> Date: Sun, 7 Nov 2010 09:46:17 -0200 Message-ID: <travis05@example.org> Subject: Re: [Trinidad] partialSubmit + server side validation To: MyFaces Discussion <travis05@example.org> Content-Type: multipart/alternative; boundary=20cf301d3b2c6b9fda0494750f81 X-Virus-Checked: Checked by ClamAV on apache.org --20cf301d3b2c6b9fda0494750f81 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > message is now shown: > typo, actually the message is *not* shown. Thanks in advance, Walter Mour=C3=A3o http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br 2010/11/7 Walter Mour=C3=A3o <travis05@example.org> > Hi folks, > > when testing the following form with client-side validation disabled > (<client-validation-disabled>true</client-validation-disabled> - I really > need this way), the "required" message is now shown: > * > <tr:form partialTriggers=3D"button1"> > > <tr:panelPage> > <tr:inputText label=3D"Your name" id=3D"input1" > value=3D"#{helloWorldBacking.name}" required=3D"true"/> > <tr:commandButton id=3D"button1" text=3D"press me" > action=3D"#{helloWorldBacking.send}" partialSubmit=3D"true"/> > </tr:panelPage> > > </tr:form>* > > This test case uses MyFaces 1.2.9 + Trinidad 1.2.13. > Is it really a known bug (maybe related with > https://issues.apache.org/jira/browse/TRINIDAD-697) ? > Is there a workaround ? > > Best regards, > > Walter Mour=C3=A3o > http://waltermourao.com.br > http://arcadian.com.br > http://oriens.com.br > > --20cf301d3b2c6b9fda0494750f81-- From userstravis05@example.org Mon Nov 08 11:36:35 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 46788 invoked from network); 8 Nov 2010 11:36:35 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 8 Nov 2010 11:36:35 -0000 Received: (qmail 21924 invoked by uid 500); 8 Nov 2010 11:37:06 -0000 Delivered-To: travis05@example.org Received: (qmail 21828 invoked by uid 500); 8 Nov 2010 11:37:03 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 21815 invoked by uid 99); 8 Nov 2010 11:37:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 11:37:02 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mh03.weblink.ch) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 11:36:52 +0000 Received: from NBMAR (smtp.finaware.ch [83.161.120.155]) by mh03.weblink.ch with SMTP; Mon, 8 Nov 2010 12:36:26 +0100 From: "Benjamin Mark" <travis05@example.org> To: "'MyFaces Discussion'" <travis05@example.org> References: <travis05@example.org> In-Reply-To: <travis05@example.org> Subject: How to solve link enable/disable by validator? Date: Mon, 8 Nov 2010 12:36:21 +0100 Message-ID: <000001cb7f39$2af9aba0$80ed02e0$@de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Act8IpPDjm/bOLUIRgmHk79oROgG0QDE6jSQ Content-Language: de X-Virus-Checked: Checked by ClamAV on apache.org Hello, I have the following problem: If some user is entering a already used email adress or username I wan't to let appear a link (s:link/button) to the "forgott password" page in a form? I'm not sure how to solve it with my custom email validator? Has someone an idea how I could solve that? Thx for any help Best regards Ben Validator ###################################################################### public class EmailValidator implements Validator, Serializable { public void validate(FacesContext context, UIComponent component, Object value) throws ValidatorException { context.getViewRoot().getChildren() if (value instanceof String) { if (!isValid((String) value)) { throw new ValidatorException(new FacesMessage(Messages.instance().get("text_validemail"))); } else if (!isAvailable((String) value)) { throw new ValidatorException(new FacesMessage(Messages.instance().get("test_emailalreadyused"))); } } else { throw new ValidatorException(new FacesMessage("The object [" + value + "] is no instance of String which is needed for email validation")); } } private boolean isValid(String eMail) { String expression = ".+@.+\\.[a-z]+"; // Make the comparison case-insensitive. Pattern pattern = Pattern.compile(expression, Pattern.CASE_INSENSITIVE); Matcher matcher = pattern.matcher(eMail); if (matcher.matches()) { return true; } return false; } private boolean isAvailable(String eMail) { EntityManager entityManager = (EntityManager) Component.getInstance("entityManager"); entityManager.joinTransaction(); Query q = entityManager.createQuery("from Person p where p.email = :email"); q.setParameter("email", eMail); if (q.getResultList().size() > 0) { return false; } return true; } } Email in Form ############################################################## <s:decorate id="emailField" template="layout/edit.xhtml"> <ui:define name="label">#{messages.text_email}</ui:define> <h:inputText id="email" required="true" size="45" maxlength="45" label="#{messages.text_email}" value="#{personHome.instance.email}"> <f:validator validatorId="emailValidator" /> <a:support event="onblur" reRender="emailField" bypassUpdates="true" ajaxSingle="true" /> </h:inputText> </s:decorate> From userstravis05@example.org Mon Nov 08 11:44:11 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 49503 invoked from network); 8 Nov 2010 11:44:11 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 8 Nov 2010 11:44:11 -0000 Received: (qmail 30057 invoked by uid 500); 8 Nov 2010 11:44:42 -0000 Delivered-To: travis05@example.org Received: (qmail 29964 invoked by uid 500); 8 Nov 2010 11:44:41 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 29956 invoked by uid 99); 8 Nov 2010 11:44:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 11:44:40 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_FILL_THIS_FORM_SHORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-vw0-f53.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 11:44:35 +0000 Received: by vws19 with SMTP id 19so1569760vws.12 for <travis05@example.org>; Mon, 08 Nov 2010 03:44:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=5FbHXy6RoTq+k2vygbuqW4uj3VfFk9EiT9gQcz90ggU=; b=APMaB+fR4BRRthcHmXxwntII52koQj92PEnV2n31vqoHQPCKHariu+tEX/iVMXBmSL HXLkYRqNos43zt2A+5cGeRChJ5jVDwO9yFnj6S1QcmvHqJByVfcCDopcsAU6/75DXgWJ /zZ8pFA4DHrONrjTmEyBAttHuii99etWVpSbM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=bf2KcgsdZ1LkMpXetj7KNW3NVU/t/TddA6IR8iMoM7GISJBriDSAHxCIOJdPNoQN4k Uok8dBBOVY5lyAiyjNKahLS5im/K3Wr5FIg4qwYS52oD/8p6cfslHdxjF4yfQ9MP2FOL ELQE5O491k934BXkIwycpJHS2i3KzVgy3ExOg= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id l8mr4966154qcp.144.1289216654384; Mon, 08 Nov 2010 03:44:14 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 8 Nov 2010 03:44:14 -0800 (PST) In-Reply-To: <000001cb7f39$2af9aba0$80ed02e0$@de> References: <travis05@example.org> <000001cb7f39$2af9aba0$80ed02e0$@de> Date: Mon, 8 Nov 2010 12:44:14 +0100 Message-ID: <travis05@example.org> Subject: Re: How to solve link enable/disable by validator? From: Anton Gavazuk <travis05@example.org> To: MyFaces Discussion <travis05@example.org> Content-Type: multipart/alternative; boundary=0016367f9c12b91e4604948924a7 --0016367f9c12b91e4604948924a7 Content-Type: text/plain; charset=ISO-8859-1 Hi, rendered option is your friend: 2 possibilities inside your validator 1) you are looking for the link component in your view and change rendered property of discovered UIComponent 2) you create a binding method for the rendered attribute of the link and binding method will verify the condition drawback of this method is that you will have to introduce session Variable (Bean) or maintain your own 'custom' scope variable. So prefer to use case #1 Cheers, Anton 2010/11/8 Benjamin Mark <travis05@example.org> > Hello, > > I have the following problem: > > If some user is entering a already used email adress or username I wan't to > let appear a link (s:link/button) to the "forgott password" page in a form? > > I'm not sure how to solve it with my custom email validator? > > Has someone an idea how I could solve that? > > Thx for any help > > Best regards > > Ben > > > Validator > ###################################################################### > > public class EmailValidator implements Validator, Serializable { > > > public void validate(FacesContext context, UIComponent component, Object > value) throws ValidatorException > { > > context.getViewRoot().getChildren() > if (value instanceof String) > { > if (!isValid((String) value)) > { > throw new ValidatorException(new > FacesMessage(Messages.instance().get("text_validemail"))); > } else if (!isAvailable((String) value)) > { > throw new ValidatorException(new > FacesMessage(Messages.instance().get("test_emailalreadyused"))); > } > } else > { > throw new ValidatorException(new FacesMessage("The object [" > + value > + "] is no instance of String which is needed for email > validation")); > } > > } > > private boolean isValid(String eMail) > { > String expression = ".+@.+\\.[a-z]+"; > // Make the comparison case-insensitive. > Pattern pattern = Pattern.compile(expression, > Pattern.CASE_INSENSITIVE); > Matcher matcher = pattern.matcher(eMail); > if (matcher.matches()) > { > return true; > } > return false; > } > > private boolean isAvailable(String eMail) > { > EntityManager entityManager = (EntityManager) > Component.getInstance("entityManager"); > > entityManager.joinTransaction(); > > Query q = entityManager.createQuery("from Person p where p.email = > :email"); > q.setParameter("email", eMail); > if (q.getResultList().size() > 0) > { > return false; > } > return true; > } > } > > Email in Form > ############################################################## > > <s:decorate id="emailField" template="layout/edit.xhtml"> > <ui:define > name="label">#{messages.text_email}</ui:define> > <h:inputText id="email" required="true" size="45" > maxlength="45" > label="#{messages.text_email}" > value="#{personHome.instance.email}"> > <f:validator validatorId="emailValidator" /> > <a:support event="onblur" reRender="emailField" > bypassUpdates="true" ajaxSingle="true" /> > </h:inputText> > </s:decorate> > > > > --0016367f9c12b91e4604948924a7-- From userstravis05@example.org Mon Nov 08 12:16:25 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 65211 invoked from network); 8 Nov 2010 12:16:25 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 8 Nov 2010 12:16:25 -0000 Received: (qmail 65723 invoked by uid 500); 8 Nov 2010 12:16:56 -0000 Delivered-To: travis05@example.org Received: (qmail 65518 invoked by uid 500); 8 Nov 2010 12:16:53 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 65509 invoked by uid 99); 8 Nov 2010 12:16:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 12:16:53 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-yw0-f53.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 12:16:48 +0000 Received: by ywa6 with SMTP id 6so3601574ywa.12 for <travis05@example.org>; Mon, 08 Nov 2010 04:16:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=XtDLlZHmTup7sgC2xvCAabhtcuo12zmwCG3liShiXZ4=; b=PIJA/21KWUIfJ9PJo7FwGuSedmNdG05xz9xSMYZTE/tLdepS04/vjzbFFCMBvUnL7Q cZIqSpkUKrHA9wohIWZqABD89OP/+ngu9Oz3ck9zTcF1A2oSlbfGHqJTlgD7S9RFc4N+ 3133EGg15EV5GQvbtHowCHi6b3+hd8g28PYLc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=t5jlTGbSefg8CK3uwQjhQeC0uZmAtCmGScBpp0MPEJOl7b+8EWB1nTSapKtyHypyKB YO1vJ5RnKRtup32saReYXCKNuBuqb0GyQsvSzqv6oNoKCGoENK4hJUgOLRhg4wljphgc pJbsgYOv80SXXzG69pizIJ+4NXMNOdla/bmgM= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id 21mr5253136agu.104.1289218586200; Mon, 08 Nov 2010 04:16:26 -0800 (PST) Sender: travis05@example.org Received: by 83.161.120.155 with HTTP; Mon, 8 Nov 2010 04:16:25 -0800 (PST) In-Reply-To: <travis05@example.org> References: <travis05@example.org> Date: Mon, 8 Nov 2010 13:16:25 +0100 X-Google-Sender-Auth: hgxdf_-mWKDrZGWh45vD0SGGz7M Message-ID: <travis05@example.org> Subject: Re: [Tobago] update model value with tc:hidden From: Bernd Bohmann <travis05@example.org> To: MyFaces Discussion <travis05@example.org> Content-Type: text/plain; charset=ISO-8859-1 Hello Hani, I'm thinking about a way how to extend the rendered region in a case of a sheet ajax request. Can you add an issue for this, please. And can you explain why you need to update the hidden field? Regards Bernd On Fri, Nov 5, 2010 at 1:59 PM, Abushammala, Hani (EXTERN: conceptQ) <travis05@example.org> wrote: > Hello All, > > What is the recommended way to update model value in a hidden element by > an ajax request in Tobago? > > I have noticed that only by invoking an action and not by an ajax > request (e.g. sorting or paging in the sheet) the bounded value in a > hidden element will be updated. > > Thanks in advanced. > > Regards, > Hani > From userstravis05@example.org Mon Nov 08 14:09:37 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 26149 invoked from network); 8 Nov 2010 14:09:37 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 8 Nov 2010 14:09:37 -0000 Received: (qmail 13793 invoked by uid 500); 8 Nov 2010 14:10:08 -0000 Delivered-To: travis05@example.org Received: (qmail 13257 invoked by uid 500); 8 Nov 2010 14:10:04 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 13247 invoked by uid 99); 8 Nov 2010 14:10:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 14:10:03 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO snt0-omc4-s20.snt0.hotmail.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 14:09:54 +0000 Received: from SNT120-W20 ([83.161.120.155]) by snt0-omc4-s20.snt0.hotmail.com with Microsoft SMTPSVC281.548.3564); Mon, 8 Nov 2010 06:09:33 -0800 Message-ID: <travis05@example.org> Content-Type: multipart/alternative; boundary="_888581af-ee4e-45f8-89f8-ddb507efed7a_" X-Originating-IP: [83.161.120.155] From: Oscar Duque <travis05@example.org> To: <travis05@example.org> Subject: unsuscribe Date: Mon, 8 Nov 2010 09:09:33 -0500 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 08 Nov 2010 14:09:33.0997 (UTC) FILETIME=[91C4EDD0:01CB7F4E] --_888581af-ee4e-45f8-89f8-ddb507efed7a_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable = --_888581af-ee4e-45f8-89f8-ddb507efed7a_-- From userstravis05@example.org Mon Nov 08 15:00:57 2010 Return-Path: <userstravis05@example.org> Delivered-To: travis05@example.org Received: (qmail 50729 invoked from network); 8 Nov 2010 15:00:56 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 8 Nov 2010 15:00:56 -0000 Received: (qmail 18261 invoked by uid 500); 8 Nov 2010 15:01:27 -0000 Delivered-To: travis05@example.org Received: (qmail 18124 invoked by uid 500); 8 Nov 2010 15:01:24 -0000 Mailing-List: contact travis05@example.org; run by ezmlm Precedence: bulk List-Help: <mailto:travis05@example.org> List-Unsubscribe: <mailto:travis05@example.org> List-Post: <mailto:travis05@example.org> List-Id: <users.myfaces.apache.org> Reply-To: "MyFaces Discussion" <travis05@example.org> Delivered-To: mailing list travis05@example.org Received: (qmail 17851 invoked by uid 99); 8 Nov 2010 15:01:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 15:01:22 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=10.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of travis05@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mxout1.volkswagen.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 15:01:17 +0000 Received: from vwagwox00110.vw.vwg ([83.161.120.155]) by mxout1.volkswagen.de (MOS 3.10.6-GA) with ESMTP id CTO14562; Mon, 8 Nov 2010 16:00:47 +0100 (CET) Received: from vwagwox00105.vw.vwg ([83.161.120.155]) by vwagwox00110.vw.vwg with Microsoft SMTPSVC281.548.3564); Mon, 8 Nov 2010 16:00:42 +0100 Received: from vwagwox00024.vw.vwg ([83.161.120.155]) by vwagwox00105.vw.vwg over TLS secured channel with Microsoft SMTPSVC281.548.3564); Mon, 8 Nov 2010 16:00:41 +0100 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: [Tobago] update model value with tc:hidden Date: Mon, 8 Nov 2010 16:00:41 +0100 Message-ID: <travis05@example.org> In-Reply-To: <travis05@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Tobago] update model value with tc:hidden Thread-Index: Act/P+NSWyA13w3KTLiF3aLGlF1tigACI1XQ References: <travis05@example.org> <travis05@example.org> From: "Abushammala, Hani (EXTERN: conceptQ)" <travis05@example.org> To: "MyFaces Discussion" <travis05@example.org> X-OriginalArrivalTime: 08 Nov 2010 15:00:41.0826 (UTC) FILETIME=[B6567C20:01CB7F55] Hello Bernd, Actually we have a request bean that saves some information for each = request and we use this bean to transfer the values from page to page. The information in the request bean used to render a sheet column so = that by an ajax request the request bean will be empty and the values = will not be setted. The hidden fields are defined in all pages and not = within the sheets. Finally we have decided to change the scope of the = bean to session scope. I don`t know, if the extending of the rendered region in a
{'source': 'Apache Software Foundation Public Mail Archives'}