0 Replies Latest reply on Feb 29, 2008 12:17 PM by cristinacom

    Unable to reproduce ChangePasswordAction from booking example

    cristinacom

      Hi.


      I've searched on the net to find a solution for my problem and I didn't found any.
      I'm trying to recreate in my application the change of password from the booking example.(I didn't change the code, the ChangePasswordAction, ChangePasswordAction, the password.xhtml page, navigation part in pages.xml, are the same).
      If the values for the input fields are the same, everything works fine, the password is updated. However, if they do not


      coincide, instead of the expected message (Re-enter password), I'm getting the following exception:


      WARN  [lifecycle] phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@25536c) threw exception: 
      
      javax.el.ELException: 
      
      /file:/C:/brit-tools/jboss-4.2.2.GA/server/default/deploy/apit.ro.ear/apit.ro.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/
      
      debug.xhtml: null 
      
      /file:/C:/brit-tools/jboss-4.2.2.GA/server/default/deploy/apit.ro.ear/apit.ro.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/
      
      debug.xhtml: null
      com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:50)
      com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39)
      com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149)
      com.sun.facelets.component.RepeatRenderer.encodeChildren(RepeatRenderer.java:50)
      com.sun.facelets.component.UIRepeat.process(UIRepeat.java:357)
      com.sun.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:617)
      com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244)
      com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
      com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
      org.jboss.seam.debug.jsf.SeamDebugPhaseListener.beforePhase(SeamDebugPhaseListener.java:51)
      com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
      ..........
      


      Otherwise, the debug.seam will come up okay.


      Thanks,
      Cristina