RE: Proposal

2001-06-11 Thread Dan - Blue Lotus Software
This is odd. I've got a controller built around filters that forwards the request to the appropriate resource (servlet, JSP page, or whatever). It works under Catalina. I'm not sure if what I'm doing differs from what you're saying the Servlet 2.3 spec cannot do, but it sounds to me that they a

RE: cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/logic PresentTag.java

2001-06-11 Thread HALADA, Peter
> -Original Message- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Monday, June 11, 2001 7:35 PM > To: [EMAIL PROTECTED] > Subject: cvs commit: > jakarta-struts/src/share/org/apache/struts/taglib/logic PresentTag.java > > craigmcc01/06/11 10:34:41 > > Modified

Re: Handling session timeouts

2001-06-11 Thread Jonathan Asbell
No Craig. If his session times out, it will loose the token in the session. Thus the page will not submit because the token in the session will not match the one in the hidden field. - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Jonathan

Re: Main Branch/1.0 Branch and CVS

2001-06-11 Thread Martin Cooper
If you checked out your tree using: cvs co jakarta-struts then you checked out the main trunk, which is currently Struts 1.1 (or at least post-1.0). When you do a checkin in that tree, it will go back into the main trunk. You can check out a branch using: cvs co -rSTRUTS_1_0_BRANCH jakarta-str

Re: Main Branch/1.0 Branch and CVS

2001-06-11 Thread Craig R. McClanahan
On Mon, 11 Jun 2001, SCHACHTER,MICHAEL (HP-NewJersey,ex2) wrote: > Hi, > > Could someone clear this up for me? I'm not totally sure exactly what > I'm doing at this point when I do a cvs commit. I'll assume that when I > just do a normal commit to the jakarta-struts repository, that's the ma

cvs commit: jakarta-struts/doc/stylesheets struts.xsl userGuide.xsl

2001-06-11 Thread craigmcc
craigmcc01/06/11 20:19:07 Modified:doc/stylesheets struts.xsl userGuide.xsl Log: Port stylesheet fixes. Revision ChangesPath 1.3 +7 -2 jakarta-struts/doc/stylesheets/struts.xsl Index: struts.xsl ==

cvs commit: jakarta-struts/doc/stylesheets struts.xsl userGuide.xsl

2001-06-11 Thread craigmcc
craigmcc01/06/11 20:18:10 Modified:doc/stylesheets Tag: STRUTS_1_0_BRANCH struts.xsl userGuide.xsl Log: Clean up two problems in the stylesheets used for creating documentation: * Generated dummy tags from the project.xml file. * Generated incorrect colo

Re: Handling session timeouts

2001-06-11 Thread Craig R. McClanahan
On Mon, 11 Jun 2001, Jonathan Asbell wrote: > Craig, I thoght the token mechanism could have helped here. Am I wrong? Tokens will definitely help avoid the problem of pressing Reload, or pressing Back Arrow and then submitting again, but they don't do anything particularly useful in regards t

Re: Proposal

2001-06-11 Thread Craig R. McClanahan
One thing this approach would seem to need is a way to specify that you're forwarding to a path that is relative to , rather than , right? Craig McClanahan On Mon, 11 Jun 2001, Jeff Trent wrote: > I haven't heard much in the way of a reponse on this proposal so I guess I'll be on >my own

Re: Proposal

2001-06-11 Thread Craig R. McClanahan
On Mon, 11 Jun 2001, Taylor Cowan wrote: > I think this is a very good proposal. I would not use the action > identifiers. They should just be methods of the listener interface: > > public void beforePagerRendered(...) > public void afterPageRendered(...) > How is Struts supposed to know

RE: Proposal

2001-06-11 Thread Craig R. McClanahan
On Wed, 6 Jun 2001, Dan - Blue Lotus Software wrote: > > Of course, the Servlet 2.3 spec hasn't been finalized yet. But Tomcat > Catalina (in it's 5th beta release) implements Filters. They're really > cool, and they might make the ActionServlet concept a bit redundant. That > is, the contr

