[jboss-user] [JBoss Seam] - Create component from pageflow
dgallego
do-not-reply at jboss.com
Wed Sep 20 03:19:43 EDT 2006
I can't create a component within a seam pageflow:
The following code works if the 'contactAction' seam component has already been created, for example when viewing a facelet using it.
| <start-page name="contactPage" view-id="/pages/contacto/index.seam">
| <redirect/>
| <transition name="sendMessage" to="evaluateMessageSent">
| <action expression="#{contactAction.sendMessage}"/>
| </transition>
| </start-page>
|
| <decision name="evaluateMessageSent" expression="#{contactAction.messageSent}">
| <transition name="true" to="messageSentPage"/>
| <transition name="false" to="messageFailPage" />
| </decision>
|
| <!-- Pages -->
| <page name="messageSentPage" view-id="/pages/contacto/messageSent.seam">
| <redirect/>
| <end-conversation/>
| </page>
| <page name="messageFailPage" view-id="/pages/contacto/messageFail.seam">
| <redirect />
| <end-conversation />
| </page>
|
Is it possible to invoke #{contactAction} from a pageflow when that component hasn't been created?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972827#3972827
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972827
More information about the jboss-user
mailing list