All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.WEB-INF.gui.common.flow.parent.parentFlow.xml Maven / Gradle / Ivy

Go to download

Die IsyFact-Standards bilden das architektonische, technologische und methodische Fundament der IsyFact. Sie umfassen allgemeingültige und wiederverwendbare Konzepte und Komponenten, die für die Entwicklung beliebiger Fachanwendungen relevant sind.

There is a newer version: 6.2.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<!--

    See the NOTICE file distributed with this work for additional
    information regarding copyright ownership.
    The Federal Office of Administration (Bundesverwaltungsamt, BVA)
    licenses this file to you under the Apache License, Version 2.0 (the
    License). You may not use this file except in compliance with the
    License. You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
    implied. See the License for the specific language governing
    permissions and limitations under the License.

-->
<flow xmlns="http://www.springframework.org/schema/webflow" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/webflow http://www.springframework.org/schema/webflow/spring-webflow-2.4.xsd"
    abstract="true">

    <!-- Der Parent-Flow. -->
    <var name="globalFlowModel" class="de.bund.bva.isyfact.common.web.global.GlobalFlowModel" />

    <on-start>
        <!-- Initialisierung der globalen Konfiguration (mehrfaches Initialisieren hat keine Auswirkung) in den Conversation-Scope. -->
        <evaluate expression="globalConfigurationController.initializeConfigurationModel()" result="conversationScope.globalConfigurationModel" />
        <!-- Initialisierung der Flow-bezogenen Konfiguration in den Flow-Scope -->
        <evaluate expression="globalFlowController.initialisiereModel(globalFlowModel)" />
    </on-start>

    <subflow-state id="fehler" subflow="errorFlow" />

    <!-- Globale Übergänge die in jedem View-State ausgeführt werden können. -->
    <global-transitions>
        <transition on-exception="org.springframework.webflow.execution.ActionExecutionException"
                    to="#{optimisticLockHandler.behandleException(flowExecutionException, flowRequestContext)}" />
        <!-- Bei Fehlern wird in den Error-Flow gewechselt -->
        <transition on-exception="java.lang.Exception" to="fehler" />
    </global-transitions>

</flow>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy