Strange JSF f:loadBundle
I try to create simple jsf application.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ page import="java.util.*"%>
<html>
<head>
<title>Login</title>
<f:loadBundle var="Message" basename="bundle.Messages" />
</head>
<body>
<f:view>
<h:form id="loginForm">
<h:message for="loginForm" />
<h:outputText value="#{Message.username_label}" ></h:outputText>
</h:form>
</f:view>
</body>
</html>
But when I try to see in browser output: #{Message.username_label} I cann't understand why variable was non substituted with value? Thanks.
probably because in your web.xml you define the wrong servlet specification version. It needs to be at least 2.5. That or you are "running" the page in such a way that JSF does not interpret the content.
Similar Messages
-
Problem with default converter in JSF facelet
Hello,
I stuck with strange JSF java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer, when I try to use abstract class with generic. My code:
ObjectClass.java
public abstract class ObjectClass<T> {
public abstract T getFieldValue();
public abstract void setFieldValue(T fieldValue);
}IntClass.java
public class IntClass extends ObjectClass<Integer> {
private Integer fieldValue;
public Integer getFieldValue() {
return fieldValue;
public void setFieldValue(Integer fieldValue) {
this.fieldValue = fieldValue;
}TestBean.java
@ManagedBean(name = "TestBean")
public class TestBean {
private IntClass intClass = new IntClass();
public IntClass getIntClass() {
return intClass;
}test.xhtml
<h:form>
<h:outputLabel value="Integer value:" />
<h:inputText value="#{TestBean.intClass.fieldValue}" />
<h:commandButton type="submit" value="Set" />
</h:form>When I try to enter numeric value into a field and submit, I get java.lang.ClassCastException error:
javax.faces.component.UpdateModelException: javax.el.ELException: /test.xhtml @16,68 value="#{TestBean.intClass.fieldValue}": java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
at javax.faces.component.UIInput.updateModel(UIInput.java:839)
at javax.faces.component.UIInput.processUpdates(UIInput.java:722)
at javax.faces.component.UIForm.processUpdates(UIForm.java:270)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1108)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:1108)
at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:1239)
at com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:78)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.el.ELException: /test.xhtml @16,68 value="#{TestBean.intClass.fieldValue}": java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:132)
at javax.faces.component.UIInput.updateModel(UIInput.java:805)
... 33 more
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
at test.IntClass.setFieldValue(IntClass.java:3)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.el.BeanELResolver.setValue(BeanELResolver.java:381)
at javax.el.CompositeELResolver.setValue(CompositeELResolver.java:386)
at com.sun.faces.el.FacesCompositeELResolver.setValue(FacesCompositeELResolver.java:100)
at com.sun.el.parser.AstValue.setValue(AstValue.java:197)
at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:286)
at com.sun.faces.facelets.el.TagValueExpression.setValue(TagValueExpression.java:124)
... 34 moreWhen I remove [extends ObjectClass<Integer>] from class IntClass, or when I explicitly add IntegerConverter to inputText component, everything works fine. Can someone tell me, what's the problem here? Thanks.
videThat looks like a doozy. My first thought is that it has something to do with reflection but that doesn't tell me what to do about it. I would consider taking it to the Mojarra development mailing list or even filing a bug report.
-
Can't get JSF sources from CVS
I'm trying to download the correct version of JSF to debug a problem I'm having with JSF in Glassfish. I'm using GF v2 b41c, which states that it uses JSF cvs tag: JSF_1_2_GFINT_B17. (See http://wiki.java.net/bin/view/Projects/GlassFishSourcesBundle.)
When I try to use CVS to get JSF, I get the following error msg:
"User rickhoro doesn't have <VersionControl - Read> access to project javaserverfaces-sources"
I'm using the following setup for CVS in NetBeans 5.5.1, but I get the same response with a CVS client.
Access Method: pserver
User: <my username>
Host: cvs.dev.java.net
Repository Path: /cvs
Module: javaserverfaces-sources
Branch: JSF_1_2_GFINT_B17
Do I need to request access from somebody? I find this strange -- JSF is open source now, correct? Why isn't it available?
Please help.Thanks for detailed info, but still no solution here.
I downloaded the 1.2_04-p01-b10 source and added the src folders to the Sources tab of the Glassfish v2b41c server in NetBeans 5.5.1.
I'm using Seam, so I put a breakpoint in SeamPhaseListener.beforePhase(). When I click on the LifecycleImpl.execute() or LifecycleImpl.phase() in the Call Stack tab (of NB) the program counter (ie. cursor) appears on the wrong line -- about 8 lines off from where it should be: (see the following)
while (listenersIterator.hasNext()) {
PhaseListener listener = listenersIterator.next();
if (phaseId.equals(listener.getPhaseId()) ||
PhaseId.ANY_PHASE.equals(listener.getPhaseId())) {
listener.beforePhase(event); [SHOULD BE HERE]
catch (Exception e) {
if (LOGGER.isLoggable(Level.WARNING)) {
LOGGER.warning("phase("
+ phaseId.toString() [SHOWS UP HERE INSTEAD]
+ ','
+ context
+
") threw exception: "
+ e
+ ' '
+ e.getMessage()
+
"\n"
+ Util.getStackTraceString(e));
}I assume that these JSF sources do not match the binaries used by this Glassfish implementation. Is there any other reason I would be seeing this mismatch? Makes it pretty near impossible to debug the problem. Please, I would really appreciate further help here.
Thanks very much,
Rick -
JSF and XML propertie File instead DOTpropertie File
Hello
I'll would like to load resources in JSF (<f:loadBundle>)
Coming out by a xml File instead a .propertie File.
I've got no problem get resources stored in .properties
I try to change the files. Al I get is a exception throw by
org.apache.myfaces.taglib.core.LoadBundleTag resolveBundle
Resource bundle 'com.webapp.navigation.' could not be found.
Where did I find some information about?
Where is it to configure?
The Servletcontainer is Tomcat.
Thank You
esion
.Thank You,
it's realy a good idea to rtfm :-)
esion -
JSF and commandlink, strange comportment (for a newbie)
Hello everybody, and excuse me for my bad english...
I am actually working (or learning) JSF. But i'm actually in front of a very strange thing:
When I have got two commandlinks on a jsp page pointing to the same method bean, the second sems not to be active!
Maybe my english is not clear, so the following code should be more clear:
My home.jsp:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>home</title>
</head>
<body>
<f:view>
<f:subview id="header">
<jsp:include page="links.jsp"/>
</f:subview>
<f:subview id="login">
<h:outputText
value="A really simple test for login/logout
and display products for logged in poeple"
id="presentation"/>
<h:form id="loginForm" rendered="#{userBean.loggedIn=='false'}">
<h:outputText value="Username"/><br>
<h:inputText value="#{userBean.name}" id="username" required="true"/><br>
<h:outputText value="Password"/><br>
<h:inputSecret value="#{userBean.password}" id="userpassword" required="true"/><br>
<h:commandButton value="Login" action="#{userBean.loginAction}" />
<br>
</h:form>
</f:subview>
<f:subview id="footer">
<h:form id="testlink" >
<h:outputText value="You can aloso see the user list here:"/>
<h:commandLink id="hometousers" action="#{userBean.getAllUserAction}" value="go" />
</h:form>
</f:subview>
</f:view>
</body>
</html>my links.jsp:
<f:subview id="header">
<h:form id="linksform">
<table>
<tr>
<td>
<h:outputLink id="headertohome" value="home.jsf">
<f:verbatim> home </f:verbatim>
</h:outputLink>
<h:commandLink id="headertoproducts"
action="#{productListBean.productsAction}"
rendered="#{userBean.loggedIn=='true'}">
<h:outputText value=" products "/>
</h:commandLink>
<h:commandLink id="headertousers"
action="#{userBean.getAllUserAction}"
rendered="#{userBean.loggedIn=='true'}">
<h:outputText value=" users "/>
</h:commandLink>
</td>
</tr>
</table>
</h:form>
</f:subview>As you can see, home.jsp include links.jsp, and "idtousers" has the same action than "headertousers".
When I logg in with the "loginForm", the links included are visible and works fine.
But, always when I am logged in, the link at the bottom of home.jsp ("testlink") is unusable, it does absolutely nothing (just the # character appears in the url...).
And when i'm not logged in, the include links does not appear (normal), and the link at the bottom functions well.
I have tested several things like use several views, subviews, forms... but without results...
I hope I am clear.
Have you got any idea?
Thanks by advance.Ok, this is the more simple example possible for this problem.
I have only two jsp(jsf) files, the first file (just below) caontains two commandlinks used to go on the second (by using the navigation rules with a managed bean).
The first commandlink works well, but the second doesn't do anything... (I just see the '#' character at the end of the url but nothing happens).
I use the 1.1 jsf implementation.
The first jsp file:
<f:view>
<h:form>
<h:commandLink action="#{simpleBean.createMsgAction}" value="destination" />
</h:form>
<h:form>
<h:commandLink action="#{simpleBean.createMsgAction}" value="destination" />
</h:form>
</f:view>The second jsp file:
<f:view>
<h:dataTable value="#{simpleBean.msgs}" var="row">
<h:column>
<f:facet name="header" >
<h:outputText value="string" />
</f:facet>
<h:outputText value="#{row.msg}"/>
</h:column>
</h:dataTable>
</f:view>I was thinking it's maybe a bug of this JSF version, but i haven't had the time to test with the 1.2 .
Thank you by advance for your help. (I always hope I am clear) -
JSF 1.2 LoadBundle Problems
Hi guys
So I update my application from JSF 1.1 to 1.2
I use Bundle resources.
So in the last version I only declare my resources by using the tag loadBundle
But now it seems that its not working anymore. If I declare it in the faces-config.xml , its okay. But I have several files.properties
So If there is a better way than to declare 30 files in the xml file, I'm listening.
Thx guys.
ps: I found that https://issues.apache.org/jira/browse/MYFACES-1238 , so changes as been done, but logicaly the old way should continue to work no ?I have moved my Resources.properties file under WEB-INF\classes\demo and I used this tag <f:loadBundle basename="demo.Resources" var="msgs" />to access. It seems to be working. Thanks to Jason Lee (JSFT Developer) for the recommendation. Hope this help
Edited by: HobiOne2007 on Nov 28, 2007 5:27 PM -
Strange behaviour concerning JSF phases
Hi all,
I have a JSF page that displays two custom JSF tables, A and B with his correspondents pagers.
<mycustom:table id="A" ... pager="#{tableA.pager}">
<mycustom:table id="B" ... pager="#{tableB.pager}">I experiment a strange behaviour when I hit tableA.next link.
This is the flow (summarized):
First-Page-Load (START)
encodeA
encodeB
First-Page-Load (END)
<User hits TableA.nextPage pager link>
decodeA
pagerA.setNext(true)
decodeB
encodeA
pagerA.getNext() returns false ¿? (here is the problem! should return true)
encodeB
pagerB.getNext() returns true ¿? (should return false)Any help will be appreciated...Self-solved:
Inside the decode method I must get the pager:
pager = getPager(table); //This line is essential!!
String pLink = (String)requestMap.get("pLink" + clientId);
if ((pLink != null) && (!pLink.equals(""))) {
if (pLink.equals("next")) { //Siguientes
pager.setNext(true);
} else if (pLink.equals("previous")) { //Anteriores
pager.setPrevious(true);
} -
Hi All
I am using JSF1.1 in my application.
In my application I want to use loadBundle to load messages to my page. But I am not able to use loadBundle, it is giving no Scuh tag loadBundle in library imported with prefix f. I am using prefix f for http://java.sun.com/jsf/html. Kindly help me to resolve at the earliestThe loadbundle tag is under the tag lib core.
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
Moreover, the tld file is available in the jar file jsf-impl.jar, under path META-INF. The name is jsf_core.tld -
Strange behavior switching from JSF to JSP2
I am learning JSF and was trying to implement a small exercise on EL (with JSF page and JSP2). i found a strange behavior and completely clueless of the reason behind it. Please find my code below and scenario
MY JSP file
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<f:view>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD><TITLE>Accessing Bean Properties</TITLE>
<LINK REL="STYLESHEET"
HREF="./css/styles.css"
TYPE="text/css">
</HEAD>
<BODY>
<TABLE BORDER=5 ALIGN="CENTER">
<TR><TH class="TITLE">Accessing Bean Properties: JSP2_1 result</TH></TR>
</TABLE>
<% System.out.println("Accessing Bean Properties: JSP2_1 result"); %>
<OL>
<LI>${favColors.col[0]}
<LI>${favColors.col[1]}
<LI>${favColors.col[2]}
<LI>${favColors.col[3]}
<LI>First Name ${favColors.firstName}
<LI>Second Name ${favColors.middleName}
<LI>ThirdName Name ${favColors.lastName}
</OL>
<BR><BR><BR>
<TABLE BORDER=5 ALIGN="CENTER">
<TR><TH class="TITLE">Accessing Bean Properties</TH></TR>
</TABLE>
<% System.out.println("Accessing Bean Properties"); %>
<UL>
<LI><h:outputText
value="#{favColors.col[0]}"/>
<LI><h:outputText
value="#{favColors.col[1]}"/>
<LI><h:outputText
value="#{favColors.col[2]}"/>
<LI><h:outputText
value="#{favColors.col[3]}"/>
<LI>First Name = <h:outputText
value="#{favColors.firstName}"/>
<LI>Second Name = <h:outputText
value="#{favColors.middleName}"/>
<LI>last Name = <h:outputText
value="#{favColors.lastName}"/>
</UL>
<BR><BR><BR>
<TABLE BORDER=5 ALIGN="CENTER">
<TR><TH class="TITLE">Accessing Bean Properties: JSP2_2</TH></TR>
</TABLE>
<% System.out.println("Accessing Bean Properties: JSP2_2"); %>
<OL>
<LI>${favColors.col[0]}
<LI>${favColors.col[1]}
<LI>${favColors.col[2]}
<LI>${favColors.col[3]}
<LI>First Name ${favColors.firstName}
<LI>Second Name ${favColors.middleName}
<LI>ThirdName Name ${favColors.lastName}
</OL>
<BR><BR><BR>
<TABLE BORDER=5 ALIGN="CENTER">
<TR><TH class="TITLE">Accessing Bean Properties: JSP from and submit</TH></TR>
</TABLE>
<% System.out.println("Accessing Bean Properties: JSP from and submit");%>
<h:form>
Color 1
<h:inputText value="#{favColors.col[0]}"/>
<BR>
Color 2
<h:inputText value="#{favColors.col[1]}"/>
<BR>
Color 3
<h:inputText value="#{favColors.col[2]}"/>
<BR>
Color 4
<h:inputText value="#{favColors.col[3]}"/>
<LI>First Name = <h:inputText
value="#{favColors.firstName}"/>
<LI>Second Name = <h:inputText
value="#{favColors.middleName}"/>
<LI>last Name = <h:inputText
value="#{favColors.lastName}"/>
<BR>
<% System.out.println("Process"); %>
<h:commandButton value="Process"
action="#{favColors.processColors}"/>
</h:form>
<P>
Taken from
<A HREF="http://www.coreservlets.com/JSF-Tutorial/">
the coreservlets.com JSF 1.x and JSF 2.0 tutorials</A>.
</BODY></HTML>
</f:view>
The above JSP file is giving the below output on IE
Accessing Bean Properties: JSP2_1 result
First Name
Second Name
ThirdName Name
Accessing Bean Properties
red
green
white
black
First Name = Tarun
Second Name = kumar
last Name =
Accessing Bean Properties: JSP2_2
red
green
white
black
First Name Tarun
Second Name kumar
ThirdName Name
Why is there a difference in output between Accessing Bean Properties: JSP2_1 & Accessing Bean Properties: JSP2_2 when the code written is the same. My Controller bean class below
package task2;
public class FavortiteColors {
String[] col;
public void setCol(String[] col) {
this.col = col;
public String[] getCol(){
System.out.println("in getCOl");
String[] col = new String[4];
col[0] = "red";
col[1] = "green";
col[2] = "white";
col[3] = "black";
return col;
public String processColors(){
System.out.println("in processcol");
return "pass";
private String firstName = "Tarun";
private String lastName ;
private String middleName ;
public String getMiddleName() {
System.out.println("in getMiddleName");
return "kumar";
public void setMiddleName(String middleName) {
System.out.println("setMiddleName");
this.middleName = middleName;
public String getFirstName() {
System.out.println("getFirstName");
return firstName;
public void setFirstName(String firstName) {
System.out.println("setFirstName");
this.firstName = firstName;
public String getLastName() {
System.out.println("getLastName");
return lastName;
public void setLastName(String lastName) {
System.out.println("setLastName");
this.lastName = lastName;FYI, If you don't want to use a prefix mapping, you can use JSFTemplating. It supports the Facelets syntax for composition / insert / define / include, etc. However, it doesn't rely on the DEFAULT_SUFFIX to find pages.
However, even though JSFT (and Faclets) have the ability to limit their scope to a subset of your application and/or behave well with other ViewHandlers. That doesn't mean the Tiles ViewHandler will... it might, I just don't know anything about it.
Good luck!
Ken -
Very long and strange PPR exception on JSF page in Jdev 11.1.1.1
We are taking a PPR exception ADF RC JSF application like that when we try to add a record to the table and commit.
WARNING: ADF: Adding the following JSF error message: Unexpected exception caught: java.lang.NullPointerException, msg=null
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
at oracle.adf.model.binding.DCIteratorBinding.reportException(DCIteratorBinding.java:363)
at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1656)
at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1616)
at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4233)
at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:328)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.isOperationEnabled(JUCtrlActionBinding.java:405)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.isActionEnabled(JUCtrlActionBinding.java:296)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.getEnabled(JUCtrlActionBinding.java:1635)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.internalGet(JUCtrlActionBinding.java:1729)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.internalGet(FacesCtrlActionBinding.java:316)
at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:742)
at javax.el.MapELResolver.getValue(MapELResolver.java:164)
at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
at com.sun.el.parser.AstNot.getValue(AstNot.java:46)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.getDisabled(GoLinkRenderer.java:502)
at oracle.adfinternal.view.faces.renderkit.rich.CommandLinkRenderer.decodeInternal(CommandLinkRenderer.java:54)
at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:241)
at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1107)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:701)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:802)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXShowDetail.processDecodes(UIXShowDetail.java:101)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.access$001(ContextSwitchingComponent.java:36)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$2.run(ContextSwitchingComponent.java:106)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:109)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.access$001(ContextSwitchingComponent.java:36)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$2.run(ContextSwitchingComponent.java:106)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:109)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXForm.processDecodes(UIXForm.java:75)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:540)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1150)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:291)at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: java.lang.NullPointerException
at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1750)
More(99%)
at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1750)
at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1640)
at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1616)
at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4233)
at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:329)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.isOperationEnabled(JUCtrlActionBinding.java:405)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.isActionEnabled(JUCtrlActionBinding.java:296)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.getEnabled(JUCtrlActionBinding.java:1635)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.internalGet(JUCtrlActionBinding.java:1729)
at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.internalGet(FacesCtrlActionBinding.java:316)
at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:742)
at javax.el.MapELResolver.getValue(MapELResolver.java:164)
at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
at com.sun.el.parser.AstValue.getValue(AstValue.java:118)
at com.sun.el.parser.AstNot.getValue(AstNot.java:47)
at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
at org.apache.myfaces.trinidad.bean.FacesBeanImpl.getProperty(FacesBeanImpl.java:68)
at oracle.adfinternal.view.faces.renderkit.rich.GoLinkRenderer.getDisabled(GoLinkRenderer.java:502)
at oracle.adfinternal.view.faces.renderkit.rich.CommandLinkRenderer.decodeInternal(CommandLinkRenderer.java:54)
at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:242)
at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1107)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:702)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:804)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXShowDetail.processDecodes(UIXShowDetail.java:101)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.access$001(ContextSwitchingComponent.java:36)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$2.run(ContextSwitchingComponent.java:107)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:110)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
More(99%)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.access$001(ContextSwitchingComponent.java:36)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$2.run(ContextSwitchingComponent.java:107)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:110)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXForm.processDecodes(UIXForm.java:76)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:988)
at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:975)
at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:799)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1026)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:541)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1151)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:291)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl -
JSF bug in Jdeveloper - Strange behaviour in identifying duplicate IDs
Hi,
I am having a JSF called top.jsp as follows: The following code works fine for around 2 times when I run my application for around 10 times. Looks like some time related sporadic issue. Is there a workaround for this issue? This issue is really troubling a lot.
I am using Jdeveloper 10.1.3.2.0.4066.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html;charset=utf-8" session="true" errorPage="/error.jsp"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
<%
String sessionUser = (String)session.getAttribute("SessionUserName");
%>
<f:view>
<html>
<head>
<title>iTools - Menu</title>
<link rel="StyleSheet" href="../css/iTools.css" type="text/css" media="screen"/>
<script type="text/javascript">
function showErrorMsg() {
if(document.getElementById('top:topErrMsg').value != '') {
alert(document.getElementById('top:topErrMsg').value);
document.getElementById('top:topErrMsg').value='';
</script>
</head>
<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0" id="top_body">
<h:form id="top" binding="#{backing_General_top.top}" enctype="application/x-www-form-urlencoded" target="contentFrame">
<h:inputHidden id="topErrMsg" binding="#{backing_General_top.topErrMsg}" value=""/>
<table class="topframebg" cellSpacing="0" cellPadding="0" width="100%" summary="" border="0" id="top_table1">
<tbody id="top_table1_tbody1">
<tr id="top_table1_tr1">
<td id="top_table1_tr1_td1">
<table align="right" background="../images/bottom-shade.gif" cellpadding="0" cellspacing="0" width="100%" summary="" border="0" id="top_table2">
<tbody id="top_table2_tbody2"><tr id="top_table2_tr1">
<td width="20" id="top_table2_tr1_td1"> </td>
<td width="75%" class="smalltext" id="top_table2_tr1_td2">Welcome to <%=sessionUser%></td>
<td id="restrictedWrkProfile" noWrap align="center" width="65">
<a class="txtglobalnav" href="userProfile.jsp" target="contentFrame">User Profile</a>
</td>
<td id="restrictedWrkProfileFollowup" width="5">
<span class="dividerglobalnav">|</span>
</td>
<td noWrap align="center" width="30" id="top_table2_tr1_td3">
<a class="txtglobalnav" onclick="" href="javascript:top.cqHandler.help()" id="top_table2_tr1_a1">Help</a>
</td>
<td align="center" width="5" id="top_table2_tr1_td4">
<span class="dividerglobalnav" id="top_table2_tr1_span1">|</span>
</td>
<td noWrap align="center" width="30" id="top_table2_tr1_td5">
<a id="top_table2_tr1_a2" class="txtglobalnav" onclick="window.open('?command=GetProductInfo&rmsessionid=203d4d38-8e6d-4b24-be1a-87fee01afc94','about','height=385,width=356,resizable=no,scrollbars=no')" href="http://rational-blr.iidc.lucent.com:8080/cqweb/main?USE_CASE=cq_banner&action=banner#">About</a>
</td>
<td align="center" width="5" id="top_table2_tr1_td6">
<span class="dividerglobalnav" id="top_table2_tr1_span2">|</span>
</td>
<td noWrap align="center" width="50" id="top_table2_tr1_td7">
<a class="txtglobalnav" href="../login.jsp" target=_top id="top_table2_tr1_a3">Log Out</a>
</td>
<td align="center" id="top_table2_tr1_td8">
<img height="8" alt="" src="../images/nocolor.gif" width="5">
</td>
</tr></tbody>
</table>
</td>
</tr>
<tr>
<td class="topframebg">
<table class="topframebg" cellSpacing="0" cellPadding="0" summary="" border="0" width="100%">
<tbody>
<tr>
<td width="15"><img height="30" alt="" src="../images/nocolor.gif" width="5"></td>
<td class="topleftnavbold" noWrap>Product:
<h:selectOneMenu id="iproduct__productname">
<f:selectItems value="#{backing_General_top.prodList}"/>
</h:selectOneMenu>
</td>
<td></td>
<td width="5"><img height="1" alt="" src="../images/nocolor.gif" width="5"></td>
<td width="30">
<div><span style="WHITE-SPACE: nowrap">
<a4j:commandButton value="Go" styleClass="tabactive1" style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FONT-WEIGHT: bold; PADDING-BOTTOM: 1px; PADDING-TOP: 1px" id="productSelect" action="#{backing_General_top.productSelect_action}" type="submit" reRender="topErrMsg" oncomplete="showErrorMsg()"/>
</span></div>
</td>
<td width="15"><img height="30" alt="" src="../images/nocolor.gif" width="5"></td>
<td class="topframeshadow" width="1"><img height="1" alt="" src="../images/nocolor.gif" width="1"></td>
<td class="topframehighlight2" width="1"><img height="1" alt="" src="../images/nocolor.gif" width=1></td>
<td width="5"><img height="37" alt="" src="../images/nocolor.gif" width="5"></td>
<td class="topleftnavbold" noWrap>Record:
<h:selectOneMenu binding="#{backing_General_top.selectRecord}" id="selectRecord" style="select">
<f:selectItem itemLabel="User" itemValue="User"/>
<f:selectItem itemLabel="Product" itemValue="Product"/>
<f:selectItem itemLabel="Release" itemValue="Release"/>
<f:selectItem itemLabel="Product User" itemValue="Product User"/>
</h:selectOneMenu>
</td>
<td></td>
<td width="5"><img height="1" alt="" src="../images/nocolor.gif" width="5"></td>
<td width="30">
<div><span style="WHITE-SPACE: nowrap">
<h:commandButton value="New" styleClass="tabactive1" style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FONT-WEIGHT: bold; PADDING-BOTTOM: 1px; PADDING-TOP: 1px" id="createNewRecord" action="#{backing_General_top.createNew_action}" type="submit"/>
</span></div>
</td>
<td width="5"><img height="1" alt="" src="../images/nocolor.gif" width="5"></td>
<td class="topframeshadow" width="1"><img height="1" alt="" src="../images/nocolor.gif" width="1"></td>
<td class="topframehighlight2" width="1"><img height="1" alt="" src="../images/nocolor.gif" width=1></td>
<td width="5"><img height="37" alt="" src="../images/nocolor.gif" width="5"></td>
<td class="topleftnavbold" noWrap>ID: </td>
<td>
<h:inputText maxlength="10" size="8" id="recordGet" binding="#{backing_General_top.recordGet}"/>
</td>
<td width="5"><img height="1" alt="" src="../images/nocolor.gif" width="5"></td>
<td width="30">
<div><span style="WHITE-SPACE: nowrap">
<h:commandButton value="Find Record" styleClass="tabactive1" style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FONT-WEIGHT: bold; PADDING-BOTTOM: 3px; PADDING-TOP: 3px" id="actionGetRecord" action="#{backing_General_top.actionGetRecord_action}"/>
</span></div>
</td>
<td width="5"><img height="1" alt="" src="../images/nocolor.gif" width="5"></td>
<td width="70%"> </td>
<td width="1"><img height="1" alt="" src="../images/nocolor.gif" width="1"></td>
<td width="5"><img height="37" alt="" src="../images/nocolor.gif" width="5"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</h:form>
</body>
</html>
</f:view>I am getting the following errors:
An error occured:
Duplicate component ID 'top:recordGet' found in view.
javax.servlet.jsp.JspException: Duplicate component ID 'top:recordGet' found in view.
at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:191)
at _general._top._jspService(_top.java:234)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:286)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)Every time the error message on which id (like top:recordGet) it reports varies. I double checked all the files in my project. No where else this id is used.
or
An error occured:
Duplicate component ID 'top:_id0' found in view.
javax.servlet.jsp.JspException: Duplicate component ID 'top:_id0' found in view.
at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:191)
at _general._top._jspService(_top.java:234)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:598)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:522)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:712)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:286)
at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:50)
at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:192)
at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:197)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:622)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:369)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:865)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:447)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:215)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)and some times it gives 500 internal server error.The corresponding java code for the top.jsp is
package _general;
import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import oracle.jsp.el.*;
import javax.servlet.jsp.el.*;
public class _top extends com.orionserver.http.OrionHttpJspPage {
// ** Begin Declarations
// ** End Declarations
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException {
response.setContentType( "text/html;charset=utf-8");
/* set up the intrinsic variables using the pageContext goober:
** session = HttpSession
** application = ServletContext
** out = JspWriter
** page = this
** config = ServletConfig
** all session/app beans declared in globals.jsa
PageContext pageContext = JspFactory.getDefaultFactory().getPageContext( this, request, response, "/error.jsp", true, JspWriter.DEFAULT_BUFFER, true);
// Note: this is not emitted if the session directive == false
HttpSession session = pageContext.getSession();
int __jsp_tag_starteval;
ServletContext application = pageContext.getServletContext();
JspWriter out = pageContext.getOut();
_top page = this;
ServletConfig config = pageContext.getServletConfig();
javax.servlet.jsp.el.VariableResolver __ojsp_varRes = (VariableResolver)new OracleVariableResolverImpl(pageContext);
try {
out.write(__oracle_jsp_text[0]);
out.write(__oracle_jsp_text[1]);
out.write(__oracle_jsp_text[2]);
out.write(__oracle_jsp_text[3]);
out.write(__oracle_jsp_text[4]);
String sessionUser = (String)session.getAttribute("SessionUserName");
out.write(__oracle_jsp_text[5]);
com.sun.faces.taglib.jsf_core.ViewTag __jsp_taghandler_1=(com.sun.faces.taglib.jsf_core.ViewTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.jsf_core.ViewTag.class,"com.sun.faces.taglib.jsf_core.ViewTag");
__jsp_taghandler_1.setParent(null);
__jsp_tag_starteval=__jsp_taghandler_1.doStartTag();
if (OracleJspRuntime.checkStartBodyTagEval(__jsp_tag_starteval))
out=OracleJspRuntime.pushBodyIfNeeded(pageContext,__jsp_taghandler_1,__jsp_tag_starteval,out);
do {
out.write(__oracle_jsp_text[6]);
com.sun.faces.taglib.html_basic.FormTag __jsp_taghandler_2=(com.sun.faces.taglib.html_basic.FormTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.html_basic.FormTag.class,"com.sun.faces.taglib.html_basic.FormTag id enctype target binding");
__jsp_taghandler_2.setParent(__jsp_taghandler_1);
__jsp_taghandler_2.setId("top");
__jsp_taghandler_2.setEnctype("application/x-www-form-urlencoded");
__jsp_taghandler_2.setTarget("contentFrame");
__jsp_taghandler_2.setBinding("#{backing_General_top.top}");
__jsp_tag_starteval=__jsp_taghandler_2.doStartTag();
if (OracleJspRuntime.checkStartTagEval(__jsp_tag_starteval))
out.write(__oracle_jsp_text[7]);
com.sun.faces.taglib.html_basic.InputHiddenTag __jsp_taghandler_3=(com.sun.faces.taglib.html_basic.InputHiddenTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.html_basic.InputHiddenTag.class,"com.sun.faces.taglib.html_basic.InputHiddenTag id value binding");
__jsp_taghandler_3.setParent(__jsp_taghandler_2);
__jsp_taghandler_3.setId("topErrMsg");
__jsp_taghandler_3.setValue("");
__jsp_taghandler_3.setBinding("#{backing_General_top.topErrMsg}");
__jsp_tag_starteval=__jsp_taghandler_3.doStartTag();
if (__jsp_taghandler_3.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_3,3);
out.write(__oracle_jsp_text[8]);
out.print(sessionUser);
out.write(__oracle_jsp_text[9]);
com.sun.faces.taglib.html_basic.SelectOneMenuTag __jsp_taghandler_4=(com.sun.faces.taglib.html_basic.SelectOneMenuTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.html_basic.SelectOneMenuTag.class,"com.sun.faces.taglib.html_basic.SelectOneMenuTag id");
__jsp_taghandler_4.setParent(__jsp_taghandler_2);
__jsp_taghandler_4.setId("iproduct__productname");
__jsp_tag_starteval=__jsp_taghandler_4.doStartTag();
if (OracleJspRuntime.checkStartTagEval(__jsp_tag_starteval))
out.write(__oracle_jsp_text[10]);
com.sun.faces.taglib.jsf_core.SelectItemsTag __jsp_taghandler_5=(com.sun.faces.taglib.jsf_core.SelectItemsTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.jsf_core.SelectItemsTag.class,"com.sun.faces.taglib.jsf_core.SelectItemsTag value");
__jsp_taghandler_5.setParent(__jsp_taghandler_4);
__jsp_taghandler_5.setValue("#{backing_General_top.prodList}");
__jsp_tag_starteval=__jsp_taghandler_5.doStartTag();
if (__jsp_taghandler_5.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_5,4);
out.write(__oracle_jsp_text[11]);
if (__jsp_taghandler_4.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_4,3);
out.write(__oracle_jsp_text[12]);
org.ajax4jsf.taglib.ajax.AjaxCommandButton __jsp_taghandler_6=(org.ajax4jsf.taglib.ajax.AjaxCommandButton)OracleJspRuntime.getTagHandler(pageContext,org.ajax4jsf.taglib.ajax.AjaxCommandButton.class,"org.ajax4jsf.taglib.ajax.AjaxCommandButton oncomplete reRender id styleClass style value action type");
__jsp_taghandler_6.setParent(__jsp_taghandler_2);
__jsp_taghandler_6.setOncomplete("showErrorMsg()");
__jsp_taghandler_6.setReRender("topErrMsg");
__jsp_taghandler_6.setId("productSelect");
__jsp_taghandler_6.setStyleClass("tabactive1");
__jsp_taghandler_6.setStyle("PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FONT-WEIGHT: bold; PADDING-BOTTOM: 1px; PADDING-TOP: 1px");
__jsp_taghandler_6.setValue("Go");
__jsp_taghandler_6.setAction("#{backing_General_top.productSelect_action}");
__jsp_taghandler_6.setType("submit");
__jsp_tag_starteval=__jsp_taghandler_6.doStartTag();
if (__jsp_taghandler_6.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_6,3);
out.write(__oracle_jsp_text[13]);
com.sun.faces.taglib.html_basic.SelectOneMenuTag __jsp_taghandler_7=(com.sun.faces.taglib.html_basic.SelectOneMenuTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.html_basic.SelectOneMenuTag.class,"com.sun.faces.taglib.html_basic.SelectOneMenuTag id style binding");
__jsp_taghandler_7.setParent(__jsp_taghandler_2);
__jsp_taghandler_7.setId("selectRecord");
__jsp_taghandler_7.setStyle("select");
__jsp_taghandler_7.setBinding("#{backing_General_top.selectRecord}");
__jsp_tag_starteval=__jsp_taghandler_7.doStartTag();
if (OracleJspRuntime.checkStartTagEval(__jsp_tag_starteval))
out.write(__oracle_jsp_text[14]);
com.sun.faces.taglib.jsf_core.SelectItemTag __jsp_taghandler_8=(com.sun.faces.taglib.jsf_core.SelectItemTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.jsf_core.SelectItemTag.class,"com.sun.faces.taglib.jsf_core.SelectItemTag itemLabel itemValue");
__jsp_taghandler_8.setParent(__jsp_taghandler_7);
__jsp_taghandler_8.setItemLabel("User");
__jsp_taghandler_8.setItemValue("User");
__jsp_tag_starteval=__jsp_taghandler_8.doStartTag();
if (__jsp_taghandler_8.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_8,4);
out.write(__oracle_jsp_text[15]);
com.sun.faces.taglib.jsf_core.SelectItemTag __jsp_taghandler_9=(com.sun.faces.taglib.jsf_core.SelectItemTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.jsf_core.SelectItemTag.class,"com.sun.faces.taglib.jsf_core.SelectItemTag itemLabel itemValue");
__jsp_taghandler_9.setParent(__jsp_taghandler_7);
__jsp_taghandler_9.setItemLabel("Product");
__jsp_taghandler_9.setItemValue("Product");
__jsp_tag_starteval=__jsp_taghandler_9.doStartTag();
if (__jsp_taghandler_9.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_9,4);
out.write(__oracle_jsp_text[16]);
com.sun.faces.taglib.jsf_core.SelectItemTag __jsp_taghandler_10=(com.sun.faces.taglib.jsf_core.SelectItemTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.jsf_core.SelectItemTag.class,"com.sun.faces.taglib.jsf_core.SelectItemTag itemLabel itemValue");
__jsp_taghandler_10.setParent(__jsp_taghandler_7);
__jsp_taghandler_10.setItemLabel("Release");
__jsp_taghandler_10.setItemValue("Release");
__jsp_tag_starteval=__jsp_taghandler_10.doStartTag();
if (__jsp_taghandler_10.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_10,4);
out.write(__oracle_jsp_text[17]);
com.sun.faces.taglib.jsf_core.SelectItemTag __jsp_taghandler_11=(com.sun.faces.taglib.jsf_core.SelectItemTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.jsf_core.SelectItemTag.class,"com.sun.faces.taglib.jsf_core.SelectItemTag itemLabel itemValue");
__jsp_taghandler_11.setParent(__jsp_taghandler_7);
__jsp_taghandler_11.setItemLabel("Product User");
__jsp_taghandler_11.setItemValue("Product User");
__jsp_tag_starteval=__jsp_taghandler_11.doStartTag();
if (__jsp_taghandler_11.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_11,4);
out.write(__oracle_jsp_text[18]);
if (__jsp_taghandler_7.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_7,3);
out.write(__oracle_jsp_text[19]);
com.sun.faces.taglib.html_basic.CommandButtonTag __jsp_taghandler_12=(com.sun.faces.taglib.html_basic.CommandButtonTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.html_basic.CommandButtonTag.class,"com.sun.faces.taglib.html_basic.CommandButtonTag action id value style styleClass type");
__jsp_taghandler_12.setParent(__jsp_taghandler_2);
__jsp_taghandler_12.setAction("#{backing_General_top.createNew_action}");
__jsp_taghandler_12.setId("createNewRecord");
__jsp_taghandler_12.setValue("New");
__jsp_taghandler_12.setStyle("PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FONT-WEIGHT: bold; PADDING-BOTTOM: 1px; PADDING-TOP: 1px");
__jsp_taghandler_12.setStyleClass("tabactive1");
__jsp_taghandler_12.setType("submit");
__jsp_tag_starteval=__jsp_taghandler_12.doStartTag();
if (__jsp_taghandler_12.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_12,3);
out.write(__oracle_jsp_text[20]);
com.sun.faces.taglib.html_basic.InputTextTag __jsp_taghandler_13=(com.sun.faces.taglib.html_basic.InputTextTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.html_basic.InputTextTag.class,"com.sun.faces.taglib.html_basic.InputTextTag id maxlength size binding");
__jsp_taghandler_13.setParent(__jsp_taghandler_2);
__jsp_taghandler_13.setId("recordGet");
__jsp_taghandler_13.setMaxlength("10");
__jsp_taghandler_13.setSize("8");
__jsp_taghandler_13.setBinding("#{backing_General_top.recordGet}");
__jsp_tag_starteval=__jsp_taghandler_13.doStartTag();
if (__jsp_taghandler_13.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_13,3);
out.write(__oracle_jsp_text[21]);
com.sun.faces.taglib.html_basic.CommandButtonTag __jsp_taghandler_14=(com.sun.faces.taglib.html_basic.CommandButtonTag)OracleJspRuntime.getTagHandler(pageContext,com.sun.faces.taglib.html_basic.CommandButtonTag.class,"com.sun.faces.taglib.html_basic.CommandButtonTag action id value style styleClass");
__jsp_taghandler_14.setParent(__jsp_taghandler_2);
__jsp_taghandler_14.setAction("#{backing_General_top.actionGetRecord_action}");
__jsp_taghandler_14.setId("actionGetRecord");
__jsp_taghandler_14.setValue("Find Record");
__jsp_taghandler_14.setStyle("PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FONT-WEIGHT: bold; PADDING-BOTTOM: 3px; PADDING-TOP: 3px");
__jsp_taghandler_14.setStyleClass("tabactive1");
__jsp_tag_starteval=__jsp_taghandler_14.doStartTag();
if (__jsp_taghandler_14.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_14,3);
out.write(__oracle_jsp_text[22]);
if (__jsp_taghandler_2.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_2,2);
out.write(__oracle_jsp_text[23]);
} while (__jsp_taghandler_1.doAfterBody()==javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN);
out=OracleJspRuntime.popBodyIfNeeded(pageContext,out);
if (__jsp_taghandler_1.doEndTag()==javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
return;
OracleJspRuntime.releaseTagHandler(pageContext,__jsp_taghandler_1,1);
catch (Throwable e) {
if (!(e instanceof javax.servlet.jsp.SkipPageException)){
try {
if (out != null) out.clear();
catch (Exception clearException) {
pageContext.handlePageException(e);
finally {
OracleJspRuntime.extraHandlePCFinally(pageContext, true);
JspFactory.getDefaultFactory().releasePageContext(pageContext);
private static final char __oracle_jsp_text[][]=new char[24][];
static {
try {
__oracle_jsp_text[0] =
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\r\n".toCharArray();
__oracle_jsp_text[1] =
"\r\n".toCharArray();
__oracle_jsp_text[2] =
"\r\n".toCharArray();
__oracle_jsp_text[3] =
"\r\n".toCharArray();
__oracle_jsp_text[4] =
"\r\n".toCharArray();
__oracle_jsp_text[5] =
"\r\n".toCharArray();
__oracle_jsp_text[6] =
"\r\n <html>\r\n <head>\r\n <title>iTools - Menu</title>\r\n <link rel=\"StyleSheet\" href=\"../css/iTools.css\" type=\"text/css\" media=\"screen\"/>\r\n <script type=\"text/javascript\">\r\n function showErrorMsg() {\r\n if(document.getElementById('top:topErrMsg').value != '') {\r\n alert(document.getElementById('top:topErrMsg').value);\r\n }\r\n document.getElementById('top:topErrMsg').value='';\r\n }\r\n </script>\r\n </head>\r\n <body leftMargin=\"0\" topMargin=\"0\" marginheight=\"0\" marginwidth=\"0\" id=\"top_body\">\r\n ".toCharArray();
__oracle_jsp_text[7] =
" \r\n ".toCharArray();
__oracle_jsp_text[8] =
"\r\n <table class=\"topframebg\" cellSpacing=\"0\" cellPadding=\"0\" width=\"100%\" summary=\"\" border=\"0\" id=\"top_table1\">\r\n <tbody id=\"top_table1_tbody1\">\r\n <tr id=\"top_table1_tr1\">\r\n <td id=\"top_table1_tr1_td1\">\r\n <table align=\"right\" background=\"../images/bottom-shade.gif\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" summary=\"\" border=\"0\" id=\"top_table2\">\r\n <tbody id=\"top_table2_tbody2\"><tr id=\"top_table2_tr1\">\r\n <td width=\"20\" id=\"top_table2_tr1_td1\"> </td>\r\n <td width=\"75%\" class=\"smalltext\" id=\"top_table2_tr1_td2\">Welcome to ".toCharArray();
__oracle_jsp_text[9] =
"</td>\r\n <td id=\"restrictedWrkProfile\" noWrap align=\"center\" width=\"65\">\r\n <a class=\"txtglobalnav\" href=\"userProfile.jsp\" target=\"contentFrame\">User Profile</a>\r\n </td>\r\n <td id=\"restrictedWrkProfileFollowup\" width=\"5\">\r\n <span class=\"dividerglobalnav\">|</span>\r\n </td>\r\n <td noWrap align=\"center\" width=\"30\" id=\"top_table2_tr1_td3\">\r\n <a class=\"txtglobalnav\" onclick=\"\" href=\"javascript:top.cqHandler.help()\" id=\"top_table2_tr1_a1\">Help</a>\r\n </td>\r\n <td align=\"center\" width=\"5\" id=\"top_table2_tr1_td4\">\r\n <span class=\"dividerglobalnav\" id=\"top_table2_tr1_span1\">|</span>\r\n </td>\r\n <td noWrap align=\"center\" width=\"30\" id=\"top_table2_tr1_td5\">\r\n <a id=\"top_table2_tr1_a2\" class=\"txtglobalnav\" onclick=\"window.open('?command=GetProductInfo&rmsessionid=203d4d38-8e6d-4b24-be1a-87fee01afc94','about','height=385,width=356,resizable=no,scrollbars=no')\" href=\"http://rational-blr.iidc.lucent.com:8080/cqweb/main?USE_CASE=cq_banner&action=banner#\">About</a>\r\n </td>\r\n <td align=\"center\" width=\"5\" id=\"top_table2_tr1_td6\">\r\n <span class=\"dividerglobalnav\" id=\"top_table2_tr1_span2\">|</span>\r\n </td>\r\n <td noWrap align=\"center\" width=\"50\" id=\"top_table2_tr1_td7\">\r\n <a class=\"txtglobalnav\" href=\"../login.jsp\" target=_top id=\"top_table2_tr1_a3\">Log Out</a>\r\n </td>\r\n <td align=\"center\" id=\"top_table2_tr1_td8\">\r\n <img height=\"8\" alt=\"\" src=\"../images/nocolor.gif\" width=\"5\">\r\n </td>\r\n </tr></tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"topframebg\">\r\n <table class=\"topframebg\" cellSpacing=\"0\" cellPadding=\"0\" summary=\"\" border=\"0\" width=\"100%\">\r\n <tbody>\r\n <tr>\r\n <td width=\"15\"><img height=\"30\" alt=\"\" src=\"../images/nocolor.gif\" width=\"5\"></td>\r\n <td class=\"topleftnavbold\" noWrap>Product: \r\n ".toCharArray();
__oracle_jsp_text[10] =
"\r\n ".toCharArray();
__oracle_jsp_text[11] =
"\r\n ".toCharArray();
__oracle_jsp_text[12] =
"\r\n </td>\r\n <td></td>\r\n <td width=\"5\"><img height=\"1\" alt=\"\" src=\"../images/nocolor.gif\" width=\"5\"></td>\r\n <td width=\"30\">\r\n <div><span style=\"WHITE-SPACE: nowrap\">\r\n ".toCharArray();
__oracle_jsp_text[13] =
"\r\n </span></div>\r\n </td>\r\n <td width=\"15\"><img height=\"30\" alt=\"\" src=\"../images/nocolor.gif\" width=\"5\"></td>\r\n <td class=\"topframeshadow\" width=\"1\"><img height=\"1\" alt=\"\" src=\"../images/nocolor.gif\" width=\"1\"></td>\r\n <td class=\"topframehighlight2\" width=\"1\"><img height=\"1\" alt=\"\" src=\"../images/nocolor.gif\" width=1></td>\r\n <td width=\"5\"><img height=\"37\" alt=\"\" src=\"../images/nocolor.gif\" width=\"5\"></td>\r\n <td class=\"topleftnavbold\" noWrap>Record: \r\n ".toCharArray();
__oracle_jsp_text[14] =
"\r\n ".toCharArray();
__oracle_jsp_text[15] =
"\r\n ".toCharArray();
__oracle_jsp_text[16] =
"\r\n ".toCharArray();
__oracle_jsp_text[17] =
"\r\n ".toCharArray();
__oracle_jsp_text[18] =
"\r\n ".toCharArray();
__oracle_jsp_text[19] =
"\r\n </td>\r\n <td></td>\r\n <td width=\"5\"><img height=\"1\" alt=\"\" src=\"../images/nocolor.gif\" width=\"5\"></td>\r\n <td width=\"30\">\r\n <div><span style=\"WHITE-SPACE: nowrap\">\r\n ".toCharArray();
__oracle_jsp_text[20] =
"\r\n </span></div>\r\n </td>\r\n <td width=\"5\"><img height=\"1\" alt=\"\" src=\"../images/nocolor.gif\" width=\"5\"></td>\r\n <td class=\"topframeshadow\" width=\"1\"><img height=\"1\" alt=\"\" src=\"../images/nocolor.gif\" width=\"1\"></td>\r\n <td class=\"topframehighlight2\" width=\"1\"><img height=\"1\" alt=\"\" src=\"../images/nocolor.gif\" width=1></td>\r\n <td width=\"5\"><img height=\"37\" alt=\"\" src=\"../images/nocolor.gif\" width=\"5\"></td>\r\n <td class=\"topleftnavbold\" noWrap>ID: </td>\r\n <td>\r\n ".toCharArray();
__oracle_jsp_text[21] =
"\r\n </td>\r\n <td width=\"5\"><img height=\"1\" alt=\"\" src=\"../images/nocolor.gif\" width=\"5\"></td>\r\n <td width=\"30\">\r\n <div><span style=\"WHITE-SPACE: nowrap\">\r\n ".toCharArray();
__oracle_jsp_text[22] =
"\r\n </span></div>\r\n </td>\r\n <td width=\"5\"><img height=\"1\" alt=\"\" src=\"../images/nocolor.gif\" width=\"5\"></td>\r\n <td width=\"70%\"> </td>\r\n <td width=\"1\"><img height=\"1\" alt=\"\" src=\"../images/nocolor.gif\" width=\"1\"></td>\r\n <td width=\"5\"><img height=\"37\" alt=\"\" src=\"../images/nocolor.gif\" width=\"5\"></td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n ".toCharArray();
__oracle_jsp_text[23] =
" \r\n </body>\r\n </html>\r\n".toCharArray();
catch (Throwable th) {
System.err.println(th);
} -
Strange Problem using tomahawk and JSF 1.1
Hi,
my JSF Project (Tomcat 5.5.17 as Server; jre 1.6) works fine until I add the tomahawk .jar (1.1.3) to the lib folfder. When I add the jar file I get the following exception:
SCHWERWIEGEND: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
javax.faces.FacesException: java.lang.ClassNotFoundException: [Ljava.lang.String;
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:336)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:608)
The exception appear even when I dont use any content of the archive.
Please help.
Thank you
ArndtYep, as you found, there were some changes in how the 1.6 handles the loading of array classes. This issue has been corrected in the 1.2 version of the RI. We still need to backport said fixes to 1.1.
-
Strange behavoir of JSF in JDeveloper
Hi all.
I'm having a problem with a JSF project thats running in a jdeveloper 9.03 ide. When i send to run a page, the browser shows that page not found. looking in the oc4j-app.log it shows
javax.servlet.ServletException: Error initializing servlet
The rare behavoir is that if i donload the proyect from our CVS in other machine it run fine, if i erase the proyect in my machine, download a new one from CVS it don't work and continues with the problem.
others modules of our proyect work fine, so itsn't the jsf configuration, but even a simple html page fails in the problematic project.
Does anayone had a similar situation, any suggest to look for?
tks. group.
John CortesJDeveloper 9 has problem with JSF u must delete some jar files. U can find this example on oracle.com. So, I suggest u to u install Oragcle JDeveloper 10g and u will not have probles again.
-
Hi!
This error is not a good one. I'm note sure I underdstand it, Do I have a conflict somewhere? I have downloaded jsf-1.2_04-b01-RC1 and jstl1.2.jar. I'm using java 6 and linux.
Anyone have any hints?
2007-feb-23 22:46:49 org.apache.catalina.core.StandardContext listenerStart
ALLVARLIG: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
java.lang.LinkageError: loader constraint violation: when resolving interface method "javax.servlet.jsp.JspApplicationContext.getExpressionFactory()Ljavax/el/ExpressionFactory;" the class loader (instance of org/apache/catalina/loader/WebappClassLoader) of the current class, com/sun/faces/config/ConfigureListener, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for resolved class, javax/servlet/jsp/JspApplicationContext, have different Class objects for the type javax/el/ExpressionFactory used in the signature
at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1642)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:455)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4336)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
at java.lang.Thread.run(Thread.java:619)/PertyHi.
I had similar problem with the Tomcat 6.0.10 and JSF 1.1.
As there is no answer to this thread I want to share the solution with others.
In my case the problem gone after removing el-api.jar from the WEB-INF/lib directory of my webapp. Tomcat 6 already contains the el-api.jar in the lib directory.
Also I do not know if it is the solusion for the JSF 1.2. -
Hi Techies,
I have one strange issue, In one of my module i used <h:selectOneMenu> along with <a4j:support>. In this module when i select value from
drop down, related fields get populated correctly. when i select different value again its related fields get populated correctly problem is
when i press F5 or Reload, the old data is populated instead of current value. i checked in page view source expected values are correct only, but in
front end old values get displayed. please suggest the reason and solution.
thanks in advance.
Thanks n Regards
NitinFirst of All thanks for Input, yes data is in session scope only. when i tried with <t:commandButton> or <h:commandButton> expected values are
coming but its not giving ajaxian effect, i mean in the browser it is something like refresh only.
Maybe you are looking for
-
Can't figure how to add footnotes in iCloud beta, have tried it in IE, Firefox and Chrome.
-
Mail is no longer showing new messages when they arrive. I have to go to Take All Accounts Offline and then Take All Accounts Online, and only then to the messages appear in the inbox. I think this started after upgrading to Mavericks. Does anyone kn
-
Jelly Bean upgrade failed.
I got the Jelly Bean upgrade this morning but once I activated the upgrade it failed and gave no reason. Where do I find the upgrade in order to try it again. Motorola Razr.
-
HT5654 I cannot download my music from my PC to my ipad mini help.
I cannot download my music from my PC to my ipad mini how do I do this?
-
How to delete iphone message memory
how to delete iphone message memory