Commit Graph

111 Commits

Author SHA1 Message Date
Toby Jee 9e54fcf6af WW-1340
- added test case missing from Struts2 but is in WW



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420931 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 17:24:24 +00:00
Toby Jee 93e4f4be76 WW-1377
- readonly attribute ignore boolean value



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420930 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 17:19:06 +00:00
Donald J. Brown 3b493cd8da Improving JSF navigation to fail over to configured handler if Struts
result cannot be located
WW-1358


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420703 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 04:08:40 +00:00
Donald J. Brown eacc9f32d3 Fixing mistaken OS copyright
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420693 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 03:36:33 +00:00
Donald J. Brown 275c4378e5 Changed RuntimeExceptions to new StrutsException. Still too many places that
catch Exception and just log the error, but this is a start.
WW-335


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420690 13f79535-47bb-0310-9956-ffa450edef68
2006-07-11 03:34:11 +00:00
Donald J. Brown d1711fc543 Merging in my original DTD changes (thanks Toby)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420556 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 15:02:28 +00:00
Toby Jee 6efd4e1fc0 WW-1376
- updated snippet



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420542 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 14:31:16 +00:00
Toby Jee 764c8fb777 WW-1367
- added struts-2.0.dtd to make Struts2 work. 
  - without this DomHelper will not be able to read dtd and validate the
    xml plus the live dtd is not available yet



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420541 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 14:30:18 +00:00
Donald J. Brown 9a28adef67 Fixed a few more instances of xwork.xml to struts.xml and found a couple of
class name changes
WW-1367


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420427 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 05:16:25 +00:00
Donald J. Brown 81d16062ed Changing xwork.xml configuration files to struts.xml
WW-1376


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420410 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 03:33:56 +00:00
Donald J. Brown 56b589c842 Changing xwork package from com.opensymphony.xwork to
com.opensymphony.xwork2, adding rife as optional
XW-399


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420385 13f79535-47bb-0310-9956-ffa450edef68
2006-07-10 00:57:05 +00:00
Toby Jee 08d3cc11e3 WW-1317
- added test case that is being added to WW but is not in Struts2



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420279 13f79535-47bb-0310-9956-ffa450edef68
2006-07-09 11:30:14 +00:00
Toby Jee 4435cf1cea WW-1304
- removed uncessary commet
  - corrected some typo (xhtml should instead be css_xhtml)



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@420271 13f79535-47bb-0310-9956-ffa450edef68
2006-07-09 09:31:54 +00:00
Toby Jee 92dc23f329 WW-1364
- updated taglib due do addtion of optgroup tag


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@419955 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 18:52:47 +00:00
Toby Jee 1d67125f78 WW-1364
- add optgroup tag 



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@419952 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 18:48:16 +00:00
Donald J. Brown c7edf49567 Fixing a few more webwork renamings
WW-1344


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@419812 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 05:43:56 +00:00
Donald J. Brown 66425cbdb0 Removing the deprecated FreemarkerServlet
WW-1374


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@419809 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 05:27:22 +00:00
Donald J. Brown 64567532dc Removing duplicate regex validator, now that it has been removed from XWork
WW-1288


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@419804 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 05:01:19 +00:00
Donald J. Brown 0e667557ef Remove deprecated ServletDispatcher
WW-1373


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@419803 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 04:49:13 +00:00
Donald J. Brown 2e6e265ff5 Finishing Struts Action -> Struts renamings
WW-1367


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@419794 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 04:20:06 +00:00
Donald J. Brown 689fdc0cbd Cleanups and more renaming changes
WW-1367


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@419790 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 03:46:00 +00:00
Patrick Lightbody bec03984fc needs to be in the compile scope now that StrutsTestCase depends on spring mock
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@419254 13f79535-47bb-0310-9956-ffa450edef68
2006-07-05 15:32:15 +00:00
Donald J. Brown 4044b2cf79 Changing dispatcher to load both struts.xml and xwork.xml configuration
files
WW-1370


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@418878 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 23:52:57 +00:00
Donald J. Brown 4d7ba96ff4 Changed DispatcherUtils from being a singleton to be loaded per
filter/servlet, fixed a few minor renaming things
WW-1369


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@418872 13f79535-47bb-0310-9956-ffa450edef68
2006-07-03 23:29:21 +00:00
Toby Jee 77271aff62 WW-1366
- changes in taglib.tld due to adding additional "accesskey" html
    attribute to ui components



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@418613 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 16:03:08 +00:00
Toby Jee 041009135e WW-1366
- added "accesskey" attribute to ui components



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@418579 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 11:35:00 +00:00
Toby Jee d6bf0e4906 WW-1368
- theme.properties now read from filesystem, if this fails it will try
    to read from the classpath



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@418563 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 08:41:25 +00:00
Donald J. Brown d48e98c804 Fixing site links
WW-1367


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@418546 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 03:25:39 +00:00
Donald J. Brown 989fae9e17 Trying putting struts2 in the artifact id rather than the group id. This
works better when having maven generate IDE projects so that they don't
conflict with Struts 1 artifacts.  Also fixed up a few other poms.

