2 ~ Licensed to the Apache Software Foundation (ASF) under one
\r
3 ~ or more contributor license agreements. See the NOTICE file
\r
4 ~ distributed with this work for additional information
\r
5 ~ regarding copyright ownership. The ASF licenses this file
\r
6 ~ to you under the Apache License, Version 2.0 (the
\r
7 ~ "License"); you may not use this file except in compliance
\r
8 ~ with the License. You may obtain a copy of the License at
\r
10 ~ http://www.apache.org/licenses/LICENSE-2.0
\r
12 ~ Unless required by applicable law or agreed to in writing,
\r
13 ~ software distributed under the License is distributed on an
\r
14 ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
\r
15 ~ KIND, either express or implied. See the License for the
\r
16 ~ specific language governing permissions and limitations
\r
17 ~ under the License.
\r
20 <%@ taglib uri="/webwork" prefix="ww" %>
\r
21 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
\r
22 <%@ attribute name="action" %>
\r
23 <%@ attribute name="namespace" %>
\r
24 <%@ attribute name="url" %>
\r
26 <c:set var="currentUrl">
\r
29 <c:if test="${!empty (action) && !empty (namespace)}">
\r
31 <ww:url action="${action}" namespace="${namespace}"/>
\r
38 <c:when test="${currentUrl == url}">
\r