Re: Latest and Greatest 1.0 User's Guide

2001-01-21 Thread Craig R. McClanahan
Ted Husted wrote: Very, very kewl. Short Term Plan I'm about through the Users Guide, and will refresh my CVS and post some very minor fixes. I'll also update the struts.xls to reflect a 2001 copyright (forward into the present!) Meanwhile, Any thoughts on a better approach to

Re: cvs commit: jakarta-struts/src/doc/stylesheets struts.xsl

2001-01-21 Thread Craig R. McClanahan
Ted Husted wrote: Please note that I made another commit this morning, but apparently the message did not go through. (Too long?) Commit messages (or any messages, for that matter) 100k will be bounced back to the original sender. When this has happened to me, I've been able to cut and

Re: cvs commit: jakarta-struts/src/doc/stylesheets struts.xsluserGuide.xsl

2001-01-21 Thread Craig R. McClanahan
Ted Husted wrote: The three forms that are specified by law are the circled c, "Copyr.", or "Copyright", which must then be followed by the date and the name of the Copyright holder. The symbol is not required if "Copyr." or "Copyright" is used. There is probably no harm with injecting (c)

Re: Printing issue with 1.0 User's Guide

2001-01-22 Thread Craig R. McClanahan
"Steven D. Wilkinson" wrote: It's not just the code it's the documentation. It even runs off the page in landscape mode. You really need to print out section 4 and see what I'm talking about. The reason this happens is that browsers format pages based on the width of the widest section of

Re: release()

2001-01-22 Thread Craig R. McClanahan
Wong Kok Wai wrote: A general question: I've noticed in the implementation of release method in the tags, there is always a call to super.release(). The exception being the template tags. My question is: is calling super.release() a best practise and why? If so, should the template tags

Re: cvs commit: jakarta-struts/src/doc installation.xml

2001-01-24 Thread Craig R. McClanahan
Colin Sampaleanu wrote: care to clarify the rationale for this? (I'm just curious, I've always set up my projects so anything under /src lives in source control) Yes .. you're likely to see similar changes on other Jakarta subprojects as well. (Modifying files outside your source directory

Re: Struts installation notes for Resin

2001-01-25 Thread Craig R. McClanahan
Ted Husted wrote: +1 -- just tested this and it works like a charm. Before adding it to install -- do you think we should add -- * Resin will unpack the war to $RESIN_HOME/work/_war/$ID and the application folder will not appear under docs. * When developing your own applications, you

Re: LinkTag

2001-01-26 Thread Craig R. McClanahan
Howard Moore wrote: Another tag modification for consideration. I've modified the LinkTag so that if both name and linkName are specified a link to a target on a page is built. For example this; html:link href="/some/page.html" linkName="bottom" now produces this; a

Re: Struts and WebSphere Appserver 3.5.2

2001-02-06 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: I've spent most of this afternoon getting a struts app to work on WebSphere 3.5.2. The bottom line is that even under "Servlet 2.2/JSP 1.1 Compliance mode". getServletContext().getResourceAsStream() will fail and return null. I've worked around this

Re: Xalan Prerequisite for Build from Source

2001-02-08 Thread Craig R. McClanahan
IMHO several of the xml.apache.org packages have triggered grief w.r.t. backwards compatibility. It's probably time to think about a different infrastructure for XML-HTML conversions, although I would *really* like to finish a Struts 1.0 release first. Options to consider and/or think about for

Re: VAJ Tomcat Test Environment/WS Test Environment serializable error

2001-02-12 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: FYI anyone working in VAJ with the WTE (EJBs etc), passing ActionForms to EJB methods. We are hoping to find the actual either VAJ error or non-serializable object details. Could you try an experiment? Does making the "servlet" variable in ActionForm transient

Re: Asynchronous request processing

2001-02-12 Thread Craig R. McClanahan
Rey Francois wrote: We are currently investigating the possibility to service HTTP requests with an asynchronous model. The idea is to retrieve the dynamic content from the back-end using asynchronous calls. The motivations are: * Sometimes the existing backend systems already have an

Re: forms, formbeans and JavaScript

2001-02-12 Thread Craig R. McClanahan
Mike Dewhirst wrote: As a lot of forms may have JavaScript in them to dynamically rebuild menus, etc. Is it possible to combine this with the Struts tag-styled form design? The challenge with doing this is that the JSP tags run on the server (as the page is being generated), while the

Re: Contribution

