0 Replies Latest reply on Mar 21, 2006 12:47 PM by Ivaylo Kabakov

    registration sample derivative problem

    Ivaylo Kabakov Newbie

      Hi all!
      I have a problem with a simple app, similar to the seam registration example. The difference is that I use facelets, MySQL and add a dynamic drop-down menu (i.e. selectOneMenu) to the page. The user should pick, say a title, when registering. The curious thing is that if I remove the drop-down everything's ok, but when I add it, it gets populated from the database correctly, but the button's action is not performed. Nothing happens.

      When first accessing the page I get the following errors in jboss:

      19:40:41,484 INFO [Pages] no pages.xml file found
      19:40:41,828 ERROR [STDERR] 2006-3-21 19:40:41 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/java/jboss-4.0.4RC1-testing/server/default/tmp/deploy/tmp55643rulis.ear-contents/testing-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
      19:40:41,859 ERROR [STDERR] 2006-3-21 19:40:41 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/java/jboss-4.0.4RC1-testing/server/default/tmp/deploy/tmp55643rulis.ear-contents/testing-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml
      19:40:41,906 ERROR [STDERR] 2006-3-21 19:40:41 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/java/jboss-4.0.4RC1-testing/server/default/tmp/deploy/tmp55643rulis.ear-contents/testing-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml
      19:40:41,921 ERROR [STDERR] 2006-3-21 19:40:41 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/java/jboss-4.0.4RC1-testing/server/default/tmp/deploy/tmp55643rulis.ear-contents/testing-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml
      19:40:41,953 ERROR [STDERR] 2006-3-21 19:40:41 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/java/jboss-4.0.4RC1-testing/server/default/tmp/deploy/tmp55643rulis.ear-contents/testing-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml
      19:40:42,312 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
      19:40:42,312 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
      19:40:42,312 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false
      19:40:42,312 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false
      

      Not sure if these errors are connected to the problem, because they appear in the both cases - with and without the drop-down.

      Anybody's got an idea what could be the cause?
      Thanks.