Re: Handling session timeouts

2001-06-11 Thread Jonathan Asbell
Craig, I thoght the token mechanism could have helped here. Am I wrong? - Original Message - From: "Craig R. McClanahan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 11, 2001 10:30 PM Subject: Re: Handling session timeouts > On Wed, 6 Jun 2001, Andreas Prohaska wrote:

Main Branch/1.0 Branch and CVS

2001-06-11 Thread SCHACHTER,MICHAEL (HP-NewJersey,ex2)
Hi, Could someone clear this up for me? I'm not totally sure exactly what I'm doing at this point when I do a cvs commit. I'll assume that when I just do a normal commit to the jakarta-struts repository, that's the main branch. How do I send commits to and checkout the 1.0 branch? How do I kn

Re: Handling session timeouts

2001-06-11 Thread Craig R. McClanahan
On Wed, 6 Jun 2001, Andreas Prohaska wrote: > > This was originally posted to the struts-user list, but Ted Husted pointed > out that I should better discuss this on the development list. > > For the guys that are not listening to the user list, the background: We > have written a wizard for a

Re: Work flow RFC

2001-06-11 Thread Craig R. McClanahan
On Wed, 6 Jun 2001, Craig Tataryn wrote: > Ted, as for "enforcing" the workflow, I hadn't even considered it. The goal of > the TODO is just to make a graphical tool that allows you to define a workflow > and automate the process of setting up your config files to support the > workflow. Atle

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 Wintel

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

question

2001-06-11 Thread William Shulman
Inside of the logic:iterate tag, I am passing a string to an xsl tranformer, using pageContext.out as the writer the tranformer will write its results to. When I do so, there is a complaint that says: "Illegal to flush within a custom tag" I tried to do the same thing (use an xsl tranformer) i

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,

Re: [PROPOSAL] Struts Extensions

2001-06-11 Thread Ron Smith
I know this API isn't currently available, but if the struts extension also registered to get notified of those events it was interested in (event/listener model in 1.1 Todo), such as pre-perform and post-perform events, it could do whatever additional behavior it needed to do. I don't know if tha

Re: Proposal

2001-06-11 Thread Taylor Cowan
It's a matter of granularity.  My struts apps only have one servlet.  I think the idea is to have these events at the action level, per ActionForm.  A filter is at the servlet level.  As I understand it, I can have a filter associated with a servlet or a group of servlets.  So in my struts a

RE: Proposal

2001-06-11 Thread Dan - Blue Lotus Software
Really?  Why not write a filter that invokes "beforePagerRendered()" before invoking "chain.doFilter()", then invoking "afterPageRendered()" after invoking "chain.doFilter()"?   It seems to me that filters do *exactly* then thing that you claim they do not.  Could you please elaborate why y

Re: Custom data source properties

2001-06-11 Thread Craig R. McClanahan
On Tue, 5 Jun 2001, Brook, Andy wrote: > Hi all, > Im using JDataConnect with struts, all working fine except there are some > 'custom' properties that the driver supports that I want to set. In this > instance Unicode support, but it could be anything. > > Ive mod'd the necessary code for 'd

Re[2]: [PROPOSAL] Struts Extensions

2001-06-11 Thread Oleg V Alexeev
Hello Martin, But how about such situation as follows. I can store bean-factory object in application scope. I can use it in any action to perform bean producing. But main idea of bean-factory is to perform _automatic_ bean generation by name of the action. For example - in struts-config or in ex

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 r

cvs commit: jakarta-struts/src/share/org/apache/struts/digester Digester.java

2001-06-11 Thread craigmcc
craigmcc01/06/11 12:55:44 Modified:src/share/org/apache/struts/digester Digester.java Log: Trim leading and trailing whitespace from the value that is passed to Rule.body(). Revision ChangesPath 1.20 +5 -5 jakarta-struts/src/share/org/apache/struts/digester/

cvs commit: jakarta-struts/src/share/org/apache/struts/digester Digester.java