2001-02-13 Thread Craig R. McClanahan
Craig Tataryn wrote: Hi there, I was wondering if anyone has taking ownership of the "Workflow Processing" TODO? If not, would I be able to start this project and get all interested parties involved? Welcome, Craig! I have added your name to the TODO list for this topic. By the way, I

Re: web-app_2.2.dtd - how get a local copy?

2001-02-13 Thread Craig R. McClanahan
Maya Muchnik wrote: Hello, all, Maybe this question for Tomcat developers. That's true, although there is overlap here ... :-) As you know we are all using web.xml file for a servlet container. This file has the following lines : !DOCTYPE web-app PUBLIC "-//Sun Microsystems,

Re: html:password

2001-02-13 Thread Craig R. McClanahan
Frederic BAGES wrote: I haven't try since the changes were made but i think it's because of the way the session object is managed. You don't lose session information (your form) until a timeout occur. It's the same on many web sites. If you close your browser you won't be able to log

Re: i18n and Resources

2001-02-19 Thread Craig R. McClanahan
Wong Kok Wai wrote: I'm definitely interested but one question: why not use java.util.ResourceBundle as the base class? It helps as existing ListResourceBundle and PropertyResourceBundle can still be used. Among other things, ResourceBundle and PropertyResourceBundle are not Serializable.

Re: i18n and Resources

2001-02-19 Thread Craig R. McClanahan
"Schachter, Michael" wrote: Hi, I'm attempting to develop a fuller form of internationalization for Struts, which includes retrieving content from more than something such as a ResourceBundle. The basic idea is that you have a Resource, which is an interface that represents anything that

Re: i18n and Resources

2001-02-19 Thread Craig R. McClanahan
Jason van Zyl wrote: I hate the fact that the word "service" is so overused, but in this context it would be an implementation of an interface residing at the request scope of an application. I'm still pushing for a lightweight, application level service framework within Struts, I'm

Re: i18n and Resources

2001-02-19 Thread Craig R. McClanahan
Jason van Zyl wrote: Ted Husted (a Struts commtter) and several others are trying to put together a proposal for a code sharing subproject/repository/something on the GENERAL list right now -- this sounds like another candidate for code that could be shared once the infrastructure of the

[VOTE] Struts 1.0-beta-1 Release Plan

2001-02-19 Thread Craig R. McClanahan
Now that the TODO list for 1.0 (and the bug reports in Bugzilla) are dwindling away, it's time for a 1.0-beta-1 release of Struts! I just checked in an initial draft of a release plan that talks about what will happen, and the criteria for release. Please take a moment to review this document:

Re: cvs commit: jakarta-struts/src/doc todo-1.1.xml

2001-02-20 Thread Craig R. McClanahan
Craig Tataryn wrote: Let us see the stylesheet ;) http://jakarta.apache.org/cvsweb/index.cgi/jakarta-struts/src/doc/stylesheets/struts.xsl :-) Craig tataryn:craig/ [EMAIL PROTECTED] wrote: craigmcc01/02/20 09:28:30 Modified:src/doc todo-1.1.xml Log: Correct

Re: Multiple ActionServlet instances in a web app

2001-02-23 Thread Craig R. McClanahan
"Sukachevin, Stoehr" wrote: In looking at some of the more recent source code for v1.0, it appears that since the ActionServlet caches a lot of objects in the servlet context, like action mappings, app resources, etc., the ActionServlet was not designed to allow multiple instances of the

[ANNOUNCEMENT] Struts 1.0 Beta 1 Released

2001-02-23 Thread Craig R. McClanahan
I am please to announce the release of Version 1.0-beta-1 of the Struts Framework. Struts is an open source project, under the sponsorship of the Apache Software Foundation, to produce framework useful in building web applications with Java Servlet and JavaServer Pages (JSP) technology. Struts

Re: PROPOSAL - Testing Framework

2001-02-24 Thread Craig R. McClanahan
Vincent Massol wrote: I am now looking at Struts in order to write the test suite (I have only looked at build.bat and build.xml so far ...) and I have notice the following details that may need to be corrected/improved : Hello Vincent, Sorry for the slow response ... I was really focused

[PROPOSAL] Two New Committers

2001-02-24 Thread Craig R. McClanahan
I would like to propose the following individuals for committer status on the Struts project: Rob Leland Vincent Massol Both of them are interested in working on unit tests for Struts, and I look forward to having their help in this area, as well as others. Votes please? Craig

Re: Contribution

