Commit Graph

886 Commits

Author SHA1 Message Date
Rainer Hermanns b75f525915 WW-2421 Fixing test failure in DateTestTag if calculated year is a leap year
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@642295 13f79535-47bb-0310-9956-ffa450edef68
2008-03-28 17:10:25 +00:00
Brian Pontarelli 5c984bb6d4 Escaped key prior to OGNL evaluation for label. Test is commented out because I couldn't figure out how to get it working.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@635737 13f79535-47bb-0310-9956-ffa450edef68
2008-03-10 22:35:58 +00:00
Brian Pontarelli ec0efd5b40 Moved the dynamic attributes up so that that they are available to type converters in the context
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@634406 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 20:34:49 +00:00
Jeromy Evans 7eb4ee32f3 WW-2256 Update template/xhtml/validation.js to allow client-side validation of an autocompleter (gentle search for TR nodes containing error labels)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@632335 13f79535-47bb-0310-9956-ffa450edef68
2008-02-29 15:00:18 +00:00
Jeromy Evans 7e0a75ebe1 WW-2511 fixed OGNL expression in the I18n component to call TextProvider's getTexts(bundleName) method. Added new unit test for this tag.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@631413 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 22:50:17 +00:00
Wesley Wannemacher 3acb5e8762 eliminating NPE, from WW-1969
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@631059 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 01:40:10 +00:00
Musachy Barroso e6e4d9a1d6 WW-2500 JSONValidationInterceptor: IE chokes when evaling JSON string
* Add a comma to separate the fields, only when there are action errors

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@629504 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 15:26:19 +00:00
Jeromy Evans 305f56cba8 WW-2491 Update javadoc/snippets (only), replace references to result & interceptor names with camelCase
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@629319 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 02:17:08 +00:00
Donald J. Brown 69604a1251 Adding test to ensure slashes in names works with root namespace
WW-2461


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@629022 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 08:35:35 +00:00
Donald J. Brown 6090657251 Backing out the 1.0.3 upgrade until struts-annotations 1.0.3 gets officially released
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628459 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 09:11:00 +00:00
Donald J. Brown 85609113a5 Upgrading to Struts Annotations 1.0.3, removing repositories from pom
WW-2421


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628454 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 08:45:31 +00:00
Donald J. Brown f52f2221b2 Rolling back upgrade to TestNG 5.7, re-enabling portlet tests
WW-2454 WW-2494


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628443 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 08:11:34 +00:00
Donald J. Brown c338ede06d Escaping HTML for values
WW-2319


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628287 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 13:06:12 +00:00
Donald J. Brown 2ed83ba79c Adding cssErrorClass and cssErrorStyle attributes
WW-771


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628286 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 12:55:39 +00:00
Donald J. Brown 5270291101 Added ability to configure strong level 1 cache for Freemarker
WW-2189


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628283 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 12:32:12 +00:00
Donald J. Brown bb263e0081 Fixing edit where id wouldn't be set
WW-2186


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628279 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 12:27:07 +00:00
Donald J. Brown 5679317c89 Updating struts annotations dep to more recent snapshot
WW-2451


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628278 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 12:13:18 +00:00
Donald J. Brown 932c632da2 Fixing uri resolver not being set correctly for xslt result
WW-2334


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628277 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 12:08:55 +00:00
Donald J. Brown ce2e9e0fe2 Fixing freemarker tests when path included a space
WW-2452


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628274 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 12:01:30 +00:00
Donald J. Brown 9c66f338f8 Upping TestNG dependency to 5.7
WW-2454


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628272 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 11:57:35 +00:00
Donald J. Brown 1502327f25 Adding test to ensure custom parameters are handled correctly
WW-2170


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628270 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 11:50:48 +00:00
Donald J. Brown b2ad4544f6 Adding support for short circut validations in javascript
WW-2270


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@628262 13f79535-47bb-0310-9956-ffa450edef68
2008-02-16 11:12:16 +00:00
Wesley Wannemacher 71b19cfd56 Using the 'c' builtin in freemarker so that numbers are output in a fashion usable in JavaScript, address WW-2254
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@627922 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 00:41:16 +00:00
René Gielen 7b922cd5d5 WW-2482:
Fix Freemarker exception when model list entry has null value field

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@620841 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 16:07:46 +00:00
Wesley Wannemacher 701c115497 fix taken from webwork, struts issue WW-2351
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@620329 13f79535-47bb-0310-9956-ffa450edef68
2008-02-10 21:10:25 +00:00
Wesley Wannemacher ee081ef5ed Updated Test that uses getResources() to load the TLD file, fixing WW-2477
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@620297 13f79535-47bb-0310-9956-ffa450edef68
2008-02-10 17:58:16 +00:00
Wesley Wannemacher 9f7e6d59e3 The DynAttribsTest unit test fails in Java 6, so Bamboo is unhappy
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@620206 13f79535-47bb-0310-9956-ffa450edef68
2008-02-09 22:13:49 +00:00
Wesley Wannemacher fb5582ea96 fix and test to address WW-2477
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@620204 13f79535-47bb-0310-9956-ffa450edef68
2008-02-09 21:39:40 +00:00
Brian Pontarelli c897c03810 Fixed bug in extensionless URL handling
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@618772 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 20:49:54 +00:00
Brian Pontarelli c1bec83192 Added better handling for extensionless URLs that contain dots in directory names
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615679 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 23:43:31 +00:00
Antonio Petrelli 3b3593d81e WW-2437
Added XWork, XStream, XPP3 licenses and notice.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615603 13f79535-47bb-0310-9956-ffa450edef68
2008-01-27 14:06:24 +00:00
Nils-Helge Garli b1546d7382 WW-2240 Temporary workaround for NPE problems when doing info logging. Patch by Benjamin McCann
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615436 13f79535-47bb-0310-9956-ffa450edef68
2008-01-26 08:53:12 +00:00
Antonio Petrelli 42c8104e4e WW-2437
Added OGNL license and notice.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615323 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 20:12:45 +00:00
Donald J. Brown df1183e399 Ensuring numbers are formatted in the client-side javascript validation in such a way to not break the code
WW-1937


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615230 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 14:27:51 +00:00
Donald J. Brown e7bc9d380d Fixing problems with fast byte array output stream with large data
WW-2412


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615216 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 13:31:16 +00:00
Donald J. Brown dae026a0f0 Adding a check for double quotes to help prevent XSS attacks
WW-2427


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615212 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 13:13:23 +00:00
Donald J. Brown 7e169a93e2 Escaping forward slashes in element ids
WW-2303


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615208 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 12:40:17 +00:00
Donald J. Brown 876cf91a30 Adding test to ensure label separator for radio tag works WW-2343
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615201 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 12:22:22 +00:00
Donald J. Brown 0497356bc2 Moved i18n interceptor before all params interceptors
WW-2287


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615196 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 12:12:47 +00:00
Donald J. Brown d741210f20 Making retrieval of theme and templateDir more safe
WW-2366


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615195 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 12:05:37 +00:00
Donald J. Brown b43746bde5 Adding support for Iteratable
WW-2397


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615175 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 11:14:15 +00:00
Donald J. Brown 39a91b294e Ensuring all action name parsing happens in ActionMapper, adding parsing to DWRValidator
WW-2217 WW-2323


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615173 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 11:02:08 +00:00
James Mitchell bd3f2f59c9 WW-2414 - followup on earlier commit -- recursively replace <<<<<script>>>>> until completely sanitized
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@615103 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 03:50:48 +00:00
Antonio Petrelli 420510aae3 WW-2437
Added FreeMarker, JSON-lib and EZMorph notices.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@614986 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 20:53:03 +00:00
Ted Nathan Husted 613f786d91 WW-2171 "Label tag does not use key attribute to lookup value in resources when using simple theme" Apply patch provided by Maja S Bratseth.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@614842 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 11:09:59 +00:00
James Mitchell 09147ffad2 WW-2414 - failsafe sanitization of querystring params
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@614814 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 07:39:45 +00:00
James Mitchell 28ee8f79d1 WW-2421 - omnibus -- remove straggling character
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@614786 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 03:38:22 +00:00
James Mitchell 9276b0c654 WW-2421 - omnibus -- documentation fix ... thanks Jeremysvn diff
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@614785 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 03:36:26 +00:00
Ted Nathan Husted 8d876334c5 WW-2435 "<s:set> tag does not evaluate Body" Apply patch suggested by Lukasz Racon.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@614751 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 00:29:34 +00:00
Donald J. Brown f86377ce17 Updating junit to 3.8.2
WW-2453


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@614532 13f79535-47bb-0310-9956-ffa450edef68
2008-01-23 13:40:42 +00:00