RE: BeanUtils, Form Bean and POJO Bean

2006-06-18 Thread Joe Hertz
For starters, you should generally be using String properties in your form bean because this is what the JSP sends to you. If you declare an integer in your form bean, and the user enters character data into the text field, youre going to get an exception thrown before you (or the validator) ever g

RE: [OT] HttpRequestWrapper Deprecations?

2006-05-18 Thread Joe Hertz
It's a little off-topic (and I may have already sent this once here). I asked on tomcat-users but that list seems to get 15 questions for every answer. Hoping someone here can help. My Struts (1.2.7) App uses a custom HttpRequest and HttpResponse. That is to say, I extend the HttpServletRequest

RE:MessageResources from Plugin or RequestProcessor

2006-03-15 Thread Joe Hertz
I should say... A roadblock short of reimplementing the code in the protected method Action.getResources() elsewhere. No cleaner way? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

MessageResources from Plugin or RequestProcessor

2006-03-15 Thread Joe Hertz
How do I get to a MessageResource bundle like I would with Action.getResources() from the inside of my RequestProcessor or Plugin implementation? I assume from the moduleConfig, but I keep hitting dead ends in the API javadocs. TIA ---

Locale Aware Form Objects?

2005-08-11 Thread Joe Hertz
It seems logical to do, but steadfastly avoided. So I'm wondering if this is a bad idea or not- Example: You have a series of i18N'd CRUD screens. On one of them, you allow the user to retrieve some data, edit it, and save it back. On this type of screen, it really makes life easier if

RE: locale attribute in

2005-03-28 Thread Joe Hertz
).getDisplayLanguage(request.getLocale) %> > > This displays the language of the locale in the locale you specify. If > you don't specify a locale it will use the default locale of the system. > > Regards, > > Thad Smith > > -Original Message- > Fr

RE: locale attribute in

2005-03-28 Thread Joe Hertz
).getDisplayLanguage(request.getLocale) %> > > This displays the language of the locale in the locale you specify. If > you don't specify a locale it will use the default locale of the system. > > Regards, > > Thad Smith > > -Original Message- > Fr

locale attribute in

2005-03-28 Thread Joe Hertz
An utter shot in the dark here.. I'm trying to force the printing of language names into their native languages. That is to say English is "English" and French would be "francais". I realize that if I know what language I want to put display it in, I don't _really_ need a bean:message tag, but it

locale attribute in

2005-03-28 Thread Joe Hertz
An utter shot in the dark here.. I'm trying to force the printing of language names into their native languages. That is to say English is "English" and French would be "francais". I realize that if I know what language I want to put display it in, I don't _really_ need a bean:message tag, but it

RE: RequestProcessor question (redux)

2005-03-21 Thread Joe Hertz
s to be retaining the user information after a redirect. > This seems to be beyond Struts. Perhaps ask the Tomcat user list? > > > On Mon, 21 Mar 2005 11:36:42 -0500, Joe Hertz <[EMAIL PROTECTED]> > wrote: > > I did try it. Worked fine on my development box. > > &g

RE: RequestProcessor question (redux)

2005-03-21 Thread Joe Hertz
s to be retaining the user information after a redirect. > This seems to be beyond Struts. Perhaps ask the Tomcat user list? > > > On Mon, 21 Mar 2005 11:36:42 -0500, Joe Hertz <[EMAIL PROTECTED]> > wrote: > > I did try it. Worked fine on my development box. > > &g

RE: RequestProcessor question (redux)

2005-03-21 Thread Joe Hertz
Correction: It's happening on my dev box too. > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Monday, March 21, 2005 11:37 AM > To: 'Struts Users Mailing List' > Subject: RE: RequestProcessor question (redux) > > I did try i

RE: RequestProcessor question (redux)

2005-03-21 Thread Joe Hertz
Correction: It's happening on my dev box too. > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Monday, March 21, 2005 11:37 AM > To: 'Struts Users Mailing List' > Subject: RE: RequestProcessor question (redux) > > I did try i

