myfaces 1.2.2 exception
Asslamo alykom.
I'm interested in a web application using myfaces 1.2.2 and apache tomahawk 1.1.6, while deploying the project i found the following exception :
Exception while calling encodeEnd on component : {Component-Path : [Class:
org.ajax4jsf.component.AjaxViewRoot,ViewId: /welcome.xhtml][Class:
javax.faces.component.html.HtmlForm,Id: j_id2][Class:
org.apache.myfaces.custom.date.HtmlInputDate,Id: j_id5]}
this only happens when i use a component containing javascript code,
<t:inputDate popupCalendar="true" />
also with <t:popup> and so on.
i have been googled more and didn't find any solution,
and have all configrations working well with mayfaces 1.1.5
anybody can help me .
thanks.









U need to send us your war file
myfaces1.2.2.war List
myfaces1.2.2.war
List of libraries
last using apache tomcat 6.0.16
i have been discovered the
i have been discovered the problem and get it solved .
the problem was than:
in myfaces 1.2.x when i use ac code contains javascript it may distribute it as follow
// javascript code
<html>
<head>
//page code
</head >
<body>
</body>
</html>
the solution is that: i call the components
under body got inside it:
<html>
<head>
</head >
<body>
</body>
<t:inputDate />
</html>
so the code will be shifted down the work well.
thanks for your help.