[jboss-user] [JBoss Seam] - Re: Problems with Validator and Seam when submit form
Thanks Fábio! I will try this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996617#3996617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with Validator and Seam when submit form
I have a problem which goes in the same direction. I'm interested if anyone had this problem too. After validating the form and e.g. have validation messages because of required=true violation on the form, the ajax4jsf actions cannot rerender fields which are currently in validation error. It's a problem if the user cannot use the ajax4jsf controls after he tried to validate the form. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996529#3996529 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Ajax¤JSF wi th Seam
I've got problems with Seam and the actual 1.0.4 version of ajax4jsf (as it's bundeled in the 1.1.0 GA release of Seam). Tha Java Script console reports "A4J" is unknown. This seems to mean that the js lib of a4j cannot be found. The a4j commandButton then submits the whole form instead of the as rerendered marked components. Has anyone made the same experience? Tomorrow i would be able to post the configs and the code. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993979#3993979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam + ajax4jsf + facelets
hello tobad, the configuration as described above works fine, but I have no conversation propagation anymore after changing my web.xml like that. Do you have the same problem, or even a hint for me? this is my web.xml: http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> org.jboss.seam.servlet.SeamListener Seam Redirect Filter org.jboss.seam.servlet.SeamRedirectFilter Seam Redirect Filter *.seam MyFacesExtensionsFilter org.apache.myfaces.webapp.filter.ExtensionsFilter MyFacesExtensionsFilter Faces Servlet MyFacesExtensionsFilter /faces/myFacesExtensionResource/* javax.faces.STATE_SAVING_METHOD client javax.faces.DEFAULT_SUFFIX .xhtml facelets.DEVELOPMENT true Faces Servlet javax.faces.webapp.FacesServlet 1 Faces Servlet *.seam Seam Remoting org.jboss.seam.remoting.SeamRemotingServlet Seam Remoting /seam/remoting/* org.apache.myfaces.webapp.StartupServletContextListener facelets.LIBRARIES /WEB-INF/tomahawk.taglib.xml; /WEB-INF/rossmann.taglib.xml MonitorServlet de.rossmann.productlisting.servlet.ShowMonitorServlet 2 MonitorServlet *.jpeg Ajax4jsf Filter ajax4jsf org.ajax4jsf.framework.ajax.xmlfilter.NekkoFilter forceparser true enable-cache false ajax4jsf *.seam org.ajax4jsf.SKIN DEFAULT org.ajax4jsf.VIEW_HANDLERS com.sun.facelets.FaceletViewHandler 600 javax.servlet.ServletException /productlisting/timeout.seam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970943#3970943 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970943 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2
"cayo" wrote : Hello, | first thanks for the great work on seam, it's a pleasure to work with it. Unfortunately I've had two little problems in the last weeks. | | The first one concerns the use of facesMessages after the successful injection into a bean. I'm turning the showDetails param to true in my jsf-message component and every time I use the facesMessages.addFromResourceBundle("xyz") the message is shown twice (the summary and the details are exactly the same). Icouldn't get it work to get the message only once. If I put al literal in the message instead of the resourceBundle-key it works fine. | | My second problem appears while using the t:panelNavigation2 component. It doesn't holds the state after a klick on it. So the activated menuItem doesn't show in fat letters or e.g. the dynamically opened menu is always again closed (as initialized). Is this probably a problem with the states in the phases of a faces request? | | Sorry for my bad english, I'm looking forward for some help. Thx!! | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958593#3958593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2
"showSummary=false" that's it! So the Seam method for sending a FacesMessage behaves slightly different to the original one from the MyFaces implementation. There it's the summary that is set by default. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958772#3958772 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JBoss 4.0.4, EJB8 and Seam 1.0.1GA
The class com.sun.facelets.FaceletViewHandler is referenced in the faces-config.xml. Have you got the facelets jar's in your app-war? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958673#3958673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2
And the problem with rendering the navigation: the code from the facelets template: anonymous wrote : | | | | | | | | the inserted navigationmenu.xhtml anonymous wrote : | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://www.w3.org/1999/xhtml"; | xmlns:c="http://java.sun.com/jstl/core"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:t="http://myfaces.apache.org/tomahawk"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:h="http://java.sun.com/jsf/html";> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the web.xml is configured correctly, every t:-component is use works fine including the navigation. It only initializes after ervery rendering and doesn't hold the state. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958663#3958663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2
First the thing with the messages: anonymous wrote : | | | | above the declaration which is inserted in a facelets template like this: anonymous wrote : | | | | | | and used in the source like this: anonymous wrote : | @In(create=true) | private transient FacesMessages facesMessages; | | ... | | facesMessages.addFromResourceBundle("msg.info.6"); | | or | | facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_WARN, "msg.warn.2"); | The message "msg..." is found in the resourceBundle which is declared in the seam.properties and displayed twice in one row on the screen. If I don't use a message from the bundle it works correct. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958660#3958660 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2
Ok, I will post some code tomorrow. Now I'm at home and can't get it. I thought/hopped it cold be a known issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958606#3958606 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: facesMessages and t:panelNavigation2
bad mistake ... the described errors make me tired! Sorry for that! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958595#3958595 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - facesMessages and t:panelNavigation2
Hello, first thanks for the great work on spring, it's a pleasure to work with it. Unfortunately I've had two little problems in the last weeks. The first one concerns the use of facesMessages after the successful injection into a bean. I'm turning the showDetails param to true in my jsf-message component and every time I use the facesMessages.addFromResourceBundle("xyz") the message is shown twice (the summary and the details are exactly the same). Icouldn't get it work to get the message only once. If I put al literal in the message instead of the resourceBundle-key it works fine. My second problem appears while using the t:panelNavigation2 component. It doesn't holds the state after a klick on it. So the activated menuItem doesn't show in fat letters or e.g. the dynamically opened menu is always again closed (as initialized). Is this probably a problem with the states in the phases of a faces request? Sorry for my bad english, I'm looking forward for some help. Thx!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958590#3958590 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user