[Apache Struts Wiki] Updated: AbandonedPages

2004-03-24 Thread struts-dev
Date: 2004-03-24T17:28:42 Editor: 202.118.6.200 <> Wiki: Apache Struts Wiki Page: AbandonedPages URL: http://wiki.apache.org/struts/AbandonedPages no comment Change Log: -- @@ -1,4 +1 @@ -##language:en

Re: RE: FormBeans ... as an Interface.

2002-07-03 Thread struts-dev
Thanks Joe. The little problem I'm having is that there isn't really a way to initialize the reference to the value object. In other words, how to get the property to reference the value object fetched by the Action. It's no big deal. Now that I realize that it's not part of the philsophy of th

Re: RE: FormBeans ... as an Interface.

2002-07-02 Thread struts-dev
(I'm not proposing autopopulating anything -- the Action has to fetch the value object anyway. I just want to reference it directly using syntax like valueObject.name from my form tags... This *avoids* aupopulating or having to synchronize any object since the ActionForm just references the val

Re: RE: FormBeans ... as an Interface.

2002-07-02 Thread struts-dev
Thanks for the nice reply. I wouldn't think of it as Struts dictating the structure of the value object. In practice, when a user is editing something, the thing almost always corresponds to an object. That's the way the objects were modeled in the first place -- by doing use-case analysis, et

Re: ActionForm initialization

2002-07-02 Thread struts-dev
Thank you for your thorough response. Point of clarification: I'm talking about having the data available to some form found in the view being forwarded to. This is not the form being passed *to* the action. In other words, the Action sees the query data from the URL that got us to the action.

ActionForm initialization

2002-07-02 Thread struts-dev
I've read several topics debating this. These discussiosn leave the issue ambiguous. I've written couple of notes in "struts-user," but received no response. This makes me think it's an architectural issue, perhaps best addressed in this forum. What I want to be able to do is described in my to

Re: RE: FormBeans ... as an Interface.

2002-07-02 Thread struts-dev
You state: > The ActionForm contains a *proposed* > state change to the model or one of > its beans. As Web developers, it's > our job to confirm that the state > change is reasonable (validate the > input) and ~then~ update the model. Using a value object would be a standard way of handling

Retrieving messages from the default and non-default bundles

2002-05-16 Thread struts-dev
I’m posting this question to the dev group, because I’m not that many are using the multiple bundle support of 1.1 yet. I’ve noticed that several of the methods for getting access to the Servlet and thus the ServletContext have been removed from classes like ApplicationConfig. This has made it

The roles attribute in struts-config_1_0.dtd

2002-04-12 Thread struts-dev
Anyone know why the DTD doesn't specify a roles attribute for the action mapping, but the processRoles() method in the RequestProcessor is checking the ActionMapping for every request to see if the roleNames field contains roles loaded from the struts-config? I also see that the ActionConfig su

Re: [Struts-Dev] Multi-App support and using actions across applications

2002-03-02 Thread struts-dev
Martin, I have two quick questions relating to this. First, do you think that this is the way that multi-modules (sub-apps) will stay for the beta/1.1 release? That is, that a sub-app will be somewhat limited in how it can reference actions in other sub-apps, similar to the problem that Lain

Possible bug in multi app code - Can Ted or Craig respond?

2002-02-27 Thread struts-dev
I have been working on setting up a multi-app application by using multiple config/ init-param elements and struts configuration files. It seems to me that there is a small problem in the RequestUtils class when a request URI is used to locate the proper sub-application so that an ApplicatonCon

Re: DO NOT REPLY [Bug 6689] New: - Tomcat can not load action servlet (missing message resource)

2002-02-26 Thread struts-dev
I'm wondering if this has anything to do with the bug that I reported a couple of nights ago #6646. I should have probably mentioned that I was configuring the message resource through the default struts-config and didn't have an "application" init-param in the web.xml. This is how I think 1.1

Possible problem in ConfigRuleSet in 1.1

2002-02-23 Thread struts-dev
Sorry to post a bug here, but the bug database is down right now and I wanted to let someone know. I've been working on getting everything working on 1.1 and I think I found something wrong in the ConfigRuleSet as it relates to the message-resources element. Here is a section of the file starti