Re: Is there a clean way to also get non-value names from a form????

2002-04-23 Thread Vladimir Levin
My approach to this has been as follows: Cache the key-value pairs associated with the lookup table. My approach is to have a bean in the servlet session that keeps these values. In the results page, use a custom tag which iterates through the lookup table keys until it matches the key in the re

off topic: software development quality/standards

2002-04-17 Thread Vladimir Levin
This is totally off-topic, but I was inpsired by experiences on a Struts project to write the short essay below. If you're so inclined, give it a read and maybe tell me what you think. Don't get me wrong, I am not thinking that it's terribly original, but hey, it comes from the heart. http://www.

Re: Re[4]: If I can't use 1.1beta, how difficult will it be...

2002-04-10 Thread Vladimir Levin
If you are using struts1.1b, then you have to make sure an xml parser, e.g. xerces.jar is in the classpath. I've seen that message before in this context -- where an xml parser was missing from the classpath. I solved the problem by finding the solution in a posting by Ted Husted in the archive.

validation plugin

2002-03-30 Thread Vladimir Levin
I have recently downloaded struts 1.1 beta. It includes a sample application (developed by David Wintefeldt) which does form-level validation using a config file. Question: Does this validation take place before or after the controller servlet (ActionServlet) calls the setter method on the form be

Re: Re[4]: Does this tag exist & architecture [was] This hopefully is a simplequestion that has been dealt with

2002-03-30 Thread Vladimir Levin
I would say this is reasonable. I get the impression this is the general approach currently being taken by most Struts developers. There are two drawbacks I can think of to consider before coming to a final decision: 1) Unless the code is being generated, there is more manual labour involv

Re: Re[2]: Does this tag exist & architecture [was] This hopefully is a simplequestion that has been dealt with

2002-03-29 Thread Vladimir Levin
y decide to keep your web-tier beans and your data/business beans as separate entities. You should really think about what your application's requirements are (now, and potentially in the future) before you make a decision. >From: Rick Reumann <[EMAIL PROTECTED]> >Reply-To: Rick

Re: Does this tag exist & architecture [was] This hopefully is a simplequestion that has been dealt with

2002-03-29 Thread Vladimir Levin
I would argue that it is quite easy to reuse your regular classes as struts form beans. This strategy may involve putting code into your so-called 'business' classes who's purpose is to help with certain kinds of 'presentation' level logic. The real question is, do you want a 2-tier architecture

Re: This hopefully is a simple question that has been dealt with

2002-03-28 Thread Vladimir Levin
I haven't found the solution I will use yet to solve this problem in my own project, so advice would definitely be helpful. I found a taglibrary that purports to do this (at http://jsptags.com) http://www.sqlt.com/taglib.html I have not investigated using it just yet though. I think even writin

OptionsTag bug using nested property?

2002-03-25 Thread Vladimir Levin
I seem to have run into a bug with the struts OptionsTag custom tag when using a nested property. I am including the problem and my workaround, but if someone here has any advice or help, I'd love to have a cleaner solution than my workaround, so if someone here could help me out, it would be appr

Re: UML example?

2002-03-11 Thread Vladimir Levin
This is not a project, but it shows the basic struts architecture in UML. Maybe a good starting point? http://husted.com/struts/resources/uml-jps.pdf Vlad >Are there any links to a Struts sample project modeled with UML on the web? >I am starting a new Struts project and would like to use UML.

Re: Development approach question

2002-03-11 Thread Vladimir Levin
Thanks Aaron, Just to make sure, I believe the paragraph below is in favour of not 'denormalizing'. I.e. the approach you're suggesting is to return a list of Monkey objects where each Monkey holds a reference to its Bananas. (Hey, it's an odd example, but it's more fun than the old standby of Cu

Development approach question

2002-03-11 Thread Vladimir Levin
Hi, I have a basic design-level question to ask of those who are using the struts framework. The question concerns how data from the database get retrieved into the 'web-tier' beans of the application when table joins are involved. One approach is to nest objects. e.g. say we want to display all

Re: Connection Pool

2001-03-16 Thread Vladimir Levin
Ooops. I forget how to un-subscribe to this list. I would like to use a different E-mail address for this list because it carries so many E-mail messages. Could someone a) remind me how to unsubscribe and b) put this information into the struts web site under mailing lists! Thanks, Vlad >Fro

Re: Connection Pool

2001-03-16 Thread Vladimir Levin
Ooops. I forget how to un-subscribe to this list. I would like to use a different E-mail address for this list because it carries so many E-mail messages. Could someone a) remind me how to unsubscribe and b) put this information into the struts web site under mailing lists! Thanks, Vlad >Fro