This content has been marked as final.
Show 5 replies
-
1. Re: h:commandButton requires s:conversationId to work proper
pmuir Jan 23, 2007 5:21 AM (in response to svadu)I would suggest
1) Create a simple example of this behaviour
2) Post it
- the behaviour you describe is wrong BUT does work. -
2. Re: h:commandButton requires s:conversationId to work proper
mariuszs Jan 23, 2007 5:45 AM (in response to svadu)<s:conversationId>
Add the conversation id to an output link (or similar JSF control). Facelets only.
Why this tag is facelets only? Facelests version of tag h:commandButton need conversationId added? -
3. Re: h:commandButton requires s:conversationId to work proper
pmuir Jan 23, 2007 5:48 AM (in response to svadu)No, it just means that the (wiring) code hasn't been written for JSP. You can acheive the same with
<f:param name="conversationId" value="#{conversation.id}" />
I think. -
4. Re: h:commandButton requires s:conversationId to work proper
kahliburke Jan 24, 2007 3:38 PM (in response to svadu)Could it be that you don't have the SeamRedirectFilter in your web.xml?
<filter> <filter-name>Seam Redirect Filter</filter-name> <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class> </filter> <filter-mapping> <filter-name>Seam Redirect Filter</filter-name> <url-pattern>*.seam</url-pattern> </filter-mapping>
Note that I am using *.seam as the URL pattern, yours might be different (*.jsf) depending on your configuration.
Take a look at 13.1.3 in the docs...
Hope it helps.
Kahli -
5. Re: h:commandButton requires s:conversationId to work proper
svadu Jan 24, 2007 5:35 PM (in response to svadu)I have the following:
<!-- Propagate conversations across redirects --> <filter> <filter-name>Seam Redirect Filter</filter-name> <filter-class> org.jboss.seam.servlet.SeamRedirectFilter </filter-class> </filter> <filter-mapping> <filter-name>Seam Redirect Filter</filter-name> <servlet-name>Faces Servlet</servlet-name> </filter-mapping>
and then:<!-- Faces Servlet --> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <!-- Faces Servlet Mapping --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping>