Re: dd-MON-yyyy date format validation

2007-06-02 Thread Jeremiah Johnson
You will have to write your own custom validator or implement the validate() method on the form. Custom validator: http://www.onjava.com/pub/a/onjava/2002/12/11/jakartastruts.html?page=last Ambaris Mohanty wrote: Hi all, I'm developing a jsp form that has a date field. I want to get the dat

Re: how to check if page has been displayed (rendered) by the browser

2007-05-31 Thread Jeremiah Johnson
you could use JQuery to run a script after the document is loaded. See at this url: http://www.learningjquery.com/2006/09/introducing-document-ready Raghupathy, Gurumoorthy wrote: Put your javascript at the last ... so you are sure that my the time your javascript is being executed your html is

Re: Input and results on the same JSP

2006-11-09 Thread Jeremiah Johnson
A table of form elements mapped to the same property as other items on the form may be a problem (even if disabled). Other then that I can't think of an issue. Is there a specific problem? Jeremiah Prakash Inuganti -X (pinugant - Digital-X, Inc. at Cisco) wrote: Hi, I am trying to display en

Re: Foward to empty Action Mapping

2006-10-15 Thread Jeremiah Johnson
Maybe forward to a blank page? jeremiah Hanmay Udgiri wrote: Hi I have a requirement where after i dont want to forward to any page It is a pop up page so after last step i just want to call a method of action class and close the pop up page. so i am closing the pop up on submit and it is going

Re: FormFile arrays

2006-09-13 Thread Jeremiah Johnson
See the documentation on using indexed properties [1] for more details. L. [1] http://struts.apache.org/1.2.x/faqs/indexedprops.html This seems like it should work. I created two accessors to the form that had an index parameter. Struts could not locate the getter. I ended up creating a cl

Re: FormFile arrays

2006-09-12 Thread Jeremiah Johnson
seems convoluted.. I'm hoping for a simpler solution then that. I'll post code if I can make this work. Jeremiah Johnson skrev: I would like to upload multiple files on a single web page by having multiple elements. The exact number of these are different depending on the use

FormFile arrays

2006-09-12 Thread Jeremiah Johnson
I would like to upload multiple files on a single web page by having multiple elements. The exact number of these are different depending on the user who is using the application. So I want to store this in an array (FormFile[]) in order to have N number of files uploaded. When I try to use t

Re: Please help.

2005-10-09 Thread Jeremiah Johnson
your path for the "customerConfirm" forward should be "/customerConfirm.do" probably but it might be "/do/customerConfirm" depending on what you have in your web.xml. /Jeremiah Deep Chand wrote: Hi All, I'm new to Struts, so please bear with me :). I've a form asking for customer data with f

Re: Using custom tags and struts together

2005-08-19 Thread Jeremiah Johnson
Normally it doesn process html:link. Did you put the tld for html:link on the page? Does your tag extend BodyTagSupport? I think I remember having to execute the print in doEndTag() as well. Murray Collingwood wrote: Hello all Has anybody successfully used Stuts tags and Custom tags together?

Re: action executing two times

2005-08-03 Thread Jeremiah Johnson
Fount the problem. I had in my tile. When I removed it it worked. Not sure why that causes problems. That didn't have anything to do with the link I was clicking. thanks /Jeremiah Laurie Harper wrote: Jeremiah Johnson wrote: I have an action mapping that looks like: If I

Re: action executing two times

2005-08-03 Thread Jeremiah Johnson
anks! /Jeremiah Laurie Harper wrote: Jeremiah Johnson wrote: I have an action mapping that looks like: If I click the link to /my/path.do my action class sends out the showForm then displays myTileDef. Then it executes the same action class again. The second execution doesn't cop

action executing two times

2005-08-02 Thread Jeremiah Johnson
I have an action mapping that looks like: If I click the link to /my/path.do my action class sends out the showForm then displays myTileDef. Then it executes the same action class again. The second execution doesn't copy some of the information from the first execution. My action class