RE: RequestProcessor question (redux)

2005-03-21 Thread Joe Hertz
it. Have you tried it already? All > processActionPerform() does is call the Action's execute() method, > then pass exceptions to processException() if it gets any. If you > want to skip the action execution for a reason you deem valid, go > ahead. > > Hubert > >

RE: RequestProcessor question (redux)

2005-03-21 Thread Joe Hertz
it. Have you tried it already? All > processActionPerform() does is call the Action's execute() method, > then pass exceptions to processException() if it gets any. If you > want to skip the action execution for a reason you deem valid, go > ahead. > > Hubert > >

RE: RequestProcessor question (redux)

2005-03-21 Thread Joe Hertz
Badly written again: I should say, "is it EVER safe for me to do this directly". I want to redirect the user under certain circumstances. I think by merely asking it, I answered it myself, "No you idiot Joe". > -Original Message- > From: Joe Hertz [mailt

RE: RequestProcessor question (redux)

2005-03-21 Thread Joe Hertz
Badly written again: I should say, "is it EVER safe for me to do this directly". I want to redirect the user under certain circumstances. I think by merely asking it, I answered it myself, "No you idiot Joe". > -Original Message- > From: Joe Hertz [mailt

RequestProcessor question (redux)

2005-03-21 Thread Joe Hertz
I'm going to try again, stripping this question down to its fundamentals. If in a RequestProcessor processActionPerform() method, is it safe for me to return a mapping.findForward() directly without calling super.processActionPerform? Or do I need to call super.processActionPerform with with diff

RequestProcessor question (redux)

2005-03-21 Thread Joe Hertz
I'm going to try again, stripping this question down to its fundamentals. If in a RequestProcessor processActionPerform() method, is it safe for me to return a mapping.findForward() directly without calling super.processActionPerform? Or do I need to call super.processActionPerform with with diff

SecurityFilter/Struts issue...

2005-03-20 Thread Joe Hertz
I've got an application I'm trying to deploy that works perfectly on my Windows development system. I deploy it on a Suze box, and the following behavior occurs. User Logs in fine. My Request Processor has an overridden processActionPerform() which checks and sees if he has signed the Terms of Se

SecurityFilter/Struts issue...

2005-03-20 Thread Joe Hertz
I've got an application I'm trying to deploy that works perfectly on my Windows development system. I deploy it on a Suze box, and the following behavior occurs. User Logs in fine. My Request Processor has an overridden processActionPerform() which checks and sees if he has signed the Terms of Se

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
PROTECTED] > Sent: Sunday, March 13, 2005 3:03 PM > To: Joe Hertz; 'Struts Users Mailing List' > Subject: RE: BeanUtils hates me... > > At 2:33 PM -0500 3/13/05, Joe Hertz wrote: > >That's the behavior I'd expect too. This did work at one point. No, it'

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
PROTECTED] > Sent: Sunday, March 13, 2005 3:03 PM > To: Joe Hertz; 'Struts Users Mailing List' > Subject: RE: BeanUtils hates me... > > At 2:33 PM -0500 3/13/05, Joe Hertz wrote: > >That's the behavior I'd expect too. This did work at one point. No, it'

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
om: Joe Germuska [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 13, 2005 2:24 PM > To: Joe Hertz; 'Struts Users Mailing List' > Subject: Re: BeanUtils hates me... > > At 2:15 PM -0500 3/13/05, Joe Hertz wrote: > >I'm sorry about how lame this question seems. I&#

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
om: Joe Germuska [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 13, 2005 2:24 PM > To: Joe Hertz; 'Struts Users Mailing List' > Subject: Re: BeanUtils hates me... > > At 2:15 PM -0500 3/13/05, Joe Hertz wrote: > >I'm sorry about how lame this question seems. I&#

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
... Tx for making sure I wasn't spacing. > -Original Message- > From: Joe Germuska [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 13, 2005 2:24 PM > To: Joe Hertz; 'Struts Users Mailing List' > Subject: Re: BeanUtils hates me... > > At 2:15 PM -0500 3/13/05, Joe Her

RE: BeanUtils hates me...

2005-03-13 Thread Joe Hertz
... Tx for making sure I wasn't spacing. > -Original Message- > From: Joe Germuska [mailto:[EMAIL PROTECTED] > Sent: Sunday, March 13, 2005 2:24 PM > To: Joe Hertz; 'Struts Users Mailing List' > Subject: Re: BeanUtils hates me... > > At 2:15 PM -0500 3/13/05, Joe Her

BeanUtils hates me...

2005-03-13 Thread Joe Hertz
I'm sorry about how lame this question seems. I'm staring quite stunned at what I'm seeing in my debugger right now, and I'm hoping someone can explain the behavior. Using Struts 1.2.4 (BeanUtils 1.7). I have two objects: A UserEntity and a User. The User is a subclass of UserEntity. I call Prop

BeanUtils hates me...

2005-03-13 Thread Joe Hertz
I'm sorry about how lame this question seems. I'm staring quite stunned at what I'm seeing in my debugger right now, and I'm hoping someone can explain the behavior. Using Struts 1.2.4 (BeanUtils 1.7). I have two objects: A UserEntity and a User. The User is a subclass of UserEntity. I call Prop

RE: Struts DB Access :: Best Practices

2005-03-10 Thread Joe Hertz
Vic writes: > :snip: > The point is... I use ArrayList of Maps now for my DTO,VO and ever as a > message object for WS/SOA. > > Wherever I used to use a bean, now I use a collection, and I like > DynaMaps. > > maybe one day you guys catch up;-) I think I'm buying what you say in a big kinda way

RE: Struts DB Access :: Best Practices

2005-03-10 Thread Joe Hertz
Vic writes: > :snip: > The point is... I use ArrayList of Maps now for my DTO,VO and ever as a > message object for WS/SOA. > > Wherever I used to use a bean, now I use a collection, and I like > DynaMaps. > > maybe one day you guys catch up;-) I think I'm buying what you say in a big kinda way

