Commit Graph

322 Commits

Author SHA1 Message Date
David H. DeWolf 3e29ef620d Fixing freemarker showcase and adding freemarker standard tag showcase
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@481136 13f79535-47bb-0310-9956-ffa450edef68
2006-12-01 03:21:53 +00:00
Rainer Hermanns 3ae904873f 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@481100 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 22:58:45 +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 6f67cfb1eb Fixed unit tests not passing for blank webapp
WW-1483


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@479828 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 00:49:54 +00:00
Ted Nathan Husted 5e68ebe634 WW-1458 Update mailreader to use constant configuration and latest tag idioms.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@479396 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 18:32:24 +00:00
Ted Nathan Husted 6779588e61 WW-1483 Conform Showcase index page with menu bar, since many of the index page links were turning up broken.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@479239 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 00:00:34 +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
Rainer Hermanns ff733c39bd Fix typo.css in showcase for dojo datepickers
Issue number: WW-1483

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@478794 13f79535-47bb-0310-9956-ffa450edef68
2006-11-24 07:53:42 +00:00
Wendy Smoak 0b6fccb4ee Fixed eol-style and keywords svn properties.
WW-1483

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@478625 13f79535-47bb-0310-9956-ffa450edef68
2006-11-23 17:31:52 +00:00
Ted Nathan Husted e26235745c WW-1458 Enable key attribute for submit and reset buttons.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@478007 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 01:42:01 +00:00
James Mitchell 2d9f4d8ff4 WW-1483 -- add opening html tag
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@477498 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 04:08:54 +00:00
Ted Nathan Husted 1af731d118 WW-1421 Move struts.properties settings to struts.xml
WW-1458 Replace OGNL scriptlets with key attribute

Interim commit for discussion purposes. I'm trying to bring the blank up to date with the latest practice. As to the struts.properties, I tried moving these to struts.xml, but it doesn't seem to be working. I copied the elements from the Spring plugin struts-plugin.xml, but IDEA complains that the constant element is not defined. Strangely, I don't get the same prompt for the struts-plugin.xml. I tried deploying the application, and it seems that the struts.xml constants are ignored. 

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@477484 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 03:20:11 +00:00
Ted Nathan Husted f2dd324b6f WW-1483 Remove obsolete test: The tutorial code is now in blank.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@477464 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 01:42:00 +00:00
David H. DeWolf a7bbcaea01 WW-1508 Supporting tiles/freemarker integration.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@477379 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 22:41:56 +00:00
Donald J. Brown eb3aabbbba Fixed submit button values, updated jetty plugin
WW-1483


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@477318 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 20:26:44 +00:00
Donald J. Brown 87ede4da1a Fixing jetty reload rate back to 10 secs
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@476711 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 05:08:41 +00:00
Donald J. Brown 1d99e79347 Added the codebehind plugin and used it in the person manager example, cleaned imports
WW-1515


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@476710 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 05:05:14 +00:00
Ted Nathan Husted a1286ab879 SITE-14 Interim commit for discussion purposes. Next, I would like to create a dev subfolder, so that the "product development" pages can have their own menu.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@476267 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 19:27:04 +00:00
Rainer Hermanns d56cba1819 upgrade struts2 dojo widget due to upgrading dojo to 0.4
o applying latest patch set (WW-1484_2.patch)

Issue Number: WW-1484
Submitted by: Musachy Barroso

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@475814 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 16:58:57 +00:00
Rainer Hermanns b80324e323 struts2-blank app
o fixing action tags to not include context

Issue Number: WW-1483

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@475375 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 19:32:30 +00:00
Rainer Hermanns 4d092362ba upgrade struts2 dojo widget due to upgrading dojo to 0.4
o fixing tabbedpanel example4 

Issue Number: WW-1484

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@475372 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 19:21:42 +00:00
Rainer Hermanns f64bb65e97 upgrade struts2 dojo widget due to upgrading dojo to 0.4
o applying latest patch set

Issue Number: WW-1484
Submitted by: Musachy Barroso

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@475363 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 19:02:53 +00:00
David H. DeWolf cde9402849 Expanding Tiles Showcase. Adding the sitemesh decoration.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@474979 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:04:20 +00:00
Donald J. Brown 3513e0841c Creating a spring plugin, fixing a few problems with the plexus plugin
WW-1499


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@474633 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 02:53:02 +00:00
Rainer Hermanns 4fa7b5619f upgrade struts2 dojo widget due to upgrading dojo to 0.4
o update for Dojo tab sample

