Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
- Conversation problem: how to null variable?

- Conversation problem: how to null variable?

2007-07-10       - By miloslav.vlach

 Back
Hi all,

I have 2 same entities in the seam component:


 | @(protected)(required=false, scope=ScopeType.CONVERSATION)
 | @(protected)(required=false, scope=ScopeType.CONVERSATION)
 | Category selectedCategory;
 |
 | @(protected)(required=false)
 | Category category;
 |

I get exception:


 | javax.faces.el.PropertyNotFoundException Source code of javax.faces.el.PropertyNotFoundException: Base is null: selectedCategory
 |         at org.apache.myfaces.el.ValueBindingImpl Source code of org.apache.myfaces.el.ValueBindingImpl
(ValueBindingImpl.java:460)
 |         at org.apache.myfaces.el.ValueBindingImpl Source code of org.apache.myfaces.el.ValueBindingImpl(ValueBindingImpl
.java:248)
 |         at org.jboss.seam.core.Expressions$1.setValue(Expressions.java:93)
 |         at org.jboss.seam.core.Pages.applyViewRootValues(Pages.java:665)
 |         at org.jboss.seam.jsf.AbstractSeamPhaseListener.afterRestoreView
(AbstractSeamPhaseListener.java:77)
 |         at org.jboss.seam.jsf.SeamPhaseListener.afterPhase
(SeamPhaseListener.java:95)
 |         at org.apache.myfaces.lifecycle.PhaseListenerManager
.informPhaseListenersAfter(PhaseListenerManager.java:89)
 |         at org.apache.myfaces.lifecycle.LifecycleImpl Source code of org.apache.myfaces.lifecycle.LifecycleImpl
(LifecycleImpl.java:181)
 |         at org.apache.myfaces.lifecycle.LifecycleImpl Source code of org.apache.myfaces.lifecycle.LifecycleImpl(LifecycleImpl
.java:66)
 |         at javax.faces.webapp.FacesServlet Source code of javax.faces.webapp.FacesServlet(FacesServlet.java:137)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:269)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:188)
 |         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter
(ExtensionsFilter.java:144)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:215)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:188)
 |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter
(SeamFilter.java:63)
 |         at org.jboss.seam.debug.hot.HotDeployFilter.doFilter
(HotDeployFilter.java:60)
 |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter
(SeamFilter.java:49)
 |         at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java
:45)
 |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter
(SeamFilter.java:49)
 |         at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java
:57)
 |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter
(SeamFilter.java:49)
 |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter
(SeamFilter.java:53)
 |         at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java
:79)
 |         at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter
(SeamFilter.java:49)
 |         at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:215)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:188)
 |         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter
(BaseXMLFilter.java:96)
 |         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter
(BaseFilter.java:220)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:215)
 |         at org.apache.catalina.core.ApplicationFilterChain Source code of org.apache.catalina.core.ApplicationFilterChain
(ApplicationFilterChain.java:188)
 |         at org.apache.catalina.core.StandardWrapperValve Source code of org.apache.catalina.core.StandardWrapperValve
(StandardWrapperValve.java:210)
 |         at org.apache.catalina.core.StandardContextValve Source code of org.apache.catalina.core.StandardContextValve
(StandardContextValve.java:174)
 |         at org.apache.catalina.authenticator.AuthenticatorBase Source code of org.apache.catalina.authenticator.AuthenticatorBase
(AuthenticatorBase.java:433)
 |         at org.apache.catalina.core.StandardHostValve Source code of org.apache.catalina.core.StandardHostValve
(StandardHostValve.java:127)
 |         at org.apache.catalina.valves.ErrorReportValve Source code of org.apache.catalina.valves.ErrorReportValve
(ErrorReportValve.java:117)
 |         at org.apache.catalina.core.StandardEngineValve Source code of org.apache.catalina.core.StandardEngineValve
(StandardEngineValve.java:108)
 |         at org.apache.catalina.connector.CoyoteAdapter Source code of org.apache.catalina.connector.CoyoteAdapter
(CoyoteAdapter.java:151)
 |         at org.apache.coyote.http11.Http11Processor Source code of org.apache.coyote.http11.Http11Processor(Http11Processor
.java:870)
 |         at org.apache.coyote.http11.Http11BaseProtocol Source code of org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
 |         at org.apache.tomcat.util.net.PoolTcpEndpoint Source code of org.apache.tomcat.util.net.PoolTcpEndpoint
(PoolTcpEndpoint.java:528)
 |         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread Source code of org.apache.tomcat.util.net.LeaderFollowerWorkerThread
(LeaderFollowerWorkerThread.java:81)
 |         at org.apache.tomcat.util.threads.ThreadPool Source code of org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:685)
 |         at java.lang.Thread Source code of java.lang.Thread(Thread.java:595)
 |

I don't know, where is the problem.

After saving the category entity I need to clean the category form, but the
category (isn't marked with @(protected)) still appears on the form. I tried to set
category = null, but not succesfull.

Know somebody where is the problem ?

Thanks Mila

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic
&p=4062587#4062587

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode
=reply&p=4062587
__ ____ ____ ____ ____ ____ ____ ____ ____ ____
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user

©2008 junlu.com - Jax Systems, LLC, U.S.A.