RE: session.invaludate(); not working in LogoffAction

2005-03-07 Thread Joe Hertz
This approach is also useful for other logged in redirection type things on login, such as checking to see a logged in user has agreed to the latest Terms of Service. > -Original Message- > From: Günther Wieser [mailto:[EMAIL PROTECTED] > Sent: Monday, March 07, 2005 7:04 PM > To: 'Struts

RE: session.invaludate(); not working in LogoffAction

2005-03-07 Thread Joe Hertz
This approach is also useful for other logged in redirection type things on login, such as checking to see a logged in user has agreed to the latest Terms of Service. > -Original Message- > From: Günther Wieser [mailto:[EMAIL PROTECTED] > Sent: Monday, March 07, 2005 7:04 PM > To: 'Struts

RE: Validator date problem

2005-03-03 Thread Joe Hertz
If you want the validator to pick it up based on the Form name (as opposed to the Action Path name) you should use a ValidatorForm instead of a ValidatorActionForm. You might need to use datePatternStrict too. There's some (or used to be anyway) some weirdness with the javascript not catching it u

RE: Validator date problem

2005-03-03 Thread Joe Hertz
If you want the validator to pick it up based on the Form name (as opposed to the Action Path name) you should use a ValidatorForm instead of a ValidatorActionForm. You might need to use datePatternStrict too. There's some (or used to be anyway) some weirdness with the javascript not catching it u

RE: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Joe Hertz
This particular application (tiny, not used much, never will be, and was written in a hurry and not by me) implementing it after the fact ain't going to happen. Not worth the cost to the customer. In general though, youre quite correct (and I'm cutting through the layers of abstraction. Ultimate

RE: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Joe Hertz
This particular application (tiny, not used much, never will be, and was written in a hurry and not by me) implementing it after the fact ain't going to happen. Not worth the cost to the customer. In general though, youre quite correct (and I'm cutting through the layers of abstraction. Ultimate

RE: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Joe Hertz
ling issue, but it got me wondering about where the bathwater began and where the baby ended. -Original Message- From: Brandon Mercer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 4:48 PM To: Struts Users Mailing List Subject: Re: Hibernate and Struts Usage Pattern question/su

RE: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Joe Hertz
ling issue, but it got me wondering about where the bathwater began and where the baby ended. -Original Message- From: Brandon Mercer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 4:48 PM To: Struts Users Mailing List Subject: Re: Hibernate and Struts Usage Pattern question/su

Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Joe Hertz
Curious as to which concept Struts/Hibernate implementers like more for implementation: #1- Ted Husted's example of Struts and Hibernate. Stick the Hibernate Session object into the httpServletRequest. Every action has a fresh Hibernate Session raring to go if it needs it. Then again it has it eve

Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Joe Hertz
Curious as to which concept Struts/Hibernate implementers like more for implementation: #1- Ted Husted's example of Struts and Hibernate. Stick the Hibernate Session object into the httpServletRequest. Every action has a fresh Hibernate Session raring to go if it needs it. Then again it has it eve

RE: Iterate over validation errors?

2005-02-27 Thread Joe Hertz
There's one improvement on that method: errors.prefix= errors.suffix= So you don't need to put the markup into each error definition in your properties file. If you don't want markup in it at all, you can do something like Ted has a good page on this: http://husted.com/struts/ti

RE: Iterate over validation errors?

2005-02-27 Thread Joe Hertz
There's one improvement on that method: errors.prefix= errors.suffix= So you don't need to put the markup into each error definition in your properties file. If you don't want markup in it at all, you can do something like Ted has a good page on this: http://husted.com/struts/ti

User Authentication and Beyond...

2005-02-26 Thread Joe Hertz
My app has been quite happy using SecurityFilter. I've got a "new" requirement to do something "radical"... Like to redirect a logged in user to the TOS Acceptance page based upon a user record flag. Yeah, like this is the first app to EVER have that requirement :-) Implementing this is painfull

User Authentication and Beyond...

2005-02-26 Thread Joe Hertz
My app has been quite happy using SecurityFilter. I've got a "new" requirement to do something "radical"... Like to redirect a logged in user to the TOS Acceptance page based upon a user record flag. Yeah, like this is the first app to EVER have that requirement :-) Implementing this is painfull

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Joe Hertz
ged. It is best practice to use java.util.Date instead. 3) want to know if it can be done Mark -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:39 PM To: 'Struts Users Mailing List' Subject: RE: java.util.Date vs java.sql.Timestamp Why

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Joe Hertz
ged. It is best practice to use java.util.Date instead. 3) want to know if it can be done Mark -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:39 PM To: 'Struts Users Mailing List' Subject: RE: java.util.Date vs java.sql.Timestamp Why

