Commit Graph

100 Commits

Author SHA1 Message Date
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
Toby Jee 24371275ac - corrected snippet that uses velocity wrongly
git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@414256 13f79535-47bb-0310-9956-ffa450edef68
2006-06-14 14:00:54 +00:00
Toby Jee e479690567 - added javadoc & snippet to reflect the fact that if JSP template is
being used, it should resides in the webapp not the classpath as JSP
is not capable of being picked up from classpath unlike Freemarker or
Velocity

 see http://forums.opensymphony.com/thread.jspa?threadID=33869&tstart=0



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@414249 13f79535-47bb-0310-9956-ffa450edef68
2006-06-14 13:48:08 +00:00
Donald J. Brown 37ca6bdf11 Removing debug tag, as it is currently broken and the debug console does
the same thing basically
WW-497


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@414078 13f79535-47bb-0310-9956-ffa450edef68
2006-06-14 05:22:07 +00:00
Patrick Lightbody 9ececacf63 passing test (last time, i swear)
git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@413989 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 22:07:10 +00:00
Patrick Lightbody 34edfc0285 one more failure test
git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@413987 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 22:05:57 +00:00
Patrick Lightbody 972d9411cb fixing test back (done with test)
git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@413983 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 21:50:53 +00:00
Patrick Lightbody 910af4124e testing CI server
git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@413982 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 21:45:39 +00:00
Donald J. Brown b867b18b7c Added a wildcard example to showcase, fixed showcase config with new
resources layout, added display of struts classes in debug mode, minor
formatting


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@413555 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 00:31:36 +00:00
Donald J. Brown 88b19c0697 Adding support for arbitrary exceptions, including showing snippets of
the problematic Java code if source is available


git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@413388 13f79535-47bb-0310-9956-ffa450edef68
2006-06-10 23:50:15 +00:00
Toby Jee f77a41635f WW-1338
- <saf:div ..> tag should be able to not auto start and depend
    make remote connection only when a topic of interest is received



git-svn-id: https://svn.apache.org/repos/asf/struts/action2/trunk@413351 13f79535-47bb-0310-9956-ffa450edef68
2006-06-10 18:50:10 +00:00
Wendy Smoak 5acc1f5e1c Marked the MyFaces dependency 'optional' (and tabs -> spaces).
Removed a duplicate JSP API dependency.

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