Rapid Application Development

2004-09-01 Thread Shailender Jain
Hai, I want to develop my new application using Struts Framework This is a relatively big application with more then 400 Function Points. Before we start developing we want to develop a prototype with some functionality. Does anyone have got the idea of any Rapid Application Development Tool. T

How long does it take to master appfuse?

2004-09-01 Thread struts Dude
Hi How long does it take to master appfuse.? Appfuse looks powerful but daunting to learn. It uses hibernate, xdoclet, junit, cactus, spring .. whatever, each technology can fill a book. Do I need to learn J2EE to get full benefit of appfuse? Can I get much out of appfuse if I don't use J2EE f

html:multibox problem!!

2004-09-01 Thread RamKumar
Hi, I have a question and 4 choices.You can select multiple answers for single question. I want to do skiplogic for this question .i.e. when the users selects choices 1 & 3 go to 5th page.Like this there will be multiple combinations(we limited to 4 combinations for 4 choices question) I am r

Re: Log4j output

2004-09-01 Thread Yves Sy
You can specify a different appender for different packages in your configuration file. That way, you can specify all org.apache.struts logs to go to a certain appender and foo.bar to go to another. Note though that this question is more log4j-related rather than struts. On Wed, 01 Sep 2004 21:36

RE: Hibernate VS ibatis, which is better?

2004-09-01 Thread David Friedman
FYI... Hibernate has a createSQLQuery method in the Session class plus allows for named SQL Queries from a configuration file so you can have it fill in the "?"'d (question marked) parameters. Regards, David -Original Message- From: Nail, Evan Burke [mailto:[EMAIL PROTECTED] Sent: Wednes

RE: Hibernate VS ibatis, which is better?

2004-09-01 Thread Jim Barrows
> -Original Message- > From: struts Dude [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 3:45 PM > To: Struts Users Mailing List > Subject: Re: Hibernate VS ibatis, which is better? > > > Thanks guys. > > Seeing so many support for either side, > I might as well flip a

Re: Hibernate VS ibatis, which is better?

2004-09-01 Thread struts Dude
Thanks guys. Seeing so many support for either side, I might as well flip a coin to decide whether or not to learn hibernate. ;) - Original Message - From: "struts Dude" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, September 02, 2004 8:36 AM Su

Re: Hibernate VS ibatis, which is better?

