Commit Graph

1690 Commits

Author SHA1 Message Date
Musachy Barroso 92aa692879 Fixing javadocs for snippet plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577743 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 13:39:10 +00:00
Musachy Barroso b66d3bd2a9 Remove break lines from javadoc
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577738 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 13:32:20 +00:00
Donald J. Brown 7b781ce56d Updating docs on plugin api points WW-1715
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577733 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 13:10:00 +00:00
Donald J. Brown cbdf6f296c Changes necessary for XWork 2.1:
* New EL abstraction to allow ONGL to be replaced
 * Got rid of static factories and state, in favor of dep injection
 * New plugin API points for the EL abstraction

XW-566 XW-461 XW-561


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@577728 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 12:51:41 +00:00
James Holmes 895682acd0 WW-2181 SessionAware documentation is misleading about unit testing
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@576957 13f79535-47bb-0310-9956-ffa450edef68
2007-09-18 15:53:17 +00:00
James Holmes 415377c10f WW-2183 XSLT result type is extremely slow for actions that produce a large xml document
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@575841 13f79535-47bb-0310-9956-ffa450edef68
2007-09-15 01:05:56 +00:00
Nils-Helge Garli d09da593eb WW-2164 Action was not added if namespace was blank
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@574163 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 08:03:42 +00:00
Philip Luppens 6d6492b1f0 Fixed class to pass unit test. Don't really like the solution, but for now it should work.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573921 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 22:46:02 +00:00
Philip Luppens c872ba3108 Missed JUnit test in last commit. Still having troubles to get the testcases to run normally. If this commit doesn't solve it, I might need some more time to fix this.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573919 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 22:28:42 +00:00
Philip Luppens 137da15d07 Made some minimal changes to improve the JFreeChart Result:
- chart getter can be specified
- type (png/jpg) can be specified
- throws NPEs if required fields are missing
- added example configuration and Action

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573912 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 21:48:46 +00:00
Donald J. Brown e2b0819538 Adding ability to load templates from classpath, in addition to web context
WW-2146


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573816 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 10:56:10 +00:00
Donald J. Brown ca2fa277d3 Fix handling of empty extension during url creation
WW-2163


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573805 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 09:16:43 +00:00
Donald J. Brown 733fb5e8a2 Make it possible to access actions without an extension
WW-2163


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573790 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 07:07:48 +00:00
Donald J. Brown 802ed18ca4 Fixing test WW-2160
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573609 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 15:21:38 +00:00
Donald J. Brown 26b76a25f1 Turning off static method access in ognl expressions by default
WW-2160


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573606 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 15:18:09 +00:00
Donald J. Brown 1a537ff27c Fixing references to xwork type system
XW-561


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573461 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 05:20:55 +00:00
Donald J. Brown 9cd3aa23a8 Updating classes to match new XWork type conversion API
XW-561


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@573454 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 04:43:05 +00:00
James Holmes 4f342ae935 Fix formatting.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@572866 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 02:56:14 +00:00
James Holmes e5696eff33 FFix typo.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@572865 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 02:43:15 +00:00
James Holmes e6d012a9ae WW-2132 Add support for JSP tag library dynamic attributes
Update JSP version to 2.0 to support the <dynamic-attributes> element.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@572756 13f79535-47bb-0310-9956-ffa450edef68
2007-09-04 17:52:09 +00:00
Donald J. Brown 8c775ce550 Removing the unused struts.configuration.files setting WW-1966
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@572437 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 22:16:49 +00:00
Donald J. Brown 6a4ea41f79 Switched the injection order to favor application scope WW-2125
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@572228 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 03:43:57 +00:00
Donald J. Brown 66bec3e8ab Adding better error message when a Struts tag is used w/o the servlet filter
WW-1969


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@572225 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 03:24:53 +00:00
Donald J. Brown cc48951911 Fixing j5-j6 bug in test WW-2045
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@572219 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 02:45:32 +00:00
Donald J. Brown f72fada5cb Fixed selection of radio item when value is null
WW-2045


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@572216 13f79535-47bb-0310-9956-ffa450edef68
2007-09-03 02:39:34 +00:00
Donald J. Brown 81d5ca327a Adding printing of jar and plugin info
WW-2154


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571991 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 14:33:15 +00:00
Donald J. Brown af781d0079 Fixed xwork pom info, updated for xwork resolver change
WW-1715



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571990 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 14:31:04 +00:00
Donald J. Brown b416c2fbe1 Taking the Struts 1.3.5 jar out of the dependency chain WW-1715
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571958 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 11:39:33 +00:00
Donald J. Brown 501f80d465 Added display of constants and beans
WW-2153


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571945 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 10:49:26 +00:00
Antonio Petrelli b25dc1b3c3 WW-2151
Resolved snapshot dependencies by using the latest released version available, with the exception of Plexus (using 1.0-alpha-10) and XWork (still using SNAPSHOT).

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571941 13f79535-47bb-0310-9956-ffa450edef68
2007-09-02 10:41:16 +00:00
Antonio Petrelli 37d78edf96 WW-2075
Added configuration to "struts-parent".

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571533 13f79535-47bb-0310-9956-ffa450edef68
2007-08-31 18:30:51 +00:00
Musachy Barroso 8c3f7952dd WW-2136 Missing tag TextArea on dojo plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571254 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 17:45:48 +00:00
Musachy Barroso e601d02be6 WW-2136 Missing tag TextArea on dojo plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571253 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 17:45:40 +00:00
Musachy Barroso 19efe8ff3a WW-2136 Missing tag TextArea on dojo plugin
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571252 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 17:45:21 +00:00
Musachy Barroso 6fd66f2695 WW-2077 Change parseWidgets to false in djConfig inside head FTL .Should be false for better performance!
* Remove ids from some widgets to make easier the testing of this improvement

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@571239 13f79535-47bb-0310-9956-ffa450edef68
2007-08-30 16:48:51 +00:00
Antonio Petrelli 786a94f35e WW-2049
Re-added the license header in a correct way, because i removed by mistake an important line.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@570699 13f79535-47bb-0310-9956-ffa450edef68
2007-08-29 08:44:02 +00:00
James Holmes c23822d31b WW-2142 input streams need to be explicitly closed
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@570518 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 18:26:48 +00:00
James Holmes 369b22af7b WW-2132 Add support for JSP tag library dynamic attributes
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@570496 13f79535-47bb-0310-9956-ffa450edef68
2007-08-28 17:38:36 +00:00
Donald J. Brown ce3042977f Fixing bad javadoc comment
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@570056 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 09:42:54 +00:00
Musachy Barroso c082194bd4 Update tag reference doc
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@569864 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 19:18:42 +00:00
Musachy Barroso add167aefd WW-2077 Change parseWidgets to false in djConfig inside head FTL .Should be false for better performance!
* Now there is a new property "parseContent" in the "head" tag, which is set to "false" by default. If set to true, Dojo will scan the whole document looking for widgets.

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@569863 13f79535-47bb-0310-9956-ffa450edef68
2007-08-26 19:18:15 +00:00
Musachy Barroso 168bf5e8ab Fix URL in tree examples
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@569582 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 23:58:27 +00:00
Musachy Barroso e977b5a63e WW-2134 Upgrade Dojo from 0.4.2 to 0.4.3 to address possible XSS Issues
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@569576 13f79535-47bb-0310-9956-ffa450edef68
2007-08-24 23:47:20 +00:00
James Holmes fb57ae14cd Revert upgrade from OGNL 2.6.11 to 2.7. There were compilation issues in the Struts 1 plugin due to differences in one of the OGNL interfaces that the Struts 1 plugin uses for accessing DynaBean properties.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@568984 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 13:39:58 +00:00
James Holmes 6cd8b820fb WW-2128 Upgrade to OGNL 2.7
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@568734 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 19:28:42 +00:00
Musachy Barroso 217c43f21c Fix spelling error
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@568318 13f79535-47bb-0310-9956-ffa450edef68
2007-08-21 23:07:00 +00:00
James Holmes ce80410c58 WW-2015 url tag, method attribute not evaluating expressions (ognl)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@566729 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 14:32:47 +00:00
James Holmes 55ea2ea1d9 WW-1977 Struts throws stack trace instead of 404 when an action doesn't exist
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@566475 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 02:57:03 +00:00
James Holmes ccc7b7471c WW-2104 Add default dispatcher constant
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@566443 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 00:38:19 +00:00
James Holmes e0a606e2b7 WW-2115 Add Portuguese translation of struts-messages.properties
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@566418 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 23:59:51 +00:00