RE: DynaActionForms Question

2005-02-22 Thread Joe Hertz
DynaActionForm df = (DynaActionForm) form; System.out.println(df.get("name")); -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:38 PM To: user@struts.apache.org Subject: DynaActionForms Question Hello, I have a question about using D

RE: DynaActionForms Question

2005-02-22 Thread Joe Hertz
DynaActionForm df = (DynaActionForm) form; System.out.println(df.get("name")); -Original Message- From: Scott Purcell [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 3:38 PM To: user@struts.apache.org Subject: DynaActionForms Question Hello, I have a question about using D

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Joe Hertz
Why do you care about how it comes into the form bean? Usually the big deal is how it winds up in the business object and there are tools for that. FormDef does a really nice job, especially if you have to deal with international date formats. -Original Message- From: Mark Bennett [mailt

RE: java.util.Date vs java.sql.Timestamp

2005-02-22 Thread Joe Hertz
Why do you care about how it comes into the form bean? Usually the big deal is how it winds up in the business object and there are tools for that. FormDef does a really nice job, especially if you have to deal with international date formats. -Original Message- From: Mark Bennett [mailt

RE: LazyDynaBean question

2005-02-09 Thread Joe Hertz
traight forward to plug in your own mechanism by > overriding the createActionForm() method. You can get it to > default to your own config implementation either by having > your own ModuleConfig flavour or through the struts-config... > > > > > > Niall > >

RE: LazyDynaBean question

2005-02-09 Thread Joe Hertz
traight forward to plug in your own mechanism by > overriding the createActionForm() method. You can get it to > default to your own config implementation either by having > your own ModuleConfig flavour or through the struts-config... > > > > > > Niall > >

RE: LazyDynaBean question

2005-02-08 Thread Joe Hertz
setPathValidation(true); > } > } > > ... and then cofigure it in the usual way. > >type="myPackage.PathBeanValidatorForm "/> > > Niall > > - Original Message - > From: "Joe Hertz" <[EMA

RE: LazyDynaBean question

2005-02-08 Thread Joe Hertz
setPathValidation(true); > } > } > > ... and then cofigure it in the usual way. > >type="myPackage.PathBeanValidatorForm "/> > > Niall > > - Original Message - > From: "Joe Hertz" <[EMA

RE: Application Security

2005-02-07 Thread Joe Hertz
A shot in the dark here: Are the request params in SecurityFilter still around if you forward to a Struts action. Say like this? (I do this, but I don't try to access the params). FORM /do/LoginRequired /do/LoginError /do/SuccessfulLogin If so, it should b

RE: Application Security

2005-02-07 Thread Joe Hertz
A shot in the dark here: Are the request params in SecurityFilter still around if you forward to a Struts action. Say like this? (I do this, but I don't try to access the params). FORM /do/LoginRequired /do/LoginError /do/SuccessfulLogin If so, it should b

RE: LazyDynaBean question

2005-02-07 Thread Joe Hertz
gt; } > > ... and then cofigure it in the usual way. > >type="myPackage.PathBeanValidatorForm "/> > > Niall > > - Original Message - > From: "Joe Hertz" <[EMAIL PROTECTED]> > Sent: Monday, February 07, 2005 5:37 PM > &

RE: LazyDynaBean question

2005-02-07 Thread Joe Hertz
gt; } > > ... and then cofigure it in the usual way. > >type="myPackage.PathBeanValidatorForm "/> > > Niall > > - Original Message - > From: "Joe Hertz" <[EMAIL PROTECTED]> > Sent: Monday, February 07, 2005 5:37 PM > &

LazyDynaBean question

2005-02-07 Thread Joe Hertz
I'm using Struts 1.2.4. If in my struts-config I have something like this: How can I get to the resulting form object to setPathValidation(true)? Is there a way I can tell Struts what particular BeanValidatorFom subclass to be using? Going to 1.2.6 is not an option right now. TIA -Joe -

LazyDynaBean question

2005-02-07 Thread Joe Hertz
I'm using Struts 1.2.4. If in my struts-config I have something like this: How can I get to the resulting form object to setPathValidation(true)? Is there a way I can tell Struts what particular BeanValidatorFom subclass to be using? Going to 1.2.6 is not an option right now. TIA -Joe -

RE: Need an alternative to bean:define

2004-11-03 Thread Joe Hertz
Janice, Does this snippet work if you move all of the bean:defines insidea of your logic:iterate? I haven't tested this myself, but I strongly suspect that the problem is the fact that bean:define declares the variable in the resulting servlet code that gets generated. It's trying to declare a va

RE: Need an alternative to bean:define

2004-11-03 Thread Joe Hertz
Janice, Does this snippet work if you move all of the bean:defines insidea of your logic:iterate? I haven't tested this myself, but I strongly suspect that the problem is the fact that bean:define declares the variable in the resulting servlet code that gets generated. It's trying to declare a va

RE: Validator Formsets default vs Locale Specific-SOLVED

2004-11-01 Thread Joe Hertz
As it happens- You apparently CANNOT have a language specific validator rule for a property that is not present in the default formset. You don't have to have any rules for it, but it *must* be declared. > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] >

RE: Validator Formsets default vs Locale Specific-SOLVED

2004-11-01 Thread Joe Hertz
As it happens- You apparently CANNOT have a language specific validator rule for a property that is not present in the default formset. You don't have to have any rules for it, but it *must* be declared. > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] >

Validator Formsets default vs Locale Specific

2004-11-01 Thread Joe Hertz
The Struts Validator guide is pretty sparse on the subject. What are the rules governing Default Formsets vs Locale Specific Formsets (using Struts 1.2.4)? To wit: I have a Default Formset with validation rules for N forms. I want also want language specific validations for one or more of the N

Validator Formsets default vs Locale Specific

2004-11-01 Thread Joe Hertz
The Struts Validator guide is pretty sparse on the subject. What are the rules governing Default Formsets vs Locale Specific Formsets (using Struts 1.2.4)? To wit: I have a Default Formset with validation rules for N forms. I want also want language specific validations for one or more of the N

RE: Trouble on HP-UX, 1.2.4 & 1.2.5 FileNotFoundException in commons-validator.jar

2004-11-01 Thread Joe Hertz
H. Don't suppose you've tried building the Validator on the HP-UX machine? I'd be curious if it worked packaged up if you did that. You've obviously found something that is both subtle and significant in terms of a problem (jar extraction is pretty darn basic!). I assume the Win and HP-UX

RE: Trouble on HP-UX, 1.2.4 & 1.2.5 FileNotFoundException in commons-validator.jar

2004-11-01 Thread Joe Hertz
H. Don't suppose you've tried building the Validator on the HP-UX machine? I'd be curious if it worked packaged up if you did that. You've obviously found something that is both subtle and significant in terms of a problem (jar extraction is pretty darn basic!). I assume the Win and HP-UX

RE: Handling errors in business objects

2004-11-01 Thread Joe Hertz
Create your own ActionMessages object in your Action (ActionErrors would be all but deprecated by nowexcept for the validate method). Add ActionMessage objects to it. Call this.saveErrors(ActionMessages object) in your Action Method. Return an ActionForward to the page you want to go to. >

RE: Handling errors in business objects

2004-11-01 Thread Joe Hertz
Create your own ActionMessages object in your Action (ActionErrors would be all but deprecated by nowexcept for the validate method). Add ActionMessage objects to it. Call this.saveErrors(ActionMessages object) in your Action Method. Return an ActionForward to the page you want to go to. >

Re: [ANNOUNCE] Struts Console v4.8 - GUI tool

2004-10-28 Thread Joe Hertz
rt this new style and hope > to have another release out soon. > > James > > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 27, 2004 4:12 PM > To: 'Struts Users Mailing List' > Subject: RE: [ANNOUNCE] Struts Consol

RE: [ANNOUNCE] Struts Console v4.8 - GUI tool

2004-10-27 Thread Joe Hertz
James, thank you! I've been looking forward to this. Out of curiousity, it doesn't look like it handles the "new and improved" way of defining args in validator.xml files as mentioned at the end of http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29004 Do the arg0, arg1, arg2 attributes really

RE: [ANNOUNCE] Struts Console v4.8 - GUI tool

2004-10-27 Thread Joe Hertz
James, thank you! I've been looking forward to this. Out of curiousity, it doesn't look like it handles the "new and improved" way of defining args in validator.xml files as mentioned at the end of http://nagoya.apache.org/bugzilla/show_bug.cgi?id=29004 Do the arg0, arg1, arg2 attributes really

RE: [OT] Hosting Companies

2004-10-26 Thread Joe Hertz
ho I'm hosted with. > > -Original Message- > From: "Rick Reumann"<[EMAIL PROTECTED]> > Sent: 10/26/04 11:21:04 PM > To: "Struts Users Mailing List"<[EMAIL PROTECTED]> > Subject: Re: [OT] Hosting Companies >

RE: [OT] Hosting Companies

2004-10-26 Thread Joe Hertz
ho I'm hosted with. > > -Original Message- > From: "Rick Reumann"<[EMAIL PROTECTED]> > Sent: 10/26/04 11:21:04 PM > To: "Struts Users Mailing List"<[EMAIL PROTECTED]> > Subject: Re: [OT] Hosting Companies >

RE: [OT] Hosting Companies-Question

2004-10-26 Thread Joe Hertz
MAIL PROTECTED]> wrote: > Joe > > I use Hibernate on one of my JavaServletHosting.com sites > without any problems. They set up a DBCP connection pool for > me and I took it from there. > > Thanx, PLA > > > Joe Hertz wrote: > > >JavaServletHosting is t

