Musachy Barroso
0da2e1bd1b
WW-2748 call "i18n" before "prepare" in default stack
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@724495 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 21:41:19 +00:00
Musachy Barroso
7b94ab8e8d
WW-2730 remove redundant "return true" from the form tag's "onsubmit" attribute
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@724471 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 20:22:33 +00:00
Nils-Helge Garli
0d5093796d
Forgot to commit the updated test...
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@724183 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 19:48:56 +00:00
Nils-Helge Garli
75c4c5ee25
WW-2862 Added pass through to servlet renderer when specified or not in a portlet context.
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@724182 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 19:32:45 +00:00
Wesley Wannemacher
b90c0c8e60
Cleanup in JakartaMultiPartRequest, using generics. Per WW-2908, thanks for the patch Mathias
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@724074 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 04:51:34 +00:00
Wesley Wannemacher
f207ed6978
broken url WW-2623
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@724071 13f79535-47bb-0310-9956-ffa450edef68
2008-12-07 04:47:19 +00:00
Nils-Helge Garli
268854f353
WW-2800 Added setters for response, request and context.
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@724030 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 19:32:29 +00:00
Wesley Wannemacher
6c24b2e73c
ServletUrlRenderer patch to fix s:form tag when using dynamic method invocation. Per WW-2727 and WW-2768, thanks for the patch Lukasz Racon
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@723948 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 04:53:06 +00:00
Musachy Barroso
d47688da3e
WW-2597 Update tld version to match xsd schema
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@723018 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 19:13:28 +00:00
Musachy Barroso
08cd7213d4
WW-2905 Synchronize on HttpSession rather than session map from context
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722961 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 16:38:57 +00:00
Musachy Barroso
7ebff0ee12
WW-2901 Set the default includeParams to "none" (is currently "get")
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722957 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 16:24:56 +00:00
Musachy Barroso
ae2f937761
WW-2580 Add filename argument to acceptFile method in FileUploadInterceptor. Unused overload of acceptFile was also removed.
...
Thanks to Jelmer Kuperus for the patch (applied with some modifications).
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722956 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 16:23:43 +00:00
Musachy Barroso
2e82cb684c
Update type of tag attribute "resultsLimit" for autocompleter
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722904 13f79535-47bb-0310-9956-ffa450edef68
2008-12-03 14:34:23 +00:00
Musachy Barroso
6e131b75f3
WW-2902 Use real HttpSession in synchronized block
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722576 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 19:13:26 +00:00
Wesley Wannemacher
c8397a1188
incorporating Concurrency API. Per WW-2880, thanks for the patch Mathias Bogaert
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722386 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 06:41:52 +00:00
Wesley Wannemacher
aebc654a59
moving CSS class declaration to the UL tag to make styling more flexible. Per WW-2655
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722375 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 05:19:57 +00:00
David Newton
4bc9f8f62d
Updated URL component's default value documentation to reflect WW-2901 change; now "none".
...
I don't think I like this lack of cohesion in cases like this; if the default value is coming from a default configuration file then documenting it manually with @StrutsTagAttribute seems dangerous and potentially misleading.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722331 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 02:04:42 +00:00
David Newton
157eacdecd
Includes test update; changing struts.properties requires non-intuitive test change :/
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722328 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 01:56:24 +00:00
Musachy Barroso
768f3973c2
WW-2671 Add fieldName attribute to FieldErrorTag
...
Thanks to David Evans for the patch
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722198 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 19:49:00 +00:00
Musachy Barroso
10e69d7d93
WW-255 Add escapeJavaScript attribute to propertyTag
...
Thanks to Jelmer Kuperus for patch.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722159 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 18:24:52 +00:00
Musachy Barroso
718fa71af1
WW-2625 Add allowCaching attribute to StreamResult
...
Thanks to Al Sutton for the patch.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@722124 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 16:47:29 +00:00
Wesley Wannemacher
fbaccd65ec
changing MakeIterator to support Iterable instead of Collection
...
per WW-2887, thanks for the patch Mathias Bogaert
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@721947 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 02:25:47 +00:00
David Newton
a3ee86862f
Fix for WW-2889 Use StringBuilder instead of StringBuffer; UrlHelper:r720222 change.
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@721838 13f79535-47bb-0310-9956-ffa450edef68
2008-11-30 16:04:46 +00:00
Musachy Barroso
9407fe5e30
WW-2226 resultsLimit attribute set to -1 in autocompleter tag is ignored. Set the type of resultsLimit to Integer
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@720918 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 17:06:40 +00:00
Musachy Barroso
5ecfccb0ed
WW-2891 Replace deprecated operators in FreeMarker (just ?exists on this commit)
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@720258 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 19:05:16 +00:00
Musachy Barroso
f6bba24d44
WW-2888 Cleanup of FileUploadInterceptor (added some generics and use XWork's text parsing)
...
Some unboxing also removed
Thanks to Mathias Bogaert for patch
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@720232 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 17:12:58 +00:00
Musachy Barroso
4f46d2abb2
WW-2889 Use StringBuilder instead of StringBuffer
...
Thanks to Mathias Bogaert for patch
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@720222 13f79535-47bb-0310-9956-ffa450edef68
2008-11-24 16:41:07 +00:00
Nils-Helge Garli
5397257cfb
WW-2846 Nested params should now work properly in portlets
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@719714 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 21:09:13 +00:00
Nils-Helge Garli
ad49562c48
WW-2783 Evaluate anchor. Fix suggested by Ralf Fischer.
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@719704 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 20:37:49 +00:00
Musachy Barroso
dbedc4fae4
WW-2882 Make fields protected
...
Thanks to Mathias Bogaert for patch
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@719672 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 18:57:55 +00:00
Musachy Barroso
9fb18e8c0e
WW-2879 Use Concurrent API in FreemarkerTemplateEngine
...
thanks to Mathias Bogaert for the patch
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@719643 13f79535-47bb-0310-9956-ffa450edef68
2008-11-21 17:13:32 +00:00
Musachy Barroso
e135288df6
WW-2610 dont set "style" attribute, if there are field errors and cssClass was set. Tests added.
...
Thanks to Gabriel Belingueres for the patch
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@719021 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 18:47:34 +00:00
Musachy Barroso
6199a40267
WW-2071 UIBean.end does not fail when an exception happens. Throw a runtime exception, instead of just logging it
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@718748 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 22:43:53 +00:00
Musachy Barroso
7ea81313d0
WW-2246 always wrap the writer passed to FreeMarker to prevent exception when using custom tags
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@718652 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 17:04:01 +00:00
Musachy Barroso
f7a7d62a87
Fix for FTL use (output was empty)
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@718354 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 20:06:38 +00:00
Nils-Helge Garli
96683b99fc
Reverting change
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@701674 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 17:14:20 +00:00
Nils-Helge Garli
bccea9737c
Trying different things to fix bamboo error
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@701671 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 17:04:36 +00:00
Nils-Helge Garli
7ba66cfd4c
Touching file to trigger build
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@701661 13f79535-47bb-0310-9956-ffa450edef68
2008-10-04 16:25:01 +00:00
David Newton
2cf1f83121
Backing out premature change :(
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@692670 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 15:47:06 +00:00
David Newton
f537d7b33b
Changed includeParams default to "none".
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@692662 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 15:27:21 +00:00
David Newton
3ea1503324
Added check for element's existence when adding error class to field label; it was broken when an element used "simple" theme. Gotta change some client-side validation stuff.
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@692578 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 23:30:16 +00:00
Nils-Helge Garli
502d7f3987
Doesn't work right now
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@691544 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 08:38:49 +00:00
Musachy Barroso
1f1c996eb1
WW-2779 Directory traversal vulnerability while serving static content
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@688095 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 15:22:56 +00:00
René Gielen
3a08768f32
Javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@687847 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 20:16:02 +00:00
Musachy Barroso
b8c94a58b9
Add content loader test
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@687805 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 17:11:37 +00:00
Musachy Barroso
b2c5190d52
Add content loader test
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@687804 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 17:11:16 +00:00
Musachy Barroso
04fcefa44b
WW-2779 Directory traversal vulnerability while serving static content
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@687425 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 18:59:01 +00:00
Musachy Barroso
e40a8e540b
WW-2381 Destroy method of Interceptor is never called by Struts
...
Patch provided by Décio Heinzelmann Luckow
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@686328 13f79535-47bb-0310-9956-ffa450edef68
2008-08-15 19:19:07 +00:00
David Newton
dcf5d45fde
Minor JavaDoc change; the perils of ^V. Or Cmd-V for those of us with Macs.
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@684566 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 18:19:28 +00:00
Musachy Barroso
dea5b76acc
Organize imports (bamboo failing on one of them that is not used)
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@682419 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 15:23:34 +00:00