RE: Cancel Button Not Working in 1.1

2003-08-09 Thread Bradley M. Handy
To: Struts Users Mailing List Subject: Re: Cancel Button Not Working in 1.1 Here is the tag I am using: html:cancel value=Cancel bean:message key=button.cancel bundle=PRTR_RESOURCE_KEY/ /html:cancel Bradley M. Handy wrote: Please post the tag you're using to render the cancel button

RE: Cancel Button Not Working in 1.1

2003-08-09 Thread Bradley M. Handy
Please post the tag you're using to render the cancel button on the page. Brad -Original Message- From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 1:07 PM To: Struts Users Mailing List Subject: Cancel Button Not Working in 1.1 Hi, I am trying to use

RE: anyone used struts and hibernate 2gether?

2003-07-28 Thread Bradley M. Handy
Check out the #struts_users channel on irc.darkmyst.org. There are quite a few people who use Hibernate w/ Struts. Brad - Bradley M. Handy| Office: 517 750 6675 Programmer/Analyst | Email: [EMAIL PROTECTED] Spring Arbor

RE: browser refresh - calls more than one action

2003-07-28 Thread Bradley M. Handy
Your redirect attribute of your forwards is set to false (which is the default value). Try changing it to true for your AC1-AC2 forward and see if that helps. Brad - Bradley M. Handy| Office: 517 750 6675 Programmer/Analyst

Re: Take a break with struts users

2003-06-12 Thread Bradley M. Handy
My connection is getting refused. Brad Handy At 01:55 PM 6/12/2003, you wrote: IRC your way to www.darkmyst.org 6667 #struts_users and relax for a while with your fellow developers. Mark - To unsubscribe, e-mail: [EMAIL

RE: Why is dbcp / pool removed?

2003-06-10 Thread Bradley M. Handy
I use a data persistence library called Hibernate (http://hibernate.bluemars.net). Hibernate comes with two connection pooling libraries: (1) DBCP, which I haven't used, because I didn't want to do the extra configuration, and (2) it's own home grown pooling library called c3p0. I've just

Re: Exception handling question

2003-06-05 Thread Bradley M. Handy
Here are the request scope attributes you need to worry about (page 64 of the Servlet 2.3 spec): javax.servlet.error.status_code java.lang.Integer javax.servlet.error.exception_type java.lang.Class javax.servlet.error.message java.lang.String javax.servlet.error.exception

Re: Action Forwards

2003-06-05 Thread Bradley M. Handy
In your ActionForward configuration for the index.jsp page. Set the redirect attribute to true. Brad Handy At 04:14 PM 6/4/2003, you wrote: Hello, im using struts and tiles to build a postgresql table CRUD. i have an index.jsp which includes a login.jsp if the user is not in session or a

Possible Bug in FieldChecks.validateRequiredIf(...)

2003-06-04 Thread Bradley M. Handy
white space (at certain times), and is selected from a select box. Brad Handy - Bradley M. Handy| Office: 517 750 6675 Programmer/Analyst | Email: [EMAIL PROTECTED] Spring Arbor University

RE: [struts-user] RE: Possible Bug in FieldChecks.validateRequiredIf(...)

2003-06-04 Thread Bradley M. Handy
You have a point. However, the required check fails on all null and blank (all whitespace) values. Considering this, I felt this was a bug, because the requiredIf deviated from this convention. Brad Handy - Bradley M. Handy

RE: [struts-user] RE: Possible Bug in FieldChecks.validateRequiredIf(...)

2003-06-04 Thread Bradley M. Handy
You have a point. However, the required check fails on all null and blank (all whitespace) values. Considering this, I felt this was a bug, because the requiredIf deviated from this convention. Brad Handy - Bradley M. Handy

RE: Bean:write in a html:textarea value property...?

2003-06-04 Thread Bradley M. Handy
Change you tags to be: html:textarea property=longDesc1 cols=20 rows=5 nested:write name=eventForm property=longDesc1 scope=request/ /html:textarea Tags within properties are not interpreted. Brad Handy - Bradley M. Handy| Office

RE: [struts-user] RE: Submit Value

2003-05-29 Thread Bradley M. Handy
No it doesn't interfere with internationalization, as long as you use the Struts HTML tags. html:submit property=submitButton bean:message key=button.name / /html:submit Brad Handy -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Wednesday, May

RE: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Bradley M. Handy
Why can't you depend on it? I've never had any problem getting the value of a submit button from a submitted form in IE or any other browser. The submit button is just another form parameter, so it gets passed like any other form field (ie. Textfield, password field, checkbox, etc.). I am

RE: How to NOT validate a form???

2003-05-29 Thread Bradley M. Handy
I ran into this problem last week. I fixed this by creating an initial action mapping (ie. showform) to show the form and not validate anything. Then make sure all submit buttons submit to your action mapping that does validate. Not too hard. I've included a sample configuration to illustrate.

RE: No execute method in Action class.

2002-02-01 Thread Bradley M. Handy
I know there's a perform method, however, according to the documentation Struts 1.0.1, the perform method is deprecated and we should use the execute method. That's where my problem lies. Bradley M. Handy Programmer/Analyst Spring Arbor University http://www.arbor.edu mailto:[EMAIL PROTECTED

No execute method in Action class.

2002-01-30 Thread Bradley M. Handy
version, but when I went to extract the struts.jar I found files have the same timestamp. I was wondering if there is something I can do other than building the dist from the source. Bradley M. Handy Programmer/Analyst II Spring Arbor University http://www.arbor.edu/ mailto:[EMAIL PROTECTED

No execute method in Action class.

2002-01-30 Thread Bradley M. Handy
version, but when I went to extract the struts.jar I found files have the same timestamp. I was wondering if there is something I can do other than building the dist from the source. Bradley M. Handy Programmer/Analyst II Spring Arbor University http://www.arbor.edu/ mailto:[EMAIL PROTECTED

RE: getting username of logged in user

2001-11-18 Thread Bradley M. Handy
To my knowledge getRemoteUser() only works if you use Tomcat's Security Realms (Memory, LDAP, or JDBC). The use of these realms is covered in the Tomcat documentation. Brad -Original Message- From: Sean Owen [mailto:[EMAIL PROTECTED]] Sent: Sunday, November 18, 2001 7:00 AM To:

RE: how to number of rows in resultset without % ...

2001-11-16 Thread Bradley M. Handy
ResultSet doing this. Bradley M. Handy Programmer/Analyst Spring Arbor University --www.arbor.edu --mailto:[EMAIL PROTECTED] -Original Message- From: Richard Yee [mailto:[EMAIL PROTECTED]] Sent: Friday, November 16, 2001 2:24 PM To: Struts Users Mailing List Subject: Re: how to number