2004-09-01 Thread Pedro Salgado
On 1/9/04 11:31 pm, "Pedro Salgado" <[EMAIL PROTECTED]> wrote: > > 1. > > I think all of you are missing one big feature of iBatis: the Dao > framework. Well this aint exactly true... David Friedman pointed that already... sorry :( > > Even though, you like Hibernate, JDBC, SQL maps or any

Re: Hibernate VS ibatis, which is better?

2004-09-01 Thread Pedro Salgado
1. I think all of you are missing one big feature of iBatis: the Dao framework. Even though, you like Hibernate, JDBC, SQL maps or any other kind/package for persistence, in my opinion iBatis is always present (maybe not for EJBs... but I cant talk of what I havent studied). The Dao framew

Re: How long is Action's scope?

2004-09-01 Thread Leandro Melo
I could save the reference to stateful session ejb and jsessionid in a map in HttpSession. This way, things wouldn't get counfusing, am i right? --- Brett Connor <[EMAIL PROTECTED]> escreveu: > Leandro Melo wrote: > > >Hi, > >for how long will an Action be in memory? > >Here's the point. > >

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Leung, Albert
Thanks Jim. I'll take a look. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 5:33 PM To: Struts Users Mailing List Subject: RE: form validation (How to setup commons-logging to debug) > -Original Message- > From: Leung, Albert

Log4j output

2004-09-01 Thread andy wix
Hi, I am using Log4j for my web app logging. Does anyone know how to set it up such that the Struts output goes to one file and my own log statements go to another file. Thanks, Andy _ Want to block unwanted pop-ups? Download the fre

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 2:31 PM > To: Struts Users Mailing List > Subject: RE: form validation (How to setup commons-logging to debug) > > > Anywhere for now is fine with me. The very nice log4j manuals

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Leung, Albert
Anywhere for now is fine with me. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 5:26 PM To: Struts Users Mailing List Subject: RE: form validation (How to setup commons-logging to debug) > -Original Message- > From: Leung, Al

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 2:27 PM > To: Struts Users Mailing List > Subject: RE: form validation (How to setup commons-logging to debug) > > > Thanks. You wouldn't mind telling where the output goes? Is >

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Leung, Albert
Thanks. You wouldn't mind telling where the output goes? Is it going to STDOUT? -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 5:12 PM To: Struts Users Mailing List Subject: RE: form validation (How to setup commons-logging to debug)

RE: Hibernate VS ibatis, which is better?

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 2:14 PM > To: 'Struts Users Mailing List' > Subject: RE: Hibernate VS ibatis, which is better? > > > I go for Hibernate for one reason: > > IMHO: If you *really* want to use SQL, and

RE: Hibernate VS ibatis, which is better?

2004-09-01 Thread David Friedman
What is this? You can use both now? I thought I'd skim over IBatis and downloaded their PDF for their DAO and it mentions being able to use Hibernate sessions and transactions. Amusing. :) -David, going speed crazy with a new home DSL line. -Original Message- From: Rick Reumann [mailto

[OT] "Why should I use Spring " (RE: Hibernate VS ibatis, which is better?)

2004-09-01 Thread Joe Germuska
At 4:50 PM -0400 9/1/04, David Friedman wrote: +1 on the "Why should I use Spring" and "beat me over the head until I use it" statement. The Spring framework is a lot of things, and I'm not even interested in using most of them at all. However, I find that the base framework provides a nice way

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread David Friedman
Jim said it well by writing: > com.yourcompany.youraplication.package1.yourclass > The FQN of the class you want to debug. But, I'm feeling wordy today (day off) so I'll explain even more (yap yap yap, yeah, I know ... I'll be quiet after today ends) By SOMECLASS or SOMEPACKAGE,

RE: Hibernate VS ibatis, which is better?

2004-09-01 Thread Joe Hertz
I go for Hibernate for one reason: IMHO: If you *really* want to use SQL, and make youre life easy, you'd avoid thinking in terms of persisting specific objects. You'd create one ultimately reusable object. Every app would use the same object model: at the top, there'd be an object which mimic'd

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Leung, Albert
I'm going to give that a try. Thanks. -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 5:07 PM To: Struts Users Mailing List Subject: RE: form validation (How to setup commons-logging to debug) > -Original Message- > From: Leung

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 2:03 PM > To: Struts Users Mailing List > Subject: RE: form validation (How to setup commons-logging to debug) > > > I'm sorry. I've check the documentation at the Jakarta site >

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread Leung, Albert
I'm sorry. I've check the documentation at the Jakarta site and I still don't know what you mean by org.apache.commons.logging.simplelog.log.SOMECLASS=LEVEL What is the SOMECLASS? -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 4:23 P

RE: Hibernate VS ibatis, which is better?

2004-09-01 Thread dhay
> I didn't see that you could use straight sql in Hibernate You can - that's why we went with it. We can let it do it's stuff, but if we need to we can override it with sql |-+> | | "Nail, Evan | | | Burke"

RE: Hibernate VS ibatis, which is better?

2004-09-01 Thread dhay
In my limited experience of it, it produces much cleaner code, and seperates concerns very well. For example, NONE (yep, none) of my code has any transaction information in it! It is abstracted out using Spring's AOP, and instead is defined in Spring's xml file (very easily) and seamlessly handl

RE: Hibernate VS ibatis, which is better?

2004-09-01 Thread Nail, Evan Burke
I've just looked at Hibernate a little so I am no expert, but it was pretty powerful. But we really didn't need most of what it did, so we went with iBatis. Although I doubt I am pronouncing it right even now. We just wanted something to map beans to sql and didn't want to worry about a new QL

Re: Hibernate VS ibatis, which is better?

2004-09-01 Thread Rick Reumann
"Hibernate, making the hard things harder, and the easy things more difficult":) David Friedman wrote: +1 on the "Why should I use Spring" and "beat me over the head until I use it" statement. :) -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2