RE: [OT] Hosting Companies-Question

2004-10-26 Thread Joe Hertz
MAIL PROTECTED]> wrote: > Joe > > I use Hibernate on one of my JavaServletHosting.com sites > without any problems. They set up a DBCP connection pool for > me and I took it from there. > > Thanx, PLA > > > Joe Hertz wrote: > > >JavaServletHosting is t

RE: Implementing dependence between form properties

2004-10-25 Thread Joe Hertz
Something like this if youre using 1.2.x: test ((item1 != null) or (item2 != null) or (*this* != null)) > -Original Message- > From: news [mailto:[EMAIL PROTECTED] Behalf Of Laurent Duperval > Sent: Monday, October 25, 2004 5:13 PM > To: [EMAIL PROTECTED] > Subject: Implementing

RE: [OT] Hosting Companies

2004-10-24 Thread Joe Hertz
ction pool for me and I > took it from > there. > > Thanx, PLA > > > Joe Hertz wrote: > > >JavaServletHosting is the one with the problem. > > > >And I *really* like them in all other respects. :-( > > >

RE: [OT] Hosting Companies

2004-10-23 Thread Joe Hertz
JavaServletHosting is the one with the problem. And I *really* like them in all other respects. :-( -Joe > http://javaservlethosting.com/ works for me. > > Thanx, PLA - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

RE: [OT] Hosting Companies

2004-10-22 Thread Joe Hertz
Er Spring, not Swing. No Frameworks for you. Next! :-) > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Saturday, October 23, 2004 2:24 AM > To: 'Struts Users Mailing List' > Subject: [OT] Hosting Companies > > > I dont see S

[OT] Hosting Companies

2004-10-22 Thread Joe Hertz
I dont see Struts supporting hosting companies on the wiki. It used to be on the site before the resources link pointed you to the wiki IARC. I just found out that the hosting company I use decided that they won't let you deploy anything using Hibernate (or Swing, or Tapestry...or Jive or Cocoon

RE: [slight OT] SSLExt default behavior

2004-10-20 Thread Joe Hertz
> > so it overrides the "true","any","false" setting as you desire. > > Unless, of course, I'm pointing you to the wrong default > variable's name. :) > > I hope these two simple ideas for a solution help. Please > let me know. >

RE: i18n of bean properties/data

2004-10-20 Thread Joe Hertz
1) is already smart enough to do what you want, so I don't see the necessity of making bean:write locale sensitive. You get the right text from some place, and if it's the property file, you already have what you need. 2) I think there is an existing feature request in BugZilla to make the html:o

