Upload de redes bayesianas.
authorMichele Silva <michele.silva@gmail.com>
Wed, 2 Nov 2011 22:00:35 +0000 (20:00 -0200)
committerMichele Silva <michele.silva@gmail.com>
Wed, 2 Nov 2011 22:00:35 +0000 (20:00 -0200)
SimDeCS/.classpath
SimDeCS/WebContent/WEB-INF/components.xml
SimDeCS/WebContent/WEB-INF/pages.xml
SimDeCS/WebContent/layout/menu.xhtml

index db235b9..5edd50d 100644 (file)
@@ -1,18 +1,14 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<classpath>\r
-       <classpathentry kind="src" output="WebContent/WEB-INF/dev" path="src/hot"/>\r
-       <classpathentry kind="src" path="src/main"/>\r
-       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre6">\r
-               <attributes>\r
-                       <attribute name="owner.project.facets" value="java"/>\r
-               </attributes>\r
-       </classpathentry>\r
-       <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 5.1 Runtime">\r
-               <attributes>\r
-                       <attribute name="owner.project.facets" value="jst.web;jst.jsf"/>\r
-               </attributes>\r
-       </classpathentry>\r
-       <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>\r
-       <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>\r
-       <classpathentry kind="output" path="build/classes"/>\r
-</classpath>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" output="WebContent/WEB-INF/dev" path="src/hot"/>
+       <classpathentry kind="src" path="src/main"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/java-6-openjdk"/>
+       <classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.jboss.ide.eclipse.as.core.server.runtime.runtimeTarget/JBoss 5.1 Runtime">
+               <attributes>
+                       <attribute name="owner.project.facets" value="jst.web;jst.jsf"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+       <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+       <classpathentry kind="output" path="build/classes"/>
+</classpath>
index 1de84a9..db05c34 100644 (file)
@@ -62,5 +62,8 @@
       <bpm:pageflow-definitions></bpm:pageflow-definitions>
    </bpm:jbpm>
    -->
+   <web:multipart-filter create-temp-files="true"
+                      max-request-size="1000000" 
+                      url-pattern="*.seam" />
 
 </components>
index 1ea222c..d4f4b67 100644 (file)
             <message severity="error">Unexpected error, please try again</message>
         </redirect>
     </exception>
+    <exception class="org.jboss.seam.web.FileUploadException">
+         <redirect view-id="/error.xhtml">
+           <message>#{org.jboss.seam.handledException.message}</message>
+         </redirect>
+       </exception>
     
 </pages>
index 3d91a3b..0c2b532 100644 (file)
                        includePageParams="false"
                propagation="none"/>
      </rich:menuItem>
+     <rich:menuItem>
+       <s:link view="/seguro/admin/rede/ArquivoRedeList.xhtml"
+               value="Redes Bayesianas"
+               id="RedeId"
+                       includePageParams="false"
+               propagation="none"/>
+     </rich:menuItem>
     </rich:dropDownMenu>
     <!-- @newMenuItem@ -->
     <rich:toolBarGroup location="right">