blob: 26256b66eff20224eef03e30669f82d54ef2ad6a [file] [log] [blame]
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE dm-config SYSTEM "rulebased.dtd">
<dm-config>
<!--
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF 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.
-->
<navigation>
<initial target="select" />
<rule from="select" defaultTarget="duration" >
<!--
In the lvalue attribute of the following condition
we obtain the value of the RDC that just finished
execution by evaluating its ID as an EL expression
in the host JSP's page context.
REMEMBER: Any RDC returns its value as a page context
variable taking the same name as its ID.
-->
<condition lvalue="#{select}" operation="equal-to" rvalue="date"
target="date" />
<!--
The rvalue attribute of the following condition
illustrates how to use EL expressions in the ruleset.
myBean is defined in JSP hosting the group which is executing
based on these rules [rulebased-conditions.jsp]
-->
<condition lvalue="#{select}" operation="equal-to"
rvalue="#{myBean.myProperty}" target="time" />
</rule>
</navigation>
</dm-config>