Adicionadas perguntas aos nodos.
[simdecs_seam.git] / SimDeCS / WebContent / seguro / admin / rede / PerguntaNodoEdit.page.xml
CommitLineData
79f1af86
MS
1<?xml version="1.0" encoding="UTF-8"?>
2<page xmlns="http://jboss.com/products/seam/pages"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.2.xsd"
5 no-conversation-view-id="/seguro/admin/rede/Nodo.xhtml"
6 login-required="true">
7
8 <begin-conversation join="true" flush-mode="MANUAL"/>
9
10 <action execute="#{perguntaNodoHome.wire}"/>
11
12 <param name="perguntaNodoFrom"/>
13 <param name="perguntaNodoId" value="#{perguntaNodoHome.perguntaNodoId}"/>
14
15
16 <navigation from-action="#{perguntaNodoHome.persist}">
17 <rule if-outcome="persisted">
18 <end-conversation/>
19 <redirect view-id="/seguro/admin/rede/PerguntaNodo.xhtml"/>
20 </rule>
21 </navigation>
22
23 <navigation from-action="#{perguntaNodoHome.update}">
24 <rule if-outcome="updated">
25 <end-conversation/>
26 <redirect view-id="/seguro/admin/rede/PerguntaNodo.xhtml"/>
27 </rule>
28 </navigation>
29
30 <navigation from-action="#{perguntaNodoHome.remove}">
31 <rule if-outcome="removed">
32 <end-conversation/>
33 <redirect view-id="/seguro/admin/rede/Nodo.xhtml"/>
34 </rule>
35 </navigation>
36
37</page>