[slight OT] SSLExt default behavior

2004-10-20 Thread Joe Hertz
Anyone aware of if there is a way to specify the default behavior for the secure set-property for Actions when using SSLExt? I'm taking an existing struts app and adding https pages to it with SSLExt. Simple enough. But it seems as if an action, should "secure" be unspecified, will default to the

RE: validation question

2004-10-18 Thread Joe Hertz
> Joe, do u mean checking the field with "validwhen" using > validation.xml or > implement the actionForm.validate() ? > I really want to use the basic struts validation framework instead of > implementing validate() function to minimize the maintainence cost. You can do it both ways. Use valida

RE: Help ! Question regarding Action and Form Bean(trouble remains )!

2004-10-17 Thread Joe Hertz
7;s why I came up the original > question: How to associate two form beans to one > action? > > Thanks. > Tong > --- Joe Hertz <[EMAIL PROTECTED]> wrote: > > > What you want is for A1 to forward to J2. Not A2. > > > > J2 will display and then submit F2 to A2.

RE: Help ! Question regarding Action and Form Bean(in detail )!

2004-10-16 Thread Joe Hertz
nd end up in j2. Currently, I let > a1 associate f1, and forward to another action a2, a2 > associate with f2. But the server always says no > getter mathod for the checkbox. But there is a getter > method in form bean f2. > Any help will be appreciated! > > tong > > --- Joe

