[jboss-user] [JBoss Seam] - Re: problem with deploying in JBoss
mnrz
do-not-reply at jboss.com
Tue Nov 7 02:39:05 EST 2006
Hi
eventually, I could deploy it but jbpm doesnt work fine.
the "register" action I put in the jsp file does not meaning to the Seam and this is the Jbpm which should know it but it doesnt.
after clicking on Submit button no action fires and page stays intact.
jsp file
| .....
| <tr>
| <td>Password</td>
| <td><h:inputSecret value="#{user.password}" required="true"/></td>
| </tr>
| <!-- validateAll -->
| </table>
| <h:messages/>
|
| <h:commandButton type="submit" value="Register" action="register"/>
|
| </h:form>
| ......
|
backing bean:
| @Create
| @Begin(join=true,pageflow="SeamPracticePageFlow")
| public void begin() {
| userNotExists = false;
| }
|
|
myproject.jpdl.xml :
| <pageflow-definition name="SeamPracticePageFlow">
|
| <start-page name="start" view-id="/pages/register.jsp">
|
| <transition name="register" to="checkUser" >
| <action expression="#{register.register}" />
| </transition>
|
| </start-page>
|
| <decision name="checkUser" expression="#{register.alreadyExists}" >
| <transition name="false" to="registered" />
| <transition name="true" to="start" />
| </decision>
|
| <page name="registered" view-id="/pages/registered.jsp">
| <redirect/>
| <transition name="welcomeMessage" to="listMessage" >
| <action expression="/pages/messages.seam" />
| </transition>
| </page>
| ..........
|
|
thank you so much
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983649#3983649
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983649
More information about the jboss-user
mailing list