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

2006-02-11 Thread Laurie Harper
Vu, Thai wrote: Hello everybody, Could you give me some advices? [...] I heard that Spring helps us write less code (by declaring beans with their own names in xml files, whenever we need a bean, just call that name) and helps us in transactions (I don't know exactly if we use Spring for

Re: [Shale] Property in ViewController Backing Bean is null

2006-02-11 Thread Peter Goetz
Good morning Craig, thank you, I think I'm making a progress with your help. I set the immediate flag to true for my commandButton, and my method gets executed as I wanted it to do. In the edit method I set an attribute of the backing bean to its correct value (the person that should be

Re: deploy struts-blank failed

2006-02-11 Thread Laurie Harper
unplug wrote: HI, After installing tomcat, I try to put the struts-blank.war to the $CATALINA_HOME/webapps. Tomcat try to deploy the struts-blank.war but failed with the following error in the log. I wonder why tomcat can't find javax/servlet/http/HttpServlet as it is in the

Site Setup, Need Advise On Struts Config

2006-02-11 Thread Jim Reynolds
I have created a site http://www.theuniquepear.com using struts over the past couple of months. I am running Tomcat 5x and Struts 1.2x. But here is my huge problem. I have a html file in my tomcat root which does a javascript function that directs the user to the site. Soemthing like this:

Re: Site Setup, Need Advise On Struts Config

2006-02-11 Thread Torgeir Veimo
On Sat, 2006-02-11 at 09:05 -0600, Jim Reynolds wrote: I have a html file in my tomcat root which does a javascript function that directs the user to the site. Soemthing like this: top.location.href=http://www.theuniquepear.com/unique/index.jsp; Why don't you use a normal http redirect

Re: Site Setup, Need Advise On Struts Config

2006-02-11 Thread Jim Reynolds
Do you mean a redirect using a servlet or something like that? On 2/11/06, Torgeir Veimo [EMAIL PROTECTED] wrote: On Sat, 2006-02-11 at 09:05 -0600, Jim Reynolds wrote: I have a html file in my tomcat root which does a javascript function that directs the user to the site. Soemthing like

Re: Site Setup, Need Advise On Struts Config

2006-02-11 Thread Torgeir Veimo
On Sat, 2006-02-11 at 09:10 -0600, Jim Reynolds wrote: Do you mean a redirect using a servlet or something like that? JSP: %@ page contentType=text/html; charset=utf-8 % %@ taglib uri=/WEB-INF/struts-logic.tld prefix=logic % logic:redirect page=/publishing/section.do / I'm not 100% sure, but

Re: Site Setup, Need Advise On Struts Config

2006-02-11 Thread Jim Reynolds
I will give that a try. Thanks for the idea ... maybe that is all I need. I will implement the change and run some more curl. Many thanks, On 2/11/06, Torgeir Veimo [EMAIL PROTECTED] wrote: On Sat, 2006-02-11 at 09:10 -0600, Jim Reynolds wrote: Do you mean a redirect using a servlet or

Re: Bean Population When Form Cancelled

2006-02-11 Thread Paul Benedict
Tom, Your expectation is incorrect. The form is always populated. The cancellation doesn't cancel the population, but cancels the validation. There has been lengthy discussions about this. Feel free to sign up to bugzilla and vote this in the 1.2 branch:

Re: Site Setup, Need Advise On Struts Config

2006-02-11 Thread Mark Lowe
Forward to your action with no javascript redirects jsp:forward page=/welcome.do / redirecting rather than forwarding will lose some crawlers. Another problem is if you use the html:img and or encode any paths to images, css or other media things will get ugly for image crawlers and such

Re: Bean Population When Form Cancelled

2006-02-11 Thread Laurie Harper
Tom Ansley wrote: 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

Prevent validation of disabled JSP controls

2006-02-11 Thread Madhav Bhargava
Hi All, I have a JSP page where on the select of a radio button some controls are disabled/enabled. The form bean associated with this JSP extends ValidatorForm. I have created rules in validation-xml for each of these controls which are there on the screen. One rule that is common to all the

Spring DelegatingActionProxy and Struts TestCase

2006-02-11 Thread anil_a
Hi All I am using Spring and Struts by using DelegatingActionProxy class. Problem is that it breaks all my StrutsTestcases. Anyone knows solution for that? Thanks you in advance for replies. anil - To unsubscribe,

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: Hi all, I have a form

Re: prevent validation of disabled fields on the JSP page

2006-02-11 Thread Laurie Harper
Madhav Bhargava wrote: Hi All, I have a JSP page where on the select of a radio button some controls are disabled/enabled. The form bean associated with this JSP extends ValidatorForm. I have created rules in validation-xml for each of these controls which are there on the screen. One rule that