RE: Help ! Question regarding Action and Form Bean!

2004-10-16 Thread Joe Hertz
It would help if you described this in more detail. I hope this explains it for you. If you have a JSP that submits a form using , you have to have that action associated to that form, otherwise you will get an exception when that JSP is loaded. If you have a JSP that wants to display data in a f

RE: The Type of a Form Property is of org.apache.struts.upload.FormFile

2004-10-15 Thread Joe Hertz
> From: Caroline Jen > A property in my form, 'theFile',is of the > org.apache.struts.upload.FormFile type. > > In my struts-config.xml file, do I still give a > java.lang.String type: Nope. You said it yourself. Since it's a FormFile in your form, you declare it as a FormFile in the form. :-)

RE: i18n and  

2004-10-13 Thread Joe Hertz
I heard that support for this was dicey. Is that not the case? >Could you use the CSS rule >.myStyleClass{ > white-space: nowrap >} - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

RE: i18n and  

2004-10-13 Thread Joe Hertz
This sounds so obvious and your idea so interesting that I'm sure I've to be missing something. Could you please be a little bit more illustrative? Thanx, Freddy. -Mensaje original- De: Joe Hertz [mailto:[EMAIL PROTECTED] Enviado el: jueves, 14 de octubre de 2004 0:12 Par

i18n and  

2004-10-13 Thread Joe Hertz
I have a number of property values that will be internationalized and need non-breaking spaces between each word in them. I could put   into each space, but that 1) is going to confuse my native language translators who know nothing of HTML. 2 words in english could be 3 in language-x). 2) would