2001-06-11 Thread craigmcc
craigmcc01/06/11 12:54:51 Modified:src/share/org/apache/struts/digester Tag: STRUTS_1_0_BRANCH Digester.java Log: Trim leading and trailing whitespace from the values passed to Rule.body(). Submitted by: Nick Afshartous <[EMAIL PROTECTED]> Revisio

Re: Proposal

2001-06-11 Thread Ted Husted
You can also create and return Action Forwards on the fly return (new ActionForward( "uri" )); if that helps. Jeff Trent wrote: > > Ok. I guess I'm not familiar enough with struts yet to see how to apply > this type of logic dynamically to the action mapping. I certainly *don't* > want to

Re: Proposal

2001-06-11 Thread Taylor Cowan
I think this is a very good proposal.  I would not use the action identifiers.  They should just be methods of the listener interface:   public void beforePagerRendered(...) public void afterPageRendered(...)   This seems to be similar to filters, but 2.3 filters don't solve this problem for

Re: Proposal

2001-06-11 Thread Jeff Trent
Ok. I guess I'm not familiar enough with struts yet to see how to apply this type of logic dynamically to the action mapping. I certainly *don't* want to assign these mappings in the .XML file if that is what you are suggesting. I do see some sense in extending the ActionMapping class to do thi

Re: Proposal

2001-06-11 Thread Ted Husted
In the environment you mentioned, each client could have it's own set of action mappings (that might all use the same servlets), with their own set of input properties and local forwardings. The way to tell an Action Servlet which JSP to use is with the local forwards. The way to get the same serv

RE: erros not displaying

