Re: null actionform returned by action servlet

2006-05-23 Thread I HARIKRISHNA
Use Cris Cross Debugging technique. ie:remove each entry in Strutsconfig and try to replace the formbean name in Struts config and test it like this Surely you will have atleast one Action mapping where you are not getting this exception .Take backup of that Strutsconfig and try to brea

Re: How to pass request parameters through a waiting page?

2006-05-23 Thread starki78
Hi Adam, an example would be great! This is really a great problem to us! Especially then the post method is called! Thanks a lot in advance Starky -- Initial Header --- >From : "Adam Samere" [EMAIL PROTECTED] To : "user" user@struts.apache.org Cc : Date

Re: How to set hidden field in struts

2006-05-23 Thread Pankaj Gupta
Thanks Bruce for the inputs. Can you pl suggest some ways of achieving it. Also tell me how can I do the same through container supported security. I would be using tomcat 5 for deployment. regards, Pankaj Bruce Link wrote: Hi Pankaj, If you do not want to use container-supported security,

Re: Shale article

2006-05-23 Thread Dakota Jack
I just notice this. I hope that Struts is not going to polute the air waves with these silly statements about how SOA relates to AJAX, etc. SOA is an architecture and is orthogonal to all these interests. Please, please, please do not start some crappy misinformation about a serious topic. SOA

Re: How to pass request parameters through a waiting page?

2006-05-23 Thread Adam Samere
Hi Starki! You should easily be able to grab the request parameters on your waiting page, then use them in the generated target URL. I'm assuming your waiting page then redirects the user to the target page using meta tags or javascript, right? I'll be happy to provide an example if you'd like.

[ANN] The answer to the question about monitoring?

2006-05-23 Thread Leon Rosenberg
Hi , Once a month the same question is asked on this list (both tomcat- and struts-users): "How can I monitor my application". The best answer the asker can get: look at the access logs. At the beginning I thought it were a joke. It wasn't. After seeing the same question (and most important the

RE: [Shale] How to cancel the

2006-05-23 Thread Gary VanMatre
>From: "James Reynolds" <[EMAIL PROTECTED]> > > > Hmm, I downloaded the latest Shale libs and the first thing I notice is > that the validator fires for an h:inputText that isn't rendered. This > is what I have on my page: > > > style="font

Harsh: Issue with float validation instruts validator

2006-05-23 Thread Chaudhary, Harsh
I have a field which is being validated as: test ( *this* > 0 ) Well the validwhen has a bunch of other conditions. I just left them out for clarity. Anyways, this fie

[OT] Re: validation

2006-05-23 Thread Dave Newton
fea jabi wrote: > Have 3 inputfields using which the user will be able to enter the SSN. Why do I not always feel my personal data is safe? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMA

RE: [Shale] How to cancel the

2006-05-23 Thread James Reynolds
Hmm, I downloaded the latest Shale libs and the first thing I notice is that the validator fires for an h:inputText that isn't rendered. This is what I have on my page: The inputTe

RE: validation