RE: Where Is the Best Place To Store Files?

2004-10-13 Thread Joe Hertz
I'll add my 2 p/cents/yen to this one- I'm in the "outside of the WebApp's file system" crowd (a directory on the same level with WebApp's since Tomcat doesn't know anything else. I could make a link if I had to to some other place more convenient. So unless the server allows for a "/../" in a re

html:link and multiple params on paging

2004-10-12 Thread Joe Hertz
The Pager taglib looks real nice for search results that are generated by request query params e.g. http://hostname/MySearchAction.do?param1=2¶m2=ABC&etcetc So I figure, use the html:link tag's paramId, paramName, paramProperty attributes, but you can only use these for one parameter right? (and

RE: Presentation of the Validation Warning Messages

2004-09-24 Thread Joe Hertz
Youre probably validating the action each time in. Guessing that the validations flunk because fields werent filled in (how could they be? it's a new screen!). I have an action that goes to the screen specifically that doesn't do validation. The Submit action for it does the validation. You can l

RE: Making a file available?

2004-09-16 Thread Joe Hertz
More or less. Note that you can set the response headers with methods of the response object. Far safer. The example Niall posted does this. > > So, you mean something like this? > > public class FileXferAction extends Action { >public ActionForward execute( > ActionMapping actionMapp

RE: Making a file available?

2004-09-16 Thread Joe Hertz
Absolutely. You have access to all of the response object methods you would in a servlet to do this with. Set the correct content type and content length headers and spit it to the outputstream. Return a null findForward. I've done this with pdf files, (and this week I asked on this list about im

RE: How to treat optional dates?

2004-09-16 Thread Joe Hertz
> Currently I'm storing un-entered optional dates as 1/1/1970. > When I come to display an optional date field on a form, I > need to decide > whether to display a formatted date or a blank (by comparing > the date to > 1/1/1970). > Surely there's a better way? What's wrong with storing null fo

  1   2   3   >