Re: Hibernate VS ibatis, which is better?

2004-09-01 Thread Rick Reumann
struts Dude wrote: Just want some feedback from ppl who know both. Which one is more powerful and easier to use? Join us on #FunkyCodeMonkey on irc.darkmyst.org. Several people there have used both. I'm sure they'd love to share their experiences. Most seem to prefer iBATIS. -- Rick ---

RE: Hibernate VS ibatis, which is better?

2004-09-01 Thread David Friedman
+1 on the "Why should I use Spring" and "beat me over the head until I use it" statement. :) -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 4:47 PM To: 'Struts Users Mailing List' Subject: RE: Hibernate VS ibatis, which is better? I love

RE: Hibernate VS ibatis, which is better?

2004-09-01 Thread Jim Barrows
> -Original Message- > From: struts Dude [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 1:37 PM > To: Struts Users Mailing List > Subject: Hibernate VS ibatis, which is better? > > > Hello > > Just want some feedback from ppl who know > both. Which one is more powerfu

Re: Hibernate VS ibatis, which is better?

2004-09-01 Thread Jason King
This is very much a YMMV type question. If your background/experience/expertise is in database then ibatis (where the sql is all clearly deliniated) is a fine choice. If you're a java person, then having a wrapper like Hibernate to shield you from the SQL may be more to your liking. Ask yours

RE: Hibernate VS ibatis, which is better?

2004-09-01 Thread Joe Hertz
I love Hibernate. Really do. Only bad thing about it is that I find is that I get better Hibernate help here than I do in the Hibernate forum. Which well...you see what that doesn't bother me :-) Apparently Spring fixes my gripe with Hibernate/Struts about constantly opening sessions/transactions

Re: Hibernate VS ibatis, which is better?

2004-09-01 Thread dhay
Just started using Hibernate, and it is VERY cool! Tie that in with Spring, and Struts, and you have quite a combination. |-+> | | "struts Dude"| | | <[EMAIL PROTECTED]| | | o.nz>| |

Hibernate VS ibatis, which is better?

2004-09-01 Thread struts Dude
Hello Just want some feedback from ppl who know both. Which one is more powerful and easier to use? Personally I only know iBatis but seeing so many web app built on hibernate and even a book on hibernate to be published, just wandering if it's worth my time to learn hibernate. Thanks --

RE: form validation (How to setup commons-logging to debug)

2004-09-01 Thread David Friedman
I haven't done this (manually - I've been copying my blank setup) in a while, but the basic steps are: a) Make sure you have a commons-logging jar in WEB-INF/lib I use commons-logging-1.0.3.jar (Struts v1.1) [Note: there is now a 1.0.4 version at http://jakarta.apache.org/commons b) Create the fi

RE: form validation

2004-09-01 Thread Susan Bradeen
"Jim Barrows" <[EMAIL PROTECTED]> wrote on 09/01/2004 03:35:14 PM: > > > > -Original Message- > > From: Leung, Albert [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, September 01, 2004 12:31 PM > > To: Struts Users Mailing List > > Subject: RE: form validation > > > > > > Yes they are e

RE: form validation

2004-09-01 Thread Leung, Albert
David, I've checked everything thoroughly. I've eliminated spelling errors and missing references. It would be a great help if you could show me how to turn on debugging and commons logging. Regards, Albert -Original Message- From: David Friedman [mailto:[EMAIL PROTECTED] Sent: Wednesd

RE: form validation

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 12:31 PM > To: Struts Users Mailing List > Subject: RE: form validation > > > Yes they are exactly the same. So 1, 2, and 3 are ok. Does the jsp/action/tile actually exist? If it

RE: form validation

2004-09-01 Thread David Friedman
Albert, When all that is correctly setup, I've only ever had problems with a misspelled forward inside my action or missing JSP/html/other pages. I've had a blank page show up when the forward was "intup" and I meant "input". Have you checked the code in your action? Have you turned on the loggin

RE: form validation

2004-09-01 Thread Leung, Albert
Yes they are exactly the same. So 1, 2, and 3 are ok. > > > > > For some reason I can't get form validation to work for a particular > > project. If I take the same ValidatorForm, use the same > > validation entry in > > formset, and update the struts-config to use the same form > > bean and ac

RE: form validation

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 12:13 PM > To: Struts Users Mailing List > Subject: RE: form validation > > > > > > > For some reason I can't get form validation to work for a particular > > project. If I take

RE: form validation

2004-09-01 Thread Leung, Albert
It definitely exists. The action definition, the input forms, form beans definition, validation entries are exactly the same in both projects. -Original Message- From: Bill Siggelkow [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 3:14 PM To: [EMAIL PROTECTED] Subject: Re: f

RE: form validation

2004-09-01 Thread Leung, Albert
The action definition is exactly the same in both projects. > Albert, > The has an "input" parameter which the validate="true" will > > go > to if any validation fails. That should be a JSP (/index.jsp), tile > (.some.Tile.Name), or action (/index). > Regards, > David -Original Message---

Re: form validation

2004-09-01 Thread Bill Siggelkow
Leung, Albert wrote: For some reason I can't get form validation to work for a particular project. If I take the same ValidatorForm, use the same validation entry in formset, and update the struts-config to use the same form bean and action it works fine in another project. The project that has pro

RE: form validation

2004-09-01 Thread David Friedman
Albert, The has an "input" parameter which the validate="true" will go to if any validation fails. That should be a JSP (/index.jsp), tile (.some.Tile.Name), or action (/index). Regards, David -Original Message- From: Leung, Albert [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 0

RE: validate in ActionForm not working for errors

2004-09-01 Thread David Friedman
Are you sure the URL of the submit (when there are errors) isn't redirectly somewhere? Have you verified that the url is still /login.do when an error is submitted in your browser's URL location bar? Regards, David -Original Message- From: Saurabh Bhatla [mailto:[EMAIL PROTECTED] Sent: M

RE: form validation

2004-09-01 Thread Leung, Albert
> > For some reason I can't get form validation to work for a particular > project. If I take the same ValidatorForm, use the same > validation entry in > formset, and update the struts-config to use the same form > bean and action > it works fine in another project. The project that has > pro

RE: form validation

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leung, Albert [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 11:56 AM > To: Struts Users Mailing List > Subject: form validation > > > For some reason I can't get form validation to work for a particular > project. If I take the same Validat

form validation

2004-09-01 Thread Leung, Albert
For some reason I can't get form validation to work for a particular project. If I take the same ValidatorForm, use the same validation entry in formset, and update the struts-config to use the same form bean and action it works fine in another project. The project that has problems just gives me a

RE: skipping validation rules file from '/WEB-INF/validation.xml'

2004-09-01 Thread David Friedman
Jen/Caroline, Why are you listing a plugIn in your struts-config.xml when the files described within the plugIn config don't exist? If course you'll get error messages. The validation-rules.xml describes to the plugIn how to configure Javascript and server-side validation while the validations.xm

RE: To Show Web Home Page That Consists of Tiles

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 11:27 AM > To: Struts Users Mailing List > Subject: RE: To Show Web Home Page That Consists of Tiles > > > I followed your instruction and changed the action > mapping accordingly.

RE: skipping validation rules file from '/WEB-INF/validation.xml'

2004-09-01 Thread Caroline Jen
Thanks for replying to my question. The validation entry in my struts-config.xml looks like: Currently, I do not have either validator-rules.xml or validation.xml file in the WEB-INF directory. Is it the cause of that message that appears in the Tomcat console? --- David Friedman <[E

RE: To Show Web Home Page That Consists of Tiles

2004-09-01 Thread Caroline Jen
I followed your instruction and changed the action mapping accordingly. Now, I got this error: javax.servlet.jsp.JspException: Cannot create rewrite URL: java.net.MalformedURLException: Cannot retrieve ActionForward named baseStyle I searched my entire struts-config.xml, I do not see anything li

RE: skipping validation rules file from '/WEB-INF/validation.xml'

2004-09-01 Thread David Friedman
Jen, What is the entry in your struts-config.xml for validation? Is there a WEB-INF/validation.xml or WEB-INF/validations.xml? Regards, David -Original Message- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 2:16 PM To: [EMAIL PROTECTED] Subject: skippi

skipping validation rules file from '/WEB-INF/validation.xml'

2004-09-01 Thread Caroline Jen
When I start my Tomcat 5.0.27, I saw the following message in the console: "SEVERE: skipping validation rules file from '/WEB-INF/validation.xml'. No stream could be opened." What is going on? Something is wrong with the validation.xml? or something is wrong with the validation plug-in that I s

Re: WARNING: Struts 1.2.2 Problems

2004-09-01 Thread James Mitchell
Yes, very soon. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 01, 2004 2:04 PM Subject: RE: WARNING: Struts 1.2.2 Problems > Is th

RE: To Show Web Home Page That Consists of Tiles

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 11:09 AM > To: Struts Users Mailing List > Subject: RE: To Show Web Home Page That Consists of Tiles > > > Hi, I have the following tags in my > struts.config.xml: > >classNam

RE: To Show Web Home Page That Consists of Tiles

2004-09-01 Thread Caroline Jen
Hi, I have the following tags in my struts.config.xml: I suppose that tiles plug-in is set up correctly. I still have the error: "No context-relative URI specified via the 'parameter' attribute". I think that the action mapping wants to see a "paramter" attribute righ

RE: WARNING: Struts 1.2.2 Problems

2004-09-01 Thread andmer
Is there going to be a quick 1.2.3 update for these issues? Thanks, -Andre -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 12:19 AM To: Struts Users Mailing List Subject: WARNING: Struts 1.2.2 Problems The new Struts 1.2.2 version

RE: To Show Web Home Page That Consists of Tiles

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Caroline Jen [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 10:47 AM > To: [EMAIL PROTECTED] > Subject: To Show Web Home Page That Consists of Tiles > > > > .frame.Validation is a piece of tile. The error > message I got is: "No context-r

RE: dispatch action / validation

2004-09-01 Thread andmer
Nevermind, looks like MappingDispatchAction in 1.2.2 allows for what I want. http://struts.apache.org/api/org/apache/struts/actions/MappingDispatchAction .html Thanks, -Andre -Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 1:38 PM To:

To Show Web Home Page That Consists of Tiles

2004-09-01 Thread Caroline Jen
How do I specify the action mapping in the struts-config.xml to show a web home page that consists of tiles? The problem is with the action mapping part. My index.jsp in the root directory has these two lines: <%@ taglib uri="/tags/struts-logic" prefix="logic" %> and in my struts-config.xml fi

RE: dispatch action / validation

2004-09-01 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 10:29 AM > To: [EMAIL PROTECTED] > Subject: dispatch action / validation > > > Is there a way for dispatch actions to have unique validation > requirements > based on the para

Re: dispatch action / validation

2004-09-01 Thread Rick Reumann
[EMAIL PROTECTED] wrote: Is there a way for dispatch actions to have unique validation requirements based on the parameter? It's easiest to just provide different action mapping names (which could still refer to the same DispatchAction class) and then use one of the ValidatorActionForms which wil

Re: Action Class Reusable

2004-09-01 Thread Craig McClanahan
On Wed, 1 Sep 2004 18:13:08 +0530, Jitesh Sinha <[EMAIL PROTECTED]> wrote: > Hi All, > > Is there a way we can make our Action Classes reusable across different > modules? > Generally we have one Action class for every module.Maybe,if we put our > business logic in different business classes (part

RE: ActionForm.validate() Help

2004-09-01 Thread Matthias Wessendorf
hi, I use this in ActionForms: public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if( (this.nachname==null) || (this.nachname.length()<1) )

dispatch action / validation

2004-09-01 Thread andmer
Is there a way for dispatch actions to have unique validation requirements based on the parameter? So for instance I could have the action.do?method=view dispatch skip validation, but the action.do?method=edit do the validation? Do dispatch actions and validation allow for this degree of gran

Re: [OT] Funny phone call from my Dad:)

2004-09-01 Thread Rick Reumann
struts lover wrote: Hey how did your dad get the username and password you emailed, without logging into the account Oh, I was able to talk my mom through setting up a pop account for him using a reumann.net e-mail. She showed him to get his mail using Thunderbird. The yahoo account was mor

RE: struts exception handler

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Leandro Melo [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 9:54 AM > To: struts jakarta > Subject: struts exception handler > > > I got this from struts page. > "Don't throw it, catch it! - Ever used a commercial > website only to have a st

struts exception handler

2004-09-01 Thread Leandro Melo
I got this from struts page. "Don't throw it, catch it! - Ever used a commercial website only to have a stack trace or exception thrown in your face after you've already typed in your credit card number and clicked the purchase button? Let's just say it doesn't inspire confidence. Now is your chanc

Re: [OT] Funny phone call from my Dad:)

2004-09-01 Thread struts lover
Hey how did your dad get the username and password you emailed, without logging into the account --- Rick Reumann <[EMAIL PROTECTED]> wrote: > This should give most of you a good chuckle so I > figued I'd share.. > > My dad has never used a computer until about a week > ago, when I > convi

ActionForm.validate() Help

2004-09-01 Thread Matthew J. Vincent
Hello all, I just downloaded the latest stable build of Struts 1.2. What is a "best practice" approach of handling validation in the ActionForm's validate method since ActionError was deprecated? Also, how should one display the messages in the JSP? Currently I use: ${message}

Re: [OT] "Enter" key listener for form submittal

2004-09-01 Thread Erik Weber
Thanks, I will consider all these possible solutions. Erik Barnett, Brian W. wrote: I had a problem where I wanted to use images as the buttons on forms, but then I lost the "enter" key and "spacebar" functionality. I ended up doing this to solve it. I use the syntax above for the "default" button

RE: [OT] "Enter" key listener for form submittal

2004-09-01 Thread Barnett, Brian W.
I had a problem where I wanted to use images as the buttons on forms, but then I lost the "enter" key and "spacebar" functionality. I ended up doing this to solve it. I use the syntax above for the "default" button on the form and leave the other buttons Don't know if something like this would

RE: Action Class Reusable

2004-09-01 Thread Jim Barrows
> -Original Message- > From: Jitesh Sinha [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 5:43 AM > To: Struts Users Mailing List > Subject: Action Class Reusable > > > Hi All, > > Is there a way we can make our Action Classes reusable across > different > modules? > G

Re: [OT] Funny phone call from my Dad:)

2004-09-01 Thread James Mitchell
I cannot tell you how true this is... http://www.unixgirl.com/humor/cars.html I can give numerous examples of each. -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: "Bill Siggelkow" <[EMAIL PROTECTED]> To

RE: Is Tiles the right way to go?

2004-09-01 Thread Jim Barrows
> -Original Message- > From: PC Leung [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 31, 2004 5:55 PM > To: Struts Users Mailing List > Subject: Re: Is Tiles the right way to go? > > > How about other tools such as sitemesh or other? > Do I get paid? Yes. Most of the time clients d

Re: [OT] "Enter" key listener for form submittal

2004-09-01 Thread Erik Weber
It is necessary in my case because it is a requirement specified by the client. On very simple forms, it often won't require any programming. But if you have multiple submit buttons, it becomes a problem. Erik Barnett, Brian W. wrote: Out of curiosity, why is an enter key listener necessary in o

Re: [OT] Funny phone call from my Dad:)

2004-09-01 Thread Bill Siggelkow
About once a month or so I get a message from my Mom that goes something like: "Your Dad played with the computer again and I can't get my e-mail. I am going to throw this [expletive deleted] thing in the pool!" Susan Bradeen wrote: Rick Reumann <[EMAIL PROTECTED]> wrote on 09/01/2004 10:25:32

RE: [OT] "Enter" key listener for form submittal

2004-09-01 Thread Barnett, Brian W.
Out of curiosity, why is an enter key listener necessary in order to submit a form? -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 9:18 AM To: Struts Users Mailing List Subject: Re: [OT] "Enter" key listener for form submittal David Du

Re: [OT] "Enter" key listener for form submittal

2004-09-01 Thread David Durham
Erik Weber wrote: Also, does document.forms[0].submit() trigger the submit with a submit value of cancel? Does that make since? Hmm, would it not fail also on Mozilla if that were true? Perhaps. I just glanced at the thread, so I have a cursory understanding of the problem. - Dave -

Re: How to specify which resource file to use in validation.xml?

2004-09-01 Thread Bill Siggelkow
IIRC, the Validator can only pull from the default message resources -- that is the one configured without a "key". Bill Siggelkow PC Leung wrote: I have two resources files. How can I specify which resource file to use in validation.xml? parameter="com.erp.quotation.ApplicationResourc

Re: [OT] "Enter" key listener for form submittal

2004-09-01 Thread Erik Weber
David Durham wrote: Erik Weber wrote: I found this JavaScript, which is supposed to listen for the "Enter" key on any browser (and submit the form on keypress). However, it doesn't seem to be working in IE: if (document.layers) document.captureEvents(Event.KEYDOWN); document.onkeydown = function

Re: Basic JSTL

2004-09-01 Thread Bill Siggelkow
Okay, Andy -- JSTL operates on scoped variables not scripting variables. You are trying to access scripting variables. I found this good primer on JSTL that explains this at http://www-106.ibm.com/developerworks/java/library/j-jstl0211.html andy wix wrote: Hi, In trying to resolve another (more

Re: [OT] "Enter" key listener for form submittal

2004-09-01 Thread David Durham
Erik Weber wrote: I found this JavaScript, which is supposed to listen for the "Enter" key on any browser (and submit the form on keypress). However, it doesn't seem to be working in IE: if (document.layers) document.captureEvents(Event.KEYDOWN); document.onkeydown = function (evt) { var keyCode =

Re: [OT] Funny phone call from my Dad:)

2004-09-01 Thread Susan Bradeen
Rick Reumann <[EMAIL PROTECTED]> wrote on 09/01/2004 10:25:32 AM: > Jitesh Sinha wrote: > > > That is VERY natural Rick...I think that will hapeen in 100% of the cases > > for people absolutely new to computers. > > True, although I think you get the same asterisks at the ATM machine > whe

Re: [OT] "Enter" key listener for form submittal

2004-09-01 Thread Rick Reumann
Erik Weber wrote: Would this button then need an onclick to submit the form, or is that not necessary? I haven't had to use the approach but I don't think it would be necessary to add an onclick. Just make it's a regular submit button and make sure it's hidden after the tag -- Rick --

How to specify which resource file to use in validation.xml?

2004-09-01 Thread PC Leung
I have two resources files. How can I specify which resource file to use in validation.xml? Validation.xml: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [OT] Funny phone call from my Dad:)

2004-09-01 Thread Erik Weber
To quote Homer Simpson (when he was attempting to use a computer): "Whew! This is hard work. Where's my Tab?" :D Erik Rick Reumann wrote: Jitesh Sinha wrote: That is VERY natural Rick...I think that will hapeen in 100% of the cases for people absolutely new to computers. True, although I thi

Re: [OT] "Enter" key listener for form submittal

2004-09-01 Thread Erik Weber
Rick, this is a new concept to me. Is the strategy to make this button the first one in line on each screen, and therefore it will be the target of the "Enter" key? Would this button then need an onclick to submit the form, or is that not necessary? Thanks, Erik Rick Reumann wrote: Erik Weber w

Re: [OT] Funny phone call from my Dad:)

2004-09-01 Thread Michael McGrady
Yves Sy wrote: We all laugh now but we might just end up like that ourselves someday :) I myself have been stuck with the grunge music of the early 90's already. I try to keep up with the new stuff but... its just different! :( On Wed, 01 Sep 2004 10:25:32 -0400, Rick Reumann <[EMAIL PROTECTED]> wr

Re: [OT] Funny phone call from my Dad:)

2004-09-01 Thread Yves Sy
We all laugh now but we might just end up like that ourselves someday :) I myself have been stuck with the grunge music of the early 90's already. I try to keep up with the new stuff but... its just different! :( On Wed, 01 Sep 2004 10:25:32 -0400, Rick Reumann <[EMAIL PROTECTED]> wrote: > Jitesh

Re: [OT] Funny phone call from my Dad:)

2004-09-01 Thread Rick Reumann
Jitesh Sinha wrote: That is VERY natural Rick...I think that will hapeen in 100% of the cases for people absolutely new to computers. True, although I think you get the same asterisks at the ATM machine when you enter your password -- then again I think those machines scare my dad also - I th

Re: [OT] Funny phone call from my Dad:)

2004-09-01 Thread Michael McGrady
Jitesh Sinha wrote: That is VERY natural Rick...I think that will hapeen in 100% of the cases for people absolutely new to computers. -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 7:39 PM To: Struts Users Mailing List Subject: [OT] F

Re: [OT] "Enter" key listener for form submittal

2004-09-01 Thread Christoph Kutzinski
Slattery, Tim - BLS wrote: I found this JavaScript, which is supposed to listen for the "Enter" key on any browser (and submit the form on keypress). However, it doesn't seem to be working in IE: I don't think you need this. By default, pushing the "Enter" key is equivalent to clicking the "Submi

RE: [OT] Funny phone call from my Dad:)

