For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 4 replies, 3 voices, and was last updated 19 years, 9 months ago by
ghamphy.
-
AuthorPosts
-
camelatorMemberHi all,
I am trying this plugin for the first time, and it looks really nice.
I am trying to test the jsflogindemo, and as the plugin, the tutorial is really easy.
I have JBoss 4.02
after typing the right url adress, I have my web page with the username & password, but when I click on the submit button. Nothing happens.
I don’t understand what is wrong.
I tried to create the project again, step by step, and I have the same problem (I’ve just put the submit button on the first page), when I click on the submit button, nothing happens.
Here are two warnings I have while deploying the project:
10:22:20,503 WARN [Digester] [ManagedBeanRule]{faces-config/managed-bean} Merge(UserBean)
10:22:20,513 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(/userLogin.jsp)
10:22:20,513 WARN [Digester] [NavigationRuleRule]{faces-config/navigation-rule} Merge(/userLoginSuccess.jsp)I don’t really understand why theses warning occurs, and if it could be an indication of my problem.
Below there is a part of my log file while refreshing the page.
Perhaps someone can help me?
My other question : I have choosen JSF because there is an easy way to put datatable in a web page, but I red that struts is easiest to use. But with MyEclipse, I can’t see a simple way to display a table with page buttons. Is it possible ?2005-10-07 10:38:46,939 DEBUG [com.sun.faces.lifecycle.LifecycleImpl] execute(com.sun.faces.context.FacesContextImpl@1b1acc3)
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.lifecycle.LifecycleImpl] phase(RESTORE_VIEW 1,com.sun.faces.context.FacesContextImpl@1b1acc3)
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.lifecycle.RestoreViewPhase] Entering RestoreViewPhase
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.application.ViewHandlerImpl] set character encoding on request to UTF-8
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.application.ViewHandlerImpl] servletPath /userLogin.faces
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.application.ViewHandlerImpl] pathInfo null
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.application.ViewHandlerImpl] URL pattern of the FacesServlet executing the current request .faces
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.application.ViewHandlerImpl] viewId after appending the context suffix /userLogin.jsp
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.application.StateManagerImpl] Restoring view from session for viewId /userLogin.jsp
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.lifecycle.RestoreViewPhase] Postback: Restored view for /userLogin.faces
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.lifecycle.RestoreViewPhase] Exiting RestoreViewPhase
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.lifecycle.LifecycleImpl] Skipping rest of execute() because of a reload
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.lifecycle.LifecycleImpl] render(com.sun.faces.context.FacesContextImpl@1b1acc3)
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.lifecycle.LifecycleImpl] phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1b1acc3)
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.lifecycle.RenderResponsePhase] Entering RenderResponsePhase
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.lifecycle.RenderResponsePhase] About to render view /userLogin.jsp
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.application.ViewHandlerImpl] About to render view /userLogin.jsp
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.application.ViewHandlerImpl] URL pattern of the FacesServlet executing the current request .faces
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.application.ViewHandlerImpl] Found URL pattern mapping to FacesServlet .faces
2005-10-07 10:38:46,939 DEBUG [com.sun.faces.application.ViewHandlerImpl] Before dispacthMessage to newViewId /userLogin.jsp
2005-10-07 10:38:46,949 DEBUG [com.sun.faces.renderkit.html_basic.ButtonRenderer] Begin encoding component submit
2005-10-07 10:38:46,959 DEBUG [com.sun.faces.el.ValueBindingImpl] getValue(ref=bundle.login_button_label)
2005-10-07 10:38:46,959 DEBUG [com.sun.faces.el.VariableResolverImpl] resolveVariable: Resolved variable:com.sun.faces.taglib.jsf_core.LoadBundleTag$1@1ed2ccd
2005-10-07 10:38:46,959 DEBUG [com.sun.faces.el.ValueBindingImpl] getValue Result:login
2005-10-07 10:38:46,959 DEBUG [com.sun.faces.el.ValueBindingImpl] –>Returning login
2005-10-07 10:38:46,959 DEBUG [com.sun.faces.renderkit.html_basic.ButtonRenderer] End encoding component submit
2005-10-07 10:38:46,959 DEBUG [com.sun.faces.application.StateManagerImpl] Saving view in session for viewId /userLogin.jsp
2005-10-07 10:38:46,959 DEBUG [com.sun.faces.application.ViewHandlerImpl] After dispacthMessage to newViewId /userLogin.jsp
2005-10-07 10:38:46,959 DEBUG [com.sun.faces.lifecycle.RenderResponsePhase] Exiting RenderResponsePhaseOctober 7, 2005 at 6:08 am #238920
camelatorMemberOk, I found the problem,
In the exemple, in the source code, there is a form component, but the step to add this component is not in the tutorial, so it is a bug from the tutorial.October 29, 2005 at 9:37 pm #240416
heislord5Membergrrrr.. This is a bug. It’s a good thing you ran into this problem before me…now I’ll try it
October 29, 2005 at 10:03 pm #240418
heislord5MemberI fixed that problem…thanks it worked.
Came up with the problem below right after it:
javax.servlet.ServletException: Error testing property ‘user_name_label’ in bean of type null
javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)root cause
javax.faces.el.PropertyNotFoundException: Error testing property ‘user_name_label’ in bean of type null
com.sun.faces.el.PropertyResolverImpl.getType(PropertyResolverImpl.java:342)
com.sun.faces.el.impl.ArraySuffix.getType(ArraySuffix.java:240)
com.sun.faces.el.impl.ComplexValue.getType(ComplexValue.java:208)
com.sun.faces.el.ValueBindingImpl.getType(ValueBindingImpl.java:338)
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:111)
javax.faces.component.UIInput.getConvertedValue(UIInput.java:702)
javax.faces.component.UIInput.validate(UIInput.java:627)
javax.faces.component.UIInput.executeValidate(UIInput.java:838)I had used inputText instead of outputText on accident. Changed it and it works now. bravo.
October 28, 2006 at 2:42 pm #261040
ghamphyMemberThis bug has been there for an year. I just ran into it now. Should MyEclipse not be fixing the tutorial for this bug , rather than leave a lot of paying subscribers scratching their heads .. come on guys, steop up to the plate..
Cheers
Shankar
-
AuthorPosts
