----- Forwarded message ----- From: "Parthiv Pradhan" <[email protected]> Date: Wed, Mar 14, 2012 4:00 pm Subject: Trinidad 2.0.1 PPR hour Glass Issue with facelet To: "[email protected]" <[email protected]>
Hi, Following is the content of my xhtml file. On clicking the button though the output text gets updated an hour glass appears. It seems to be an issue just with facelets. It only happens in case the partial trigger is placed on the parent container. I am also attaching the xhtml file and Java bean. I think this is a basic functionality/feature on Trinidad JSF 2.0.1 and it should work. Where am I going wrong? <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" xmlns:f="http://java.sun.com/jsf/core" xmlns:tr="http://myfaces.apache.org/trinidad" > <f:view> <tr:document title="Apache Trinidad Demo Index" stateSaving="client"> <tr:form> <tr:panelGroupLayout partialTriggers="demobtn"> <tr:commandButton text="howdyyy!!" partialSubmit="true" id="demobtn" actionListener="#{DemoBean.demoActionListener}" ></tr:commandButton> <tr:outputText value="#{DemoBean.demoString}" id="demoout" ></tr:outputText> </tr:panelGroupLayout> </tr:form> </tr:document> </f:view> </ui:composition> Following needs be put in to the faces-config.xml file <managed-bean> <managed-bean-name>DemoBean</managed-bean-name> <managed-bean-class> com.parthiv.example.DemoBean </managed-bean-class> <managed-bean-scope> request </managed-bean-scope> </managed-bean> Thanks Parthiv **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS***
