Re: Proposed enhancement to

2001-06-21 Thread Martin Cooper
Ted, > I'm probably +1 on this. I'm just not sure when you would want to > specify the key dynamically. I'd also wonder if there's a need to > specify the key dynamically, do we need to offer the same for the bundle > too? One example of where this would be useful in our app is this. Suppose I h

Struts 1.1 TODO List -- Event and Listener Model

2001-06-21 Thread Levi Cook
I realize that the list of 1.1 Event Generators is semi-volatile until work-flow and validation fall into place. On the flip side, I think there might be a few "interesting" events we can identify now. For instance, what do people think of the attached samples and models? What other events are peo

Re: javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml

2001-06-21 Thread zhaoj
This is a common problem when configuring struts on weblogic. Reason is that the parser could not fetch the file(http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd) from the web. The easiest way is to alter the request to your local file. For example:     FROM:       "-//Ap

javax.servlet.UnavailableException: Input/output error reading configuration from resource path /WEB-INF/struts-config.xml

2001-06-21 Thread Jonathan Asbell
Any one know why I am getting this Exception in Weblogic 6?   I have gotten this Exception before, erased the tmp war files, and all was ok.  Now erasing the tmp war doesnt help.  It happens inside the Digester in the below method, on the line "getParser().parse(input, this);" --

Re: WSFL article

2001-06-21 Thread Warner Onstine
I originally worked at Intalio, which had started the BPMI (Business Process Management Initiative) http://www.bpmi.org. IBM and many others have joined this (including ebXML). It is even referenced at the bottom. Unfortunately I don't know what their plans are in relationship to BPML. -warner

WSFL article

2001-06-21 Thread Nick Afshartous
Incze Lajos writes: > IBM's developerworks now has a gentle introduction on thw WSFL > (webervices flow language) at > >http://www-106.ibm.com/developerworks/webservices/library/ws-ref4/index.html?dwzone=webservices I noticed that at the beginning of the WSFL spec the author states that WSF

WSFL article

2001-06-21 Thread Incze Lajos
IBM's developerworks now has a gentle introduction on thw WSFL (webervices flow language) at http://www-106.ibm.com/developerworks/webservices/library/ws-ref4/index.html?dwzone=webservices incze

Re: Opening up a thread on ALTERNATE SCOPES

2001-06-21 Thread Jonathan
Hello Paul. I didnt know anything about graphs. Thanks for explaining. So how do you make these graphs? How do you link things in this fashion. I am really interested. Any links you can send me about this? - Original Message - From: "Paul Speed" <[EMAIL PROTECTED]> To: <[EMAIL PROTEC

Re: need solution

2001-06-21 Thread Rajasekhar Bodduluri
//LoginButton1.gif" ALT="Login"> Here the bean tag is not accepting, i know because of nested tag. So what is the solution to pass value dynamically over here? thanks & regards raj

RE: How do I call the bean:write tage for a property 'OID'

2001-06-21 Thread ABolarinwa
Todd, We had problem with any property that the first two characters are uppercase. This problem may be from conversion of OID to getOID and setOID. In our case we had to ensure that the first and second characters are lower case like oiD then it worked. Akin -Original Message- From: T

How do I call the bean:write tage for a property 'OID'

2001-06-21 Thread TODD HARNEY
How do I call the bean:write tage for a property 'OID'? I have tried both: bean:write property='OID' and bean:write property='oID' Any ideas? Todd

Re: html:link error

2001-06-21 Thread Oleg V Alexeev
Hello Rajasekhar, Thursday, June 21, 2001, 8:19:57 PM, you wrote: RB> Hi all, RB> When i am using this code i got one error: RB> Attribute req has no value at RB> org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:567) RB> onmouseover="MM_swapImage('Login','', property

RE: server-side, java-based validation rules for struts..

