[jboss-user] [JBoss jBPM] - Re: Problem with managed beans

rodosa do-not-reply at jboss.com
Tue Jan 22 14:02:14 EST 2008


When the server starts ...  occurs this error:


  | 2008-01-22 19:42:02,484 ERROR [STDERR] 22-ene-2008 19:42:02 com.sun.faces.config.ConfigureListener contextInitialized
  | INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b09-FCS) for context 'null'
  | 2008-01-22 19:42:02,718 ERROR [STDERR] 22-ene-2008 19:42:02 com.sun.faces.spi.InjectionProviderFactory createInstance
  | ADVERTENCIA: JSF1033: Resource injection is DISABLED.
  | 

anonymous wrote : 
  | btw2 ... is it in any way jBPM related? up to now I only see/read jsf stuff. Are they jbpm forms?
  | 

Yes, I've created forms with the jbpm's editor. This creates automatically the .xhtml files & I have changed it a bit to validate and request data. The code of one form is the following:


  | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
  | 
  | <!-- the DOCTYPE means we are required to use html for a root element -->
  | <html xmlns="http://www.w3.org/1999/xhtml"
  |       xmlns:ui="http://java.sun.com/jsf/facelets"
  |       xmlns:c="http://java.sun.com/jstl/core"
  |       xmlns:h="http://java.sun.com/jsf/html"
  |       xmlns:f="http://java.sun.com/jsf/core"
  |       xmlns:tf="http://jbpm.org/jsf/tf"
  |       xmlns:jbpm="http://jbpm.org/jsf">
  | 
  |   <ui:component>
  | 
  |     <jbpm:dataform>
  |   	   
  |       <f:facet name="header">
  |         <h:outputText value="#{taskName}"/>
  |       </f:facet>
  |                 
  |       <!-- TASKFORM ROWS -->
  |     <jbpm:datacell>
  |       <f:facet name="header">
  |         <h:outputText value="DNI"/>
  |       </f:facet>
  |       <h:inputText value="#{userBean.dni}">
  |       	<f:validateLength minimum="8" maximum="8"/>
  |       	<f:validateLongRange minimum="0" maximum="99999999"/>
  |       </h:inputText>
  |     </jbpm:datacell>
  | 
  | ...
  | 

  With <h:inputText value="#{userBean.dni}"> should call the method setDni() of the UserBean. When I enter in the web console the form appears well and I can fill the data. But when I press the buttom Save of the form the error appears:

Target Unreachable, identifier 'userBean' resolved to null

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4122335



More information about the jboss-user mailing list