Commit Graph

3404 Commits

Author SHA1 Message Date
Johannes Geppert ae4e2a80d8 Revert: WW-4197 Update Archetypes READMEs
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521944 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 17:25:25 +00:00
Johannes Geppert b54f37823b WW-4197 Update Archetypes READMEs
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521940 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 17:06:05 +00:00
Christian Grobmeier 1e7be30c41 reverted wrong git svn dcommit
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521819 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 12:32:00 +00:00
Christian Grobmeier 3149b5b49d Add archetype for Struts2 with AngularJS
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521783 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 10:24:18 +00:00
Johannes Geppert bfdfdd38da Fix typo and change hardcoded Struts version to Placeholder
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521602 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 19:29:54 +00:00
Johannes Geppert b0fab939e9 WW-4196 Add a new Struts2 Archetype for HTML5 web applications with AngularJS
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521598 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 19:27:42 +00:00
Johannes Geppert 13c61710bb WW-4196 Add a new Struts2 Archetype for HTML5 web applications with AngularJS
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521565 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 17:55:21 +00:00
Christian Grobmeier a40ea4adc8 added link to sonar
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521451 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 12:12:37 +00:00
Christian Grobmeier da50740f8c removed 404 link to sandbox
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521450 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 12:10:09 +00:00
Christian Grobmeier 5e3e793576 removed unused site folder and site.xml
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521449 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 12:08:04 +00:00
Lukasz Lenart 993bb63213 WW-4195 Duplicates existing default messages with suffix _en
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521364 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 07:23:51 +00:00
René Gielen 322546dbfd - ignore IDEA project files
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1520784 13f79535-47bb-0310-9956-ffa450edef68
2013-09-07 16:58:08 +00:00
Christian Grobmeier 8fa5db34cd Added .gitignore to support users with git-svn and working on github mirrors
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1520781 13f79535-47bb-0310-9956-ffa450edef68
2013-09-07 15:28:02 +00:00
René Gielen 2cba188601 WW-4193 - Patch by Christoph Nenning
With this patch it is checked if devMode is active and if logMissingProperties is enabled before the exception is logged
- refactored shouldLogNoSuchPropertyWarning() to shouldLogMissingPropertyWarning() and using it to handle MethodFailedExceptions.
- updated void handleOgnlException(String expr, Object value, boolean throwExceptionOnFailure, OgnlException e) to use it.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1520763 13f79535-47bb-0310-9956-ffa450edef68
2013-09-07 13:26:25 +00:00
Lukasz Lenart 9fd05bc3c1 WW-4103, WW-4191 Reduces noise in the logs when action/result is missing
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1520499 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 06:55:55 +00:00
Christian Grobmeier 5efbfe4536 removed unnecessary boxing, null check was always true
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1520015 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 13:20:34 +00:00
Christian Grobmeier 8a0ab1cbe1 link to original license text instead of duplication
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519998 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 12:43:49 +00:00
Christian Grobmeier 9e6ce567de added hero unit to main page
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519996 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 12:40:43 +00:00
Christian Grobmeier 632dec1c33 pimped feature table
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519993 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 12:32:33 +00:00
Christian Grobmeier 0123f99445 override style the same way as main page
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519989 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 11:52:44 +00:00
Christian Grobmeier 7caf9e445b moved plugin api references to their own page
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519985 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 11:24:11 +00:00
Christian Grobmeier ce5621bced support for markdown in site
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519983 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 11:11:54 +00:00
Christian Grobmeier 6382e522b0 made use of Fluido Skin, corrected footer according to ASF branding requirements, removed reference to module subpages
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519979 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 10:48:09 +00:00
Lukasz Lenart c8b616b17f Corrects typo
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519959 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 09:46:14 +00:00
Christian Grobmeier 0f224c79a0 corrected link to wiki
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519942 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 08:48:59 +00:00
Lukasz Lenart 9f9f8eb045 Modifies expected results slightly
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519925 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 07:36:00 +00:00
Lukasz Lenart ff8e908956 Cleans up code, removes usage of ActionContext directly, uses @Inject instead
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519919 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 06:52:26 +00:00
Lukasz Lenart 48a8dc5371 Modifies assertEquals on result to don't depend on order of validations
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519918 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 06:51:05 +00:00
Lukasz Lenart ac5a18c4b8 Adds FEST assert to simplify testing
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519917 13f79535-47bb-0310-9956-ffa450edef68
2013-09-04 06:50:12 +00:00
Lukasz Lenart f14b4cb418 WW-4186 Removes static and uses instance value to set enableExpressionCache constant
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1519588 13f79535-47bb-0310-9956-ffa450edef68
2013-09-03 07:37:04 +00:00
Bruce Allen Phillips f046343833 WW-4168 Added if statement in method isChecked to verify that the String Array of checkBox name values is not null.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1512348 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 15:41:10 +00:00
Bruce Allen Phillips 2a3e504584 WW-4153 added Freemarker markup to handle use case when multiple="true" attribute is included with s:select tag but no name or id attribute is provided.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1509747 13f79535-47bb-0310-9956-ffa450edef68
2013-08-02 15:41:26 +00:00
Lukasz Lenart 97fd9cd886 Partially reverts: WW-3623 some generics fix - to solve WW-4142
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1509233 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 13:48:55 +00:00
Lukasz Lenart 303eb9f66d WW-3872 Moves files to appropriate locations
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1509085 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 06:04:23 +00:00
Lukasz Lenart 7e2f9f6862 WW-4138 Solves problem with NPE when passed expression is null
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1508625 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 20:47:01 +00:00
Lukasz Lenart fce9681270 WW-4158 Defines new factory interfaces with default implementations and uses them in ObjectFactory, docs updated as well
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1508392 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 11:27:46 +00:00
Bruce Allen Phillips 49d339f8f3 Added the same warning that appears in the ParametersInterceptor about using ParameterNameAware to the JavaDoc for this interface
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1508075 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 14:07:56 +00:00
Lukasz Lenart 6cfc28b359 WW-3964 Defines DEFAULT_PARAM static field to reduce noise in the logs
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1507951 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 06:40:10 +00:00
Bruce Allen Phillips 5545efb225 fixed links to ParameterNameAware that were incorrectly formatted in the last two paragraphs of the class JavaDoc
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1507786 13f79535-47bb-0310-9956-ffa450edef68
2013-07-28 11:53:55 +00:00
Lukasz Lenart 3472d4e16c WW-4144 Renames ResultBuilder to ResultFactory to keep convention
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1507232 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 09:16:06 +00:00
Lukasz Lenart cb608773a3 WW-4144 Defines ParamNameAwareResult interfaces and ResultBuilder to be used with
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1506872 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 10:03:42 +00:00
Lukasz Lenart b370886797 WW-4144 Defines new extension point to build Results and adjusts ObjectFactory to use it
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1506865 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 09:42:16 +00:00
Lukasz Lenart e366ae8510 Adds braces for better visibility
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1506419 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 07:00:37 +00:00
Bruce Allen Phillips 34e0f14820 updated JavaDoc for the getText methods to clearly statue that if no value is found for the provided key then the key is returned
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1505391 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 13:56:57 +00:00
Bruce Allen Phillips c6fa096bdd WW-4099 updated JavaDoc for getText methods to clearly state that if there is no value found for the provided key then the method should return the provided key.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1505390 13f79535-47bb-0310-9956-ffa450edef68
2013-07-21 13:55:36 +00:00
Bruce Allen Phillips 90b51e4381 WW-4126 - changed logic of is statement so that every element in the Object array is compared to null
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1504168 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 15:11:41 +00:00
Bruce Allen Phillips ee0ab365a9 WW-4127 - updated version of commons-io from 2.0.1 to 2.2 to match commons-fileuploa's cross dependency on commons-io 2.2
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1504157 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 14:43:03 +00:00
Bruce Allen Phillips 2e750206aa NOJIRA - Added unit test for Jsr286Dispatcher class based on the JSR168DispatcherTest class - trying to learn more about how this plugin works to hopefully improve it.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1503787 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 16:33:51 +00:00
Bruce Allen Phillips ea544d5b42 NOJIRA - Added JavaDoc for enum
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1503769 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 15:49:46 +00:00
Christian Grobmeier ef5f7bde36 WW-4134: MessageStoreInterceptor java.lang.IllegalStateException if there is no session
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1503167 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 10:32:37 +00:00