Return-Path: X-Original-To: apmail-struts-commits-archive@minotaur.apache.org Delivered-To: apmail-struts-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 85C2D188C7 for ; Fri, 22 May 2015 10:58:49 +0000 (UTC) Received: (qmail 31005 invoked by uid 500); 22 May 2015 10:58:32 -0000 Delivered-To: apmail-struts-commits-archive@struts.apache.org Received: (qmail 30931 invoked by uid 500); 22 May 2015 10:58:32 -0000 Mailing-List: contact commits-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list commits@struts.apache.org Received: (qmail 29107 invoked by uid 99); 22 May 2015 10:58:30 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2015 10:58:30 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 728F7E17D8; Fri, 22 May 2015 10:58:30 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: lukaszlenart@apache.org To: commits@struts.apache.org Date: Fri, 22 May 2015 10:59:17 -0000 Message-Id: In-Reply-To: <0a39c25d125f4c6e8753d978d5738575@git.apache.org> References: <0a39c25d125f4c6e8753d978d5738575@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [50/50] struts git commit: Moves deprecated plugins to struts-archive repo Moves deprecated plugins to struts-archive repo Project: http://git-wip-us.apache.org/repos/asf/struts/repo Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/17d73d21 Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/17d73d21 Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/17d73d21 Branch: refs/heads/master Commit: 17d73d21a1203c86aab9c6b887d4e5c01e36a160 Parents: 9a33d29 Author: Lukasz Lenart Authored: Fri May 22 12:57:56 2015 +0200 Committer: Lukasz Lenart Committed: Fri May 22 12:58:01 2015 +0200 ---------------------------------------------------------------------- plugins/codebehind/pom.xml | 72 - .../codebehind/CodebehindUnknownHandler.java | 281 - .../java/org/apache/struts2/config/Action.java | 32 - .../config/ClasspathPackageProvider.java | 761 - .../org/apache/struts2/config/Namespace.java | 36 - .../apache/struts2/config/ParentPackage.java | 36 - .../java/org/apache/struts2/config/Result.java | 41 - .../java/org/apache/struts2/config/Results.java | 36 - .../codebehind/src/main/resources/LICENSE.txt | 174 - .../codebehind/src/main/resources/NOTICE.txt | 5 - .../src/main/resources/struts-plugin.xml | 38 - plugins/codebehind/src/site/site.xml | 57 - .../CodebehindUnknownHandlerTest.java | 137 - .../apache/struts2/config/AnnotatedAction.java | 27 - .../struts2/config/AnotherAnnotatedObject.java | 27 - .../config/ClasspathPackageProviderTest.java | 166 - .../struts2/config/CustomNamespaceAction.java | 27 - .../config/CustomParentPackageAction.java | 27 - .../struts2/config/cltest/ActionImpl.java | 32 - .../struts2/config/cltest/OneResultAction.java | 29 - .../struts2/config/cltest/TwoResultAction.java | 35 - .../struts2/config/parenttest/SomeAction.java | 30 - .../struts2/config/parenttest/package-info.java | 24 - plugins/dojo/pom.xml | 240 - .../dojo/components/AbstractRemoteBean.java | 268 - .../dojo/components/AbstractValidateBean.java | 67 - .../apache/struts2/dojo/components/Anchor.java | 143 - .../struts2/dojo/components/Autocompleter.java | 528 - .../apache/struts2/dojo/components/Bind.java | 295 - .../struts2/dojo/components/DateTimePicker.java | 435 - .../org/apache/struts2/dojo/components/Div.java | 176 - .../apache/struts2/dojo/components/Head.java | 218 - .../struts2/dojo/components/RemoteBean.java | 72 - .../apache/struts2/dojo/components/Submit.java | 465 - .../struts2/dojo/components/TabbedPanel.java | 223 - .../struts2/dojo/components/TextArea.java | 70 - .../apache/struts2/dojo/components/Tree.java | 551 - .../struts2/dojo/components/TreeNode.java | 161 - .../struts2/dojo/views/DojoTagLibrary.java | 71 - .../dojo/views/freemarker/tags/AnchorModel.java | 47 - .../freemarker/tags/AutocompleterModel.java | 45 - .../dojo/views/freemarker/tags/BindModel.java | 44 - .../freemarker/tags/DateTimePickerModel.java | 45 - .../dojo/views/freemarker/tags/DivModel.java | 48 - .../dojo/views/freemarker/tags/DojoModels.java | 137 - .../dojo/views/freemarker/tags/HeadModel.java | 44 - .../dojo/views/freemarker/tags/SubmitModel.java | 47 - .../views/freemarker/tags/TabbedPanelModel.java | 44 - .../views/freemarker/tags/TextAreaModel.java | 44 - .../dojo/views/freemarker/tags/TreeModel.java | 46 - .../views/freemarker/tags/TreeNodeModel.java | 45 - .../dojo/views/jsp/ui/AbstractRemoteTag.java | 155 - .../dojo/views/jsp/ui/AbstractValidateTag.java | 49 - .../struts2/dojo/views/jsp/ui/AnchorTag.java | 58 - .../dojo/views/jsp/ui/AutocompleterTag.java | 221 - .../struts2/dojo/views/jsp/ui/BindTag.java | 61 - .../dojo/views/jsp/ui/DateTimePickerTag.java | 148 - .../struts2/dojo/views/jsp/ui/DivTag.java | 100 - .../struts2/dojo/views/jsp/ui/HeadTag.java | 92 - .../struts2/dojo/views/jsp/ui/SubmitTag.java | 216 - .../dojo/views/jsp/ui/TabbedPanelTag.java | 98 - .../struts2/dojo/views/jsp/ui/TextareaTag.java | 52 - .../struts2/dojo/views/jsp/ui/TreeNodeTag.java | 58 - .../struts2/dojo/views/jsp/ui/TreeTag.java | 298 - .../velocity/components/AnchorDirective.java | 47 - .../components/AutocompleterDirective.java | 46 - .../velocity/components/BindDirective.java | 43 - .../components/DateTimePickerDirective.java | 44 - .../views/velocity/components/DivDirective.java | 47 - .../components/DojoAbstractDirective.java | 34 - .../velocity/components/HeadDirective.java | 43 - .../velocity/components/SubmitDirective.java | 43 - .../components/TabbedPanelDirective.java | 47 - .../velocity/components/TextAreaDirective.java | 48 - .../velocity/components/TreeDirective.java | 48 - .../velocity/components/TreeNodeDirective.java | 49 - .../dojo/src/main/resources/META-INF/README.txt | 3 - plugins/dojo/src/main/resources/NOTICE.txt | 6 - .../org/apache/struts2/static/TabbedPanel.css | 25 - .../org/apache/struts2/static/dojo/LICENSE | 195 - .../org/apache/struts2/static/dojo/README | 176 - .../struts2/static/dojo/Storage_version6.swf | Bin 1963 -> 0 bytes .../struts2/static/dojo/Storage_version8.swf | Bin 2594 -> 0 bytes .../org/apache/struts2/static/dojo/build.txt | 35 - .../org/apache/struts2/static/dojo/dojo.js | 6441 ---- .../struts2/static/dojo/dojo.js.uncompressed.js | 9865 ------ .../struts2/static/dojo/flash6_gateway.swf | Bin 1170 -> 0 bytes .../struts2/static/dojo/iframe_history.html | 84 - .../apache/struts2/static/dojo/nls/dojo_ROOT.js | 11 - .../struts2/static/dojo/nls/dojo_de-de.js | 11 - .../apache/struts2/static/dojo/nls/dojo_de.js | 11 - .../struts2/static/dojo/nls/dojo_en-gb.js | 11 - .../struts2/static/dojo/nls/dojo_en-us.js | 11 - .../apache/struts2/static/dojo/nls/dojo_en.js | 11 - .../struts2/static/dojo/nls/dojo_es-es.js | 11 - .../apache/struts2/static/dojo/nls/dojo_es.js | 11 - .../struts2/static/dojo/nls/dojo_fr-fr.js | 11 - .../apache/struts2/static/dojo/nls/dojo_fr.js | 11 - .../struts2/static/dojo/nls/dojo_it-it.js | 11 - .../apache/struts2/static/dojo/nls/dojo_it.js | 11 - .../struts2/static/dojo/nls/dojo_ja-jp.js | 11 - .../apache/struts2/static/dojo/nls/dojo_ja.js | 11 - .../struts2/static/dojo/nls/dojo_ko-kr.js | 11 - .../apache/struts2/static/dojo/nls/dojo_ko.js | 11 - .../struts2/static/dojo/nls/dojo_pt-br.js | 11 - .../apache/struts2/static/dojo/nls/dojo_pt.js | 11 - .../apache/struts2/static/dojo/nls/dojo_xx.js | 11 - .../struts2/static/dojo/nls/dojo_zh-cn.js | 11 - .../struts2/static/dojo/nls/dojo_zh-tw.js | 11 - .../apache/struts2/static/dojo/nls/dojo_zh.js | 11 - .../struts2/static/dojo/src/AdapterRegistry.js | 44 - .../apache/struts2/static/dojo/src/Deferred.js | 165 - .../struts2/static/dojo/src/DeferredList.js | 77 - .../org/apache/struts2/static/dojo/src/a11y.js | 54 - .../apache/struts2/static/dojo/src/animation.js | 16 - .../static/dojo/src/animation/Animation.js | 180 - .../static/dojo/src/animation/AnimationEvent.js | 37 - .../dojo/src/animation/AnimationSequence.js | 128 - .../struts2/static/dojo/src/animation/Timer.js | 17 - .../static/dojo/src/animation/__package__.js | 16 - .../apache/struts2/static/dojo/src/behavior.js | 150 - .../struts2/static/dojo/src/bootstrap1.js | 160 - .../struts2/static/dojo/src/bootstrap2.js | 59 - .../struts2/static/dojo/src/browser_debug.js | 135 - .../struts2/static/dojo/src/browser_debug_xd.js | 38 - .../struts2/static/dojo/src/cal/iCalendar.js | 567 - .../static/dojo/src/cal/textDirectory.js | 57 - .../struts2/static/dojo/src/charting/Axis.js | 132 - .../struts2/static/dojo/src/charting/Chart.js | 64 - .../struts2/static/dojo/src/charting/Plot.js | 82 - .../static/dojo/src/charting/PlotArea.js | 137 - .../static/dojo/src/charting/Plotters.js | 16 - .../struts2/static/dojo/src/charting/README.txt | 46 - .../struts2/static/dojo/src/charting/Series.js | 194 - .../static/dojo/src/charting/__package__.js | 14 - .../static/dojo/src/charting/svg/Axis.js | 188 - .../static/dojo/src/charting/svg/PlotArea.js | 77 - .../static/dojo/src/charting/svg/Plotters.js | 702 - .../static/dojo/src/charting/vml/Axis.js | 239 - .../static/dojo/src/charting/vml/PlotArea.js | 69 - .../static/dojo/src/charting/vml/Plotters.js | 889 - .../static/dojo/src/collections/ArrayList.js | 114 - .../static/dojo/src/collections/BinaryTree.js | 257 - .../static/dojo/src/collections/Collections.js | 92 - .../static/dojo/src/collections/Dictionary.js | 101 - .../static/dojo/src/collections/Graph.js | 151 - .../static/dojo/src/collections/Queue.js | 67 - .../struts2/static/dojo/src/collections/Set.js | 114 - .../static/dojo/src/collections/SkipList.js | 169 - .../static/dojo/src/collections/SortedList.js | 171 - .../static/dojo/src/collections/Stack.js | 67 - .../static/dojo/src/collections/Store.js | 293 - .../static/dojo/src/collections/__package__.js | 15 - .../apache/struts2/static/dojo/src/crypto.js | 16 - .../struts2/static/dojo/src/crypto/Blowfish.js | 384 - .../struts2/static/dojo/src/crypto/LICENSE | 11 - .../struts2/static/dojo/src/crypto/MD5.js | 198 - .../struts2/static/dojo/src/crypto/Rijndael.js | 23 - .../struts2/static/dojo/src/crypto/SHA1.js | 171 - .../struts2/static/dojo/src/crypto/SHA256.js | 21 - .../static/dojo/src/crypto/__package__.js | 15 - .../org/apache/struts2/static/dojo/src/data.js | 15 - .../struts2/static/dojo/src/data/CsvStore.js | 115 - .../struts2/static/dojo/src/data/OpmlStore.js | 166 - .../struts2/static/dojo/src/data/RdfStore.js | 185 - .../apache/struts2/static/dojo/src/data/Read.js | 224 - .../struts2/static/dojo/src/data/Result.js | 158 - .../struts2/static/dojo/src/data/Write.js | 169 - .../struts2/static/dojo/src/data/YahooStore.js | 44 - .../struts2/static/dojo/src/data/__package__.js | 14 - .../struts2/static/dojo/src/data/core/Read.js | 55 - .../static/dojo/src/data/core/RemoteStore.js | 354 - .../struts2/static/dojo/src/data/core/Result.js | 36 - .../struts2/static/dojo/src/data/core/Write.js | 44 - .../static/dojo/src/data/csv/CsvStore.js | 220 - .../struts2/static/dojo/src/data/csv/Result.js | 81 - .../static/dojo/src/data/csv/__package__.js | 21 - .../static/dojo/src/data/old/Attribute.js | 35 - .../struts2/static/dojo/src/data/old/Item.js | 223 - .../struts2/static/dojo/src/data/old/Kind.js | 19 - .../static/dojo/src/data/old/Observable.js | 40 - .../static/dojo/src/data/old/ResultSet.js | 52 - .../struts2/static/dojo/src/data/old/Type.js | 19 - .../struts2/static/dojo/src/data/old/Value.js | 35 - .../static/dojo/src/data/old/__package__.js | 17 - .../static/dojo/src/data/old/format/Csv.js | 81 - .../static/dojo/src/data/old/format/Json.js | 71 - .../static/dojo/src/data/old/provider/Base.js | 124 - .../dojo/src/data/old/provider/Delicious.js | 33 - .../dojo/src/data/old/provider/FlatFile.js | 113 - .../dojo/src/data/old/provider/JotSpot.js | 19 - .../static/dojo/src/data/old/provider/MySql.js | 19 - .../struts2/static/dojo/src/data/old/to_do.txt | 45 - .../org/apache/struts2/static/dojo/src/date.js | 15 - .../struts2/static/dojo/src/date/common.js | 316 - .../struts2/static/dojo/src/date/format.js | 713 - .../struts2/static/dojo/src/date/serialize.js | 129 - .../static/dojo/src/date/supplemental.js | 47 - .../org/apache/struts2/static/dojo/src/debug.js | 85 - .../struts2/static/dojo/src/debug/Firebug.js | 57 - .../static/dojo/src/debug/arrow_hide.gif | Bin 163 -> 0 bytes .../static/dojo/src/debug/arrow_show.gif | Bin 165 -> 0 bytes .../struts2/static/dojo/src/debug/console.js | 97 - .../struts2/static/dojo/src/debug/deep.html | 362 - .../struts2/static/dojo/src/debug/spacer.gif | Bin 820 -> 0 bytes .../struts2/static/dojo/src/dnd/DragAndDrop.js | 76 - .../static/dojo/src/dnd/HtmlDragAndDrop.js | 369 - .../struts2/static/dojo/src/dnd/HtmlDragCopy.js | 70 - .../static/dojo/src/dnd/HtmlDragManager.js | 295 - .../struts2/static/dojo/src/dnd/HtmlDragMove.js | 54 - .../struts2/static/dojo/src/dnd/Sortable.js | 24 - .../static/dojo/src/dnd/TreeDragAndDrop.js | 253 - .../static/dojo/src/dnd/TreeDragAndDropV3.js | 218 - .../struts2/static/dojo/src/dnd/__package__.js | 15 - .../org/apache/struts2/static/dojo/src/docs.js | 671 - .../org/apache/struts2/static/dojo/src/dom.js | 381 - .../org/apache/struts2/static/dojo/src/event.js | 16 - .../static/dojo/src/event/__package__.js | 15 - .../struts2/static/dojo/src/event/browser.js | 491 - .../struts2/static/dojo/src/event/common.js | 560 - .../struts2/static/dojo/src/event/topic.js | 79 - .../struts2/static/dojo/src/experimental.js | 22 - .../org/apache/struts2/static/dojo/src/flash.js | 446 - .../src/flash/flash6/DojoExternalInterface.as | 215 - .../dojo/src/flash/flash6/flash6_gateway.fla | Bin 40448 -> 0 bytes .../src/flash/flash8/DojoExternalInterface.as | 234 - .../dojo/src/flash/flash8/ExpressInstall.as | 81 - .../struts2/static/dojo/src/fx/__package__.js | 14 - .../apache/struts2/static/dojo/src/fx/html.js | 565 - .../apache/struts2/static/dojo/src/fx/svg.js | 100 - .../struts2/static/dojo/src/gfx/Colorspace.js | 723 - .../struts2/static/dojo/src/gfx/__package__.js | 17 - .../apache/struts2/static/dojo/src/gfx/color.js | 150 - .../struts2/static/dojo/src/gfx/color/hsl.js | 118 - .../struts2/static/dojo/src/gfx/color/hsv.js | 210 - .../struts2/static/dojo/src/gfx/common.js | 63 - .../struts2/static/dojo/src/gfx/matrix.js | 148 - .../apache/struts2/static/dojo/src/gfx/path.js | 268 - .../apache/struts2/static/dojo/src/gfx/shape.js | 176 - .../apache/struts2/static/dojo/src/gfx/svg.js | 473 - .../apache/struts2/static/dojo/src/gfx/vml.js | 1010 - .../static/dojo/src/graphics/Colorspace.js | 17 - .../static/dojo/src/graphics/__package__.js | 14 - .../struts2/static/dojo/src/graphics/color.js | 38 - .../static/dojo/src/graphics/color/hsl.js | 32 - .../static/dojo/src/graphics/color/hsv.js | 24 - .../struts2/static/dojo/src/hostenv_adobesvg.js | 380 - .../struts2/static/dojo/src/hostenv_browser.js | 417 - .../static/dojo/src/hostenv_dashboard.js | 180 - .../struts2/static/dojo/src/hostenv_jsc.js | 78 - .../struts2/static/dojo/src/hostenv_rhino.js | 163 - .../static/dojo/src/hostenv_spidermonkey.js | 50 - .../struts2/static/dojo/src/hostenv_svg.js | 247 - .../struts2/static/dojo/src/hostenv_wsh.js | 35 - .../org/apache/struts2/static/dojo/src/html.js | 16 - .../struts2/static/dojo/src/html/__package__.js | 15 - .../struts2/static/dojo/src/html/color.js | 38 - .../struts2/static/dojo/src/html/common.js | 182 - .../struts2/static/dojo/src/html/display.js | 147 - .../struts2/static/dojo/src/html/iframe.js | 84 - .../static/dojo/src/html/images/shadowB.png | Bin 470 -> 0 bytes .../static/dojo/src/html/images/shadowBL.png | Bin 272 -> 0 bytes .../static/dojo/src/html/images/shadowBR.png | Bin 271 -> 0 bytes .../static/dojo/src/html/images/shadowL.png | Bin 148 -> 0 bytes .../static/dojo/src/html/images/shadowR.png | Bin 149 -> 0 bytes .../static/dojo/src/html/images/shadowT.png | Bin 152 -> 0 bytes .../static/dojo/src/html/images/shadowTL.png | Bin 271 -> 0 bytes .../static/dojo/src/html/images/shadowTR.png | Bin 287 -> 0 bytes .../struts2/static/dojo/src/html/layout.js | 388 - .../struts2/static/dojo/src/html/metrics.js | 215 - .../struts2/static/dojo/src/html/selection.js | 339 - .../struts2/static/dojo/src/html/shadow.js | 17 - .../struts2/static/dojo/src/html/style.js | 483 - .../apache/struts2/static/dojo/src/html/util.js | 356 - .../static/dojo/src/i18n/calendar/nls/README | 6 - .../dojo/src/i18n/calendar/nls/de/gregorian.js | 13 - .../dojo/src/i18n/calendar/nls/en/gregorian.js | 13 - .../dojo/src/i18n/calendar/nls/es/gregorian.js | 13 - .../dojo/src/i18n/calendar/nls/fi/gregorian.js | 13 - .../dojo/src/i18n/calendar/nls/fr/gregorian.js | 13 - .../dojo/src/i18n/calendar/nls/gregorian.js | 13 - .../src/i18n/calendar/nls/gregorianExtras.js | 13 - .../dojo/src/i18n/calendar/nls/hu/gregorian.js | 13 - .../dojo/src/i18n/calendar/nls/it/gregorian.js | 13 - .../dojo/src/i18n/calendar/nls/ja/gregorian.js | 13 - .../src/i18n/calendar/nls/ja/gregorianExtras.js | 13 - .../dojo/src/i18n/calendar/nls/ko/gregorian.js | 13 - .../dojo/src/i18n/calendar/nls/nl/gregorian.js | 13 - .../src/i18n/calendar/nls/pt-br/gregorian.js | 13 - .../dojo/src/i18n/calendar/nls/pt/gregorian.js | 13 - .../dojo/src/i18n/calendar/nls/sv/gregorian.js | 13 - .../src/i18n/calendar/nls/zh-cn/gregorian.js | 13 - .../src/i18n/calendar/nls/zh-hk/gregorian.js | 13 - .../src/i18n/calendar/nls/zh-tw/gregorian.js | 13 - .../dojo/src/i18n/calendar/nls/zh/gregorian.js | 13 - .../src/i18n/calendar/nls/zh/gregorianExtras.js | 13 - .../struts2/static/dojo/src/i18n/common.js | 44 - .../struts2/static/dojo/src/i18n/currency.js | 138 - .../static/dojo/src/i18n/currency/common.js | 138 - .../static/dojo/src/i18n/currency/nls/EUR.js | 13 - .../static/dojo/src/i18n/currency/nls/GBP.js | 13 - .../static/dojo/src/i18n/currency/nls/INR.js | 13 - .../static/dojo/src/i18n/currency/nls/ITL.js | 13 - .../static/dojo/src/i18n/currency/nls/JPY.js | 13 - .../static/dojo/src/i18n/currency/nls/README | 6 - .../static/dojo/src/i18n/currency/nls/USD.js | 13 - .../dojo/src/i18n/currency/nls/en-us/USD.js | 13 - .../static/dojo/src/i18n/currency/nls/en/EUR.js | 13 - .../static/dojo/src/i18n/currency/nls/en/GBP.js | 13 - .../static/dojo/src/i18n/currency/nls/en/INR.js | 13 - .../static/dojo/src/i18n/currency/nls/en/ITL.js | 13 - .../static/dojo/src/i18n/currency/nls/en/JPY.js | 13 - .../static/dojo/src/i18n/currency/nls/en/USD.js | 13 - .../static/dojo/src/i18n/currency/nls/hi/EUR.js | 13 - .../static/dojo/src/i18n/currency/nls/hi/GBP.js | 13 - .../static/dojo/src/i18n/currency/nls/hi/INR.js | 13 - .../static/dojo/src/i18n/currency/nls/hi/ITL.js | 13 - .../static/dojo/src/i18n/currency/nls/hi/JPY.js | 13 - .../static/dojo/src/i18n/currency/nls/hi/USD.js | 13 - .../static/dojo/src/i18n/currency/nls/ja/EUR.js | 13 - .../static/dojo/src/i18n/currency/nls/ja/GBP.js | 13 - .../static/dojo/src/i18n/currency/nls/ja/INR.js | 13 - .../static/dojo/src/i18n/currency/nls/ja/ITL.js | 13 - .../static/dojo/src/i18n/currency/nls/ja/JPY.js | 13 - .../static/dojo/src/i18n/currency/nls/ja/USD.js | 13 - .../struts2/static/dojo/src/i18n/number.js | 151 - .../apache/struts2/static/dojo/src/iCalendar.js | 15 - .../org/apache/struts2/static/dojo/src/io.js | 16 - .../struts2/static/dojo/src/io/BrowserIO.js | 495 - .../struts2/static/dojo/src/io/IframeIO.js | 214 - .../struts2/static/dojo/src/io/RepubsubIO.js | 337 - .../struts2/static/dojo/src/io/RhinoIO.js | 116 - .../struts2/static/dojo/src/io/ScriptSrcIO.js | 317 - .../static/dojo/src/io/XhrIframeProxy.js | 152 - .../struts2/static/dojo/src/io/__package__.js | 15 - .../apache/struts2/static/dojo/src/io/cometd.js | 530 - .../apache/struts2/static/dojo/src/io/common.js | 232 - .../apache/struts2/static/dojo/src/io/cookie.js | 104 - .../struts2/static/dojo/src/io/xip_client.html | 267 - .../struts2/static/dojo/src/io/xip_server.html | 386 - .../org/apache/struts2/static/dojo/src/json.js | 98 - .../org/apache/struts2/static/dojo/src/lang.js | 16 - .../struts2/static/dojo/src/lang/__package__.js | 15 - .../struts2/static/dojo/src/lang/array.js | 176 - .../struts2/static/dojo/src/lang/assert.js | 59 - .../struts2/static/dojo/src/lang/common.js | 156 - .../struts2/static/dojo/src/lang/declare.js | 109 - .../struts2/static/dojo/src/lang/extras.js | 96 - .../apache/struts2/static/dojo/src/lang/func.js | 135 - .../apache/struts2/static/dojo/src/lang/repr.js | 68 - .../static/dojo/src/lang/timing/Streamer.js | 67 - .../static/dojo/src/lang/timing/Timer.js | 44 - .../static/dojo/src/lang/timing/__package__.js | 14 - .../apache/struts2/static/dojo/src/lang/type.js | 145 - .../struts2/static/dojo/src/lfx/Animation.js | 404 - .../struts2/static/dojo/src/lfx/__package__.js | 15 - .../struts2/static/dojo/src/lfx/extras.js | 80 - .../apache/struts2/static/dojo/src/lfx/html.js | 509 - .../struts2/static/dojo/src/lfx/rounded.js | 444 - .../struts2/static/dojo/src/lfx/shadow.js | 75 - .../struts2/static/dojo/src/lfx/toggle.js | 41 - .../apache/struts2/static/dojo/src/loader.js | 448 - .../apache/struts2/static/dojo/src/loader_xd.js | 408 - .../static/dojo/src/logging/ConsoleLogger.js | 86 - .../struts2/static/dojo/src/logging/Logger.js | 216 - .../static/dojo/src/logging/__package__.js | 15 - .../org/apache/struts2/static/dojo/src/math.js | 108 - .../struts2/static/dojo/src/math/__package__.js | 15 - .../struts2/static/dojo/src/math/curves.js | 184 - .../struts2/static/dojo/src/math/matrix.js | 303 - .../struts2/static/dojo/src/math/points.js | 42 - .../struts2/static/dojo/src/namespaces/dojo.js | 163 - .../org/apache/struts2/static/dojo/src/ns.js | 100 - .../apache/struts2/static/dojo/src/profile.js | 104 - .../apache/struts2/static/dojo/src/regexp.js | 365 - .../struts2/static/dojo/src/rpc/Deferred.js | 18 - .../struts2/static/dojo/src/rpc/JotService.js | 27 - .../struts2/static/dojo/src/rpc/JsonService.js | 71 - .../struts2/static/dojo/src/rpc/RpcService.js | 74 - .../struts2/static/dojo/src/rpc/YahooService.js | 41 - .../struts2/static/dojo/src/rpc/__package__.js | 15 - .../struts2/static/dojo/src/rpc/yahoo.smd | 289 - .../static/dojo/src/selection/Selection.js | 316 - .../apache/struts2/static/dojo/src/storage.js | 127 - .../struts2/static/dojo/src/storage/Storage.as | 146 - .../static/dojo/src/storage/__package__.js | 15 - .../struts2/static/dojo/src/storage/browser.js | 550 - .../static/dojo/src/storage/dashboard.js | 52 - .../static/dojo/src/storage/storage_dialog.fla | Bin 344064 -> 0 bytes .../apache/struts2/static/dojo/src/string.js | 15 - .../struts2/static/dojo/src/string/Builder.js | 104 - .../static/dojo/src/string/__package__.js | 15 - .../struts2/static/dojo/src/string/common.js | 63 - .../struts2/static/dojo/src/string/extras.js | 178 - .../org/apache/struts2/static/dojo/src/style.js | 18 - .../org/apache/struts2/static/dojo/src/svg.js | 259 - .../struts2/static/dojo/src/text/__package__.js | 15 - .../static/dojo/src/text/textDirectory.js | 15 - .../struts2/static/dojo/src/undo/Manager.js | 150 - .../struts2/static/dojo/src/undo/__package__.js | 15 - .../struts2/static/dojo/src/undo/browser.js | 203 - .../apache/struts2/static/dojo/src/uri/Uri.js | 115 - .../struts2/static/dojo/src/uri/__package__.js | 15 - .../apache/struts2/static/dojo/src/uri/cache.js | 32 - .../dojo/src/uuid/LightweightGenerator.js | 42 - .../static/dojo/src/uuid/NameBasedGenerator.js | 24 - .../static/dojo/src/uuid/NilGenerator.js | 23 - .../static/dojo/src/uuid/RandomGenerator.js | 24 - .../static/dojo/src/uuid/TimeBasedGenerator.js | 245 - .../apache/struts2/static/dojo/src/uuid/Uuid.js | 215 - .../struts2/static/dojo/src/uuid/__package__.js | 15 - .../apache/struts2/static/dojo/src/validate.js | 15 - .../static/dojo/src/validate/__package__.js | 16 - .../struts2/static/dojo/src/validate/check.js | 234 - .../struts2/static/dojo/src/validate/common.js | 96 - .../static/dojo/src/validate/creditCard.js | 64 - .../static/dojo/src/validate/datetime.js | 92 - .../struts2/static/dojo/src/validate/de.js | 19 - .../struts2/static/dojo/src/validate/jp.js | 19 - .../struts2/static/dojo/src/validate/us.js | 34 - .../struts2/static/dojo/src/validate/web.js | 43 - .../dojo/src/widget/AccordionContainer.js | 128 - .../static/dojo/src/widget/AnimatedPng.js | 47 - .../struts2/static/dojo/src/widget/Button.js | 259 - .../struts2/static/dojo/src/widget/Chart.js | 233 - .../struts2/static/dojo/src/widget/Checkbox.js | 103 - .../struts2/static/dojo/src/widget/Clock.js | 142 - .../static/dojo/src/widget/ColorPalette.js | 60 - .../struts2/static/dojo/src/widget/ComboBox.js | 559 - .../static/dojo/src/widget/ContentPane.js | 441 - .../static/dojo/src/widget/CurrencyTextbox.js | 40 - .../static/dojo/src/widget/DatePicker.js | 349 - .../static/dojo/src/widget/DateTextbox.js | 47 - .../static/dojo/src/widget/DebugConsole.js | 23 - .../struts2/static/dojo/src/widget/Dialog.js | 300 - .../struts2/static/dojo/src/widget/DocPane.js | 262 - .../struts2/static/dojo/src/widget/DomWidget.js | 507 - .../static/dojo/src/widget/DropdownContainer.js | 65 - .../dojo/src/widget/DropdownDatePicker.js | 110 - .../dojo/src/widget/DropdownTimePicker.js | 156 - .../struts2/static/dojo/src/widget/Editor.js | 390 - .../struts2/static/dojo/src/widget/Editor2.js | 412 - .../widget/Editor2Plugin/AlwaysShowToolbar.js | 118 - .../src/widget/Editor2Plugin/ContextMenu.js | 203 - .../widget/Editor2Plugin/CreateLinkDialog.js | 63 - .../src/widget/Editor2Plugin/FindReplace.js | 61 - .../widget/Editor2Plugin/FindReplaceDialog.js | 34 - .../widget/Editor2Plugin/InsertImageDialog.js | 55 - .../widget/Editor2Plugin/InsertTableDialog.js | 131 - .../Editor2Plugin/SimpleSignalCommands.js | 52 - .../src/widget/Editor2Plugin/TableOperation.js | 120 - .../widget/Editor2Plugin/ToolbarDndSupport.js | 46 - .../src/widget/Editor2Plugin/__package__.js | 15 - .../static/dojo/src/widget/Editor2Toolbar.js | 496 - .../static/dojo/src/widget/FilteringTable.js | 710 - .../static/dojo/src/widget/FisheyeList.js | 446 - .../static/dojo/src/widget/FloatingPane.js | 249 - .../struts2/static/dojo/src/widget/Form.js | 267 - .../struts2/static/dojo/src/widget/GoogleMap.js | 169 - .../static/dojo/src/widget/HtmlWidget.js | 101 - .../static/dojo/src/widget/InlineEditBox.js | 156 - .../static/dojo/src/widget/IntegerTextbox.js | 42 - .../static/dojo/src/widget/InternetTextbox.js | 78 - .../static/dojo/src/widget/LayoutContainer.js | 34 - .../struts2/static/dojo/src/widget/LinkPane.js | 23 - .../struts2/static/dojo/src/widget/Manager.js | 288 - .../struts2/static/dojo/src/widget/Menu2.js | 455 - .../static/dojo/src/widget/MonthlyCalendar.js | 149 - .../static/dojo/src/widget/PageContainer.js | 202 - .../struts2/static/dojo/src/widget/Parse.js | 227 - .../static/dojo/src/widget/PopupContainer.js | 297 - .../static/dojo/src/widget/ProgressBar.js | 187 - .../static/dojo/src/widget/RadioGroup.js | 122 - .../static/dojo/src/widget/RealNumberTextbox.js | 50 - .../static/dojo/src/widget/RegexpTextbox.js | 27 - .../dojo/src/widget/RemoteTabController.js | 28 - .../struts2/static/dojo/src/widget/Repeater.js | 128 - .../static/dojo/src/widget/ResizableTextarea.js | 35 - .../static/dojo/src/widget/ResizeHandle.js | 68 - .../struts2/static/dojo/src/widget/RichText.js | 1167 - .../struts2/static/dojo/src/widget/Rounded.js | 529 - .../struts2/static/dojo/src/widget/Select.js | 39 - .../struts2/static/dojo/src/widget/Show.js | 211 - .../static/dojo/src/widget/ShowAction.js | 20 - .../struts2/static/dojo/src/widget/ShowSlide.js | 201 - .../struts2/static/dojo/src/widget/SlideShow.js | 77 - .../struts2/static/dojo/src/widget/Slider.js | 475 - .../static/dojo/src/widget/SortableTable.js | 500 - .../struts2/static/dojo/src/widget/Spinner.js | 526 - .../static/dojo/src/widget/SplitContainer.js | 325 - .../struts2/static/dojo/src/widget/SplitPane.js | 514 - .../struts2/static/dojo/src/widget/SvgButton.js | 100 - .../struts2/static/dojo/src/widget/SvgWidget.js | 71 - .../struts2/static/dojo/src/widget/SwtWidget.js | 54 - .../static/dojo/src/widget/TabContainer.js | 89 - .../struts2/static/dojo/src/widget/TaskBar.js | 49 - .../struts2/static/dojo/src/widget/Textbox.js | 52 - .../static/dojo/src/widget/TimePicker.js | 278 - .../struts2/static/dojo/src/widget/TitlePane.js | 43 - .../struts2/static/dojo/src/widget/Toaster.js | 163 - .../struts2/static/dojo/src/widget/Toggler.js | 26 - .../struts2/static/dojo/src/widget/Toolbar.js | 724 - .../struts2/static/dojo/src/widget/Tooltip.js | 107 - .../struts2/static/dojo/src/widget/Tree.js | 236 - .../dojo/src/widget/TreeBasicController.js | 154 - .../dojo/src/widget/TreeBasicControllerV3.js | 461 - .../static/dojo/src/widget/TreeCommon.js | 82 - .../static/dojo/src/widget/TreeContextMenu.js | 110 - .../static/dojo/src/widget/TreeContextMenuV3.js | 74 - .../dojo/src/widget/TreeControllerExtension.js | 60 - .../struts2/static/dojo/src/widget/TreeDemo.js | 85 - .../dojo/src/widget/TreeDeselectOnDblselect.js | 23 - .../dojo/src/widget/TreeDisableWrapExtension.js | 37 - .../dojo/src/widget/TreeDndControllerV3.js | 71 - .../dojo/src/widget/TreeDocIconExtension.js | 54 - .../static/dojo/src/widget/TreeEditor.js | 67 - .../dojo/src/widget/TreeEmphaseOnSelect.js | 43 - .../dojo/src/widget/TreeEmphasizeOnSelect.js | 26 - .../dojo/src/widget/TreeExpandOnSelect.js | 43 - .../dojo/src/widget/TreeExpandToNodeOnSelect.js | 22 - .../static/dojo/src/widget/TreeExtension.js | 19 - .../static/dojo/src/widget/TreeLinkExtension.js | 46 - .../dojo/src/widget/TreeLoadingController.js | 94 - .../dojo/src/widget/TreeLoadingControllerV3.js | 250 - .../struts2/static/dojo/src/widget/TreeNode.js | 246 - .../static/dojo/src/widget/TreeNodeV3.js | 310 - .../static/dojo/src/widget/TreeRPCController.js | 72 - .../dojo/src/widget/TreeRpcControllerV3.js | 182 - .../static/dojo/src/widget/TreeSelector.js | 102 - .../static/dojo/src/widget/TreeSelectorV3.js | 160 - .../dojo/src/widget/TreeTimeoutIterator.js | 88 - .../dojo/src/widget/TreeToggleOnSelect.js | 23 - .../struts2/static/dojo/src/widget/TreeV3.js | 135 - .../static/dojo/src/widget/TreeWithNode.js | 115 - .../struts2/static/dojo/src/widget/UsTextbox.js | 36 - .../static/dojo/src/widget/ValidationTextbox.js | 124 - .../struts2/static/dojo/src/widget/Widget.js | 312 - .../struts2/static/dojo/src/widget/Wizard.js | 127 - .../struts2/static/dojo/src/widget/YahooMap.js | 145 - .../static/dojo/src/widget/__package__.js | 15 - .../dojo/src/widget/demoEngine/DemoContainer.js | 75 - .../dojo/src/widget/demoEngine/DemoItem.js | 52 - .../dojo/src/widget/demoEngine/DemoNavigator.js | 134 - .../dojo/src/widget/demoEngine/DemoPane.js | 33 - .../dojo/src/widget/demoEngine/SourcePane.js | 35 - .../dojo/src/widget/demoEngine/__package__.js | 15 - .../demoEngine/templates/DemoContainer.css | 39 - .../demoEngine/templates/DemoContainer.html | 25 - .../widget/demoEngine/templates/DemoItem.css | 58 - .../widget/demoEngine/templates/DemoItem.html | 21 - .../demoEngine/templates/DemoNavigator.css | 28 - .../demoEngine/templates/DemoNavigator.html | 24 - .../widget/demoEngine/templates/DemoPane.css | 18 - .../widget/demoEngine/templates/DemoPane.html | 3 - .../widget/demoEngine/templates/SourcePane.css | 20 - .../widget/demoEngine/templates/SourcePane.html | 3 - .../src/widget/demoEngine/templates/general.css | 73 - .../demoEngine/templates/images/test_thumb.gif | Bin 3198 -> 0 bytes .../demoEngine/templates/images/viewDemo.png | Bin 859 -> 0 bytes .../static/dojo/src/widget/html/layout.js | 94 - .../static/dojo/src/widget/html/loader.js | 622 - .../static/dojo/src/widget/html/stabile.js | 128 - .../dojo/src/widget/nls/DropdownDatePicker.js | 13 - .../dojo/src/widget/nls/DropdownTimePicker.js | 13 - .../static/dojo/src/widget/nls/TimePicker.js | 13 - .../static/dojo/src/widget/nls/fr/validate.js | 13 - .../static/dojo/src/widget/nls/ja/validate.js | 13 - .../static/dojo/src/widget/nls/validate.js | 13 - .../dojo/src/widget/nls/zh-cn/validate.js | 13 - .../struts2/static/dojo/src/widget/svg/Chart.js | 472 - .../dojo/src/widget/templates/AccordionPane.css | 22 - .../src/widget/templates/AccordionPane.html | 4 - .../src/widget/templates/ButtonTemplate.css | 59 - .../src/widget/templates/ButtonTemplate.html | 6 - .../dojo/src/widget/templates/Checkbox.css | 26 - .../dojo/src/widget/templates/Checkbox.html | 5 - .../dojo/src/widget/templates/CheckboxA11y.html | 4 - .../src/widget/templates/CiviCrmDatePicker.html | 12 - .../dojo/src/widget/templates/ComboBox.css | 68 - .../dojo/src/widget/templates/ComboBox.html | 16 - .../widget/templates/ComboButtonTemplate.html | 18 - .../dojo/src/widget/templates/DatePicker.css | 167 - .../dojo/src/widget/templates/DatePicker.html | 95 - .../dojo/src/widget/templates/DemoEngine.html | 24 - .../dojo/src/widget/templates/Dialog.html | 7 - .../dojo/src/widget/templates/DocPane.css | 49 - .../dojo/src/widget/templates/DocPane.html | 79 - .../templates/DropDownButtonTemplate.html | 9 - .../templates/Editor2/Dialog/createlink.html | 15 - .../widget/templates/Editor2/Dialog/find.html | 15 - .../templates/Editor2/Dialog/insertimage.html | 114 - .../templates/Editor2/Dialog/inserttable.html | 91 - .../templates/Editor2/Dialog/replace.html | 15 - .../widget/templates/Editor2/EditorDialog.html | 21 - .../Editor2/EditorToolbar_FontName.html | 20 - .../Editor2/EditorToolbar_FontSize.html | 31 - .../Editor2/EditorToolbar_FormatBlock.html | 52 - .../templates/Editor2/showtableborder_gecko.css | 19 - .../templates/Editor2/showtableborder_ie.css | 4 - .../dojo/src/widget/templates/EditorToolbar.css | 152 - .../src/widget/templates/EditorToolbar.html | 153 - .../widget/templates/EditorToolbarLight.html | 46 - .../widget/templates/EditorToolbarOneline.html | 172 - .../dojo/src/widget/templates/FisheyeList.css | 27 - .../dojo/src/widget/templates/FloatingPane.css | 118 - .../dojo/src/widget/templates/FloatingPane.html | 18 - .../dojo/src/widget/templates/InlineEditBox.css | 29 - .../src/widget/templates/InlineEditBox.html | 6 - .../static/dojo/src/widget/templates/Menu.css | 60 - .../static/dojo/src/widget/templates/Menu2.css | 116 - .../src/widget/templates/MonthlyCalendar.css | 91 - .../src/widget/templates/MonthlyCalendar.html | 110 - .../dojo/src/widget/templates/PopUpButton.css | 35 - .../dojo/src/widget/templates/ProgressBar.css | 23 - .../dojo/src/widget/templates/ProgressBar.html | 5 - .../src/widget/templates/RemoteTabControl.css | 61 - .../src/widget/templates/ResizableTextarea.css | 15 - .../src/widget/templates/ResizableTextarea.html | 14 - .../dojo/src/widget/templates/ResizeHandle.css | 12 - .../static/dojo/src/widget/templates/Show.css | 59 - .../static/dojo/src/widget/templates/Show.html | 11 - .../dojo/src/widget/templates/ShowSlide.css | 12 - .../dojo/src/widget/templates/ShowSlide.html | 6 - .../dojo/src/widget/templates/SlideShow.css | 9 - .../dojo/src/widget/templates/SlideShow.html | 15 - .../static/dojo/src/widget/templates/Slider.css | 61 - .../dojo/src/widget/templates/Slider.html | 56 - .../src/widget/templates/SliderHorizontal.html | 3 - .../src/widget/templates/SliderVertical.html | 3 - .../dojo/src/widget/templates/Spinner.css | 34 - .../dojo/src/widget/templates/Spinner.html | 25 - .../src/widget/templates/SplitContainer.css | 40 - .../dojo/src/widget/templates/TabContainer.css | 163 - .../dojo/src/widget/templates/TabContainer.html | 4 - .../src/widget/templates/TabContainerA11y.css | 175 - .../dojo/src/widget/templates/TaskBar.css | 29 - .../widget/templates/TaskBarItemTemplate.html | 2 - .../dojo/src/widget/templates/Textbox.html | 5 - .../dojo/src/widget/templates/TimePicker.css | 179 - .../dojo/src/widget/templates/TimePicker.html | 98 - .../dojo/src/widget/templates/TitlePane.html | 4 - .../dojo/src/widget/templates/Toaster.css | 42 - .../dojo/src/widget/templates/Toolbar.css | 54 - .../src/widget/templates/TooltipTemplate.css | 10 - .../static/dojo/src/widget/templates/Tree.css | 29 - .../src/widget/templates/TreeDisableWrap.css | 9 - .../dojo/src/widget/templates/TreeDocIcon.css | 55 - .../dojo/src/widget/templates/TreeEditor.css | 4 - .../static/dojo/src/widget/templates/TreeV3.css | 82 - .../dojo/src/widget/templates/Validate.css | 12 - .../src/widget/templates/ValidationTextbox.html | 8 - .../static/dojo/src/widget/templates/Wizard.css | 72 - .../dojo/src/widget/templates/Wizard.html | 10 - .../src/widget/templates/buttons/aggregate.gif | Bin 4360 -> 0 bytes .../src/widget/templates/buttons/backcolor.gif | Bin 585 -> 0 bytes .../src/widget/templates/buttons/bg-fade.png | Bin 177 -> 0 bytes .../dojo/src/widget/templates/buttons/bold.gif | Bin 346 -> 0 bytes .../src/widget/templates/buttons/cancel.gif | Bin 375 -> 0 bytes .../dojo/src/widget/templates/buttons/copy.gif | Bin 210 -> 0 bytes .../src/widget/templates/buttons/createlink.gif | Bin 1081 -> 0 bytes .../dojo/src/widget/templates/buttons/cut.gif | Bin 112 -> 0 bytes .../src/widget/templates/buttons/delete.gif | Bin 81 -> 0 bytes .../src/widget/templates/buttons/forecolor.gif | Bin 574 -> 0 bytes .../widget/templates/buttons/hilitecolor.gif | Bin 585 -> 0 bytes .../src/widget/templates/buttons/indent.gif | Bin 83 -> 0 bytes .../templates/buttons/inserthorizontalrule.gif | Bin 117 -> 0 bytes .../widget/templates/buttons/insertimage.gif | Bin 595 -> 0 bytes .../templates/buttons/insertorderedlist.gif | Bin 85 -> 0 bytes .../widget/templates/buttons/inserttable.gif | Bin 233 -> 0 bytes .../templates/buttons/insertunorderedlist.gif | Bin 98 -> 0 bytes .../src/widget/templates/buttons/italic.gif | Bin 309 -> 0 bytes .../widget/templates/buttons/justifycenter.gif | Bin 132 -> 0 bytes .../widget/templates/buttons/justifyfull.gif | Bin 294 -> 0 bytes .../widget/templates/buttons/justifyleft.gif | Bin 194 -> 0 bytes .../widget/templates/buttons/justifyright.gif | Bin 190 -> 0 bytes .../widget/templates/buttons/left_to_right.gif | Bin 138 -> 0 bytes .../templates/buttons/list_bullet_indent.gif | Bin 98 -> 0 bytes .../templates/buttons/list_bullet_outdent.gif | Bin 99 -> 0 bytes .../templates/buttons/list_num_indent.gif | Bin 85 -> 0 bytes .../templates/buttons/list_num_outdent.gif | Bin 85 -> 0 bytes .../src/widget/templates/buttons/outdent.gif | Bin 84 -> 0 bytes .../dojo/src/widget/templates/buttons/paste.gif | Bin 241 -> 0 bytes .../dojo/src/widget/templates/buttons/redo.gif | Bin 543 -> 0 bytes .../widget/templates/buttons/removeformat.gif | Bin 101 -> 0 bytes .../widget/templates/buttons/right_to_left.gif | Bin 142 -> 0 bytes .../dojo/src/widget/templates/buttons/save.gif | Bin 243 -> 0 bytes .../dojo/src/widget/templates/buttons/sep.gif | Bin 58 -> 0 bytes .../dojo/src/widget/templates/buttons/space.gif | Bin 43 -> 0 bytes .../widget/templates/buttons/strikethrough.gif | Bin 329 -> 0 bytes .../src/widget/templates/buttons/subscript.gif | Bin 76 -> 0 bytes .../widget/templates/buttons/superscript.gif | Bin 77 -> 0 bytes .../src/widget/templates/buttons/underline.gif | Bin 344 -> 0 bytes .../dojo/src/widget/templates/buttons/undo.gif | Bin 541 -> 0 bytes .../src/widget/templates/buttons/wikiword.gif | Bin 386 -> 0 bytes .../static/dojo/src/widget/templates/check.gif | Bin 2024 -> 0 bytes .../src/widget/templates/decrementMonth.gif | Bin 166 -> 0 bytes .../dojo/src/widget/templates/decrementWeek.gif | Bin 160 -> 0 bytes .../dojo/src/widget/templates/grabCorner.gif | Bin 77 -> 0 bytes .../src/widget/templates/images/Tree/Tree.css | 36 - .../src/widget/templates/images/Tree/blank.gif | Bin 55 -> 0 bytes .../src/widget/templates/images/Tree/closed.gif | Bin 1078 -> 0 bytes .../widget/templates/images/Tree/document.gif | Bin 240 -> 0 bytes .../src/widget/templates/images/Tree/minus.gif | Bin 545 -> 0 bytes .../src/widget/templates/images/Tree/plus.gif | Bin 539 -> 0 bytes .../templates/images/Tree/transparent.gif | Bin 870 -> 0 bytes .../templates/images/Tree/treenode_blank.gif | Bin 834 -> 0 bytes .../templates/images/Tree/treenode_child.gif | Bin 73 -> 0 bytes .../images/Tree/treenode_expand_minus.gif | Bin 547 -> 0 bytes .../images/Tree/treenode_expand_plus.gif | Bin 542 -> 0 bytes .../templates/images/Tree/treenode_grid_c.gif | Bin 60 -> 0 bytes .../templates/images/Tree/treenode_grid_l.gif | Bin 68 -> 0 bytes .../templates/images/Tree/treenode_grid_p.gif | Bin 63 -> 0 bytes .../templates/images/Tree/treenode_grid_t.gif | Bin 74 -> 0 bytes .../templates/images/Tree/treenode_grid_v.gif | Bin 71 -> 0 bytes .../templates/images/Tree/treenode_grid_x.gif | Bin 60 -> 0 bytes .../templates/images/Tree/treenode_grid_y.gif | Bin 67 -> 0 bytes .../templates/images/Tree/treenode_grid_z.gif | Bin 60 -> 0 bytes .../templates/images/Tree/treenode_loading.gif | Bin 1089 -> 0 bytes .../templates/images/Tree/treenode_loading.jpg | Bin 1390 -> 0 bytes .../widget/templates/images/TreeV3/closed.gif | Bin 162 -> 0 bytes .../widget/templates/images/TreeV3/document.gif | Bin 342 -> 0 bytes .../templates/images/TreeV3/expand_leaf.gif | Bin 68 -> 0 bytes .../templates/images/TreeV3/expand_loading.gif | Bin 1081 -> 0 bytes .../templates/images/TreeV3/expand_minus.gif | Bin 552 -> 0 bytes .../templates/images/TreeV3/expand_plus.gif | Bin 552 -> 0 bytes .../src/widget/templates/images/TreeV3/i.gif | Bin 71 -> 0 bytes .../widget/templates/images/TreeV3/i_bhalf.gif | Bin 60 -> 0 bytes .../widget/templates/images/TreeV3/i_half.gif | Bin 65 -> 0 bytes .../widget/templates/images/TreeV3/i_long.gif | Bin 2113 -> 0 bytes .../src/widget/templates/images/TreeV3/l.gif | Bin 74 -> 0 bytes .../widget/templates/images/TreeV3/minus.gif | Bin 539 -> 0 bytes .../src/widget/templates/images/TreeV3/open.gif | Bin 139 -> 0 bytes .../src/widget/templates/images/TreeV3/plus.gif | Bin 539 -> 0 bytes .../src/widget/templates/images/TreeV3/t.gif | Bin 80 -> 0 bytes .../src/widget/templates/images/TreeV3/x.gif | Bin 68 -> 0 bytes .../dojo/src/widget/templates/images/bar.gif | Bin 2458 -> 0 bytes .../src/widget/templates/images/bdYearBg.1.gif | 0 .../src/widget/templates/images/bdYearBg.gif | Bin 74 -> 0 bytes .../dojo/src/widget/templates/images/blank.gif | Bin 43 -> 0 bytes .../dojo/src/widget/templates/images/clock.png | Bin 9422 -> 0 bytes .../widget/templates/images/combo_box_arrow.png | Bin 336 -> 0 bytes .../src/widget/templates/images/dateIcon.gif | Bin 392 -> 0 bytes .../widget/templates/images/decrementMonth.gif | Bin 167 -> 0 bytes .../widget/templates/images/decrementMonth.png | Bin 180 -> 0 bytes .../dojo/src/widget/templates/images/dpBg.gif | Bin 522 -> 0 bytes .../src/widget/templates/images/dpCurveBL.png | Bin 280 -> 0 bytes .../src/widget/templates/images/dpCurveBR.png | Bin 275 -> 0 bytes .../src/widget/templates/images/dpCurveTL.png | Bin 305 -> 0 bytes .../src/widget/templates/images/dpCurveTR.png | Bin 295 -> 0 bytes .../src/widget/templates/images/dpHorizLine.gif | Bin 43 -> 0 bytes .../widget/templates/images/dpHorizLineFoot.gif | Bin 43 -> 0 bytes .../src/widget/templates/images/dpMonthBg.gif | Bin 107 -> 0 bytes .../src/widget/templates/images/dpMonthBg.png | Bin 169 -> 0 bytes .../src/widget/templates/images/dpMonthBg2.png | Bin 169 -> 0 bytes .../src/widget/templates/images/dpVertLine.gif | Bin 43 -> 0 bytes .../src/widget/templates/images/dpYearBg.gif | Bin 74 -> 0 bytes .../src/widget/templates/images/dpYearBg.png | Bin 142 -> 0 bytes .../images/dropdownButtonsArrow-disabled.gif | Bin 816 -> 0 bytes .../templates/images/dropdownButtonsArrow.gif | Bin 46 -> 0 bytes .../templates/images/floatingPaneClose.gif | Bin 752 -> 0 bytes .../templates/images/floatingPaneMaximize.gif | Bin 704 -> 0 bytes .../templates/images/floatingPaneMinimize.gif | Bin 692 -> 0 bytes .../templates/images/floatingPaneRestore.gif | Bin 701 -> 0 bytes .../dojo/src/widget/templates/images/h-bar.gif | Bin 2668 -> 0 bytes .../widget/templates/images/incrementMonth.gif | Bin 168 -> 0 bytes .../widget/templates/images/incrementMonth.png | Bin 181 -> 0 bytes .../dojo/src/widget/templates/images/no.gif | Bin 179 -> 0 bytes .../dojo/src/widget/templates/images/no.svg | 11 - .../widget/templates/images/scBackground.gif | Bin 715 -> 0 bytes .../images/slider-bg-progress-vert.gif | Bin 1899 -> 0 bytes .../widget/templates/images/slider-bg-vert.gif | Bin 1899 -> 0 bytes .../src/widget/templates/images/slider-bg.gif | Bin 1102 -> 0 bytes .../templates/images/slider-button-horz.png | Bin 439 -> 0 bytes .../templates/images/slider-button-vert.png | Bin 432 -> 0 bytes .../widget/templates/images/slider-button.png | Bin 381 -> 0 bytes .../dojo/src/widget/templates/images/slider.gif | Bin 865 -> 0 bytes .../templates/images/slider_down_arrow.png | Bin 382 -> 0 bytes .../templates/images/slider_left_arrow.png | Bin 343 -> 0 bytes .../templates/images/slider_right_arrow.png | Bin 366 -> 0 bytes .../widget/templates/images/slider_up_arrow.png | Bin 378 -> 0 bytes .../templates/images/soriaAccordionOff.gif | Bin 94 -> 0 bytes .../templates/images/soriaAccordionSelected.gif | Bin 94 -> 0 bytes .../widget/templates/images/soriaActive-c.gif | Bin 1420 -> 0 bytes .../widget/templates/images/soriaActive-l.gif | Bin 1585 -> 0 bytes .../widget/templates/images/soriaActive-r.gif | Bin 1587 -> 0 bytes .../src/widget/templates/images/soriaBarBg.gif | Bin 155 -> 0 bytes .../widget/templates/images/soriaButton-c.gif | Bin 848 -> 0 bytes .../widget/templates/images/soriaButton-l.gif | Bin 1001 -> 0 bytes .../widget/templates/images/soriaButton-r.gif | Bin 1001 -> 0 bytes .../widget/templates/images/soriaDisabled-c.gif | Bin 743 -> 0 bytes .../widget/templates/images/soriaDisabled-l.gif | Bin 894 -> 0 bytes .../widget/templates/images/soriaDisabled-r.gif | Bin 895 -> 0 bytes .../src/widget/templates/images/soriaMenuBg.gif | Bin 820 -> 0 bytes .../widget/templates/images/soriaPressed-c.gif | Bin 1446 -> 0 bytes .../widget/templates/images/soriaPressed-l.gif | Bin 1613 -> 0 bytes .../widget/templates/images/soriaPressed-r.gif | Bin 1614 -> 0 bytes .../templates/images/spinnerDecrement.gif | Bin 120 -> 0 bytes .../templates/images/spinnerIncrement.gif | Bin 119 -> 0 bytes .../templates/images/submenu_disabled.gif | Bin 53 -> 0 bytes .../src/widget/templates/images/submenu_off.gif | Bin 828 -> 0 bytes .../src/widget/templates/images/submenu_on.gif | Bin 828 -> 0 bytes .../widget/templates/images/tab_bot_left.gif | Bin 296 -> 0 bytes .../templates/images/tab_bot_left_curr.gif | Bin 429 -> 0 bytes .../widget/templates/images/tab_bot_right.gif | Bin 974 -> 0 bytes .../templates/images/tab_bot_right_curr.gif | Bin 1310 -> 0 bytes .../src/widget/templates/images/tab_close.gif | Bin 312 -> 0 bytes .../src/widget/templates/images/tab_close_h.gif | Bin 313 -> 0 bytes .../src/widget/templates/images/tab_left.gif | Bin 635 -> 0 bytes .../src/widget/templates/images/tab_left_r.gif | Bin 296 -> 0 bytes .../widget/templates/images/tab_left_r_curr.gif | Bin 429 -> 0 bytes .../src/widget/templates/images/tab_right.gif | Bin 2386 -> 0 bytes .../src/widget/templates/images/tab_right_r.gif | Bin 974 -> 0 bytes .../templates/images/tab_right_r_curr.gif | Bin 1310 -> 0 bytes .../widget/templates/images/tab_top_left.gif | Bin 2384 -> 0 bytes .../widget/templates/images/tab_top_right.gif | Bin 2386 -> 0 bytes .../src/widget/templates/images/timeIcon.gif | Bin 211 -> 0 bytes .../src/widget/templates/images/toolbar-bg.gif | Bin 180 -> 0 bytes .../src/widget/templates/images/transparent.gif | Bin 870 -> 0 bytes .../widget/templates/images/treenode_blank.gif | Bin 834 -> 0 bytes .../widget/templates/images/treenode_child.gif | Bin 73 -> 0 bytes .../templates/images/treenode_expand_minus.gif | Bin 547 -> 0 bytes .../templates/images/treenode_expand_plus.gif | Bin 542 -> 0 bytes .../widget/templates/images/treenode_grid_c.gif | Bin 60 -> 0 bytes .../widget/templates/images/treenode_grid_l.gif | Bin 68 -> 0 bytes .../widget/templates/images/treenode_grid_p.gif | Bin 63 -> 0 bytes .../widget/templates/images/treenode_grid_t.gif | Bin 74 -> 0 bytes .../widget/templates/images/treenode_grid_v.gif | Bin 71 -> 0 bytes .../widget/templates/images/treenode_grid_x.gif | Bin 60 -> 0 bytes .../widget/templates/images/treenode_grid_y.gif | Bin 67 -> 0 bytes .../widget/templates/images/treenode_grid_z.gif | Bin 60 -> 0 bytes .../widget/templates/images/treenode_node.gif | Bin 195 -> 0 bytes .../src/widget/templates/images/verticalbar.gif | Bin 158 -> 0 bytes .../widget/templates/images/whiteDownArrow.gif | Bin 46 -> 0 bytes .../src/widget/templates/incrementMonth.gif | Bin 168 -> 0 bytes .../dojo/src/widget/templates/incrementWeek.gif | Bin 159 -> 0 bytes .../src/widget/templates/richtextframe.html | 24 - .../struts2/static/dojo/src/widget/validate.js | 15 - .../struts2/static/dojo/src/widget/vml/Chart.js | 527 - .../apache/struts2/static/dojo/src/xml/Parse.js | 165 - .../struts2/static/dojo/src/xml/XslTransform.js | 159 - .../struts2/static/dojo/src/xml/__package__.js | 16 - .../struts2/static/dojo/src/xml/svgUtil.js | 32 - .../struts2/static/dojo/storage_dialog.swf | Bin 26921 -> 0 bytes .../struts2/static/dojo/struts/ComboBox.css | 89 - .../struts2/static/dojo/struts/widget/Bind.js | 464 - .../static/dojo/struts/widget/BindAnchor.js | 42 - .../static/dojo/struts/widget/BindDiv.js | 436 - .../static/dojo/struts/widget/BindEvent.js | 59 - .../static/dojo/struts/widget/ComboBox.js | 536 - .../dojo/struts/widget/StrutsDatePicker.js | 94 - .../dojo/struts/widget/StrutsTabContainer.js | 117 - .../dojo/struts/widget/StrutsTimePicker.js | 101 - .../static/dojo/struts/widget/StrutsTree.js | 80 - .../static/dojo/struts/widget/StrutsTreeNode.js | 87 - .../dojo/struts/widget/StrutsTreeSelector.js | 119 - .../static/dojo/struts/widget/__package__.js | 35 - .../apache/struts2/static/dojo/struts_dojo.js | 18794 ---------- .../static/dojo/struts_dojo.js.uncompressed.js | 31353 ----------------- .../org/apache/struts2/static/tree.css | 50 - .../dojo/src/main/resources/struts-plugin.xml | 31 - .../main/resources/template/ajax/a-close.ftl | 26 - .../dojo/src/main/resources/template/ajax/a.ftl | 37 - .../resources/template/ajax/ajax-common.ftl | 106 - .../resources/template/ajax/autocompleter.ftl | 180 - .../main/resources/template/ajax/bind-close.ftl | 25 - .../src/main/resources/template/ajax/bind.ftl | 166 - .../resources/template/ajax/controlheader.ftl | 34 - .../resources/template/ajax/datetimepicker.ftl | 105 - .../main/resources/template/ajax/div-close.ftl | 26 - .../src/main/resources/template/ajax/div.ftl | 54 - .../main/resources/template/ajax/dojoRequire.js | 30 - .../src/main/resources/template/ajax/head.ftl | 81 - .../resources/template/ajax/submit-close.ftl | 22 - .../src/main/resources/template/ajax/submit.ftl | 105 - .../main/resources/template/ajax/tab-close.ftl | 26 - .../src/main/resources/template/ajax/tab.ftl | 45 - .../template/ajax/tabbedpanel-close.ftl | 26 - .../resources/template/ajax/tabbedpanel.ftl | 87 - .../main/resources/template/ajax/textarea.ftl | 65 - .../resources/template/ajax/theme.properties | 21 - .../main/resources/template/ajax/tree-close.ftl | 36 - .../src/main/resources/template/ajax/tree.ftl | 126 - .../resources/template/ajax/treenode-close.ftl | 23 - .../template/ajax/treenode-include.ftl | 29 - .../main/resources/template/ajax/treenode.ftl | 28 - plugins/dojo/src/profile/README | 14 - plugins/dojo/src/profile/struts.profile.js | 36 - plugins/dojo/src/site/site.xml | 57 - .../org/apache/struts2/dojo/TestAction.java | 142 - .../dojo/views/jsp/ui/AbstractTagTest.java | 139 - .../dojo/views/jsp/ui/AbstractUITagTest.java | 358 - .../struts2/dojo/views/jsp/ui/AnchorTest.java | 64 - .../dojo/views/jsp/ui/AutocompleterTest.java | 87 - .../struts2/dojo/views/jsp/ui/BindTest.java | 59 - .../struts2/dojo/views/jsp/ui/Category.java | 106 - .../views/jsp/ui/DateTimePickerTagTest.java | 217 - .../struts2/dojo/views/jsp/ui/DivTest.java | 68 - .../struts2/dojo/views/jsp/ui/HeadTagTest.java | 65 - .../jsp/ui/StrutsMockHttpServletRequest.java | 210 - .../jsp/ui/StrutsMockHttpServletResponse.java | 99 - .../views/jsp/ui/StrutsMockHttpSession.java | 70 - .../dojo/views/jsp/ui/StrutsMockJspWriter.java | 171 - .../views/jsp/ui/StrutsMockPageContext.java | 83 - .../views/jsp/ui/StrutsMockServletContext.java | 162 - .../dojo/views/jsp/ui/SubmitAjaxTest.java | 127 - .../dojo/views/jsp/ui/TabbedPanelTagTest.java | 67 - .../struts2/dojo/views/jsp/ui/TreeTest.java | 135 - .../dojo/views/jsp/ui/Autocompleter-1.txt | 27 - .../dojo/views/jsp/ui/Autocompleter-2.txt | 21 - .../apache/struts2/dojo/views/jsp/ui/Bind-1.txt | 29 - .../views/jsp/ui/DateTimePickerTagTest-1.txt | 18 - .../views/jsp/ui/DateTimePickerTagTest-2.txt | 19 - .../struts2/dojo/views/jsp/ui/HeadTagTest-1.txt | 37 - .../struts2/dojo/views/jsp/ui/HeadTagTest-2.txt | 33 - .../struts2/dojo/views/jsp/ui/TabbedPanel-1.txt | 7 - .../struts2/dojo/views/jsp/ui/TabbedPanel-2.txt | 18 - .../struts2/dojo/views/jsp/ui/TabbedPanel-3.txt | 14 - .../struts2/dojo/views/jsp/ui/TabbedPanel-4.txt | 10 - .../apache/struts2/dojo/views/jsp/ui/div-1.txt | 28 - .../apache/struts2/dojo/views/jsp/ui/href-1.txt | 25 - .../struts2/dojo/views/jsp/ui/submit-ajax-1.txt | 29 - .../struts2/dojo/views/jsp/ui/submit-ajax-2.txt | 22 - .../struts2/dojo/views/jsp/ui/submit-ajax-3.txt | 25 - .../apache/struts2/dojo/views/jsp/ui/tree-1.txt | 47 - .../apache/struts2/dojo/views/jsp/ui/tree-2.txt | 68 - .../dojo/src/test/resources/struts.properties | 38 - plugins/jsf/pom.xml | 54 - .../jsf/ApplyRequestValuesInterceptor.java | 79 - .../apache/struts2/jsf/FacesInterceptor.java | 110 - .../org/apache/struts2/jsf/FacesRender.java | 80 - .../org/apache/struts2/jsf/FacesResult.java | 84 - .../struts2/jsf/FacesSetupInterceptor.java | 589 - .../org/apache/struts2/jsf/FacesSupport.java | 173 - .../jsf/InvokeApplicationInterceptor.java | 79 - .../jsf/ProcessValidationsInterceptor.java | 78 - .../struts2/jsf/RestoreViewInterceptor.java | 229 - .../struts2/jsf/StrutsNavigationHandler.java | 94 - .../struts2/jsf/StrutsVariableResolver.java | 83 - .../jsf/UpdateModelValuesInterceptor.java | 79 - plugins/jsf/src/main/resources/LICENSE.txt | 174 - plugins/jsf/src/main/resources/NOTICE.txt | 5 - .../org/apache/struts2/jsf/package.html | 31 - .../jsf/src/main/resources/struts-plugin.xml | 59 - plugins/jsf/src/site/site.xml | 57 - plugins/pom.xml | 4 - plugins/struts1/pom.xml | 77 - .../struts2/s1/ActionFormResetInterceptor.java | 65 - .../s1/ActionFormValidationInterceptor.java | 234 - .../struts2/s1/DynaBeanPropertyAccessor.java | 73 - .../org/apache/struts2/s1/Struts1Action.java | 156 - .../org/apache/struts2/s1/Struts1Factory.java | 150 - .../apache/struts2/s1/WrapperActionForward.java | 60 - .../apache/struts2/s1/WrapperActionMapping.java | 286 - .../struts2/s1/WrapperExceptionConfig.java | 67 - .../struts2/s1/WrapperMessageResources.java | 48 - .../apache/struts2/s1/WrapperModuleConfig.java | 252 - .../src/main/resources/ANTLR-LICENSE.txt | 26 - plugins/struts1/src/main/resources/LICENSE.txt | 174 - plugins/struts1/src/main/resources/NOTICE.txt | 8 - .../src/main/resources/struts-plugin.xml | 51 - plugins/struts1/src/site/site.xml | 57 - .../s1/DynaBeanPropertyAccessorTest.java | 155 - .../apache/struts2/s1/Struts1FactoryTest.java | 241 - .../apache/struts2/s1/test-struts-factory.xml | 67 - 964 files changed, 153527 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/codebehind/pom.xml ---------------------------------------------------------------------- diff --git a/plugins/codebehind/pom.xml b/plugins/codebehind/pom.xml deleted file mode 100644 index ec347f2..0000000 --- a/plugins/codebehind/pom.xml +++ /dev/null @@ -1,72 +0,0 @@ - - - - 4.0.0 - - org.apache.struts - struts2-plugins - 2.5-SNAPSHOT - - - struts2-codebehind-plugin - jar - Struts 2 Codebehind Plugin - - - - org.apache.commons - commons-lang3 - - - ${project.groupId} - struts2-junit-plugin - test - - - mockobjects - mockobjects-core - test - - - org.springframework - spring-test - test - - - org.springframework - spring-core - test - - - - javax.servlet - jsp-api - provided - - - - - UTF-8 - - http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/codebehind/src/main/java/org/apache/struts2/codebehind/CodebehindUnknownHandler.java ---------------------------------------------------------------------- diff --git a/plugins/codebehind/src/main/java/org/apache/struts2/codebehind/CodebehindUnknownHandler.java b/plugins/codebehind/src/main/java/org/apache/struts2/codebehind/CodebehindUnknownHandler.java deleted file mode 100644 index 430ec65..0000000 --- a/plugins/codebehind/src/main/java/org/apache/struts2/codebehind/CodebehindUnknownHandler.java +++ /dev/null @@ -1,281 +0,0 @@ -/* - * $Id$ - * - * 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. - */ - -package org.apache.struts2.codebehind; - -import com.opensymphony.xwork2.Action; -import com.opensymphony.xwork2.ActionContext; -import com.opensymphony.xwork2.ObjectFactory; -import com.opensymphony.xwork2.Result; -import com.opensymphony.xwork2.UnknownHandler; -import com.opensymphony.xwork2.XWorkException; -import com.opensymphony.xwork2.config.Configuration; -import com.opensymphony.xwork2.config.ConfigurationException; -import com.opensymphony.xwork2.config.entities.ActionConfig; -import com.opensymphony.xwork2.config.entities.InterceptorLocator; -import com.opensymphony.xwork2.config.entities.PackageConfig; -import com.opensymphony.xwork2.config.entities.ResultConfig; -import com.opensymphony.xwork2.config.entities.ResultTypeConfig; -import com.opensymphony.xwork2.config.providers.InterceptorBuilder; -import com.opensymphony.xwork2.inject.Inject; -import com.opensymphony.xwork2.util.ClassLoaderUtil; -import com.opensymphony.xwork2.util.logging.Logger; -import com.opensymphony.xwork2.util.logging.LoggerFactory; - -import javax.servlet.ServletContext; -import java.net.MalformedURLException; -import java.net.URL; -import java.util.Collections; -import java.util.LinkedHashMap; -import java.util.Map; - -/** - * Uses code-behind conventions to solve the two unknown problems. - */ -public class CodebehindUnknownHandler implements UnknownHandler { - - protected String defaultPackageName; - protected ServletContext servletContext; - protected Map resultsByExtension; - protected String templatePathPrefix; - protected Configuration configuration; - protected ObjectFactory objectFactory; - - protected static final Logger LOG = LoggerFactory.getLogger(CodebehindUnknownHandler.class); - - @Inject - public CodebehindUnknownHandler(@Inject("struts.codebehind.defaultPackage") String defaultPackage, - @Inject Configuration configuration) { - - this.configuration = configuration; - this.defaultPackageName = defaultPackage; - resultsByExtension = new LinkedHashMap(); - PackageConfig parentPackage = configuration.getPackageConfig(defaultPackageName); - if (parentPackage == null) { - throw new ConfigurationException("Unknown parent package: "+parentPackage); - } - Map results = parentPackage.getAllResultTypeConfigs(); - - resultsByExtension.put("jsp", results.get("dispatcher")); - resultsByExtension.put("vm", results.get("velocity")); - resultsByExtension.put("ftl", results.get("freemarker")); - - } - - @Inject("struts.codebehind.pathPrefix") - public void setPathPrefix(String prefix) { - this.templatePathPrefix=prefix; - } - - @Inject - public void setServletContext(ServletContext servletContext) { - this.servletContext = servletContext; - } - - @Inject - public void setObjectFactory(ObjectFactory objectFactory) { - this.objectFactory = objectFactory; - } - - public ActionConfig handleUnknownAction(String namespace, String actionName) - throws XWorkException { - String pathPrefix = determinePath(templatePathPrefix, namespace); - ActionConfig actionConfig = null; - for (String ext : resultsByExtension.keySet()) { - if (LOG.isDebugEnabled()) { - LOG.debug("Trying to locate unknown action template with extension ."+ext+" in directory "+pathPrefix); - } - String path = string(pathPrefix, actionName, "." , ext); - try { - if (locateTemplate(path) != null) { - actionConfig = buildActionConfig(path, namespace, actionName, resultsByExtension.get(ext)); - break; - } - } catch (MalformedURLException e) { - LOG.warn("Unable to parse template path: "+path+", skipping..."); - } - } - return actionConfig; - } - - /** Create a new ActionConfig in the default package, with the default interceptor stack and a single result */ - protected ActionConfig buildActionConfig(String path, String namespace, String actionName, ResultTypeConfig resultTypeConfig) { - final PackageConfig pkg = configuration.getPackageConfig(defaultPackageName); - return new ActionConfig.Builder(defaultPackageName, "execute", pkg.getDefaultClassRef()) - .addInterceptors(InterceptorBuilder.constructInterceptorReference(new InterceptorLocator() { - public Object getInterceptorConfig(String name) { - return pkg.getAllInterceptorConfigs().get(name); // recurse package hiearchy - } - }, pkg.getFullDefaultInterceptorRef(), - Collections.EMPTY_MAP, null, objectFactory)) - .addResultConfig(new ResultConfig.Builder(Action.SUCCESS, resultTypeConfig.getClassName()) - .addParams(resultTypeConfig.getParams()) - .addParam(resultTypeConfig.getDefaultResultParam(), path) - .build()) - .build(); - } - - public Result handleUnknownResult(ActionContext actionContext, String actionName, - ActionConfig actionConfig, String resultCode) throws XWorkException { - - Result result = null; - PackageConfig pkg = configuration.getPackageConfig(actionConfig.getPackageName()); - String ns = pkg.getNamespace(); - String pathPrefix = determinePath(templatePathPrefix, ns); - - for (String ext : resultsByExtension.keySet()) { - if (LOG.isDebugEnabled()) { - LOG.debug("Trying to locate result with extension ."+ext+" in directory "+pathPrefix); - } - String path = string(pathPrefix, actionName, "-", resultCode, "." , ext); - try { - if (locateTemplate(path) != null) { - result = buildResult(path, resultCode, resultsByExtension.get(ext), actionContext); - break; - } - } catch (MalformedURLException e) { - LOG.warn("Unable to parse template path: "+path+", skipping..."); - } - - path = string(pathPrefix, actionName, "." , ext); - try { - if (locateTemplate(path) != null) { - result = buildResult(path, resultCode, resultsByExtension.get(ext), actionContext); - break; - } - } catch (MalformedURLException e) { - LOG.warn("Unable to parse template path: "+path+", skipping..."); - } - } - - return result; - } - - protected Result buildResult(String path, String resultCode, ResultTypeConfig config, ActionContext invocationContext) { - ResultConfig resultConfig = new ResultConfig.Builder(resultCode, config.getClassName()) - .addParams(config.getParams()) - .addParam(config.getDefaultResultParam(), path) - .build(); - try { - return objectFactory.buildResult(resultConfig, invocationContext.getContextMap()); - } catch (Exception e) { - throw new XWorkException("Unable to build codebehind result", e, resultConfig); - } - } - - protected String string(String... parts) { - StringBuilder sb = new StringBuilder(); - for (String part : parts) { - sb.append(part); - } - return sb.toString(); - } - - protected String joinPaths(boolean leadingSlash, boolean trailingSlash, String... parts) { - StringBuilder sb = new StringBuilder(); - if (leadingSlash) { - sb.append("/"); - } - for (String part : parts) { - if (sb.length() > 0 && sb.charAt(sb.length()-1) != '/') { - sb.append("/"); - } - sb.append(stripSlashes(part)); - } - if (trailingSlash) { - if (sb.length() > 0 && sb.charAt(sb.length()-1) != '/') { - sb.append("/"); - } - } - return sb.toString(); - } - - protected String determinePath(String prefix, String ns) { - return joinPaths(true, true, prefix, ns); - } - - protected String stripLeadingSlash(String path) { - String result; - if (path != null) { - if (path.length() > 0) { - if (path.charAt(0) == '/') { - result = path.substring(1); - } else { - result = path; - } - } else { - result = path; - } - } else { - result = ""; - } - - return result; - } - - protected String stripTrailingSlash(String path) { - String result; - - if (path != null) { - if (path.length() > 0) { - if (path.charAt(path.length() - 1) == '/') { - result = path.substring(0, path.length()-1); - } else { - result = path; - } - } else { - result = path; - } - } else { - result = ""; - } - - return result; - } - - protected String stripSlashes(String path) { - return stripLeadingSlash(stripTrailingSlash(path)); - } - - URL locateTemplate(String path) throws MalformedURLException { - URL template = servletContext.getResource(path); - if (template != null) { - if (LOG.isDebugEnabled()) { - LOG.debug("Loaded template '" + path + "' from servlet context."); - } - } else { - template = ClassLoaderUtil.getResource(stripLeadingSlash(path), getClass()); - if (template != null && LOG.isDebugEnabled()) { - LOG.debug("Loaded template '" + stripLeadingSlash(path) + "' from class path."); - } - } - return template; - } - - - /** - * Not used - */ - public Object handleUnknownActionMethod(Object action, String methodName) throws NoSuchMethodException { - throw new NoSuchMethodException(); - } - -} http://git-wip-us.apache.org/repos/asf/struts/blob/17d73d21/plugins/codebehind/src/main/java/org/apache/struts2/config/Action.java ---------------------------------------------------------------------- diff --git a/plugins/codebehind/src/main/java/org/apache/struts2/config/Action.java b/plugins/codebehind/src/main/java/org/apache/struts2/config/Action.java deleted file mode 100644 index f139202..0000000 --- a/plugins/codebehind/src/main/java/org/apache/struts2/config/Action.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * $Id$ - * - * 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. - */ - -package org.apache.struts2.config; - -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; - -@Retention(RetentionPolicy.RUNTIME) -public @interface Action { - public static final String DEFAULT_NAMESPACE = "__default_namespace__"; - String namespace() default DEFAULT_NAMESPACE; - String name(); -}