WW-1367


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@418532 13f79535-47bb-0310-9956-ffa450edef68
2006-07-02 00:16:06 +00:00
Donald J. Brown 2b8e02d97d Renaming org.apache.struts.action2 to org.apache.struts2
WW-1367


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@418521 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 23:36:50 +00:00
Toby Jee d999521374 WW-1340
- added more javadoc to some of the methods



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@417452 13f79535-47bb-0310-9956-ffa450edef68
2006-06-27 13:27:15 +00:00
Toby Jee d5d8d9c755 - WW-1362
- make topic publish contains the source html id attribute value as
    the argument



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@417226 13f79535-47bb-0310-9956-ffa450edef68
2006-06-26 16:29:43 +00:00
Donald J. Brown 1b8089e90b Remove usage of AroundInterceptor as it has been removed from XWork 2.0
XW-1360


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@416567 13f79535-47bb-0310-9956-ffa450edef68
2006-06-23 04:59:05 +00:00
Donald J. Brown 7f906dccc6 Fixing JSF spec compliance, ensuring phase listeners called after every phase, minor formatting
WW-1357


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415877 13f79535-47bb-0310-9956-ffa450edef68
2006-06-21 02:52:25 +00:00
Toby Jee 8a851565df WW-1356
- updated javadoc to indicate the availability of RequestAware that an
    action could implements if it wishes to have access to Request
atrributes as Map




git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415149 13f79535-47bb-0310-9956-ffa450edef68
2006-06-18 15:25:51 +00:00
Toby Jee 4587209b72 WW-1356
- added RequestAware capability to action. 



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415148 13f79535-47bb-0310-9956-ffa450edef68
2006-06-18 15:23:20 +00:00
Toby Jee 45561f948b WW-1355
- make method not exposed to other classes protected instead of public



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415143 13f79535-47bb-0310-9956-ffa450edef68
2006-06-18 14:39:56 +00:00
Toby Jee 2dbc2367a7 WW-1340
- corrected some mistake in javadoc, it should be <saf:form
    action="myActionAlias"...> instead of <saf:form name="myActionAlias"
...>



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415094 13f79535-47bb-0310-9956-ffa450edef68
2006-06-18 05:37:19 +00:00
Donald J. Brown de66289b1f Fixing stack in portlet mode so action always on top, removing IoC intercepter stack
Portlet patch provided by Nils-Helge Garli

WW-1313 WW-1286 WW-1342


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415054 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 20:12:40 +00:00
Donald J. Brown 3b4e9e9281 Removing XWork IoC references, adding missing jsf showcase index page
WW-1342 WW-1320


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415052 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 19:59:52 +00:00
Donald J. Brown 1fc039da97 Changing request encoding to apply to file uploads, allowing zero-sized
file uploads

WW-1324


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415047 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 19:20:52 +00:00
Donald J. Brown a72ed71742 Fixing potential recurision problem with ActionContext cleanup in
Weblogic.  Patch provided by Pete Matern

WW-1335


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415046 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 19:14:09 +00:00
Donald J. Brown b74684b114 Adding the ability to use a role-hint in the plexus configuration
Patch provided by Emmanuel Venisse

WW-1329


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415045 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 19:02:02 +00:00
Toby Jee 608a16cb54 WW-1319
- added up/down buttons on both side of the select tag, allow item to
   be crossed transfered as well as being moved up and down in its
containing select tag.
 



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@415023 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 12:26:03 +00:00
Donald J. Brown cca8856326 Made JSF interceptors able to be included in non-jsf actions/apps;
improved JSF example in showcase to allow adding of employees, better
page layout, match other similar examples, add simple validation, add
jsf example link to main page

WW-1320
-


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@414999 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 05:51:12 +00:00
Toby Jee a0614954f4 WW-1304
- refactor some of the bits in ajax theme (submit-ajax.ftl) that uses
   <td>..<td>  etc to xhtml's controlheader.ftl where it should really
be as xhtml uses <td>...<td> to arrange its components



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@414969 13f79535-47bb-0310-9956-ffa450edef68
2006-06-17 00:24:41 +00:00
Toby Jee 6bdc2030ef WW-1340
- updated javadoc to correct ambiguities pointed out by Jennifer (see
  http://forums.opensymphony.com/thread.jspa?threadID=33869&tstart=0)
- updated javadoc to separate out Freemarker and JSP
  usage.



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@414772 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 07:53:20 +00:00
Donald J. Brown a31a4885ff Fixing build errors (doh!)
WW-497


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@414328 13f79535-47bb-0310-9956-ffa450edef68
2006-06-14 18:09:15 +00:00
Toby Jee 2338080b19 WW-1293
- while altering tree.ftl to avoid possiblity of id attribute being
   printed twice, some test case failed.
 - just a minor reordering, tilte attribute comes first then id instead
   of previously where id comes first followed by title attribute



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@414299 13f79535-47bb-0310-9956-ffa450edef68
2006-06-14 15:43:39 +00:00
Toby Jee f51307bb85 WW-1293
- improved javadoc / snippet by having more description and more
   example (static tree and dynamic tree)
 - corrected some mistake in javadoc
 - altered tree.ftl to avoid the possibility of id attribute to be printed twice



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@414297 13f79535-47bb-0310-9956-ffa450edef68
2006-06-14 15:38:38 +00:00