2006-05-23 Thread Miller, Andy
use the maxlength attribute on your field: Andy Miller IS Designer Butte College 530.895.2946 -Original Message- From: fea jabi [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 12:28 PM To: user@struts.apache.org Subject: validation creating a jsp in which the user will be enterin

RE: validation

2006-05-23 Thread Chaudhary, Harsh
Validate each field using integer and intRange attribute values for validation. e.g. min000 max999 And so on. As for making sure on the client side that the user does not enter more than 3 digits, use the "maxLen

validation

2006-05-23 Thread fea jabi
creating a jsp in which the user will be entering their SSN. Have 3 inputfields using which the user will be able to enter the SSN. Have to make sure the user entered only 3 digits in first inputfield, only 2 digits in the second input field and 4 digits in the third inputfield. using validat

[Shale-Clay] EL Expressions

2006-05-23 Thread Ryan
I'm just curious... is there any reason why this expression wouldn't work in a Shale configuration file. The background is that I'm trying to use a dataList component from the MyFaces project to print out commas. I know that the following will not work: yet,

RE: [Shale] How to cancel the

2006-05-23 Thread James Reynolds
It was the last announced Alpha update finished around the end of March. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Craig McClanahan Sent: Tuesday, May 23, 2006 12:44 PM To: Struts Users Mailing List Subject: Re: [Shale] How to cancel the On 5/23/

Re: [Shale] How to cancel the

2006-05-23 Thread Gary VanMatre
>From: "James Reynolds" <[EMAIL PROTECTED]> > > > I'm coding a cancel button on an update form. I've set its immediate > attribute to true, but that isn't skipping the client side validation. > Is there a way to do this, or must I only use server validation in this > case? > If you are usin

Re: [Shale] How to cancel the

2006-05-23 Thread Craig McClanahan
On 5/23/06, James Reynolds <[EMAIL PROTECTED]> wrote: I'm coding a cancel button on an update form. I've set its immediate attribute to true, but that isn't skipping the client side validation. Is there a way to do this, or must I only use server validation in this case? This sounds like an

[Shale] How to cancel the

2006-05-23 Thread James Reynolds
I'm coding a cancel button on an update form. I've set its immediate attribute to true, but that isn't skipping the client side validation. Is there a way to do this, or must I only use server validation in this case? Thanks -

Re: How to set hidden field in struts

2006-05-23 Thread Bruce Link
Hi Pankaj, If you do not want to use container-supported security, storing information in the session that captures the login is typical. You then need to check the session information in every page which requires login, and delete the information (or invalidate the session) when the user log

Re: [WEB-SERVICES ]

2006-05-23 Thread Mike Elliott
On 5/23/06, temp temp <[EMAIL PROTECTED]> wrote: Web services. How web services are written in java. Are there any tutorials to understand the concept of web services? What particular kind of a web service did you have in mind? You mentioned Enterprise Java Beans. Those are not a web s

[OT] Re: [WEB-SERVICES ]

2006-05-23 Thread Dave Newton
temp temp wrote: > Web services. How web services are written in java. That's a rather open-ended question; you may want to look elsewhere. Perhaps trying a search for "java web services" on google: http://www.google.com/search?q=java+web+services There is more than enough information to get y

[WEB-SERVICES ]

2006-05-23 Thread temp temp
Web services. How web services are written in java. Are there any tutorials to understand the concept of web services? Several application servers provide tools which builds web service on a button click. This way I can create a web service but I cannot understand what files

How to pass request parameters through a waiting page?

2006-05-23 Thread starki78
Hi! I set request-paramteres within an jsp but introduced a waiting page to the next action. Now the request parameter cannot be found anymore! How can I achieve that the waiting jsp, recopies the request-attributes? Is this possible in any way? I don't want to write it to the session! Thanks a l

[OT] Re: displaying a field as bold

2006-05-23 Thread Dave Newton
I HARIKRISHNA wrote: > What is the need for validation if the field is nonmandatory Just because a field isn't mandatory doesn't mean that it shouldn't be validated if it _is_ entered. Dave - To unsubscribe, e-mail: [EMAIL PR

RE: Req on

2006-05-23 Thread Albrecht Leiprecht
I use Javawebparts Ajax Tags for exactly that purpose ;) http://javawebparts.sourceforge.net/ Rgds Albi -Original Message- From: The Jasper [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 1:29 PM To: Struts Users Mailing List Subject: Re: Req on Hi, I'm not quite sure how you'

Re: Req on

2006-05-23 Thread The Jasper
Hi, I'm not quite sure how you'd do it, but it seems like you could use logic tags to do this. something like: Hi Javascript...the right way one change of the one select combo box call some function which will fill up the othercombo box. U can search on google for such code. regard

Re: displaying a field as bold

2006-05-23 Thread Hanmay Udgiri
Hi let me put the code which we are using mask ^[0-9, a-zA-Z]*$ field[0] region fieldTest[0]

RE: displaying a field as bold

2006-05-23 Thread I HARIKRISHNA
What is the need for validation if the field is nonmandatory and if it is required then how will you do in Struts>?>>??? [EMAIL PROTECTED] wrote: Hi, The best way to display mandatory is give your mandatory text field a color or put (*). Yes you have struts implementation for both mandatory &

