|
I'm trying to hardcode the action to "college" which is in the linkPage request scope variable. I think it's trying to resolve it as a bean action or something instead of an outcome. Can somebody help me with how to do this.
linkPage: <h:outputText value="#{linkPage}"/><br> <h:commandLink action="" value="#{linkText}"/>
This prints out:
linkPage: college
I want it to resolve as if I put in <h:commandLink action="" value="Modify Your Answer"/>
However when I click on the link I get: javax.faces.FacesException: Error calling action method of component with id _id1:_id15 at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) at javax.faces.component.UICommand.broadcast(UICommand.java:106) at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164) at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316) at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:259) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)Caused by: javax.faces.el.ReferenceSyntaxException: _expression_ not a valid method binding: #{linkPage} at org.apache.myfaces.el.MethodBindingImpl.resolveToBaseAndProperty(MethodBindingImpl.java:186) at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:114) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63) ... 13 more
**************************************************************************** This email may contain confidential *************************************************************************** |
- Problem hardcoding commandLink action outcome Garner, Shawn
- Re: Problem hardcoding commandLink action outcome Mike Kienenberger
- RE: Problem hardcoding commandLink action outcome Garner, Shawn
- RE: Problem hardcoding commandLink action outcome Garner, Shawn
- Re: Problem hardcoding commandLink action outco... Mike Kienenberger
- RE: Problem hardcoding commandLink action outcome Garner, Shawn
- RE: Problem hardcoding commandLink action outcome Garner, Shawn
- Re: Problem hardcoding commandLink action outco... Mike Kienenberger
- RE: Problem hardcoding commandLink action outcome Garner, Shawn
- Re: Problem hardcoding commandLink action outco... Mike Kienenberger
- RE: Problem hardcoding commandLink action outcome Garner, Shawn

