Commit Graph

1056 Commits

Author SHA1 Message Date
Ted Nathan Husted 591347a498 Tag r491439 as Struts 2.0.2
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/tags/STRUTS_2_0_2@491440 13f79535-47bb-0310-9956-ffa450edef68
STRUTS_2_0_2
2006-12-31 16:12:20 +00:00
Ted Nathan Husted ed450a698a WW-1483 Update POM versions for Struts 2.0.2 release. Update feature list.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491439 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 16:10:19 +00:00
Donald J. Brown 7767a80a3b Added better handling of json arrays for IE
WW-1583


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491394 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 06:00:44 +00:00
Donald J. Brown 598610ac61 Created concept of a tag library that ties together freemarker and velocity tags, made it possible
for plugins to provide new tag libraries, fixed form component to have object factory injected rather
than relying on threadlocal instance

WW-1584 WW-1580


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491393 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 05:53:21 +00:00
Ted Nathan Husted e2f4379755 WW-1579 "DropdownDateTimePicker is not loading value from property." Apply patch submitted by Musachy Barroso.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491377 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 03:32:03 +00:00
Ted Nathan Husted 0bf19bda92 WW-1483 Update dependency to XWork 2 RC 1.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491376 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 03:30:43 +00:00
Donald J. Brown ec79340cf2 Fixing so that beans created by the object factory will be injected via Guice. Apparently,
when you pass Guice your own factory, the created object won't be injected, as the default
InternalFactory is what creates and injects the object.
WW-1582


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491350 13f79535-47bb-0310-9956-ffa450edef68
2006-12-31 00:06:00 +00:00
Donald J. Brown 31087cba6f Minor Javadoc snippet fix
WW-1483


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491156 13f79535-47bb-0310-9956-ffa450edef68
2006-12-30 02:51:48 +00:00
Donald J. Brown 915800a4b9 Fixing Javadoc for snippets
WW-1483


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491154 13f79535-47bb-0310-9956-ffa450edef68
2006-12-30 02:46:05 +00:00
Donald J. Brown 5c2539f1cb Fixing borked unit tests (bad programmer!), made sitegraph executable,
moved over sitegraph's docs to the plugin
WW-1483


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491111 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 21:43:24 +00:00
Donald J. Brown 6e070df2f9 Removing quickstart plugin from infrastructure
WW-1524


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491067 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 18:06:29 +00:00
Donald J. Brown e8d53af627 Removing quickstart as the jetty plugin superseeds this
WW-1524


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@491065 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 18:03:58 +00:00
Wendy Smoak 42bc64b5af Upgrade the example apps to Spring 2 by removing the Spring 1.2.8 dependencies from the struts2-apps parent pom. If the example app uses the struts2-spring-plugin, it will get its Spring 2 dependencies transitively.
WW-1483

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490906 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 01:20:08 +00:00
Donald J. Brown 0624de26c5 Added doubleSize output for the double select tag
WW-1574


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490624 13f79535-47bb-0310-9956-ffa450edef68
2006-12-28 01:33:39 +00:00
Donald J. Brown 1e0f59ee62 Fixed the option transfer select not submitting contents
WW-1559


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490623 13f79535-47bb-0310-9956-ffa450edef68
2006-12-28 01:29:46 +00:00
Donald J. Brown 5f833d9cd7 Fix the redirect predirect prefix in the default action mapper
WW-1571


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490622 13f79535-47bb-0310-9956-ffa450edef68
2006-12-28 00:55:27 +00:00
Ted Nathan Husted 487725cdc2 WW-1573- Handling of If-Modified-Since header for static content - Apply patch submitted by Dariusz Wojtas.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490615 13f79535-47bb-0310-9956-ffa450edef68
2006-12-28 00:36:38 +00:00
Ted Nathan Husted 922ec29ab1 WW-1562 Apply patch submitted by Musachy Barros. Fixed on this patch:
* Added "loadOnTextChange"
* Added "loadMinimumCout"
* selected values are loaded if page is loaded again
* added "showDownArrow"


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490569 13f79535-47bb-0310-9956-ffa450edef68
2006-12-27 21:26:44 +00:00
David H. DeWolf f44b10c797 WW-1575 Allowing Result parameters to be set on auto config actions
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490514 13f79535-47bb-0310-9956-ffa450edef68
2006-12-27 15:25:48 +00:00
Ted Nathan Husted 54b04aef9f WW-1558 Update link and redirect; remove WW folder from server.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490297 13f79535-47bb-0310-9956-ffa450edef68
2006-12-26 13:42:48 +00:00
Ted Nathan Husted 0cce2dd389 WW-1538 Add a "workaround" test to Action Prefix example, in furtherance of WW-1571. Add remaining problem items to sandbox area. Add note about scope of Showcase to home page with links to Cookbook docs and MailReader app.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490278 13f79535-47bb-0310-9956-ffa450edef68
2006-12-26 10:35:18 +00:00
Ted Nathan Husted 52c6bb6106 WW-1538 Organize home page. Add Sandbox section.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490096 13f79535-47bb-0310-9956-ffa450edef68
2006-12-25 02:32:18 +00:00
Ted Nathan Husted 6d75c34f45 WW-1554 Apply Dojo topic notification patches submitted by Musachy Barroso. Includes fixes for Dojo 0.4.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490079 13f79535-47bb-0310-9956-ffa450edef68
2006-12-24 22:46:07 +00:00
Ted Nathan Husted eed67bd11e WW-1538 Clarify storeErrorsAcrossRequestExample
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@490057 13f79535-47bb-0310-9956-ffa450edef68
2006-12-24 18:46:35 +00:00
David H. DeWolf 731d3df41c Updating tiles plugin to use most recent tiles snapshot
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@488747 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 18:07:22 +00:00
Ted Nathan Husted c578339925 WW-1565 Update Spring Plugin POM to 2.0.1
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@488241 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 11:43:11 +00:00
Ted Nathan Husted 2a34f6bf5f WW-1522 Automatic Alias ActionConfigs - Comment out call from FilterDispatcher so product will build. Apparently, we need to do something to appease the dependency injection, but I don't understand Guice well enough to know what we need to do.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@488239 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 11:40:21 +00:00
Ted Nathan Husted 5794840b1b WW-1522 Automatic Alias ActionConfigs - Initial unit tests are passing, but when integrating the provider into the runime code, an exception is thrown.
com.opensymphony.xwork2.inject.DependencyException: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=org.apache.struts2.dispatcher.mapper.ActionMapper, name='default'] in public static void org.apache.struts2.dispatcher.FilterDispatcher.setActionMapper(org.apache.struts2.dispatcher.mapper.ActionMapper).
	at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:135)
	at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMethods(ContainerImpl.java:104)
	at com.opensymphony.xwork2.inject.ContainerImpl.injectStatics(ContainerImpl.java:89)
	at com.opensymphony.xwork2.inject.ContainerBuilder.create(ContainerBuilder.java:494)
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:140)
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:52)
	at org.apache.struts2.dispatcher.Dispatcher.init_MethodConfigurationProvider(Dispatcher.java:347)
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:421)
	at org.apache.struts2.config.MethodConfigurationProviderTest.setUp(MethodConfigurationProviderTest.java:68)
	at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Caused by: com.opensymphony.xwork2.inject.ContainerImpl$MissingDependencyException: No mapping found for dependency [type=org.apache.struts2.dispatcher.mapper.ActionMapper, name='default'] in public static void org.apache.struts2.dispatcher.FilterDispatcher.setActionMapper(org.apache.struts2.dispatcher.mapper.ActionMapper).
	at com.opensymphony.xwork2.inject.ContainerImpl.createParameterInjector(ContainerImpl.java:217)
	at com.opensymphony.xwork2.inject.ContainerImpl.getParametersInjectors(ContainerImpl.java:207)
	at com.opensymphony.xwork2.inject.ContainerImpl$MethodInjector.<init>(ContainerImpl.java:260)
	at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:108)
	at com.opensymphony.xwork2.inject.ContainerImpl$3.create(ContainerImpl.java:106)
	at com.opensymphony.xwork2.inject.ContainerImpl.addInjectorsForMembers(ContainerImpl.java:132)
	... 26 more


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@488116 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 04:16:56 +00:00
Donald J. Brown 974c24dff0 Better handle when querystring is null for some containers
WW-1563

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@487866 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 19:35:55 +00:00
Donald J. Brown d81cb6ef03 Cnanging Struts to depend on xwork 2.0-rc1-snapshot
WW-1483


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@487008 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 06:45:36 +00:00
Donald J. Brown 6312b26c11 Moved continuations support into a new plugin
WW-1548 XW-453


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@486508 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 06:19:43 +00:00
Wendy Smoak b213d155e3 Use the latest released struts-master pom.
Remove the distribution management repository as it is inherited from struts-master.
Disable releases on the snapshot repository as releases are staged elsewhere.
WW-1483

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@486478 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 03:19:26 +00:00
Donald J. Brown 9b7271c1eb Fixed token examples
WW-1538


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@484899 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 03:02:39 +00:00
Donald J. Brown b908944b64 Fixed the filter test, ensured the portlet dispatcher cleans up after itself
WW-1544


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@484741 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 20:22:37 +00:00
Donald J. Brown 7897458734 Tied object factory instance to dispatcher instance
WW-1544


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@484733 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 20:16:16 +00:00
Donald J. Brown 3d10e04609 Moving xwork dep to snapshot, since rc1 will be rolled tomorrow
WW-1483


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@484718 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 19:58:24 +00:00
Donald J. Brown 42ce8be696 Fixed submit unit tests, file upload test, date picker test, improved
dispatcher cleanup
WW-1538 WW-1544


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@484717 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 19:57:59 +00:00
Donald J. Brown 8b9df9de30 Fixed max file size in file upload to actually limit files
WW-1549


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@484695 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 18:38:58 +00:00
David H. DeWolf 973323b260 Adding license to new class
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@484628 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 15:03:59 +00:00
David H. DeWolf fe26e6fba1 Providing a mechanism which allows only portions of the action to be exposed/converted to XML by the XSLT result
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@484626 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 15:02:24 +00:00
Donald J. Brown b9a0512481 Fixed ajax submit button to include control headers/footers
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483888 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 08:53:35 +00:00
Donald J. Brown 50002a9007 Fixed formatting of if tag test
WW-1538


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483885 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 08:40:36 +00:00
Donald J. Brown 9141c01235 Fixed mis-loading of result types
WW-1538


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483883 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 08:36:25 +00:00
Donald J. Brown 396b08a021 Fixed velocity favourite spelling
WW-1538


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483878 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 08:23:19 +00:00
Donald J. Brown 3f7877f1ba Fixed favourite color with different spellings, exposed uploaded file
WW-1538


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483877 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 08:22:32 +00:00
Donald J. Brown 11b8f99378 Fixed datepicker missing control headers and footers in xhtml theme
WW-1538


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483876 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 08:21:50 +00:00
Donald J. Brown 0d27bf064b Updating for new initialization of continuations (still broken though)
WW-1548


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483873 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 08:02:55 +00:00
Donald J. Brown de8c649f83 Moving sitemesh decorator over to sitemesh plugin, changing debug interceptor to only store stack in
session when first invoked, documentation updates to code behind plugin
WW-1546 WW-1483


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483839 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 05:52:10 +00:00
Rainer Hermanns 17aaf3cb1e Showcase Examples Broken
o fixed wrong image link in help page

Issue Number: WW-1538

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483267 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 22:37:53 +00:00
Rainer Hermanns de438f5cc5 Showcase Examples Broken
o adding velocity deps to fix velocity samples (ui-tags)

Issue Number: WW-1538

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483265 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 22:23:25 +00:00