Re: Capture JSP Response

2006-05-23 Thread Antonio Petrelli
Dinesh Mehra ha scritto: - Then I tried creating filters, I created a response filter alongwith a response wrapper and then try to capture the response but I am not able to capture the response. Uh are you sure? Remember that you have to implement both getWriter and getOutputStream! Ciao A

Re: How to set hidden field in struts

2006-05-23 Thread Antonio Petrelli
Pankaj Gupta ha scritto: Hi, I want to implement a feature in struts wherein nobody can open a page directly by copying the url and pasting it in a new browser window.i.e. any page of the application can only be reached through login page. Only two words: intercepting filters. http://java.s

Re: problem?

2006-05-23 Thread Hanmay Udgiri
Hi Please check the error key which ur using in validation.xml is present in Resources properties. Thanks and Regards On 5/23/06, Yang Sun <[EMAIL PROTECTED]> wrote: Hi, I am using struts 1.2.9 for my project now. And for validating the user input, I use DynaValidationForm and validation.xml

Re: displaying a field as bold

2006-05-23 Thread Hanmay Udgiri
Hi Let me explain in more details We have a field Social Security Number this field could be mandatory if the user enters US account number or optional if he enters a Canada account number. We are using same JSP. So instead of having logic tags in JSP,do we any generic framework where in JSP it ca

Capture JSP Response

2006-05-23 Thread Dinesh Mehra
Hi, Requirements : - I have a form in a jsp on submission of which I need to send an e-mail. - On submission of the form, I am calling another .do page & getting the response. This response I dont need to show in the jsp but capture this html response and use this as a string to construct the em

RE: displaying a field as bold

2006-05-23 Thread Rakesh.Bhat
Hi, The best way to display mandatory is give your mandatory text field a color or put (*). Yes you have struts implementation for both mandatory & non-mandatory fields. even validation. Cheers, Kind regards, Rakesh Bhat -Original Message- From: Hanmay Udgiri [mailto:[EMAIL PROTECT

displaying a field as bold

2006-05-23 Thread Hanmay Udgiri
Hi We have two requirements like this. 1.In my JSP page I have around 50 fields and these fields could be mandatory,optional or just plane read only fields based on some condition. Now the requirement is when the JSP is displayed,which way is good to display the field in bold if mandatory,non-

Re: Is tile definations Instance is singleton

2006-05-23 Thread navin mca
Hi Antonio, Thanks alot for your support to the community, I really appreciate it. >It depends on your implementation. Anyway I think the solution I wrote >in the last e-mail is better for you (the one with JSP Tiles custom tags). > Even wht u have suugested, I had already thought

Re: shopping cart source code

2006-05-23 Thread Jorge Martín Cuervo
El lun, 22 de 05 de 2006 a las 19:00, rajan pahuja escribió: Programming Jakarta Struts - Chuck Cavaness - ISBN 0-596-00328-5 This book is great, despite i don't have the last revisión, IMHO it's a must read resource. > find it in book programming Struts by chuck cavass,orielly pulications. > t

Re: Is tile definations Instance is singleton

2006-05-23 Thread Antonio Petrelli
navin mca ha scritto: Hi Antonio , value="/WEB-INF/dimensions-config.xml"/> WHOOPS!! I am sorry wrong cun'n'paste: value="my.package.FactorySetSubClass"/> 1. wht should I put in dimensions-config.xml file (Do you want to say that I should put my tile definition in

Re: Is tile definations Instance is singleton

2006-05-23 Thread Antonio Petrelli
navin mca ha scritto: Hi Antonio, >Oh boy your English gave me an headache! I am really sorry for my bad english. Following is my tile definition. Uh sorry, I forgot an important

Re: Is tile definations Instance is singleton

2006-05-23 Thread navin mca
Hi Antonio , Thanks alot for your help. Could u pls explain me how following code will help me to solve the race condition 1. wht should I put in dimensions-config.xml file (Do you want to say that I should put my tile definition in it which is having such complex a