2001-06-11 Thread Abraham Kang
Hi Rajasekhar, What "key" are you storing the errors under? --Abraham > -Original Message- > From: Rajasekhar Bodduluri [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 11, 2001 11:32 AM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Subject: Re: erros not displaying > > > > Hi

Re: erros not displaying

2001-06-11 Thread Spencer Smith
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> Make sure to include this in your JSP - Original Message - From: "Ravindran Ramaiah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, June 11, 2001 11:38 AM Subject: RE: erros not displaying > >

RE: erros not displaying

2001-06-11 Thread Ravindran Ramaiah
Please make sure that you have initialized ActionErrors with approtiate error key defined in Application Properties file. Only error messages from properties file will be displayed throught this tag. Following is the code snippet --- ActionErrors act = new ActionErro

Re: erros not displaying

2001-06-11 Thread Rajasekhar Bodduluri
Hi all, I am not getting erros when i am usingtag, is any body knows what would be the reason? thanks & regards raj

Re: Proposal

2001-06-11 Thread Jeff Trent
I haven't heard much in the way of a reponse on this proposal so I guess I'll be on my own  In either case, I would like to make one more addendum to what I'm proposing in case anyone is interested.   There are times I've found when the presentation (input mapping) is not cut and dry.  F

cvs commit: jakarta-struts/web/example/WEB-INF app.tld

2001-06-11 Thread craigmcc
craigmcc01/06/11 11:17:14 Modified:web/example/WEB-INF app.tld Log: Port the changes to to accept runtime expressions. Revision ChangesPath 1.6 +2 -2 jakarta-struts/web/example/WEB-INF/app.tld Index: app.tld

cvs commit: jakarta-struts/web/example/WEB-INF app.tld

2001-06-11 Thread craigmcc
craigmcc01/06/11 11:16:25 Modified:web/example/WEB-INF Tag: STRUTS_1_0_BRANCH app.tld Log: Make the "name" and "page" attributes of able to accept runtime expressions. Revision ChangesPath No revision No revision 1.5

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html LinkTag.java

2001-06-11 Thread craigmcc
craigmcc01/06/11 10:40:33 Modified:src/share/org/apache/struts/taglib/html LinkTag.java Log: Remove old commented-out code. Revision ChangesPath 1.16 +4 -131 jakarta-struts/src/share/org/apache/struts/taglib/html/LinkTag.java Index: LinkTag.java =

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html LinkTag.java

2001-06-11 Thread craigmcc
craigmcc01/06/11 10:39:53 Modified:src/share/org/apache/struts/taglib/html Tag: STRUTS_1_0_BRANCH LinkTag.java Log: Cosmetic fix - remove a bunch of old refactored code that was commented out. Revision ChangesPath No revision

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/logic PresentTag.java

2001-06-11 Thread craigmcc
craigmcc01/06/11 10:35:52 Modified:src/share/org/apache/struts/taglib/logic PresentTag.java Log: Port fix for Bugzilla #2109. Revision ChangesPath 1.8 +11 -6 jakarta-struts/src/share/org/apache/struts/taglib/logic/PresentTag.java Index: PresentTag.java

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/logic PresentTag.java

2001-06-11 Thread craigmcc
craigmcc01/06/11 10:34:41 Modified:src/share/org/apache/struts/taglib/logic Tag: STRUTS_1_0_BRANCH PresentTag.java Log: Update processing of the and tags to reflect the fact that the four-argument version of RequestUtils.lookup() will now throw an excep

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html LinkTag.java

2001-06-11 Thread craigmcc
craigmcc01/06/11 10:06:12 Modified:src/share/org/apache/struts/taglib/html LinkTag.java Log: Port the fix for Bugzilla #2109. Revision ChangesPath 1.15 +5 -4 jakarta-struts/src/share/org/apache/struts/taglib/html/LinkTag.java Index: LinkTag.java ===

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html LinkTag.java

2001-06-11 Thread craigmcc
craigmcc01/06/11 10:05:04 Modified:src/share/org/apache/struts/taglib/html Tag: STRUTS_1_0_BRANCH LinkTag.java Log: Correctly render an element when you use . PR: Bugzilla #2109 Submitted by: Howard Moore <[EMAIL PROTECTED]> Revision Changes

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. Mart

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html package.html

2001-06-11 Thread craigmcc
craigmcc01/06/11 09:02:52 Modified:src/share/org/apache/struts/taglib/html package.html Log: Port fix to internal hyperlink from 1.0. Revision ChangesPath 1.6 +1 -1 jakarta-struts/src/share/org/apache/struts/taglib/html/package.html Index: package.html

cvs commit: jakarta-struts/src/share/org/apache/struts/taglib/html package.html

2001-06-11 Thread craigmcc
craigmcc01/06/11 09:01:57 Modified:src/share/org/apache/struts/taglib/html Tag: STRUTS_1_0_BRANCH package.html Log: Correct an internal hyperlink. Submitted by: Lance Lavandowska <[EMAIL PROTECTED]> Revision ChangesPath No r

OptionsTag and SelectTag proposed changes

2001-06-11 Thread Johan Compagner
Hi, I wanted to fill in a Select with Options that are filled out of a Collection. where i could specify a value and label property of the objects that are in that connection. Then i saw that this was already implemented bug only for Collection that are in the request. But that was not the cas

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

2001-06-11 Thread Johan Compagner
This change presents a bug! if i do this: then logic calls: RequestUtils.lookup(xxx) And it doesn't find that bean. So RequestUtils suddenly throws a Exception which it didn't before. So now the present tag isn't working anymore. Johan - Original Message - From: <[EMAIL PROTECTED]>

Re: Multipart request handling

2001-06-11 Thread Incze Lajos
On Sun, Jun 10, 2001 at 07:09:06PM -0700, Martin Cooper wrote: > Incze, > > The fix for this - unwrapping the request - has been made on the main trunk > (Struts 1.1) in CVS, but has not been applied to the Struts 1.0 branch. If > you can, you might want to try using the latest nightly build unti

Please Unsubscribe-tanver.afzal@nationallife.ca

2001-06-11 Thread Afzal, Tanver
Please [EMAIL PROTECTED]

Making over Half Million Dollars every 4 to 5 Months from your Home!!!

2001-06-11 Thread Sarah
AS SEEN ON NATIONAL TV:Making over Half Million Dollars every 4 to 5 Months from your Home for an investment of only$25 U.S. Dollars expense one timeTHANK'S TO THE COMPUTER AGE AND THE INTERNET!==BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!!Be