Re: java.lang.IllegalArgumentException: No bean specified

2004-05-16 Thread Paraman
Richard, Thanks for your kind help. Following is the content of my struts-config.xml and I am invoking the "/executeEvaluation" action. /// struts-config.xml //

Assigning a List object to a DynaActionForm

2004-05-16 Thread Jürgen Zimmermann
I have a DynaActionForm in struts-config.xml like In the session scope there is a variable called "theCustomers" of type java.util.ArrayList which has elements of CustomerBean. In a JSP there is a form with the DynaActionForm above. How do I assign the list "theCustomers" to the form

Reviewers: Upcoming Book

2004-05-16 Thread jm04469
Several authors are finishing up a manuscript for an upcoming book tentatively entitled: Agile Enterprise Architecture which takes the discipline of enterprise architecture and combines it with agile methods as defined at: http://www.agilemanifesto.org Interested in employees of Fortune 500 enterp

Re: Using DispatchActions with validation

2004-05-16 Thread Jacob Weber
Right, the flow returns to the "input" page, which can be another action call. So I'm making my "input" point to "/myAction.do?method=myMethod", which calls a particular method of a DispatchAction. It seems to work, but this kind of points to a larger question. Say I have some steps that need

UTF8 and Chinese

2004-05-16 Thread Michael McGrady
I am trying to use the image tags from Commons sandbox taglibs. I am trying to use them with Chinese. The Western European languages work fine with them, but the same thing does not work with Chinese. I am doing the following, in essence: // Welcome in Chinese String original = new String("\

RE: Maintaining form data across pages...

2004-05-16 Thread Michael McGrady
I fear that some of this contains a misunderstanding at a deeper level. You can control all this by coding what you want in the reset() method. The actual code (in part) is as follows: form.setServlet(this.servlet); form.reset(mapping, request); if (mapping.getMultipartClass() != n

Re: java.lang.IllegalArgumentException: No bean specified

2004-05-16 Thread Richard Yee
With the information you provided, it is hard to tell what the problem is. Send the contents of your struts-config.xml and which action you are invoking. Regards, Richard At 07:16 AM 5/16/2004, you wrote: Hi, I am writing a web application based on Struts and encountered a problem. When I ran it

java.lang.IllegalArgumentException: No bean specified

2004-05-16 Thread 束建荣
Hi, I am writing a web application based on Struts and encountered a problem. When I ran it on Tomcat, I got the following exception: java.lang.IllegalArgumentException: No bean specified org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:837) org

RE: memFileSize to control the file in memory or on disk

2004-05-16 Thread Joe Germuska
At 8:02 AM +0300 5/16/04, ayouaa0a wrote: I'm using struts 1.1 Maybe, I must change the default uploader class or something, can u send me the application configuration for the application u mentioned, and also the snap of code getting the file. The code dealing with the file is all in the Struts o

* Just testing .

2004-05-16 Thread yogendrav
Pls excuse this msg. Just testing filter configuration in my MailClient. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help with using declarative error handling

2004-05-16 Thread Frank Burns
Hi, I can't get the relevant error message from the resources file to display when an exception is thrown. Can you please help? Here is the scenario: One of my Action classes, AuthenticateAction, can generate the same type of application-specific exception (TrcDatabaseException) at various point

RE: Maintaining form data across pages...

2004-05-16 Thread ayouaa0a
Sounds great, ISA, I will make a sample and post it over the group :) -Original Message- From: Jonathan Roberts [mailto:[EMAIL PROTECTED] Sent: Sunday, May 16, 2004 2:44 PM To: Struts Users Mailing List Subject: RE: Maintaining form data across pages... Ashraf, Why dont you add this to

RE: Maintaining form data across pages...

2004-05-16 Thread Jonathan Roberts
Ashraf, Why dont you add this to the site once you have resolved the architecture and code issues - sounds like an issue that alot of people may come across! Jon ayouaa0a <[EMAIL PROTECTED]> wrote: Thanks very much, u have been of a great help :) -Original Message- From: Andrea M [ma

RE: Maintaining form data across pages...

2004-05-16 Thread ayouaa0a
Thanks very much, u have been of a great help :) -Original Message- From: Andrea M [mailto:[EMAIL PROTECTED] Sent: Sunday, May 16, 2004 2:06 PM To: 'Struts Users Mailing List' Subject: R: Maintaining form data across pages... Yes that's the way it works It does not matter in which scope

R: Maintaining form data across pages...

2004-05-16 Thread Andrea M
Yes that's the way it works It does not matter in which scope the form is set 1. JSP submits the form 2. Struts goes to find one in the scope you told him 3. if it finds one, then it calls reset() (so to avoid having stale data), then populates it 4. it it doesn't find any form in the scope, then i

RE: Maintaining form data across pages...

2004-05-16 Thread Lukas
Ayoub, This was an issue that came across a little while ago, and I was surprised by the lack of existing solutions. What we did was to implement a little process engine wherein you could setup a single action (subclass of the process action) and setup within the action the steps (step1, step2, st

RE: Maintaining form data across pages...

2004-05-16 Thread Lukas
Ayoub, This was an issue that came across a little while ago, and I was surprised by the lack of existing solutions. What we did was to implement a little process engine wherein you could setup a single action (subclass of the process action) and setup within the action the steps (step1, step2, st

RE: Maintaining form data across pages...

2004-05-16 Thread ayouaa0a
Yes, that's what I want, I will give it a try. but what do u mean struts "always calls reset()" everytime it access the form, this is very strange, even the form is in session!! Plz domonstrate more, as far as I understood: 1- When a JSP submits a form. 2- Struts calls reset for the form. 3-

R: Maintaining form data across pages...

2004-05-16 Thread Andrea M
Hi I'm not sure I've understood properly what you need What I understand is that you are trying to populate the same actionform using several pages. The problem is that struts *always calls reset()* every time it access the form. What you can do is making your pages set a flag in the request, so yo

Maintaining form data across pages...

2004-05-16 Thread Ayoub, Ashraf A
Dears, I am trying to setup a series of jsp pages (requestForm, confrimation jsp). I set the scope of my requestForm to "session" as to maintain the data across the various jsps, but I get it as if reset is called, after the confirmation page submits. What is the best way to maintain the reque

R:

2004-05-16 Thread Andrea M
Hi Raman I would rather suggest you to put in your scope an ArrayList of beans, each one eventually with getName() and getLabel() (or whatever you like) So.. in that case, if your collection is stored as "dummyList" then you could access it like this: Where property attribute will be the value

R: **--Message Resource problem--**

2004-05-16 Thread Andrea M
Hi Raman Can you post here your Properties file? Maybe it's a matter of caps Another chance is that you have more than one message-resources entries in your config, and that ApplicationResources.properties is not the default one: if it's so, then you have to specify which one to use with "bundle"