2001-06-21 Thread David Winterfeldt
I didn't take offense at what you said. I just wanted to acknowledge it was something I wanted to do and eventually things would be more reusable, but I haven't had time to address this issue as the code has changed. I would like to have things separated more with layers and interfaces so other

Re: Opening up a thread on ALTERNATE SCOPES

2001-06-21 Thread Paul Speed
A graph is a data structure where nodes are linked together. One node is linked to several other nodes and so on. A directed graph is a graph where the links have a specific direction. A tree is a special form of graph (usually directed) that only branches in one direction. In other words, a ch

Re: installing struts taglibs

2001-06-21 Thread William Shulman
thanks Craig- I may be appealing to the wrong crowd (as I expect this stuff is all part of the Servlet spec), but this somehow seems to be less modular than I would like. It seems that the spirit or .war files is to be an extension of the .jar file concept, generalized to entire j2ee application

RE: server-side, java-based validation rules for struts..

2001-06-21 Thread Cook, Levi
Hi David, I would like to emphasize that I truly do not intend to criticize or belittle your work. I really do appreciate and respect your efforts to give Struts a boost. My only agenda is simply trying to expand the flexibility of our tools and enhance there ability to be learned and reused. M

RE: DTD Location

2001-06-21 Thread Craig R. McClanahan
On Thu, 21 Jun 2001, Chad Johnston wrote: > Craig, > > I took my project home to work on it last night. I have a small LAN at home > that connects to the 'Net through a dialup on a file server. I was unable to > get my Struts 1.0 application working without being dialed in to my ISP. > Wheneve

Re: javax.servlet.include.path_info ????

2001-06-21 Thread Craig R. McClanahan
On Thu, 21 Jun 2001, Jonathan Asbell wrote: > Wow. I couldnt find this in the java docs. How would we otherwise know? > Which Javadocs did you look at? The Javadocs for the JDK, for example, only document what's in the JDK -- not any of the optional packages. Each add-on Java API (servlet

Re: installing struts taglibs

2001-06-21 Thread Craig R. McClanahan
On Wed, 20 Jun 2001, William Shulman wrote: > > Hello - > > I have been using the struts tablibs for a few weeks now and > integrated them with my application by adding taglib declarations in > my web.xml file to point to the struts tld files. However, I was > reading the installation notes a

html:link error

2001-06-21 Thread Rajasekhar Bodduluri
Hi all, When i am using this code i got one error: Attribute req has no value at org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:567) //LoginButton2.gif,1)"> but i defined req thanks & regards raj

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

2001-06-21 Thread craigmcc
craigmcc01/06/21 09:18:20 Modified:src/share/org/apache/struts/taglib/html BaseHandlerTag.java Log: Make the remaining helper methods "protected" rather than "private". Submitted by: James Howe <[EMAIL PROTECTED]> Revision ChangesPath 1.7 +8 -11 jakarta-s

Re: server-side, java-based validation rules for struts..

2001-06-21 Thread David Winterfeldt
I haven't had time yet to reorganize the code to separate out validations into pure boolean validation methods. The interface that is there now wasn't the original one and has evolved over time. When I have free time, I've normally focused on adding functionality over reorganizing the source cod

RE: server-side, java-based validation rules for struts..

