AUTO: Geetika Srivastava is out of the office (returning 03/29/2016)
I am out of the office until 03/29/2016. Note: This is an automated response to your message "Adding a custom HTTP header to all requests" sent on 03/17/2016 15:46:41. This is the only notification you will receive while this person is away. =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
AUTO: Geetika Srivastava is out of the office (returning Fri 05/23/2014)
I am out of the office from Sat 02/08/2014 until Fri 05/23/2014. Note: This is an automated response to your message "@FlowScoped, @Named and @ManagedBean" sent on 02/10/2014 22:26:00. This is the only notification you will receive while this person is away. =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
Problem in page rendering
Hi, In my JSF page I have two datatables which are present in 2 separate < a4j:outputPanel> which are rendered based upon a flag in session. Only one table is rendered at a time. The flag for rendering the table is set by the actionlistener attached to a On clicking of the command button, the same page should be rendered with the table corresponding to the updated flag value.However the earlier view is rendered which changes on refreshing the page. Moreover the managed bean action and the actionlistener , all are getting called. The output panel is as follows: Command button is as follows: The action method and navigation rule in faces - config associated is as follows: public String saveAlert() { //buisness logic goes here return "success"; } And i have the following entry in my faces-config.xml.. * success /pages/header.jsp JSF 1.2 is used and the application is deployed on weblogic 10.3. Please help me resolve. Regards, Geetika Srivastava Tata Consultancy Services Mailto: geetika.srivast...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
Error while qualifying code on JBOSS
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) [:6.0.0.Final] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [:6.0.0.Final] at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) [:6.0.0.Final] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) [:6.0.0.Final] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [:6.0.0.Final] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) [:6.0.0.Final] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) [:6.0.0.Final] at java.lang.Thread.run(Unknown Source) [:1.6.0_22] Regards, Geetika Srivastava Tata Consultancy Services Mailto: geetika.srivast...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
Issues in using tomahawk with Jboss 5
Hi, We are using tomahawk in our application deployed on Jboss server 5.0.1 GA. Since Jboss contains built-in JSF implementation, we are using org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL true in our application web.xml to override the Jboss implementation. The required jars myfaces-api 1.1.5, myfaces-1.1.5 and tomahawk 1.1.8 are bundled with the war. The application deploys correctly, however we get a error message: "Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations." On accessing the application, the JSCookMenu javascript is not called and the menus are not displayed. However on page refresh, the menus are displayed correctly. The requires JsCookMenu scripts are also called. There is no error displayed in logs. Kindly help in resolving this issue. Regards, Geetika Srivastava Tata Consultancy Services Mailto: geetika.srivast...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing __ =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
Using tiles with tomahawk12 1.1.9
Hi, I am trying to use tiles (struts version) with tomahawk12 1.1.9 jar. However it seems that the definition factory is not getting initialized as I am getting the error. javax.faces.FacesException: javax.servlet.jsp.JspException: Can't get definitions factory from context. I am using the same configuration as done in the example for tomahawk 1.1.9 . Is there any difference in configuration for tomahawk12. Regards, Geetika Srivastava Tata Consultancy Services Mailto: geetika.srivast...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
Re: Error on upgrading to myfaces1.2.8
Hi , I was able to resolve the problem. I had initialized JSPTilesViewHandler instead of JSPTwoTilesViewHandler in faces-config.xml. On correcting it , I am able to view my page. Regards, Geetika Srivastava Tata Consultancy Services Mailto: geetika.srivast...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing From: Werner Punz To: users@myfaces.apache.org Date: 04/26/2010 03:07 PM Subject: Re: Error on upgrading to myfaces1.2.8 The blank page happens usually if you mix two jsp versions together (or two el versions) Werner Am 26.04.10 10:20, schrieb Geetika Srivastava: > Hi Jacob, > > Thanks for the reply . > I cleared the cache and tried running the application. > I am not getting any error but no output is being displayed i.e I am > getting a blank . > Moreover the complete page is getting printed in the logs. > > Please let me know if I am missing out on something. > > Regards, > Geetika Srivastava > Tata Consultancy Services > Mailto: geetika.srivast...@tcs.com > Website: http://www.tcs.com > > Experience certainty. IT Services > Business Solutions > Outsourcing > > > > > From: > Jakob Korherr > To: > MyFaces Discussion > Date: > 04/23/2010 06:56 PM > Subject: > Re: Error on upgrading to myfaces1.2.8 > Sent by: > sethfromaust...@gmail.com > > > > Hi again, > > I did some research about this problem and found some similar issues in > various different projects and frameworks (e.g. in primefaces [1]). The > real > problem seems to come from the tag library descriptor (.tld) files. > > In MyFaces 1.1.x the entry for the value attribute of h:commandButton > looks > like this: > > > value > false > false > java.lang.String > > > > It specifies a type of java.lang.String, because Unified EL was not > included > in JSF 1.1 and thus JSF 1.1 resolved the expressions itself. In MyFaces > 1.2.x, however, the entry looks like this: > > > > value > > java.lang.Object > > > > Unified Expression Language is used in JSF 1.2 and thus the entry must not > specifiy a normal type, but a type inside a deferred-value element. With > this entry the web container knows that it has to create a ValueExpression > for the given attribute. > > My guess now is that your weblogic server somehow uses the "old" .tld > files > from MyFaces 1.1.x with your application that uses MyFaces 1.2.x and thus > the Unified EL integration does not work correctly. However I don't know > why > this could be the case. Maybe a caching issue. You could try to clean up > your server and restart it. Maybe it will work then. > > I really hope this will help you! > > Regards, > Jakob > > > [1] http://primefaces.prime.com.tr/forum/viewtopic.php?f=3&t=4 > > 2010/4/23 Jakob Korherr > >> Hi, >> >> Seems like a Expression Language problem. The Servlet (which is >> automatically created by Weblogic) that handles the JSP page internally >> seems to expect a ValueExpression but it (only) gets a String. So either >> something from weblogic is missing here (or does not work correctly) > that >> would create the ValueExpression out of the (Expression-)String or > weblogic >> handles plain String entries in ValueExpression-attributes wrong. >> >> You could try to push weblogic to create a ValueExpression for the two >> value attributes in your sample page by adding #{' at the begin and '} > at >> the end of the String value. So your page should look something like > this >> (some parts are cut for clarity): >> >> >> >> >> >> >> This will maybe work, but you should not have to do it this way! >> >> Regards, >> Jakob >> >> 2010/4/23 Geetika Srivastava >> >> Hi, >>> >>> I am trying to upgrade to myfaces 1.2.8 from myfaces 1.1.5 on weblogic >>> server 10.3. I am trying to display a simple jsf page . >>> >>> <%@ page session="false" contentType="text/html;charset=utf-8"%> >>> <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%> >>> <%@ taglib uri="http://java.sun.com/jsf/core"; p
Re: Error on upgrading to myfaces1.2.8
Hi Jacob, Thanks for the reply . I cleared the cache and tried running the application. I am not getting any error but no output is being displayed i.e I am getting a blank . Moreover the complete page is getting printed in the logs. Please let me know if I am missing out on something. Regards, Geetika Srivastava Tata Consultancy Services Mailto: geetika.srivast...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing From: Jakob Korherr To: MyFaces Discussion Date: 04/23/2010 06:56 PM Subject: Re: Error on upgrading to myfaces1.2.8 Sent by: sethfromaust...@gmail.com Hi again, I did some research about this problem and found some similar issues in various different projects and frameworks (e.g. in primefaces [1]). The real problem seems to come from the tag library descriptor (.tld) files. In MyFaces 1.1.x the entry for the value attribute of h:commandButton looks like this: value false false java.lang.String It specifies a type of java.lang.String, because Unified EL was not included in JSF 1.1 and thus JSF 1.1 resolved the expressions itself. In MyFaces 1.2.x, however, the entry looks like this: value java.lang.Object Unified Expression Language is used in JSF 1.2 and thus the entry must not specifiy a normal type, but a type inside a deferred-value element. With this entry the web container knows that it has to create a ValueExpression for the given attribute. My guess now is that your weblogic server somehow uses the "old" .tld files from MyFaces 1.1.x with your application that uses MyFaces 1.2.x and thus the Unified EL integration does not work correctly. However I don't know why this could be the case. Maybe a caching issue. You could try to clean up your server and restart it. Maybe it will work then. I really hope this will help you! Regards, Jakob [1] http://primefaces.prime.com.tr/forum/viewtopic.php?f=3&t=4 2010/4/23 Jakob Korherr > Hi, > > Seems like a Expression Language problem. The Servlet (which is > automatically created by Weblogic) that handles the JSP page internally > seems to expect a ValueExpression but it (only) gets a String. So either > something from weblogic is missing here (or does not work correctly) that > would create the ValueExpression out of the (Expression-)String or weblogic > handles plain String entries in ValueExpression-attributes wrong. > > You could try to push weblogic to create a ValueExpression for the two > value attributes in your sample page by adding #{' at the begin and '} at > the end of the String value. So your page should look something like this > (some parts are cut for clarity): > > > > > > > This will maybe work, but you should not have to do it this way! > > Regards, > Jakob > > 2010/4/23 Geetika Srivastava > > Hi, >> >> I am trying to upgrade to myfaces 1.2.8 from myfaces 1.1.5 on weblogic >> server 10.3. I am trying to display a simple jsf page . >> >> <%@ page session="false" contentType="text/html;charset=utf-8"%> >> <%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%> >> <%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> I am getting the following stack trace: >> >> java.lang.ClassCastException: java.lang.String cannot be cast to >> javax.el.ValueExpression >> at >> jsp_servlet._pages.__login._jsp__tag3(__login.java:280) >> at >> jsp_servlet._pages.__login._jsp__tag2(__login.java:242) >> at >> jsp_servlet._pages.__login._jsp__tag1(__login.java:190) >> at >> jsp_servlet._pages.__login._jsp__tag0(__login.java:139) >> at >> jsp_servlet._pages.__login._jspService(__login.java:98) >> at weblogic.servlet.jsp.JspBase.service(JspBase.java:34) >> at >> >> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) >> at >> >> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper
Error on upgrading to myfaces1.2.8
ExecuteThread.java:173) I have included all jars mentioned in the apache site including tomahawk12 1.1.9 jar and have also updated the version in faces -config and web.xml Please help. Regards, Geetika Srivastava Tata Consultancy Services Mailto: geetika.srivast...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you