RE: Problem deploying older versions of my WAR in struts project

2006-02-13 Thread Tom Ansley
Can you not call the older application under a different context. i.e. if your main application is called from http://www.domain.com/application then maybe you could set the older application to deploy under http://www.domain.com/old_application. Wouldn't that ensure that the two applications are

RE: After refreshing Drop Down value has default data

2006-02-13 Thread Tom Ansley
Once the form has been submitted can you not set that value on the form back to the default? -Original Message- From: Daniel Kies [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 11:28 AM To: Struts Users Mailing List Subject: After refreshing Drop Down value has default data He

RE: Spawning a new window from Action.execute

2006-02-13 Thread Tom Ansley
Yes, I use javascript for the exact problem you mention. Here is the code I use for the different possible formats: -Original Message- From: kalpesh modi [mailto:[EMAIL PROTECTED] Sent: Monday, February 13, 2006 9:14 AM To: Struts Users Mailing List Subj

Re: Bean Population When Form Cancelled

2006-02-11 Thread Tom Ansley
Thanks Laurie, Its a shame that's the case because having the framework do all the type conversion makes things so much easier. I guess this short cut has cost me in the long run!! =) Cheers Tom On 2/11/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > > Tom Ansley wrote: >

Bean Population When Form Cancelled

2006-02-10 Thread Tom Ansley
Hi all, I have a form that uses validator to check for simple validation like making sure that a cash amount is a double. I have the "cancel" button on the form set so that if it is pressed that validation does not take place. This is great except when you type a letter into the cash text box an

RE: With a new project, what technologies should I use?

2006-02-10 Thread Tom Ansley
"because HQL sucks" - sounds very scientific Could you explain that please? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: Friday, February 10, 2006 11:27 AM To: Struts Users Mailing List Subject: Re: With a new project, what technol

RE: MVC + ORM

2006-02-10 Thread Tom Ansley
Hi Marcio, I use Hibernate with Struts and the way I ensure that the session does not get closed is by using a filter. This filter opens up and closes a session at the beginning and end of each request. Then, if I need to use those objects again I associate them with the session and carry on. T

Re: Validator Skipping Action

2006-02-07 Thread Tom Ansley
which are to be displayed in the JSP page? I do this retrieval in the action.execute and place the lists in the form. Should I be doing it somewhere else? Thanks so much to all for their previous thoughts by the way. Cheers Tom On 2/7/06, Tom Ansley <[EMAIL PROTECTED]> wrote: > &

Re: Validator Skipping Action

2006-02-07 Thread Tom Ansley
version of that action. > Note that it is a Forward Action, thus bypassing the need for a nearly > empty backing Java class. > ie: > parameter="/addCamper.jsp" /> > > Alternatively, MappingDispatchAction is good here too, where one Action > class > can handle al

Re: Validator Skipping Action

2006-02-07 Thread Tom Ansley
occurs after user request. 5. New action called after validation succeeds. Cheers Tom On 2/7/06, Hubert Rabago <[EMAIL PROTECTED]> wrote: > > On 2/7/06, Tom Ansley <[EMAIL PROTECTED]> wrote: > > > > > > > type="com.camp.actions.camper.add

Re: Validator Skipping Action

2006-02-07 Thread Tom Ansley
If it is a DynaValidatiorForm (make sure that > it is not a DynaActionForm), what does the XML look like? > > - Nick > > On 2/7/06, Tom Ansley <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I am trying to validate server side. I have an action

Validator Skipping Action

2006-02-07 Thread Tom Ansley
Hi all, I am trying to validate server side. I have an action which forwards to another action. If the original action has validate="true" then the forward doesn't happen and the validation tries to validate a null form. If validate="false" in the original action then everything works but no va

RE: [OT]Loading data into oracle database table from a txt file.

2006-02-06 Thread Tom Ansley
This mailing list is for the Struts Framework. You need to ask an Oracle mailing list that question. -Original Message- From: Jonnalagadda, Sumithra [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 10:59 AM To: 'Struts Users Mailing List' Subject: [OT]Loading data into oracle d

Re: Validator Question

2006-02-06 Thread Tom Ansley
The email rule does that for you. If you do not enter an email address the rule is not applied. If you enter an email address the rule is applied to make sure the email is valid. Cheers Tom On 2/6/06, Tom Ansley <[EMAIL PROTECTED]> wrote: > > The email rule does that for you. I

RE: Validator Question

2006-02-06 Thread Tom Ansley
The email rule does that for you. If you do not enter an email address the rule is not applied. If you enter an email address the rule is applied to make sure the email is valid. Cheers Tom -Original Message- From: Kalcevich, Daniel [mailto:[EMAIL PROTECTED] Sent: Monday, February 06,

Simple Validation not working

2006-02-04 Thread Tom Ansley
Hi all, I am trying to get validation working in my Struts app and am having a decidedly tough time considering this really shouldn't be so hard. I am initially trying to get one field validated in one form. The validation process seems to be working since my html source shows some javascript. H

html-el:text styleId attribute issue

2005-07-17 Thread Tom Ansley
Hi all, I am getting the following error: [ServletException in:/jsp/camper/searchCriteriaCamperContent.jsp] /jsp/common/search/search_entities.jsp(160,6) According to TLD or attribute directive in tag file, attribute styleId does not accept any expressions' for the following piece of jsp " pro

Validation of dynaActionForm too early

2004-06-10 Thread Tom Ansley
Hi all, I am trying to use a dynaActionForm. The problem I am having is that when a user requests an action which has a dynaActionForm attached to it the first page the user gets from the action is a page which shows all the errors that the user needs to correct. Basically the form is being va

Re: html:link with multiple parameters

2004-06-09 Thread Tom Ansley
It doesn't help at all. I have done exactly as it asks but no parameters are written to the url This is shown by the code. Ram Venkataswamy wrote: However, there are two ways you can append one or more dynamically defined query parameters to the hyperlink -- specify a single parameter with the para