Commit Graph

413 Commits

Author SHA1 Message Date
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 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 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 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
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 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 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
David H. DeWolf 34ab74e95f WW-1545; Preventing null pointer from log message
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483237 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 21:22:08 +00:00
Rainer Hermanns 1f74fdee12 URL tag: webapp root repeats when path saved to local variable
o fixed AutoCompleter samples
o added some javadocs about correct href usage
o changed AutoCompleter href to static value instead of a processed one

Issue Number: WW-1537

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483215 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 20:40:24 +00:00
Rainer Hermanns 8b475fe2a4 URL tag: webapp root repeats when path saved to local variable
o fixed samples in showcase: replaced static hrefs attribute values with ids from url tag
o some tag fixed (removed duplicate theme attributes)
o fixed minor html errors

Issue Number: WW-1537

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483207 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 20:09:04 +00:00
Rainer Hermanns e4b27798fe struts-messages_de.properties
o optimized german translation

Issue Number: WW-1483

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483192 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 19:36:19 +00:00
Rainer Hermanns f27c53cb97 Polish version of struts-messages.properties
Issue Number: WW-1540
Submitted by: Dariusz Wojtas

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483189 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 19:34:03 +00:00
Rainer Hermanns 20fee48d8a Jsr168Dispatcher does not destroy the Dispatcher properly
o added destroy method as suggested

Issue Number: WW-1542
Submitted by: Rickard Öberg

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483185 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 19:28:07 +00:00
David H. DeWolf f6f0bbe73d Adding exception to warn message
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483062 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 12:59:50 +00:00
David H. DeWolf b747332dd1 Properly closing input stream in PropertiesSettings; WW-1541, Thank you Rickard Oberg
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@483061 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 12:51:19 +00:00
Rainer Hermanns f66f8cd987 XWork-2.0-beta-3 released
o updating pom.xml

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@481535 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 09:49:30 +00:00
Rainer Hermanns bdf948b03b Autocompleter problems
o removed code duplication

Issue Number: WW-1529
Submitted by: Musachy Barroso

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@481382 13f79535-47bb-0310-9956-ffa450edef68
2006-12-01 20:54:52 +00:00
Rainer Hermanns 827eaef893 Autocompleter problems
o Added missing files

Issue Number: WW-1529
Submitted by: Musachy Barroso

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@481288 13f79535-47bb-0310-9956-ffa450edef68
2006-12-01 16:47:25 +00:00
Donald J. Brown f450837ec8 Adding test for xslt includes
WW-1483


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@481180 13f79535-47bb-0310-9956-ffa450edef68
2006-12-01 08:02:59 +00:00
Donald J. Brown 9aa50d2de8 Better handle image submit buttons
WW-1532


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@481173 13f79535-47bb-0310-9956-ffa450edef68
2006-12-01 07:16:50 +00:00
Donald J. Brown e0f575ffbe Adding TestNG support
WW-1531


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@481125 13f79535-47bb-0310-9956-ffa450edef68
2006-12-01 01:35:38 +00:00
Rainer Hermanns b1fd895f3d Autocompleter problems
The dropdown of the autocompleter shows on the wrong place when the autocompleter.style.left.x != 0.
Make autocompleter consistent with the other ajax tags attributes:
o Add formId and formFilter to make it able to submit a form
o Add beforeLoading and afterLoading
o Add refreshListenTopic and onValueChangedPublishTopic
o Add delay

Issue Number: WW-1529
Submitted by: Musachy Barroso

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@481097 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 22:39:50 +00:00
Ted Nathan Husted e7299853d6 WW-1483 Update dependency to XWork 2 Beta 2, but we need the -sources.jar or -javadoc.jar in the OS repository to run the final assembly:assembly stage.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@480823 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 04:01:27 +00:00
Rainer Hermanns d4e94ecd58 Add Autocompleter AJAX tag
o add missing AutocompleterTag from Musachy's patch
o added AutocompleterModel for freemarker
o updated StrutsModels

Issue number: WW-1520

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@480637 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 17:27:47 +00:00
Ted Nathan Husted 461bbeef9b WW-1520 Add missing file from r479854
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@480078 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:05:04 +00:00
Ted Nathan Husted 5cecd6377b WW-1522 "Automatic Alias ActionConfigs" - Apply second patch.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@479854 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 02:34:13 +00:00
Donald J. Brown 7c3103357a Adding missing Autocompleter class from WW-1520
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@479821 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 00:19:54 +00:00
Ted Nathan Husted 78bd5af96c WW-1520 Add missing file from r479236
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@479638 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 14:35:22 +00:00
Ted Nathan Husted f81906568a WW-1522 "Automatic Alias ActionConfigs" - Add prototype tests and class before continuing with implementation.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@479495 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 01:56:16 +00:00
Ted Nathan Husted d0261c092f WW-1458 Enable use of both key and name attributes. Update some related Javadocs.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@479263 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 03:13:06 +00:00
Ted Nathan Husted 56e12e48ee WW-1520 Add Autocompleter AJAX tag - Apply patch submitted by Musachy Barroso
In the showcase, the ajax/autocompleter/index.jsp page doesn't seem to work correctly for me. There are four dropdown controls, but only the second (using a local list) presents a list for me. The third control (force valid options) does seem to clear whatever I put in, but I don't know what the valid values are suppose to be (become no list drops down). I seem to have the same problems with IE and FF. 

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@479236 13f79535-47bb-0310-9956-ffa450edef68
2006-11-25 23:46:21 +00:00