2001-06-21 Thread Cook, Levi
comments below... > -Original Message- > From: Jonathan [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 21, 2001 10:38 AM > To: [EMAIL PROTECTED] > Subject: Re: server-side, java-based validation rules for struts.. > > So at some point you will gat a handle to the ActionForm > (read "

Re: Proposed enhancement to

2001-06-21 Thread Craig R. McClanahan
On Thu, 21 Jun 2001, Ted Husted wrote: > I'm probably +1 on this. I'm just not sure when you would want to > specify the key dynamically. I'd also wonder if there's a need to > specify the key dynamically, do we need to offer the same for the bundle > too? > I think the general concept of var

Re: server-side, java-based validation rules for struts..

2001-06-21 Thread Jonathan
So at some point you will gat a handle to the ActionForm (read "bean") and say: actionForm.addVetoableChangeListener(String propertyName,VetoableChangeListener listener) or actionForm.addVetoableChangeListener(VetoableChangeListener listener) or the third one which I dont totally understand. (plea

RE: server-side, java-based validation rules for struts..

2001-06-21 Thread Cook, Levi
Yes, the end result is ActionForms with Listeners registered prior to the ActionServlet populating our form with the users request values. Slightly more exact mechanics for registering the listeners are: 1. Instantiate the form-bean 2. Instantiate zero to many listeners 3. Register each listen

Re: server-side, java-based validation rules for struts..

2001-06-21 Thread Jonathan
So you are saying that when an ActionForm is instantiated its associated listener(s) get shoved in (read "registered") via a set method on the ActionForm, and the Listener actually does the registering of itself in its constructor or something. So what you have is a bunch of ActionsForms with the

RE: DTD Location

2001-06-21 Thread Chad Johnston
Craig, I took my project home to work on it last night. I have a small LAN at home that connects to the 'Net through a dialup on a file server. I was unable to get my Struts 1.0 application working without being dialed in to my ISP. Whenever I started up Tomcat without being connected to the 'Net

Re: Opening up a thread on ALTERNATE SCOPES

2001-06-21 Thread Ted Husted
Currently, I'm just running everything in session scope, and attached some convenience methods to an Action superclass, along the lines of the saveErrors() convenience method. The cache is instantiated when the actor logs in, and the convenience methods access it through a constant key, just as St

Re: server-side, java-based validation rules for struts..

2001-06-21 Thread Levi Cook
I guess that's the critical part, eh-- sorry for the hand-waving :) At this point, I see the Struts controller coordinating these "rules", based on the contents of struts-config.xml: 1. Instantiation of our form-bean as needed (no real change here). 2. Instantiation of optional change-lis

Re: How session management is handle by struts???

2001-06-21 Thread Tuscano, Stephen
Hi Everyone, I am new to struts. Can anybody tell me, How the Struts takes care of session management? Thanxs. Stephen.

Re: Templates and struts-config.xml parameters

2001-06-21 Thread Cedric Dumoulin
Check the Components / Extended Templates proposal. It allows to : * Define template definition (url+attributes) in a central file (xml) * Define definition by inheritance * Use a template definition name as struts-config forward parameter * And much more ... Ideas that you pro

Re: Opening up a thread on ALTERNATE SCOPES

2001-06-21 Thread Jonathan Asbell
How are you dealing with scope. Do you use an adaptor to Session or ServletContext to hide the scope's implementation from the developer, or do you outright use a Session etc. - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 20

Re: javax.servlet.include.path_info ????

2001-06-21 Thread Jonathan Asbell
Wow. I couldnt find this in the java docs. How would we otherwise know? - Original Message - From: "Sukachevin, Stoehr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 7:30 AM Subject: RE: javax.servlet.include.path_info > Check the Java Servlet Spec AP

Re: Opening up a thread on ALTERNATE SCOPES

2001-06-21 Thread Jonathan Asbell
you are an early bird ted! - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 7:31 AM Subject: Re: Opening up a thread on ALTERNATE SCOPES > Sorry, I should have said remove rather than pop. It's a hashtable, so > everythin

Re: server-side, java-based validation rules for struts..

2001-06-21 Thread Jonathan Asbell
Levi, you lost me somewhere in your explanation from ."now have to account for interacting with Struts-- That's where I see java.bean.VetoableChangeListener." What are you passing to whom, and where are you instantiating and registering things? - Original Message - From: "Le

RE: javax.servlet.include.path_info ????

2001-06-21 Thread Sukachevin, Stoehr
Check the Java Servlet Spec API. v2.2 says: When a servlet is being used from within an include, it is sometimes necessary for that servlet to know the path by which it was invoked and not the original request paths. The following request attributes are set: javax.servlet.include.request_uri ja

Re: Opening up a thread on ALTERNATE SCOPES

2001-06-21 Thread Ted Husted
Sorry, I should have said remove rather than pop. It's a hashtable, so everything is accessed by a token name. Jonathan Asbell wrote: > If you are pushing and popping how do you get to the bottom ones anyway?

Re: Proposed enhancement to

2001-06-21 Thread Jonathan Asbell
Can we please do this? Martin, can you send me what you have anyway because I want to use it if they wont include it =) - Original Message - From: "Ted Husted" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 7:14 AM Subject: Re: Proposed enhancement to > I'm p

Re: I would like to offer myself to help with documentation

2001-06-21 Thread Jonathan Asbell
Sure Ted. Thanx. My perspective always comes from assuming that the reader doesnt know much. People get confused and sidetracked with jargon, and struts can be used by less experienced people if explained correctly. I mean, dont we want the user base to grow so it can be developed better and f

Re: Proposed enhancement to

2001-06-21 Thread Ted Husted
I'm probably +1 on this. I'm just not sure when you would want to specify the key dynamically. I'd also wonder if there's a need to specify the key dynamically, do we need to offer the same for the bundle too? Meanwhile, I also wonder if we should have "textKey" and "bundle" attributes for the

Re: Opening up a thread on ALTERNATE SCOPES

2001-06-21 Thread Jonathan Asbell
Ted, can you explain a little more about: "I also started thinking of it as a cache, since if heavily used it might need to be capped, so that older items were automatically disposed when it was 'full'. " If you are pushing and popping how do you get to the bottom ones anyway? - Original Mes

Re[2]: I would like to offer myself to help with documentation

2001-06-21 Thread Oleg V Alexeev
Hello Ted, +1 Good idea. Thursday, June 21, 2001, 2:52:08 PM, you wrote: TH> I like the idea of a "brochure-size" introduction to Struts, and a TH> "quick-start" installation guide. I think this might make a useful TH> preamble to the User Guide. TH> My favorite part is where you say: TH> "

Re: Opening up a thread on ALTERNATE SCOPES

2001-06-21 Thread Jonathan Asbell
Can you describe what you mean by graph. Do you mean a HashMap or List? How do you "jump"? How do you go follow decisions and results? - Original Message - From: "Paul Speed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 2:24 AM Subject: Re: Opening up a thre

RE: Opening up a thread on ALTERNATE SCOPES

2001-06-21 Thread Rey Francois
This is also an area I like to discuss but I do not have any implementation nor the requirement yet to implement alternate scopes. I've made an earlier posting on this topic giving my thoughts, which I repeat below. --- start of extract --- (...) This has suggested me the notion of contexts, som

Re: I would like to offer myself to help with documentation

2001-06-21 Thread Ted Husted
I like the idea of a "brochure-size" introduction to Struts, and a "quick-start" installation guide. I think this might make a useful preamble to the User Guide. My favorite part is where you say: "Your company has decided" I think this would make a nice focal point for an introduction. After

Templates and struts-config.xml parameters

2001-06-21 Thread Chris Miller
First off, I've been off this mailing list for quite a while, so please excuse me if this has already been discussed (how can I search the mailing list easily?). I'm trying to set up a website using Struts' templating functionality, however I've run into a 'problem'. Looking at the Struts templa

Re: Opening up a thread on ALTERNATE SCOPES

2001-06-21 Thread Ted Husted
What I'm working on myself right now is a "ResourceCache" where I can tuck things (like partially complete ActionForms) for future use. It's just a hashtable right now, but the objects could also be wrapped if additional properties were needed. I'm using it to do two things: (1) save partially c

Re: Struts 1.0 Released - Looking forward to 1.1!!!!!!!

2001-06-21 Thread Ted Husted
Just a note: Committers make the final decision about whether something is added to the official distribution, but we do not control the contribution or development process. Everyone is invited and encouraged to discuss how they would implement features here on the dev list, and then go off and