cvs commit: jakarta-struts STATUS
jholmes 2002/07/08 04:24:15 Modified:.STATUS Log: Add Martin's new bug. Revision ChangesPath 1.11 +2 -1 jakarta-struts/STATUS Index: STATUS === RCS file: /home/cvs/jakarta-struts/STATUS,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- STATUS8 Jul 2002 01:03:25 - 1.10 +++ STATUS8 Jul 2002 11:24:15 - 1.11 @@ -35,6 +35,7 @@ 5274 OutOfMemoryError when uploading big files 9198 First line feed in text parameters lost 10388 ServletException: Multipart data doesn't start with boundary +10542 The multipartClass init-param is broken Standard Actions: -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 10550] New: - Delegate path-management to ActionForwards
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10550. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10550 Delegate path-management to ActionForwards Summary: Delegate path-management to ActionForwards Product: Struts Version: Nightly Build Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Controller AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The ActionForward class could be extended so that paths are generated from dicrete properties. forward name=SomeAction path=/someAction action=true / The getPath method would return /do/someAction or /someAction.do, as appropriate. If action were false, it would just return the path verbatim. The developer would not need to know or care what url-pattern is being applied to the application or module. Likewise, the ActionForward could know that its part of a module, and how to handle its module-prefix. (The controller could set this property automatically.) So given the equivalent of forward name=SomeAction path=/someAction action=true module-prefix=module1 context-prefix=/do context-suffix= / The ActionForward could return /do/module1/someAction given the same thing but changing context-prefix= context-suffix=.do the ActionForward could return /module1/someAction.do If it were not an action, and were a page, it could return /module1/someAction.jsp To give people a leg-up on the WEB-INF issues, there could be page-prefix attribute forward name=SomeAction path=/someAction action=true module-prefix=module1 context-prefix= context-suffix=.do page-prefix=/WEB-INF / that would result in something like /WEB-INF/module1/someAction.jsp The WEB-INF variation might be a standard deviation, as we do with ActionMappings (session vs request). An enhanced ActionForward could also provide a uri-templates capability that would allow developers to generate different paths based on locale or browser type. Ideally, the uri-template feature could assume the responsiblity for the $A$P type patterns now in use. References: http://nagoya.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED] gmsgId=385238 http://www.mail-archive.com/struts-dev@jakarta.apache.org/msg04010.html -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 10550] - Delegate path-management to ActionForwards
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10550. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10550 Delegate path-management to ActionForwards [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||LATER -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 7202] - Add forward attribute to FormTag to allow submision to a global forward
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7202. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7202 Add forward attribute to FormTag to allow submision to a global forward [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX | --- Additional Comments From [EMAIL PROTECTED] 2002-07-08 12:40 --- I'll revisit this when working on extending ActionForwards. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 7202] - Add forward attribute to FormTag to allow submision to a global forward
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7202. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7202 Add forward attribute to FormTag to allow submision to a global forward [EMAIL PROTECTED] changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution||LATER -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 10551] - Allow a struts-config element to extend another
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10551. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10551 Allow a struts-config element to extend another [EMAIL PROTECTED] changed: What|Removed |Added Severity|Normal |Enhancement Status|NEW |RESOLVED Resolution||LATER -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: DO NOT REPLY [Bug 10552] - create helper objects in struts-config
Sorry for the extra issues. Just trying to clear off my list for the NEXT iteration =:0) [EMAIL PROTECTED] wrote: DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10552. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10552 create helper objects in struts-config [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||LATER -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- Ted Husted, Husted dot Com, Fairport NY US -- Java Web Development with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Initial Checkin of tiles-documentation webapp
I am currently working on the plugin for Tiles. I had left the documentation part for later, in order to incorporate new changes. I will complete the changes as work progresses. Cedric Craig R. McClanahan wrote: I just completed the initial check-in of the tiles-documentation webapp as a part of the standard Struts directory structure, instead of being built from contrib/tiles. Not surprisingly, the size of the CVS report exceeded the limits set for the mailing list -- here's the initial part of the message so you can see what I did. Craig -- Forwarded message -- Modified:.build-webapps.xml Added: src/tiles-documentation/org/apache/struts/example/tiles InitServlet.java src/tiles-documentation/org/apache/struts/example/tiles/channel ChannelFactorySet.java SelectChannelAction.java src/tiles-documentation/org/apache/struts/example/tiles/dev1-1 ApplicationResources.properties src/tiles-documentation/org/apache/struts/example/tiles/dynPortal PortalPrefsForm.java PortalSettings.java RetrievePortalAction.java SetPortalPrefsAction.java src/tiles-documentation/org/apache/struts/example/tiles/invoice Address.java EditInvoiceAction.java Invoice.java InvoiceForm.java src/tiles-documentation/org/apache/struts/example/tiles/lang SelectLocaleAction.java src/tiles-documentation/org/apache/struts/example/tiles/portal MenuSettings.java MenuSettingsForm.java PortalCatalog.java PortalSettings.java PortalSettingsForm.java UserMenuAction.java UserMenuSettingsAction.java UserPortalAction.java UserPortalSettingsAction.java src/tiles-documentation/org/apache/struts/example/tiles/rssChannel Channels.java RssChannelsAction.java src/tiles-documentation/org/apache/struts/example/tiles/skin DefinitionCatalog.java LayoutSettingsAction.java LayoutSettingsForm.java LayoutSwitchAction.java SimpleSwitchLayoutAction.java src/tiles-documentation/org/apache/struts/example/tiles/template DynTemplateAction.java src/tiles-documentation/org/apache/struts/example/tiles/test TestActionTileAction.java TestTileController.java src/tiles-documentation/org/apache/struts/example/tiles/tutorial ForwardExampleAction.java web/tiles-documentation index.jsp web/tiles-documentation/WEB-INF struts-config.xml tiles-defs.xml tiles-examples-defs.xml tiles-tests-defs.xml tiles-tutorial-defs.xml tiles-tutorial-defs_de.xml tiles-tutorial-defs_fr.xml web.xml web/tiles-documentation/common footer.jsp header.jsp menuViewSrc.jsp submenu.jsp viewSrc.jsp viewSrcBody.jsp viewSrcBodyError.jsp web/tiles-documentation/doc compatibilityChanges.html comps2Tiles.html download.jsp extensionsTags.jsp installation.jsp overview.jsp quickOverview.jsp tilesTags.jsp tutorial.jsp tutorialStaticIndex.jsp userGuide.jsp web/tiles-documentation/doc/portal comments.jsp documentation.jsp download.jsp features.jsp news.jsp nextFeatures.jsp revisions.jsp revisionsCont.html strutsIntegration.jsp tilesCompsTemplates.jsp todo.jsp welcome.jsp web/tiles-documentation/doc/portal/images portalOverview.gif web/tiles-documentation/examples index.jsp myMenuSettings.jsp myPortal.jsp myPortalSettings.jsp portal.jsp rssChannels.jsp skinSettings.jsp summariesTabs.jsp tabs.jsp web/tiles-documentation/examples/rssFeed apacheweek-headlines.xml rss-example.xml web/tiles-documentation/examples/tiles adminSummary.jsp body.jsp componentsSummary.jsp footer.jsp header.jsp i18nSummary.jsp menuSummary.jsp multiChannelsSummary.jsp myLayoutSummary.jsp myMenuSettings.jsp myMenuSummary.jsp myPortalPrefs.jsp myPortalSettings.jsp myPortalSummary.jsp mySkinSettings.jsp portalSummary.jsp rssChannelErrors.jsp
RE: Action handler problem.
Sorry Kedar, I have to agree with James. The developers list is for furthering the development of Struts itself (enhancement/bug discussions, etc.), the users list is for getting help to build your individual application. That being said, it sounds as if your mapping isn't being invoked correctly. For example, if your web-app is test and your mapping is /myAction then your form tag should be FORM ACTION=/test/myAction.do (this also assumes you've put the servlet mapping in your web.xml for *.do to map to the Struts ActionServlet). One of the best ways to test whether your perform method is invoked is to do a println statement first thing. If this does not solve the issue, please search the user list archives or post your question there. --- [EMAIL PROTECTED] wrote: I am sorry James, but I have to disagree with you here. I think this is a development problem since its nothing to do with any setup or configuration files but it is about developing an application in strusts. warm regards -- Kedar -Original Message- From: Struts Developers List [EMAIL PROTECTED] at Internet Sent: Friday, July 05, 2002 2:43 PM To: Struts Developers List [EMAIL PROTECTED] at Internet Subject: RE: Action handler problem. Kedar-- These types of question are best asked on the Struts Users mailing list. [EMAIL PROTECTED] -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Kedar Upadhye [EMAIL PROTECTED] wrote: Hello All, One simple question about the action handler class. I have a form here (.JSP file ) with one submit button. I have the action mapping in the Strust-config.xml file so that this JSP is connected to one action handler class. However when the project runs and the button is pressed , the action handler class's perform method is not called. What else I need to do to achieve this ? Is there any other setting ? My action class is derived from the Action class. Let me know if I am missing anything. warm regards -- Kedar -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Sign up for SBC Yahoo! Dial - First Month Free http://sbc.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 10520] - html:messages tag does not work
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10520. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10520 html:messages tag does not work [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX | --- Additional Comments From [EMAIL PROTECTED] 2002-07-08 14:51 --- the current html:messsages tag will not display any action messages - as if there are no messages to display. the patch is completely different from the current tag as the patch extends the errors (which works just fine) tag and broadens the cast to ActionMessage rather than ActionError. In addition, one no longer needs to specify messages=true to display messages rather than errors. Presumably somone who wished to display errors would simply use html:errors. A diff would be unhelpful as it is completely different from the current tag and no less tedious than a line by line comparison. As mentioned above, the current tag extends errors tag, overrides doStartTag and is almost identical except that it casts to ActionMessage rather than ActionError and calls RequestUtils.getActionMessages -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts STATUS
jholmes 2002/07/08 18:27:00 Modified:.STATUS Log: latest status from Bugzilla Revision ChangesPath 1.12 +3 -2 jakarta-struts/STATUS Index: STATUS === RCS file: /home/cvs/jakarta-struts/STATUS,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- STATUS8 Jul 2002 11:24:15 - 1.11 +++ STATUS9 Jul 2002 01:27:00 - 1.12 @@ -11,11 +11,13 @@ Controller: -- 8487 Serializability issues in ActionServlet/RequestProcessor +10542 The multipartClass init-param is broken Custom Tags: --- 1586 The html:form tag generates incorrect focus javascript for radio buttons. +10520 html:messages tag does not work Documentation: @@ -35,7 +37,6 @@ 5274 OutOfMemoryError when uploading big files 9198 First line feed in text parameters lost 10388 ServletException: Multipart data doesn't start with boundary -10542 The multipartClass init-param is broken Standard Actions: -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/resources articles.xml
jholmes 2002/07/08 18:45:15 Modified:doc/resources articles.xml Log: add new articles mentioned on user list today Revision ChangesPath 1.3 +2 -0 jakarta-struts/doc/resources/articles.xml Index: articles.xml === RCS file: /home/cvs/jakarta-struts/doc/resources/articles.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- articles.xml 29 Jun 2002 18:20:02 - 1.2 +++ articles.xml 9 Jul 2002 01:45:15 - 1.3 @@ -10,6 +10,8 @@ chapter name=Struts Resources href=http://husted.com/struts/resources; section name=Articles +!-- pa href=http://www.e-promag.com/eparchive/index.cfm?fuseaction=viewarticleContentID=1742;bStruts: A Standard Architecture for Web Applications/b/a by Don Denoncourt./p -- +pa href=http://www.mooreds.com/jaas.html;bUsing JAAS for Authorization and Authentication/b/a by Dan Moore./p pa href=http://www-106.ibm.com/developerworks/java/library/j-strutstiles.html?loc=j;bStruts and Tiles aid component-based development/b/a by Wellie Chao./p pa href=http://www.fawcette.com/javapro/mags/2002_05/magazine/columns/weblication/default.asp;bApplying the MVC Design Pattern Using Struts/b/a by Peter Varhol/p pa href=http://www.fawcette.com/javapro/2002_04/magazine/features/tholloway/;bStruts: a Solid Web-App Framework/b/a by Tim Holloway/p -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc/resources articles.xml
jholmes 2002/07/08 18:47:17 Modified:doc/resources articles.xml Log: add in e-pro mag article...had commented out because xsl was hanging on the ampersand in the url Revision ChangesPath 1.4 +1 -1 jakarta-struts/doc/resources/articles.xml Index: articles.xml === RCS file: /home/cvs/jakarta-struts/doc/resources/articles.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- articles.xml 9 Jul 2002 01:45:15 - 1.3 +++ articles.xml 9 Jul 2002 01:47:17 - 1.4 @@ -10,7 +10,7 @@ chapter name=Struts Resources href=http://husted.com/struts/resources; section name=Articles -!-- pa href=http://www.e-promag.com/eparchive/index.cfm?fuseaction=viewarticleContentID=1742;bStruts: A Standard Architecture for Web Applications/b/a by Don Denoncourt./p -- +pa href=http://www.e-promag.com/eparchive/index.cfm?fuseaction=viewarticleamp;ContentID=1742;bStruts: A Standard Architecture for Web Applications/b/a by Don Denoncourt./p pa href=http://www.mooreds.com/jaas.html;bUsing JAAS for Authorization and Authentication/b/a by Dan Moore./p pa href=http://www-106.ibm.com/developerworks/java/library/j-strutstiles.html?loc=j;bStruts and Tiles aid component-based development/b/a by Wellie Chao./p pa href=http://www.fawcette.com/javapro/mags/2002_05/magazine/columns/weblication/default.asp;bApplying the MVC Design Pattern Using Struts/b/a by Peter Varhol/p -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
cvs commit: jakarta-struts/doc news.xml
jholmes 2002/07/08 18:56:18 Modified:doc news.xml Log: update news page with new articles Revision ChangesPath 1.5 +18 -1 jakarta-struts/doc/news.xml Index: news.xml === RCS file: /home/cvs/jakarta-struts/doc/news.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- news.xml 30 Jun 2002 13:12:39 - 1.4 +++ news.xml 9 Jul 2002 01:56:18 - 1.5 @@ -40,6 +40,23 @@ section name=News href=news +h3a name=20020708/a08 July 2002 - Struts article in e-Promagazine/h3 +p +The e-Promag.com site is featuring a new article entitled +a href=http://www.e-promag.com/eparchive/index.cfm?fuseaction=viewarticleamp;ContentID=1742; +bStruts: A Standard Architecture for Web Applications/b/a by Don Denoncourt. +/p +hr size=1 noshade=/ + + +h3a name=20020708/a08 July 2002 - JAAS article highlighting Authorization and Authentication with Struts/h3 +p +a href=http://www.mooreds.com/jaas.html; +bUsing JAAS for Authorization and Authentication/b/a by Dan Moore. +/p +hr size=1 noshade=/ + + h3a name=20020629/a29 June 2002 - Struts Newsletter/h3 p bPath-based action mapping in 1.1/bbr/ @@ -118,7 +135,7 @@ h3a name=20020624/a24 June 2002 - Tiles article in DeveloperWorks/h3 p -The IBM DeveloperWorks site is feature a new article entitled +The IBM DeveloperWorks site is featuring a new article entitled a href=http://www-106.ibm.com/developerworks/java/library/j-strutstiles.html?loc=j; bStruts and Tiles aid component-based development/b/a by Wellie Chao. /p -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
DO NOT REPLY [Bug 10432] - DynaValidatorActionForm does not validate data
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10432. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10432 DynaValidatorActionForm does not validate data --- Additional Comments From [EMAIL PROTECTED] 2002-07-09 02:28 --- Can anyone explain why there are both DynaValidatorForm and DynaValidatorActionForm? Is it just because people like to use different kinds of name attributes in the form elements of their validation rules? In any case, it looks as though there's no reason you can't use path mappings as the value of the name attribute of the form elements in your validator config XML files. As in... formset... form name=/path/to/your/Action... The only reason there's a name in that XML file is so that you can get the rules back later -- it doesn't have any direct association with the form name in your struts-config.xml file. Warning, I haven't used validation a lot -- I just worked this out from reading the source code. I could be the victim of a misunderstanding somewhere. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: cvs commit: jakarta-struts/doc/resources articles.xml
On 9 Jul 2002 [EMAIL PROTECTED] wrote: Date: 9 Jul 2002 01:47:17 - From: [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: cvs commit: jakarta-struts/doc/resources articles.xml jholmes 2002/07/08 18:47:17 Modified:doc/resources articles.xml Log: add in e-pro mag article...had commented out because xsl was hanging on the ampersand in the url FYI - the fix for this is to use amp; instead of . Craig -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]