Anonymous | Login | Signup for a new account | 12-17-2024 11:33 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001918 | [Resin] | minor | always | 07-31-07 19:07 | 08-21-07 16:03 | ||||
Reporter | mypda | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | Platform | |||||
Status | closed | OS | |||||||
Projection | none | OS Version | |||||||
ETA | none | Fixed in Version | 3.1.3 | Product Version | 3.1.2 | ||||
Product Build | |||||||||
Summary | 0001918: JSF can't get the session's value? | ||||||||
Description |
I have set the session var in my managed-bean, in jsf page I can use the <% session.getAttribute( "var" )%> to get the session var, and the JSF EL( #{ var } ) do so, but #{sessionScope.var} can't return the session var's value: Resin3.1.1 return nothing and 3.1.2 display as below: 500 Servlet Exception javax.el.PropertyNotFoundException: 'RealName' is an unknown bean property of 'com.caucho.server.session.SessionImpl' at javax.el.BeanELResolver.getValue(BeanELResolver.java:155) at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:133) at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64) at com.caucho.el.ArrayResolverExpr.getValue(ArrayResolverExpr.java:121) at com.caucho.el.PathExpr.getValue(PathExpr.java:122) at com.caucho.el.ObjectValueExpression.getValue(ObjectValueExpression.java:104) at javax.faces.component.UIOutput.getValue(UIOutput.java:173) at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:189) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:320) at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:200) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:896) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:892) at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:244) at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:174) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:175) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:240) at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:424) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:481) at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:685) at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:607) at java.lang.Thread.run(Thread.java:595) |
||||||||
Steps To Reproduce | |||||||||
Additional Information | I am using JSF1.2 with Sun's reference implement and it do well in tomcat 6.1.3, so I think it may be a bug of Resin. | ||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed. 25 unique queries executed. |