2001-02-24 Thread Craig R. McClanahan
Dave Bettin wrote: Hello, I would like to be added on the TODO list for all of the bean taglib items (XPath, DOM, JDBC, Formatting). I will start cranking the design and code out in the beginning of March. That sounds great! With 1.1, I'm hoping to increase the number of

Re: Problem using form tags across template pages

2001-02-28 Thread Craig R. McClanahan
Martin Cooper wrote: OK, now I see what's happening. The html:form tag sets the form bean as a page attribute, so when your nested page (the one brought in using the template tags) is processed, the form bean is not available, since it is in a different page context. Hence the html:text tag,

Re: Hook to bootstrap in Tomcat

2001-02-28 Thread Craig R. McClanahan
Qiqi Dong wrote: Does anyone know how to bootstrap my own classes when start Tomcat. Does Tomcat actually provide a hook for that? Qiqi, the best place to ask this is on the TOMCAT-USER list, rather than the two lists you selected. However, to save the trouble of re-asking, the answer varies

Re: Has the image tag property attribute problem been fixed?

2001-03-01 Thread Craig R. McClanahan
"Christophe Thibaud" wrote: On Thu, 01 Mar 2001, you wrote: The bug is fixed in CVS. I don't know what's happened to the nightly builds. does anybody know when the nightly build process will resume ? (I'd like to get this bug out without recompiling) Unfortunately, probably not until

Re: Using session bean for action form is a design flaw

2001-03-01 Thread Craig R. McClanahan
Tony Kian Heffner wrote: Hi, Since action form is stored as JSP session bean, large scale web application that are running on a load balancing cluster environment will not be able to use Struct. If the container supports the servlet spec properly, there should not be a problem here. In

Re: 0.5 syntax gone when?

2001-03-04 Thread Craig R. McClanahan
ceived new optional attributes in the last few weeks. In the vast majority of cases, the new behavior can be used if desired, but the default behavior is exactly as it was, so that existing uses of those tags remains compatible. Thanks in advance, Steve Craig "Craig R. McClanahan"

Iterating over collections with null values

2001-03-04 Thread Craig R. McClanahan
Bugzilla bug report #706 reports that you will get a JSP page exception when you try to iterate over collection that contains null values. This is caused by the fact that the JSP page context refuses to allow null attributes. The bug report suggests one alternative (although the proposed

Re: Getting id attribute in the HTML tags?

2001-03-12 Thread Craig R. McClanahan
On Mon, 12 Mar 2001, Scott Snyder wrote: Is it possible to get the id CSS attribute generated within the html custom tags available within struts? From what I can see you can only get the style and class attributes generated using the style and styleClass attributes on the html custom tags.

Re: [PROPOSAL - specialized taglib for fast interface development]

2001-03-13 Thread Craig R. McClanahan
On Mon, 12 Mar 2001, [iso-8859-1] Jean-Noël Ribette wrote: Hi, I have been working with Struts for one month now, and I think Struts is a great framework. My company is going to use and support it. Otherwise, there are a view features I would like to see in Struts or as an extension.

Re: [PROPOSAL - specialized taglib for fast interface development]

2001-03-13 Thread Craig R. McClanahan
On Tue, 13 Mar 2001, [iso-8859-1] Jean-Noël Ribette wrote: - Original Message - From: Michael Gerdau [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 13, 2001 2:35 PM Subject: Re: [PROPOSAL - specialized taglib for fast interface development] Why not try to add

Re: Running Unpacked Struts in Weblogic 6.0 - solved.

2001-03-13 Thread Craig R. McClanahan
On Tue, 13 Mar 2001, Open Source wrote: Hi all, Just wanted to share with all of you that when the unpacked struts-example is executed on Weblogic6.0 , there are some extra lines to be added to web.xml file to make it work (atleast I had to) First of all the reason for the failure in

Re: Handling multiple button actions in struts html form

2001-03-13 Thread Craig R. McClanahan
On Tue, 13 Mar 2001, Open Source wrote: Hi, I have started developing some real life jsp applications with Struts now. I have a rather simple question which might have addresed in Struts , but I could not figure it out. I have two questions 1. When a html form (using struts) has 2

Re: ActionForm

2001-03-14 Thread Craig R. McClanahan
On Wed, 14 Mar 2001, Siping Liu wrote: Hi everyone, It seems to me that to better layer an application that uses web/Struts as one of several ways to access its data, the data layer shouldn't have any dependency on the access layer. Currently all my beans have to implement ActionForm

Re: form bean types

2001-03-15 Thread Craig R. McClanahan
On Thu, 15 Mar 2001, Young, Wayne wrote: I'm working on a "standards" document for struts development at work and have a question. I've seen references on the mailing list that fields on form beans (descendants of ActionForm) should only be java.lang.String if you want them to

Re: [PROPOSAL] Struts Unit Test Guidelines

2001-03-18 Thread Craig R. McClanahan
On Sun, 18 Mar 2001, Vincent Massol wrote: I think we need to give some guidelines for anyone who would like to participate in writing unit tests for Struts. I'd like to start this process by giving you my views on the subject and discuss it. When we have a final agreement, we can put a

Re: Request go ahead for structural changes in CVS

2001-03-20 Thread Craig R. McClanahan
On Tue, 20 Mar 2001 [EMAIL PROTECTED] wrote: The only restriction would be where the Struts build.xml looked for build.properties. My proposal would be that it should be in the same directory that build.xml is (but, as mentioned earlier, *not* checked in to CVS). That way, you can have

Re: JSP Components

2001-03-22 Thread Craig R. McClanahan
Sorry for the late response on this ... email problems ... Rey Francois wrote: In the context of building reusable JSP components, I have been confronted with the following limitation that both the Struts templating and the Components from Cedric Dumoulin currently have. In a word, this

Re: BaseFieldTag

2001-03-22 Thread Craig R. McClanahan
[EMAIL PROTECTED] wrote: Hello, first of all, i am working with struts framework and its a great thing. I have changed the BaseFieldTag for supporting the readonly attribute in html:text elements. If you want, i can send the changes to you. Markus Pallo Sorry for the late response

Re: BaseFieldTag

2001-03-22 Thread Craig R. McClanahan
On Thu, 22 Mar 2001, David Winterfeldt wrote: The disabled attribute sounds best if enought browsers support it, but if they don't what if readonly wasn't an html attribute, but a Struts one and if it was 'true' the field could written out as text? I don't know know if this has already

Re: Iterate Tag question, again -- Short ane sweet

2001-03-23 Thread Craig R. McClanahan
On Fri, 23 Mar 2001, Sundar @eSaravana wrote: Since nobody seemed to have read my long mail, I am re-writing my mail short and probably sweet. Can I do, multilevel iteration with iterate tag.? For example: I have collection of beans in my session. In my JSP, I want to first iterate at

Re: Iterate

2001-03-27 Thread Craig R. McClanahan
On Tue, 27 Mar 2001, raghu tadi wrote: How would the bean element holding a vector of String objects be type casted to a String Object. Snippet : % Vector v = new Vector(); v.addElement(new String("John Doe")); v.addElement(new String("Jane Doe"));

RE: development issues

2001-03-28 Thread Craig R. McClanahan
On Wed, 28 Mar 2001, Tahir Awan wrote: Sorry Martin but I could not find any way to contact those volunteers (though I can see their names). STRUTS-DEV is the best way. Actually I was expecting that some committer will either accept or reject the idea. And if the idea is accepted then

Re: Are we in Beta ?

2001-03-28 Thread Craig R. McClanahan
On Wed, 28 Mar 2001, Rob Leland wrote: I am not sure we are in Beta mode with a feature freeze, at least with the set of criteria that was put forth in Feburary. For instance, it seems like DispatchAction(), while a good idea, is a new feature as opposed to a bug fix, and it didn't

Re: How to refer the form bean out of the form tag or as static

2001-03-29 Thread Craig R. McClanahan
On Thu, 29 Mar 2001, Suriyanarayanan, Senthil Kumar wrote: How do I decouple the LogonForm bean name from the jsp file. Is there any way to identify the form name on the jsp page which has been tied to the form? The html:form tag in recent nightly builds actually does this trick. It

Re: package.html for action

2001-03-30 Thread Craig R. McClanahan
think it would be best to establish a subdirectory in the struts-documentation directory for stuff like this, and then link to it from the package.html file for the org.apache.struts.action class (which will become the User Guide for the controller framework. Sound OK? -Rob Craig "Cr

Re: package.html for action

2001-03-30 Thread Craig R. McClanahan
On Fri, 30 Mar 2001, Rob Leland wrote: "Craig R. McClanahan" wrote: will become the User Guide for the controller framework. Sound OK? Sounds good, I'll do it this weekend. Along with a Credits.txt or some such to acknowledge the original authors. +1 -Rob

RE: J2EEUnit suite of tests for Struts

2001-04-06 Thread Craig R. McClanahan
On Thu, 5 Apr 2001, RPower wrote: Hi, I'm very keen to get involved with the J2EEUnit suite of tests for Struts. Is there any code available to play around with? I've down loaded J2EEUnit 0.9 but haven't found any J2EEUnit specific code in the Struts/cvs repository? Any pointers

RE: Taglibs Plans?

2001-04-11 Thread Craig R. McClanahan
- From: Trieu, Danny [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 10, 2001 2:42 PM To: '[EMAIL PROTECTED]' Subject: RE: Taglibs Plans? Craig, When is your book coming out? and is it gonna be about Struts? -Danny -Original Message----- From: Craig R. McCla

RE: Use of RequestUtils.absoluteURL() in LinkTag [and RedirectTag ]

2001-04-12 Thread Craig R. McClanahan
On Thu, 12 Apr 2001, Sukachevin, Stoehr wrote: Craig, One last thing, when you said: because the address has to be relative to wherever the browser submitted the form, not to the page itself using an "absolute-path" type of relative URI should be equivalent to an absolute URL in

Re: Logging Mechanism

2001-04-13 Thread Craig R. McClanahan
On Fri, 13 Apr 2001, Natra, Uday wrote: Hi All, The Logging Mechanism provided in the Struts framework is accessible to the Java Components that have access to ActionServlet instance. Struts does not define the Logging mechanism for the Components that are Isolated from the Struts

Re: REQUEST: overloaded setters

2001-04-20 Thread Craig R. McClanahan
On Fri, 20 Apr 2001, Anthony Martin wrote: I wonder if it is reasonable for setters to be overloaded. I am facing the requirement for true Date and int values to be pre-populated in a ActionForm. I know how to pre-populate, and would like to do so by using native Date and int values

Re: Trouble with Struts nightly build distribution

2001-04-23 Thread Craig R. McClanahan
I found out what the problem was ... I switched my internal development to Ant 1.3 (instead of 1.2) but hadn't updated the ANT_HOME setting in the script that builds the nightly distros. On Mon, 23 Apr 2001, Rob Leland wrote: For me I get a sealing violation when trying to build with 'ant

Re: cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/bean CookieTag.java DefineTag.java HeaderTag.java PageTag.java ParameterTag.javaSizeTag.java StrutsTag.java

2001-04-23 Thread Craig R. McClanahan
On Mon, 23 Apr 2001, Rob Leland wrote: [EMAIL PROTECTED] wrote: craigmcc01/04/23 15:52:22 Modified:src/share/org/apache/struts/taglib/bean CookieTag.java DefineTag.java HeaderTag.java PageTag.java ParameterTag.java

Re: getServerInfo()

2001-04-30 Thread Craig R. McClanahan
On Mon, 30 Apr 2001, Mark Simms wrote: Does anyone know if the string returned from this method has been parseable to obtain the Server Vendor, version, and servlet/jsp version supported ? I have a parse method for Tomcat, but not sure if it will work with BEA Weblogic or IBM Websphere

Re: cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/htmlFormTag.java

2001-04-30 Thread Craig R. McClanahan
On Sun, 29 Apr 2001, Martin Cooper wrote: Cool! This will really help with the issue of too many tags on one JSP page, since it will allow a form to be split over multiple pages. (We are already doing this by underhanded means, so it's nice to see that we can clean that up now!) I aim

RE: Bad classloading in Digester

2001-05-02 Thread Craig R. McClanahan
On Wed, 2 May 2001, Colin Sampaleanu wrote: Should I still upload the patches here, I was just going to in a few minutes, actaully? You can go ahead ... but I was going to copy what Scott checked in (after he fixes a potential NPE problem first :-). Craig

Re: PATCH: add note in build scripts that they work with Ant 1.3but not with Ant 1.4

2001-05-02 Thread Craig R. McClanahan
On Wed, 2 May 2001, Colin Sampaleanu wrote: I spent an hour or so scratching my head trying to figure out why Struts builds ok with Ant 1.3, but with 1.4 fails to copy over struts.jar into the distributables. It is because the build scripts use the available task to check for the existence

RE: PATCH: add note in build scripts that they work with Ant 1.3but not with Ant 1.4

2001-05-02 Thread Craig R. McClanahan
On Thu, 3 May 2001, Conor MacNeill wrote: Craig, I suggest you don't apply this patch for a few reasons: 1. We are going to fix it in Ant CVS so that it is backward compatible. 2. There is no such thing as Ant 1.4 That makes sense to me. Thanks for being responsive on this. I'm

Re: Per-Populating Form (Take 2)

2001-05-03 Thread Craig R. McClanahan
On Thu, 3 May 2001, Open Source wrote: Hi All, I had previously posted a mail about prepopulating the form before it is presented to the user. My take on this is : 1.ActionForm will have a method called init(HttpServletRequest req). In this init method we can use any request

Re: Clarification on behavior of bean:include

2001-05-03 Thread Craig R. McClanahan
Unfortunately, you won't be able to use request scope for this. The reason is that, in a JSP 1.1 environment, bean:include has to internally do a separate request in order to buffer the output. Because it is a separate request, request scope attributes are not shared. Once we can migrate to

Re: Cactus suite of tests for Struts

2001-05-05 Thread Craig R. McClanahan
+1. I like it! After you're done, I want to declare a Struts 1.0 beta 2 release, because I've been knocking off a bunch of the Bugzilla bug reports, and it is time to let the world know about the progress that has been made. Craig On Sat, 5 May 2001, Vincent Massol wrote: I have been

Re: XSL instead of JSP

2001-05-08 Thread Craig R. McClanahan
On Tue, 8 May 2001, Mike Williams wrote: Joaquim, That sounds like a great idea! I had thought of SOAP initially then moved on. But, to be honest what I've come up with so far looks suspiciously like SOAP :) I would be very interested in seeing any code examples anyone might have

Struts 1.0-beta-2 Release

2001-05-08 Thread Craig R. McClanahan
Hey folks, As you've probably noticed from the CVS commits, I have knocked off a lot of the bugs reported in our bug tracking system: http://nagoya.apache.org/bugzilla/ for Struts. I would like to publish a Beta 2 release this Friday, May 11, 2001 -- and if all goes well a final release

Re: Scheduled Events

2001-05-09 Thread Craig R. McClanahan
On Wed, 9 May 2001, Taylor Cowan wrote: What do you folks think about a scheduled event daemon? J2EE doesn't cover this, I don't think any other frameworks do it yet, and it is similar to request event handling except the events are anonymous and don't contain a request object. I think

RE: cvs commit: jakarta-struts/src/share/org/apache/struts/action Action.java ActionForm.java

2001-05-11 Thread Craig R. McClanahan
org.apache.struts.util.MessageResources; +import org.apache.struts.upload.MultipartRequestHandler; /** @@ -106,7 +108,7 @@ * by this Action. * * @author Craig R. McClanahan - * @version $Revision: 1.19 $ $Date: 2001/02/23 21:13:09 $ + * @version $Revision

Re: cvs commit: jakarta-struts/src/share/org/apache/struts/utilRequestUtils.java

2001-05-11 Thread Craig R. McClanahan
On 11 May 2001 [EMAIL PROTECTED] wrote: mschachter01/05/11 15:33:38 Modified:src/share/org/apache/struts/action Action.java ActionServlet.java src/share/org/apache/struts/upload DiskMultipartRequestHandler.java

Re: cvs commit: jakarta-struts/src/share/org/apache/struts/utilRequestUtils.java

2001-05-11 Thread Craig R. McClanahan
On Fri, 11 May 2001, Martin Cooper wrote: At 03:44 PM 5/11/01, Craig R. McClanahan wrote: On 11 May 2001 [EMAIL PROTECTED] wrote: mschachter01/05/11 15:33:38 Modified:src/share/org/apache/struts/action Action.java ActionServlet.java

Re: [BeanUtils] Need a type conversion hook

2001-05-11 Thread Craig R. McClanahan
Hi Dmitri, No, I don't think that your problem is unique -- but it's definitely one I haven't had time to think much about in a Struts 1.0 time frame. In addition to the two alternatives you have proposed, the JavaBeans spec provides a standard API for doing custom type conversions -- the

RE: struts-config_1_0.dtd location when not connected to internet

2001-03-30 Thread Craig R. McClanahan
identifier (the URL) is totally ignored. By the way, servlet containers do this for the web.xml DTD as well, which is why (for example) you can run Tomcat disconnected from the Internet without modifying any of your web.xml files. Craig -Original Message- From: Craig R. McClanahan [mailto

Re: cvs commit: jakarta-struts/src/share/org/apache/struts/util RequestUtils.java

2001-05-12 Thread Craig R. McClanahan
On Sat, 12 May 2001, Ted Husted wrote: Craig, Speaking of schemes, any advice on the easiest way to flip between http: and https: -- the context being able to offer the option of logging in securely under https:, and then returning to http: afterwards. You can calculate an absolute

Re: IF / ELSE and SWITCH/CASE Tags

2001-05-15 Thread Craig R. McClanahan
On Tue, 15 May 2001, Johan Compagner wrote: Great idee's!! Sounds good to me. There is also progress on conditional tags in the Standard Tag Libraries effort that may or may not go in a similar direction -- but that shouldn't stop us from building on the existing concepts in the mean time.

Struts 1.0-b2 and CVS Branch

2001-05-19 Thread Craig R. McClanahan
Along with releasihng Struts 1.0-beta-2 (you should have just received the announcement), I have also created a branch in the CVS repository in preparation for final release. The HEAD branch is now open for starting work on Struts 1.1 (I'm going to begin by cleaning out all the obsolete 0.5

Re: Struts 1.0 b2 and JDK1.3 :(

2001-05-20 Thread Craig R. McClanahan
On Mon, 21 May 2001 [EMAIL PROTECTED] wrote: Hi there, I found a problem to import the source code struts 1.0b2 to VA for java 3.5.3. The function 'describe' in the class org.apache.struts.util.BeanUtils using JDK 1.3 function Collections.EMPTY_MAP. I just replaced this with

Re: Struts 1.0 b2 with Websphere 3.5 fixed pak 2

2001-05-21 Thread Craig R. McClanahan
On Mon, 21 May 2001 [EMAIL PROTECTED] wrote: I have struts 1.0 b1 with fine with Websphere but after using b2 the problem comes up. I got servletException javax.servlet.ServletException: cant remove Attributes from request scope Any ideal? Yep. Unfortunately, Websphere has a bug

Re: Struts 1.0 b2 with Websphere 3.5 fixed pak 2

2001-05-21 Thread Craig R. McClanahan
On Mon, 21 May 2001, Johan Compagner wrote: Yes this is a bug in Websphere (also happens in Tomcat3.1) Just change that specifiek call to call it directy from the request instead of gong through the PageContext (i think) The problem with doing that is that the PageContext view of the

Re: cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/htmlOptionsTag.java

2001-05-21 Thread Craig R. McClanahan
On Mon, 21 May 2001, Johan Compagner wrote: There is only one problem left. And that is the handling of a null pointer. Because it could be the case that the iterator iterates and get's a null value back. then a nullpointer exception would be thrown. In the previous release (without

Re: struts and scalability

2001-05-21 Thread Craig R. McClanahan
On Mon, 21 May 2001, Synovic, Michael wrote: Hi, I've be researching struts for a little while now and can not figure out how struts handles scalability and system failure issues, since the entire state management system seems to rely on using the session object. You can use

Digester Dependency on JAXP/1.0

2001-05-21 Thread Craig R. McClanahan
Currently, the documented dependency for the Digester module in Struts (the part that reads the configuration files like struts-config.xml) is on JAXP/1.0. I'd like to update this to JAXP/1.1 since there are at least two implementations (the JAXP/1.1 reference implementation from Sun, and Xerces

Re: What is the best way to have one jsp mapping to two forms?

2001-05-22 Thread Craig R. McClanahan
(Stripping all the disclaimer mumbo jumbo that's longer than the message :-) On Wed, 23 May 2001 [EMAIL PROTECTED] wrote: I have two actionForms one for person information 'personForm' and one for address 'addressForm'. I would like to have one JSP page to provide input form for both

Re: Logic tags and string properties

2001-05-23 Thread Craig R. McClanahan
On Wed, 23 May 2001, Martin Cooper wrote: It seems that it is not possible to use the logic tags to test is this property either null or an empty string?. Using logic:present, I can determine that some value is present, but as far as I can tell, there is no way to test for an empty string.

RE: Bean philosophy

2001-05-30 Thread Craig R. McClanahan
On Wed, 30 May 2001, Jonas Bjornerstedt wrote: Although you get basic type conversion with the getter/setter methods, it is not a convincing argument. The price you pay for getting something that is rather simple, is that 1) you have to always extend ActionForm 2) often use reflection /

Re: Bean philosophy

2001-05-30 Thread Craig R. McClanahan
On Wed, 30 May 2001, Jonathan Asbell wrote: Craig, that was the most excellent explanation. Thanks. What currently IS available for use regarding the automatic properties, and how may I use them? I download the nightly builds ;^ There's nothing in the official builds at the moment --

Re: String indexed bean fields

2001-05-30 Thread Craig R. McClanahan
On Wed, 30 May 2001, Rapheal Kaplan wrote: Has anyone thought about allowing for string based indexed fields (even though they do not fit in to the Java spec)? For example: logic:write name=user property=email{home}/ would call: user.getEmail(

Re: PATCH: Fix for struts.xsl

2001-05-31 Thread Craig R. McClanahan
On 31 May 2001, Roland Huss wrote: Hello, as you might have already noticed, the generated HTML-Documentation is not valid HTML, i.e. the body-tag is included twice. This prevents e.g. Mozilla 0.9 from rendering the struts documentation at all. I appended a simple patch, which fixes

Re: jakarta.apache.org and ssh

2001-06-01 Thread Craig R. McClanahan
On Fri, 1 Jun 2001, SCHACHTER,MICHAEL (HP-NewJersey,ex2) wrote: I sent this to the jakarta-general list, but I figured I'd send it here too... jakarta.apache.org keeps refusing my password when I ssh to it, anyone else know of this problem? Craig? Yep. The apache.org site was the

Struts 1.0 Release Planning

2001-06-01 Thread Craig R. McClanahan
I *really* wanted to have a 1.0 final release in time for JavaOne. But the recent events on the Apache server (a cracker got in), plus the fact that rebuilding things took Bugzilla down for a while, has made that basically impossible :-(. Instead, what I would like to propose is to cut a Beta 3

RE: cvs commit: jakarta-struts/src/share/org/apache/struts/utilRequestUtils.java

2001-06-01 Thread Craig R. McClanahan
$ * * * @@ -95,7 +95,7 @@ * in the Struts controller framework. * * @author Craig R. McClanahan - * @version $Revision: 1.14.2.1 $ $Date: 2001/06/01 18:45:03 $ + * @version $Revision: 1.14.2.2 $ $Date: 2001/06/01 20:21:40

Bugzilla #1879 (Connection Pool handling of Stale Connections)

2001-06-01 Thread Craig R. McClanahan
For the details of this bug report, see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1879 As the report points out, GenericConnectionPool does not do anything about stale connections (i.e. those that the database has timed out, or what will happen to all of them if the database is

Re: Bugzilla #1879 (Connection Pool handling of Stale Connections)

2001-06-01 Thread Craig R. McClanahan
On Fri, 1 Jun 2001, Ted Husted wrote: Craig R. McClanahan wrote: Therefore, it seems to me that allowing the configuration of an optional do nothing SQL command that GenericConnectionPool can use to test the validity of the connection would be a better approach. Does that make sense

Re: [VOTE] NEW COMMITTER - Martin Cooper

2001-06-11 Thread Craig R. McClanahan
Definitely +1. Craig On Mon, 4 Jun 2001, Ted Husted wrote: Martin Cooper has submitted several useful patches to Struts, has been very active on the Mailing List for as long as many of us can remember, and has shown a deep understanding of using Struts in a production environment. Martin

Re: digester and whitespace in XML text body

2001-06-11 Thread Craig R. McClanahan
On Thu, 31 May 2001, Nick Afshartous wrote: Adding a call to String.trim below in the Digester.endElement method below makes surrounding white space in text elements insignificant and consistent with the Digester documentation. Any chance this change could get into the final 1.0

Re: Client/Server Side Validation for Struts 1.1

2001-06-11 Thread Craig R. McClanahan
On Tue, 5 Jun 2001, Michael Westbay wrote: But what kind of compexity are you looking at? Let's take a small example of languages and countries to cover: Languages: English, Spainish, Japanese Locales: U.S., England, Spain, Japan Now you need resources: en, en_US, en_UK,

Re: Client/Server Side Validation for Struts 1.1

2001-06-11 Thread Craig R. McClanahan
On Tue, 5 Jun 2001, William Jaynes wrote: Remember... separation of view from model. The act of displaying an amount in a particular currency format is separate from determining what that amount is. So the code used to implement the display of the amount should not be mixed up with the

Re: Work flow RFC

2001-06-11 Thread Craig R. McClanahan
On Wed, 6 Jun 2001, Incze Lajos wrote: On Tue, Jun 05, 2001 at 11:46:58AM -0700, Frye, Dave wrote: Keep in mind that Microsoft uses there own version of DTDs and XML Schemas that are not W3C conformant. You would then have to use their XSL tools, which, of course, would be

  1   2   3   4   5   6   7   8   9   10   >