  | 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
|
|
|
  | | | - problem while saving taskform varibles | - problem while saving taskform varibles 2007-08-09 - By gsccnu
Back this is my *.xhtml
| xmlns:t="http://myfaces.apache.org/tomahawk" | ...................... | <ga:responseActions> | <id:listUsers target="#{users}" /> | </ga:responseActions> | <h:selectOneMenu required="true" value="#{var['collection1']}"> | <t:selectItems value="#{users}" var="user" itemLabel="#{user.name}" itemValue="#{user.name}" /> | </h:selectOneMenu> | When i examine this task,every things is fine. But when I put down "Save",i get exceptions. | javax.el.PropertyNotFoundException: /50/assignA.xhtml @(protected),83 value="#{var[ 'collection1']}": Target Unreachable, identifier 'var' resolved to null | com.sun.facelets.el.TagValueExpression (TagValueExpression.java:62) | com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer .getConvertedValue(HtmlBasicInputRenderer.java:81) | com.sun.faces.renderkit.html_basic.MenuRenderer.convertSelectOneValue (MenuRenderer.java:166) | com.sun.faces.renderkit.html_basic.MenuRenderer.getConvertedValue (MenuRenderer.java:328) | javax.faces.component.UIInput (UIInput.java:936) | javax.faces.component.UIInput (UIInput.java:861) | javax.faces.component.UIInput (UIInput.java:1071) | javax.faces.component.UIInput (UIInput.java:663) | javax.faces.component.UIComponentBase (UIComponentBase .java:1021) | javax.faces.component.UIComponentBase (UIComponentBase .java:1021) | javax.faces.component.UIComponentBase (UIComponentBase .java:1021) | javax.faces.component.UIComponentBase (UIComponentBase .java:1021) | javax.faces.component.UIForm (UIForm.java:229) | javax.faces.component.UIComponentBase (UIComponentBase .java:1021) | javax.faces.component.UIComponentBase (UIComponentBase .java:1021) | javax.faces.component.UIComponentBase (UIComponentBase .java:1021) | javax.faces.component.UIViewRoot (UIViewRoot.java:662) | com.sun.faces.lifecycle.ProcessValidationsPhase.execute (ProcessValidationsPhase.java:100) | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248) | com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | javax.faces.webapp.FacesServlet (FacesServlet.java:244) | org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter (ExtensionsFilter.java:147) |
Thanks in advance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4072378#4072378
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4072378 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |