Commit Graph

249 Commits

Author SHA1 Message Date
Donald J. Brown 654ade729c Moving tiles into its own plugin
WW-1457


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@451138 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 06:01:40 +00:00
Donald J. Brown f41b6e5994 Updated tiles dependency to 2.0-snapshot, added support for tiles and freemarker integration
WW-1418 WW-1450


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@451137 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 05:53:44 +00:00
Donald J. Brown 27061b2d33 Moved plexus into its own plugin
WW-1457


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@450490 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 16:05:05 +00:00
Donald J. Brown 3d56756ccc Moving portlet config file back into core
WW-1457


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@450366 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 07:39:31 +00:00
Donald J. Brown 93c092de04 Creating sitemesh plugin
WW-1457


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@450363 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 07:31:21 +00:00
Donald J. Brown ee434f5c6f Backing out the portlet plugin due to a couple of component deps I missed :/
WW-1457


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@450359 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 07:20:07 +00:00
Donald J. Brown 2539ef98f8 Moved the portlet code into its own plugin
WW-1457


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@450355 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 06:58:24 +00:00
Donald J. Brown 712c968a42 Moved the config-browser into its own plugin, fixed a minor bug in a template
WW-1457


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@450346 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 06:36:30 +00:00
Donald J. Brown 8df55aefc2 Moving the JSF code into its own plugin, minor improvement to struts 1 config
WW-1457


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@450338 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 06:19:05 +00:00
Donald J. Brown 875b87cfd5 First cut at a simple plugin framework. The config files are loaded in the following order:
struts-default.xml, struts-plugin.xml, struts.xml, xwork.xml.  This allows plugins to define
a config file that uses core interceptors, but make their results, interceptors, etc available
to application configurations.  The extras and integration modules have been decomposed into their
own plugins.
WW-1457


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@450330 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 05:59:22 +00:00
Donald J. Brown 32207e8b65 Making the list of struts config files configurable
WW-1456


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@450297 13f79535-47bb-0310-9956-ffa450edef68
2006-09-27 03:19:54 +00:00
Donald J. Brown dbbc1cd9cf Fixed several url building issues dealing with relative paths - omitted forward slash
and support for Servlet 2.4 forwarding behaviors
Patch provided by Erik Pilz
WW-1302 WW-1301


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@449915 13f79535-47bb-0310-9956-ffa450edef68
2006-09-26 05:48:00 +00:00
Ted Nathan Husted 3d0520b924 Add links to various API docs to core site.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@449472 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 19:59:55 +00:00
Ted Nathan Husted 2398426d38 WW-1349 Update POM versions for next iteration (2.0.1)
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@449470 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 19:56:59 +00:00
Donald J. Brown 887e595870 Fixed test
WW-1349


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@449371 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 06:59:07 +00:00
Donald J. Brown f6661ab957 Reformatting default action mapper
WW-1349


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@449368 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 06:50:57 +00:00
Donald J. Brown 3f911c05b1 Modified the process of getting the configuration so that it would only look for unmodified
files once per request, and not for static resources.  The problem arose when I modified
the ActionMapper to take into consideration when determining the action mapping (allows
action names with slashes).  The Configuration was being checked before it determined if
the request was for a static file or not.

WW-493


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@449367 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 06:49:04 +00:00
Donald J. Brown 0714355003 Renaming the xml configuration provider to match the xwork one (not sure why I named it different
to start with...)
WW-1349


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@449363 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 05:50:01 +00:00
Donald J. Brown 35d72ddd31 Moving the scoped model driven interceptor over to xwork, adding interceptor to default
stack
WW-1452


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@449359 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 04:46:40 +00:00
Donald J. Brown 71101b27d1 Adds a legacy library to support Struts 1.3 Actions and ActionForms as is running in Struts
WW-1452


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@449344 13f79535-47bb-0310-9956-ffa450edef68
2006-09-24 02:27:41 +00:00
Toby Jee 7c743dbde9 WW-1449
Select Component does not preselect header




git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@447901 13f79535-47bb-0310-9956-ffa450edef68
2006-09-19 16:36:02 +00:00
Toby Jee c6a00902aa WW-1448
- SessionAware Session map clear() method not functioning correctly
  - added statement to nullify entries member variable, such that entrySet will not used invalid entries after clear() is called
  - use a better way to remove session attribute in clear() method.
  



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@446903 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 17:33:39 +00:00
Toby Jee 056ce629ca WW-1448
-  SessionAware Session map clear() method not functioning correctly



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@446876 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 13:57:43 +00:00
Toby Jee c26f35d4a7 WW-1349
- fixed failing test due to refactoring (removed deprecated setLabelPosition method)



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@446875 13f79535-47bb-0310-9956-ffa450edef68
2006-09-16 13:49:55 +00:00
Donald J. Brown 685a38d601 Remove the deprecated view tag attributes 'labelPosition' (all UI tags) and 'show' (password tag)
WW-1447


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@443205 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 03:17:51 +00:00
Donald J. Brown bf19765045 Removing the compiling classloader
WW-1446


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@443203 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 02:58:59 +00:00
Rainer Hermanns d5b0a680d2 doubleselect.ftl formats long numbers with commas
o backport from WW 2.2.4

Issue Number: WW-1445

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442953 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 11:47:19 +00:00
Rainer Hermanns b9964b9e86 OptionTransferSelect: attribute doubleDisabled does not work
o backport from WW 2.2.4

Issue Number: WW-1444

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442950 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 11:42:17 +00:00
Rainer Hermanns b21dbe75d3 ScopeInterceptor caches key in instance variable
o backport from WW 2.2.4

Issue Number: WW-1443

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442948 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 11:38:07 +00:00
Rainer Hermanns aa6492ef8a URL Tag includeParams default attribute value should be configurable
o backport from WW 2.2.4

Issue Number: WW-1442

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442946 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 11:35:29 +00:00
Rainer Hermanns a091eab487 ListTags do not allow evaluation of listValue from ValueStack
o backport from WW 2.2.3/2.2.4

Issue Number: WW-1441

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442944 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 11:26:36 +00:00
Rainer Hermanns ba1b094eb3 The Jsr168Dispatcher does not initialize the DispatcherUtils
o backport from WW 2.2.3/2.2.4

Issue Number: WW-1440

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442942 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 11:17:23 +00:00
Rainer Hermanns ad5ed9d9c1 Better error reporting for errornous list tags
o backport from WW 2.2.3/2.2.4

Issue Number: WW-1439

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442939 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 11:06:55 +00:00
Rainer Hermanns 433d83ac15 ww:param not functioning when used with ww:include
o added comment about accessibilty of additional params within the rendered page
o backport from WW 2.2.3

Issue Number: WW-1349

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442938 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 10:58:49 +00:00
Rainer Hermanns 3f075f787e readonly attribute on ww:textfield does not behave as a boolean
o backport from WW 2.2.3
o problem also fixed in other templates

Issue Number: WW-1436

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442936 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 10:49:45 +00:00
Rainer Hermanns 7d394fb2ee Debug tag does not render id attribute correctly
o backport from WW 2.2.3

Issue Number: WW-1438

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442935 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 10:47:10 +00:00
Rainer Hermanns 5452b14eff ww:head tag includes parameters in URLs to stylesheets
o includeParams="none" missing in other templates as well
o backport from WW 2.2.3

Issue Number: WW-1380

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442926 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 10:15:40 +00:00
Rainer Hermanns 6894171529 radiomap.ftl formats long numbers with commas
o backport from WW 2.2.3

Issue Number: WW-1437

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442923 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 09:59:33 +00:00
Rainer Hermanns 956eacca72 radiomap.ftl formats long numbers with commas
o backport from WW 2.2.3

Issue Number: WW-1437

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442921 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 09:58:27 +00:00
Rainer Hermanns 06a424ea7a readonly attribute on ww:textfield does not behave as a boolean
o backport from WW 2.2.3
o problem also fixed in other templates

Issue Number: WW-1436

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442920 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 09:49:45 +00:00
Rainer Hermanns 65ebd4c45b Updated easymock dependency
o changed groupid: easymock -> org.easymock
o commented easymockclassextensions 1.1

Issue Number: WW-1349

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442904 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 08:53:15 +00:00
Rainer Hermanns 3432ab2a85 Portlet sample application doesn't work
o patches applied

Issue Number: WW-1407

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442897 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 08:43:37 +00:00
Donald J. Brown a458e7e50f Fix wrong regex validation for form close template
WW-1419


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442823 13f79535-47bb-0310-9956-ffa450edef68
2006-09-13 03:43:44 +00:00
Martin Cooper e3ea20d3b1 Update Commons FileUpload version to 1.1.1 so that we pick up the latest bug fixes.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442444 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 04:21:56 +00:00
Ted Nathan Husted b79c7912b2 WW-992 Add snippets to Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442397 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 00:18:13 +00:00
Donald J. Brown 2366820a2a Forgot to add the actual checkbox interceptor :)
WW-992


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442105 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 05:36:37 +00:00
Donald J. Brown cec0cbf9cc Adding missing fileupload dep for showcase, added checkbox interceptor to proper stacks
WW-1349 WW-992


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442097 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 04:47:47 +00:00
Donald J. Brown 046059e618 Added automatic checkbox handling code that detect an unchecked checkbox and
add it as a parameter with a default (usually 'false') value.  Uses a specially
named hidden field to detect unsubmitted checkboxes.  The default unchecked value
is overridable for non-boolean value'd checkboxes. Minor source formatting and cleaned
out an empty directory.

WW-992 WW-1372 WW-1349


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@442085 13f79535-47bb-0310-9956-ffa450edef68
2006-09-11 04:03:24 +00:00
Donald J. Brown c568becb8d Added aggregated Javadoc generation, optionally includes checked out xwork sources
WW-1395


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@441917 13f79535-47bb-0310-9956-ffa450edef68
2006-09-10 06:11:08 +00:00
Donald J. Brown 7a0a6d5801 Extracted the oscore dependency, enabled multiple struts config files of the same name
to be automatically loaded, made the JSF interceptors more quiet when JSF isn't
around
XW-414 XW-413 WW-1424


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@441909 13f79535-47bb-0310-9956-ffa450edef68
2006-09-10 05:28:16 +00:00