Issue Number: WW-1484

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@474589 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 23:56:10 +00:00
Rainer Hermanns b78417d019 upgrade struts2 dojo widget due to upgrading dojo to 0.4
o added samples for reworked ajax tags (date/time picker)
o updated tld

Note: Not everything is 100% working yet (remote divs, submit)

Issue Number: WW-1485
Submitted by: Musachy Barroso

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@474562 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 23:11:31 +00:00
Donald J. Brown 2db660a3bb Redesigning the Struts configuration to use the XWork DI container and its new configuration scheme.
The DI container will allow us better wire the framework together while allowing self-defining plugins
to extend/replace any component.  This change also gets rid of the need for struts.properties, allowing 
settings/constants to be defined in the XML.  In fact, even the XML isn't required when using the new 
zero configuration "actionPackages" filter init param.

These changes should be fully backwards compatible for most applications.

WW-1498 WW-1421 WW-1402


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@474191 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 08:30:40 +00:00
David H. DeWolf 6201cecf4f Updating tiles plugin to utilize new snapshot. Adding a tiles showcase
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@473138 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 23:29:48 +00:00
Ted Nathan Husted 1181c3d502 WW-1488 Update license headers for Struts 2 source.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@471756 13f79535-47bb-0310-9956-ffa450edef68
2006-11-06 15:01:43 +00:00
Donald J. Brown 0f5487c93c Adding a classloader scanning configuration provider that uses several
annotations to discover Actions, packages, and namespaces at runtime
WW-1491


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@471384 13f79535-47bb-0310-9956-ffa450edef68
2006-11-05 09:21:42 +00:00
James Mitchell c43ed346a0 fix pom scm locations
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@470345 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 12:11:47 +00:00
James Mitchell bb9c688f5e fix pom scm locations
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@470183 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 01:54:41 +00:00
James Mitchell f75f5b6b37 formatting only
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@470181 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 01:53:09 +00:00
James Mitchell 37d5baf61f remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@470179 13f79535-47bb-0310-9956-ffa450edef68
2006-11-02 01:50:34 +00:00
Toby Jee 3b42c247bc WW-1487
- Updated fileupload showcase example in Struts2 that validate if the file uploaded is not empty



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@469983 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 16:58:20 +00:00
Toby Jee 5c838b875b WW-1486
- showcase throws exception when validation error occurred, due to no "input" result for DateAction.
   - changed DateAction method from "execute" to "browse" so it would be escaped from validation



git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@469969 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 16:28:52 +00:00
Ted Nathan Husted 715ee2c802 WW-1340 Update wildcard links in blank application to match tutorial.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@466065 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 11:18:03 +00:00
Toby Jee d923a8e41a WW-1479
- Add to Showcase examples of Multiple fileupload where files are backed by List and Array

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@465978 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 04:05:46 +00:00
Ted Nathan Husted 0bc260e917 WW-1453 Update POMs for next distribution.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@462600 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 22:09:23 +00:00
Ted Nathan Husted a5f0d67553 WW-1453 Update POMs so as to tag 2.0.1.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@462570 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 21:16:01 +00:00
James Mitchell d3ce53b64f WW-1453 align the showcase web.xml with servlet 2.4
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@462568 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 21:12:33 +00:00
Ted Nathan Husted e49bcb5115 WW-1453 Struts-Blank: Update localization.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@462563 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 21:01:50 +00:00
Ted Nathan Husted 2c907e7211 WW-1453 Struts-MailReader - Update to DAO GA.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@462536 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 20:00:35 +00:00
Ted Nathan Husted d0c4f04779 WW-1453 Struts-Blank: Add build.bat
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@462534 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 19:55:56 +00:00
Donald J. Brown 94ef6de048 Fixed config to extend Struts test case
WW-1453


git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@462526 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 19:43:59 +00:00
Donald J. Brown 0551c2f16e Took out include of struts-default config file
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@454857 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 18:14:29 +00:00
Ted Nathan Husted 174191c5c0 WW-1453 Struts-Blank: Add localization and build.bat file.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@454751 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 14:34:58 +00:00
Ted Nathan Husted 38807e735e WW-1453 Struts-Blank: Add localization.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@454651 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 07:13:11 +00:00
Ted Nathan Husted a3ba834c2e WW-1453 Struts-Blank: Add missing Register.jsp. Dispatcher: Move default file list to default.properties.
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@454642 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 06:52:49 +00:00
James Mitchell 98deff1591 WW-1453
- fixing mailreader to correctly load the database.xml file from WEB-INF
 - fix the pom.xml to correctly use src/main/java as the resource path for *.xml and *.properties




git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@454616 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 04:58:51 +00:00