Commit Graph

2162 Commits

Author SHA1 Message Date
Musachy Barroso 5ebf37efba WW-2732 Document that the Text tag will search the stack if a key is not found on a resource
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@727533 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 22:05:17 +00:00
Musachy Barroso f8166d5e8b Add convention to plugins modules and assembly
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@727472 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 19:06:53 +00:00
Musachy Barroso 352fdb5300 WW-2922 move convention plugin out of sandbox
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@727418 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 15:39:34 +00:00
Musachy Barroso 9215250aad XW-640 Support multiple unknown handlers
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@727135 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 20:39:32 +00:00
Musachy Barroso 030c7e0193 XW-640 Support multiple unknown handlers
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@727100 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 17:47:24 +00:00
Musachy Barroso 7c795d7366 WW-2878 install sources by default
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@726719 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 15:45:13 +00:00
Musachy Barroso bbdbe79929 WW-2824 refactored altSyntax expression code
thanks to Gabriel Belingueres for patch.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@726715 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 15:39:15 +00:00
Musachy Barroso f4d486dbd3 Output "onreset" properly
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@726337 13f79535-47bb-0310-9956-ffa450edef68
2008-12-14 02:23:24 +00:00
Musachy Barroso c502db56c1 WW-2796 Remove reference to deprecated velocity constructor
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@725742 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 17:16:46 +00:00
Musachy Barroso 38615eb398 WW-2913 fix layout for showcase, tested on FF 3, IE 7 and IE 6. It ain't pretty but it works.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@724847 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 19:36:00 +00:00
Nils-Helge Garli 6e1aa0784b WW-2751 Fixed containsKey for SessionMap. Patch by Ian Robinson.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@724839 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 19:19:19 +00:00
Nils-Helge Garli 9fa90cb8b4 Updated test resource to fix failing FormTagTest
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@724838 13f79535-47bb-0310-9956-ffa450edef68
2008-12-09 19:13:45 +00:00
Musachy Barroso 2291033724 WW-2752 fix resource path in the documentation
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@724514 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 22:17:52 +00:00
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