2004-09-01 Thread Jitesh Sinha
That is VERY natural Rick...I think that will hapeen in 100% of the cases for people absolutely new to computers. -Original Message- From: Rick Reumann [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 01, 2004 7:39 PM To: Struts Users Mailing List Subject: [OT] Funny phone call fro

RE: [OT] Funny phone call from my Dad:)

2004-09-01 Thread Matthias Wessendorf
:) have you never asked yourself the same ?!? ;-) > -Original Message- > From: Rick Reumann [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 01, 2004 4:09 PM > To: Struts Users Mailing List > Subject: [OT] Funny phone call from my Dad:) > > > This should give most of you a good

Re: [OT] "Enter" key listener for form submittal

2004-09-01 Thread Rick Reumann
Erik Weber wrote: I need it because I have multiple buttons. On some screens, the Enter key triggers the "Cancel" button, which is not desirable. The "Cancel" button appears before the "Submit" button. I would think making an extra submit button that was hidden (using css) would be easier. -- R

[OT] Funny phone call from my Dad:)

2004-09-01 Thread Rick Reumann
This should give most of you a good chuckle so I figued I'd share.. My dad has never used a computer until about a week ago, when I convinced him to check out going online so he can pick up golf news and scores. I decided to set up a yahoo account for him and I e-mailed him the username and pass

  1   2   >