From e8314fc3bf3f6efef20654984a7fc34c19957305 Mon Sep 17 00:00:00 2001 From: moparisthebest Date: Thu, 24 Jul 2014 11:46:57 -0400 Subject: [PATCH] Removed duplicated files from beehive-netui-tags/src/main/java that are in beehive-netui-tags/src/main/resources --- .../beehive/netui/tags/html/images/folder.gif | Bin 104 -> 0 bytes .../netui/tags/html/images/lastLineJoin.gif | Bin 78 -> 0 bytes .../tags/html/images/lastNodeCollapsed.gif | Bin 142 -> 0 bytes .../tags/html/images/lastNodeExpanded.gif | Bin 145 -> 0 bytes .../netui/tags/html/images/lineJoin.gif | Bin 83 -> 0 bytes .../netui/tags/html/images/nodeCollapsed.gif | Bin 146 -> 0 bytes .../netui/tags/html/images/nodeExpanded.gif | Bin 145 -> 0 bytes .../netui/tags/html/images/rootCollapsed.gif | Bin 878 -> 0 bytes .../netui/tags/html/images/rootExpanded.gif | Bin 881 -> 0 bytes .../beehive/netui/tags/html/images/spacer.gif | Bin 43 -> 0 bytes .../netui/tags/html/images/verticalLine.gif | Bin 81 -> 0 bytes .../beehive/netui/tags/html/package.html | 14 - .../tags/javascript/javaScript.properties | 365 ------------------ .../beehive/netui/tags/naming/package.html | 14 - .../apache/beehive/netui/tags/package.html | 48 --- 15 files changed, 441 deletions(-) delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/folder.gif delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/lastLineJoin.gif delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/lastNodeCollapsed.gif delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/lastNodeExpanded.gif delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/lineJoin.gif delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/nodeCollapsed.gif delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/nodeExpanded.gif delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/rootCollapsed.gif delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/rootExpanded.gif delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/spacer.gif delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/verticalLine.gif delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/package.html delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/javascript/javaScript.properties delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/naming/package.html delete mode 100644 beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/package.html diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/folder.gif b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/folder.gif deleted file mode 100644 index b1defa431892942f32b21c40af6e9ab0125dc49e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 104 zcmZ?wbhEHb6kyaZZO-OevBJve&c~`Ck9nd;a~tS9TB1xu~cyFjxZs DhBha~ diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/lastLineJoin.gif b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/lastLineJoin.gif deleted file mode 100644 index e0ff2f0469aec2b8c967537cb5d9fbd510aca4f1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 78 zcmZ?wbhEHb6krfz_{d=R9|X>vIrE=^fkE*n3nK#qBZCf*%>a^TV3O~VZ#sQy{)1wn di&=Wtrh4-?3a4>C%bfJ;)V6or$8#AOtN}Uw9E|_~ diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/lastNodeCollapsed.gif b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/lastNodeCollapsed.gif deleted file mode 100644 index e9d0a92dbe82f6b9c79c8dbea479d92e432a3699..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 142 zcmZ?wbhEHb6krfz_{?DV9|X>vIrD$!%rj|eGZ_d0#h)yU3=E76Iv|B0GZvIrD$!%rj|eGZ_d0#h)yU3=E76Iv|B0GZeAd)-Bhb!X-Mx PYre5g>FK2|3=Gx)iLok~ diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/lineJoin.gif b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/lineJoin.gif deleted file mode 100644 index 009f29b638356c4421f936166a9a50daa600d910..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 83 zcmZ?wbhEHb6krfz_{d=R9|X>vIrE=^fkE*n3nK#qBZCf*%>a^TU{dLkZ#sQy{)1wn ji&=Wtrh4-?3a4>C%j`?pwrTB+Ef=*9cjr2?GFSru)R-Rl diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/nodeCollapsed.gif b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/nodeCollapsed.gif deleted file mode 100644 index 02eff2b35b25e4b7ff57cbfb62a852cbafda223d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 146 zcmZ?wbhEHb6krfz_{?DV9|X>vIrD$!%rj|eGZ_d0#h)yU3=E76Iv|B0GZ0nx53{{R30 diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/nodeExpanded.gif b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/nodeExpanded.gif deleted file mode 100644 index 5b3cfeda10eb727017919cf6dfbb9cf88f3aadfd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 145 zcmZ?wbhEHb6krfz_{?DV9|X>vIrD$!%rj|eGZ_d0#h)yU3=E76Iv|B0GZeAd)-Bhb!X-Mx PYre6LY09G_B?fB%ht?{8 diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/rootCollapsed.gif b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/rootCollapsed.gif deleted file mode 100644 index a5f63629d0482ac58906386ff1784faba085576c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 878 zcmZ?wbhEHb6krfz_|C}i|Nnmm28J_d{?D9wCM|6ykUa`ULtx~DfZ|UUMg|5(1|5)> zL3x6K!<&JbL&jsnf`iQ*!dfvWHY{{*`>*sb`bU3*E0eHbn2dtMfd)oN-Y^k?i;ItR mu(-RiFnmh!Vv=Fpz@z!;vHL9cSi3tXH!nXwpO=}5!5RQ@u_?0v diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/rootExpanded.gif b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/images/rootExpanded.gif deleted file mode 100644 index 95dfb6ad4943180e94e731855ea81defece9f20e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 881 zcmZ?wbhEHb6krfz_|C}i|Nnmm28J_d{?D9wCM|6ykUa`ULtx~DfZ|UUMg|5(1|5)> zL3x6K!;gWPL&jsnf`iQ*!dfvWHY{{*`>*sb`bU3*E0eHbn2dtMfd)oN-Y^k?i^(UN pl$DtnR!(GaXVCUv^yf$5GLKGPWveSQFE4YO&)>|&DvIrE=^fkE*n3nK#qBZCf*%>a^TU{dOlZ#sQy{)1wn hi&=Wtrh4-?3a3qMzcFK`)XEp1rs+w~4`5`l1^|`+9h(3E diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/package.html b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/package.html deleted file mode 100644 index ec22250..0000000 --- a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/html/package.html +++ /dev/null @@ -1,14 +0,0 @@ - - -

- This package defines the core set of HTML tags provided by NetUI. -

-

- The tags used by a template page are: -

    -
  • HtmlBase -- This is the base abstract type for the - HTML specific tags. -
-

- - \ No newline at end of file diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/javascript/javaScript.properties b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/javascript/javaScript.properties deleted file mode 100644 index 9d0b12c..0000000 --- a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/javascript/javaScript.properties +++ /dev/null @@ -1,365 +0,0 @@ -# -# 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. -# -# $Header:$ -# - -# This properties files defines all of the JavaScript generated by the HTML -# tags. This file does not need I18N support. In fact, if this is internationalized -# the JavaScriptUtils class needs updating because it caches the Bundle internally -# so it is only looked up once. - -functionComment=\ -\n// **** Start the NetUI Framework Generated JavaScript ****\n\ -\n - -# generic method to submit a form, used by Anchor and ImageAnchor -# The following method will be written out once an may be called by -# multiple anchor and imageAnchors. The event JavaScript is defined following it. -anchorFormSubmit=\ -// submit the form from an Anchor or ImageAnchor\n\ -// Search for the form by actionName,\n\ -// Replace the action with the passed in action\n\ -// Submit the form\n\ -function anchor_submit_form(netuiName, newAction)\n\ -{\n\ -\ for (var i=0; i 0) '{'\n\ -\ var formNode = null;\n\ -\ for (var i = 0; i < document.forms.length; i++) '{'\n\ -\ if (document.forms[i].name == formName) '{'\n\ -\ formNode = document.forms[i];\n\ -\ break;\n\ -\ '}'\n\ -\ '}'\n\ -\n\ -\ if (formNode != null) '{'\n\ -\ var sep = "?";\n\ -\ if (url != null && url.length != 0 && url.indexOf("?") > 0) '{'\n\ -\ sep = "&";\n\ -\ '}'\n\ -\ url += sep + get_form_query(formNode);\n\ -\ '}'\n\ -\ '}'\n\ -\n\ -\ window_netui_popup[popup]=open(url, name, features, replace);\n\ -\ if (window_netui_popup[popup].opener == null) window_netui_popup[popup].opener=self;\n\ -'}'\n - -# Open a popup window using a custom function -popupSupportOnClick={0}(''{1}'',''{2}'',''{3}'',{4},''{5}'',null);return false; - -popupSupportUpdateFormOnClick={0}(''{1}'',''{2}'',''{3}'',{4},''{5}'',''{6}'');return false; - -popupDone=\ -function {0}(map)\n\ -'{'\n\ -\ for (var i in map)\n\ -\ '{'\n\ -\ var element = document.getElementById(i);\n\ -\ if (element != null)\n\ -\ '{'\n\ -\ element.value=map[i];\n\ -\ '}'\n\ -\ '}'\n\ -'}'\n - -popupReturn_begin=\ -var map = new Object();\n - -popupReturn_item=\ -map["{0}"] = "{1}";\n - -popupReturn_end=\ -top.opener.{0}(map);\n\ -window.close();\n - -# This script will run and set the focus onto the named element -# It is a page level statement that runs to set the initial focus on -# the page. -setFocus=\ -// set the focus on a field within the named form\n\ -if (document.forms["{0}"]["{1}"].type != "hidden")\n\ -\ document.forms["{0}"]["{1}"].focus();\n - -# This script will do a standard image replacement in a rollover -rollover=\ -// Simple rollover function which replaces the image.src with the passed image\n\ -function swapImage(control, image)\n\ -{\n\ -\ control.src = image;\n\ -}\n - -# JavaScript that will become the mapping between the id and real name -idMappingTable=\ -// Build the netui_names table to map the tagId attributes\n\ -// to the real id written into the HTML\n\ -if (netui_names == null)\n\ -\ var netui_names = new Object();\n\ -{0}\n - -# JavaScript that will become the mapping between the tagId and the real name -tagIdNameMappingTable=\ -// Build the netui_names table to map the tagId attributes\n\ -// to the real id written into the HTML\n\ -if (netui_tagIdNameMap == null)\n\ -\ var netui_tagIdNameMap = new Object();\n\ -{0}\n - - -# this is the individual entry into the mapping table for each mapping -idMappingEntry=\ -netui_names.{0}="{1}"\n - -# This is a mapping between tagId and name -tagIdNameMappingEntry=\ -netui_tagIdNameMap.{0}="{1}"\n - -# simple method to return the real id for the a scoped tagId -getNetuiTagNameAdvanced=\ -// method which will return a real id for a tagId,\n\ -// the tag parameter will be used to find the idScope for\n\ -// containers that may scope their ids\n\ -function getNetuiTagName(id, tag)\n\ -{\n\ -\ var idScope = getScopeId(tag);\n\ -\ if (idScope == \"\")\n\ -\ return netui_names[id];\n\ -\ else\n\ -\ return netui_names[idScope + "__" + id];\n\ -}\n - -#method map the TagId to the real ID -lookupIdByTagId=\ -// lookup by tagId to "real id"\n\ -function lookupIdByTagId(id, tag)\n\ -{\n\ -\ var idScope = lookupIdScope(tag,".");\n\ -\ return (idScope == "") ? id : idScope + id;\n\ -}\n - -#method to do lookup in netui_tagIdNameMap -lookupNameByTagId=\ -// lookup by tagId to "real name"\n\ -function lookupNameByTagId(id, tag)\n\ -{\n\ -\ var idScope = lookupIdScope(tag,"_");\n\ -\ if (idScope == \"\")\n\ -\ return netui_tagIdNameMap[id];\n\ -\ else\n\ -\ return netui_tagIdNameMap[idScope + "__" + id];\n\ -}\n - -# method to find the scope id -getScopeId=\ -// This method will walk the hierarchy from the pass element looking for a idScope.\n\ -// The first idScope found will be returned or the empty string if a idScope is not found.\n\ -function getScopeId(tag)\n\ -{\n\ -\ if (tag == null || tag.getAttribute == null)\n\ -\ return "";\n\ -\ try {\n\ -\ var attrVal = tag.getAttribute("netui:idScope");\n\ -\ } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }\n\ -\ if (attrVal != null)\n\ -\ return attrVal;\n\ -\ return getScopeId(tag.parentNode);\n\ -}\n - -lookupScopeId=\ -//Non-Legacy lookup method creating a fully qualified scope id\n\ -function lookupIdScope(tag,sep)\n\ -{\n\ -\ var val = "";\n\ -\ if (sep == null) sep = "";\n\ -\ while (tag != null && tag.getAttribute != null) {\n\ -\ try {\n\ -\ var attrVal = tag.getAttribute("netui:idScope");\n\ -\ } catch (e) { /* ignore, in IE6 calling on a table results in an exception */ }\n\ -\ if (attrVal != null)\n\ -\ val = attrVal + sep + val;\n\ -\ tag = tag.parentNode;\n\ -\ }\n\ -\ return val;\n\ -}\n\ - -# JavaScript that will become the mapping between the id and real name (legacy mode) -singleIdMappingTable=\ -// Build the netui_names table to map the tagId attributes\n\ -// to the real id written into the HTML\n\ -if (netui_names == null)\n\ -\ var netui_names = new Object();\n\ -netui_names.{0}="{1}"\n - -#JavaScript that will become the mapping between the id and the real name -singleIdToNameMappingTable=\ -\n// map tagId to "real name"\n\ -if (netui_tagIdNameMap == null)\n\ -\ var netui_tagIdNameMap = new Object();\n\ -netui_tagIdNameMap.{0}="{1}"\n - -#This method will invoke the NetUICommand infrastructure -netuiAction=\ -return netUI.action(this, ''{0}''); - -#initialization code for the tree -initTree=\ -if (netUI.netUITree == null) '{\n\ -\ netUI.netUITree = new NetUITree();\n\ -\ netUI.netUITree.trees = new Object();\n\ -'}\n\ -netUI.netUITree.trees.{1} = new Object();\n\ -netUI.netUITree.trees["{1}"].imgExpandName = "{0}" + "{2}";\n\ -netUI.netUITree.trees["{1}"].imgCollapseName = "{0}" + "{3}";\n\ -netUI.netUITree.trees["{1}"].imgExpandLastName = "{0}" + "{4}";\n\ -netUI.netUITree.trees["{1}"].imgCollapseLastName = "{0}" + "{5}";\n\ -netUI.netUITree.trees["{1}"].altExpand = "{6}";\n\ -netUI.netUITree.trees["{1}"].altCollapse = "{7}";\n\ -netUI.netUITree.init();\n - -# The AJAX Prefix -initTreePrefix=\ -netUI.netUITree.trees["{0}"].ajaxPrefix = "{1}";\n - -# The AJAX Paramter -initTreeParam=\ -netUI.netUITree.trees["{0}"].ajaxParam = "{1}";\n - - - -#initialization code for the divPanel -initDivPanel=\ -netUI.netUIDivPanel = new NetUIDivPanel();\n\ -netUI.netUIDivPanel.init();\n - -#initialize the webapp name -writeWebAppName=\ -// write out the webapp name\n\ -netUI.webAppName = "{0}";\n diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/naming/package.html b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/naming/package.html deleted file mode 100644 index 11bdd02..0000000 --- a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/naming/package.html +++ /dev/null @@ -1,14 +0,0 @@ - - -

- This package provides support for plugable naming of data source elements. -

-

- The tags used by a template page are: -

    -
  • NameInterceptor -- This interface defines the contract - for the naming service. -
-

- - \ No newline at end of file diff --git a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/package.html b/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/package.html deleted file mode 100644 index ac4c113..0000000 --- a/beehive-netui-tags/src/main/java/org/apache/beehive/netui/tags/package.html +++ /dev/null @@ -1,48 +0,0 @@ - - -

- Provides the classes and interfaces fundamental to the NetUI tags. The primary abstract base - class is {@link org.apache.beehive.netui.tags.AbstractClassicTag}, which most tags extend from. This class - provides implementation of most of the basic services used by the NetUI tags. There are three - basic types of NetUI Tags based upon how they data bind to objects: -

    -
  • Read-only -- These tags bind to their primary value through the value - attribute. In addition, many other attributes on tags provide read-only binding.
  • -
  • Read-Write -- These values provide read/write access to variables on the server. - Tags bind their primary value through the dataSource attribute.
  • -
  • Read-Write Multiple Values -- This type of tag may read and write multiple values. - Typically, these tags support a optionsDataSource attribute allowing the full - set of options to be specified.
  • -
- In addition, to these common attributes, many tags provide a defaultValue - attribute which can provide the default value if the dataSource object is null. -

-

- AbstractBaseTag provides base features allowing the implementation of dataSource, - defaultValue, and optionsDataSource. There are also base classes in both this package - and the {@link org.apache.beehive.netui.tags.html} package which support these attributes. -

-

- The primary base classes are: -

    -
  • AbstractBaseTag -- This is an abstract base class for - all tags. I provides support for generic tag features, expression management, naming support, - generic attribute support, error reporting and JavaScript services.
  • -
  • DataSourceTag --
  • -
  • DefaultableDataSourceTag --
  • -
  • OptionsDataSourceTag --
  • -
-

-

There are a number of supporting interfaces provided by the package. These interfaces - allow tags to provide services or participate in provided services. These are the primary - interfaces: -

    -
  • DataAccessProvider -- This interfaces allows object to provide their - children with a relative binding context using the 'container' binding context.
  • -
  • ErrorReporter -- This interfaces allows objects to act as a container for - reporting errors generated by their children.
  • -
  • ScriptReporter -- This interfaces allows objects to act as a container for - JavaScript for their children.
  • -
- - \ No newline at end of file