Announcement Announcement Module
Collapse
No announcement yet.
EL1004E : webflow engine cannot find method Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • EL1004E : webflow engine cannot find method

    Hi ,

    I'm a beginner with Spring Webflow , i'm using (Version 2.3.1) and Mojarra2.0.3,i have a problem when i load my page ,i got this error :
    Code:
    org.springframework.expression.spel.SpelEvaluationException 
    caused by: EL1004E:(pos 17): Method call: Method makeCriteria(org.springframework.webflow.engine.impl.RequestControlContextImpl) cannot be found on org.library.person.web.ListPersonAction$$EnhancerByCGLIB$$3ef79c60 type

    the method in my @component class ListPersonAction :
    Code:
    public String makeCritaria(RequestContext ctx) {
    		// do something
    		return "success";
    	}
    and the webflow :
    Code:
      <view-state id="list"  view="/WEB-INF/flows/person/listPerson/list.xhtml"> 
        <transition on="search" to="search"/> 
      </view-state>  
    
      <action-state id="search"  > 
          <evaluate expression="listPersonAction.makeCriteria(flowRequestContext)"/> 
        <transition  to="listResult"/> 
      </action-state>
    
      <view-state id="listResult"  view="/WEB-INF/flows/person/listPerson/list.xhtml"> 
        <transition on="search" to="search"/> 
      </view-state>
    the error occur when a click the seach button.

    thanks in advance.
    Last edited by mifmif; Apr 27th, 2012, 06:24 AM.

  • #2
    that was my fault , i haven't been paying attention to the method signature spelling !

    Comment

    Working...
    X