Re: DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-19 Thread Jim Kennedy
Yes, this is on the right track, but how do I create a DynaValidatorForm before it is actually used inside a form? I don't think you can cast down like that. I understand how it is created after I submit the form, but not before I submit the form. Jim Kennedy IT Consultant

Re: DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-19 Thread Jim Kennedy
in validation.xml. Won't go into all that. How is the connection made between what I have defined in my struts config and the copyProperties method. At that point, I have not even accessed the form. The form object is just an ActionForm. I'm missing something here. Jim Kennedy IT Consultant

Re: DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-19 Thread Jim Kennedy
/ /action I use myprofile to bring up the form and saveuser to process the submit of the form. - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; Jim Kennedy [EMAIL PROTECTED] Sent: Friday, December 19, 2003 11:13 AM Subject: RE

Re: DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-19 Thread Jim Kennedy
That was it I got it now. Jim Kennedy IT Consultant Mobile Phone: 813-503-1484 - - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; Jim Kennedy [EMAIL PROTECTED] Sent: Friday

DynaValidatorForm and setting initial value for the html-el:text tag

2003-12-18 Thread Jim Kennedy
I am using a DynaValidatorForm for one of my forms and would like to initialize the fields to a value that would tend to stick unless changed. It would follow that if there were errors, any user entered value would replace the value initially set. It should not revert back to the initial

Returning raw data from an action

2003-12-01 Thread Jim Kennedy
I have a need to process a large amount of data and return a csv file to the client. Is it possible to do this with a Struts action? Is so, what would I return as an ActionForward (see below)? return mapping.findForward(blabla); or return mapping.findForward(null); I don't want to forward

Re: Returning raw data from an action

2003-12-01 Thread Jim Kennedy
great. Why doesn't the left click work. Jim Kennedy IT Consultant Mobile Phone: 813-503-1484 - - Original Message - From: Witt, Mike (OH35) [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, December 01

Re: Error while accessing the application

2003-11-30 Thread Jim Kennedy
prefix=pg % %@ taglib uri=/WEB-INF/security.tld prefix=security % %@ taglib uri=/WEB-INF/struts-html-el.tld prefix=html-el % I always reference tlds from the /WEB-INF directory, not from within the library JAR. Jim Kennedy IT Consultant Mobile Phone: 813-503-1484

html-el:form tag question

2003-10-31 Thread Jim Kennedy
Here's my standard html form tag: form name=main action=doit method=post I need to be able to name my form in my application. How do I do that with the el form tag. It is not this: html-el:form name=main action=/doit.do method=post scope=request name has another meaning for this tag.

Re: html-el:form tag question

2003-10-31 Thread Jim Kennedy
I figured it out. It's actually set to the name of the form-bean. And I can live with that. Jim Kennedy IT Consultant Mobile Phone: 813-503-1484 - - Original Message - From: Ruth, Brice [EMAIL PROTECTED] To: Struts Users Mailing List

Like to use html-el:link to add query string params

2003-10-30 Thread Jim Kennedy
Why doesn't this work html-el:link style=color:#FF action=/propsearch name=${param}BRent/B/html-el:link The implicit param var is not found in any scope. Seems like this should work. Doing something wrong here. What's the best way to apply existing query string Plus one

Exception handling 100% declarative

2003-10-29 Thread Jim Kennedy
I would like to be able to customize the output when an exception is thrown with minimal or no extra overridden classes. My struts config (1.1) config file looks like this: global-exceptions exception key=error.persistence.create type=javax.ejb.CreateException

Having trouble with html:form tag

2003-10-24 Thread Jim Kennedy
This is my first shot at using 100% struts tags for my forms. I'm missing something. snippet from jsp: html:form action=pmregister method=post focus=firstName name=pmRegisterForm type=com.je.struts.action.PMRegisterForm !--form action=pm/pmregister method=post -- PFirst namenbsp;*nbsp;:

Re: Having trouble with html:form tag - Using 1.1

2003-10-24 Thread Jim Kennedy
1.1 Jim Kennedy IT Consultant Mobile Phone: 813-503-1484 - - Original Message - From: Chen, Gin [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday, October 24, 2003 1:48 PM Subject: RE: Having trouble

Re: Having trouble with html:form tag - Using 1.1

2003-10-24 Thread Jim Kennedy
Services/ /action I think is has something to do with my servlet mappings. It also seems odd to me that the generated action in the generated page is /webapp. Where /webapp is my context. This I believe to be a problem also. Not sure. Any suggestions. Jim Kennedy IT Consultant Mobile

Re: Having trouble with html:form tag - Using 1.1

2003-10-24 Thread Jim Kennedy
doing that. If the action cannot be found then an exception gets thrown. Since I'm not getting any exceptions it must be locating the action. I have log messages in my action and they do not display. So I know my action is not getting called. any more ideas? Jim Kennedy IT Consultant Mobile

Re: Having trouble with html:form tag - Using 1.1 - NO luck

2003-10-24 Thread Jim Kennedy
not using modules. Jim Kennedy IT Consultant Mobile Phone: 813-503-1484 - - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 24, 2003 3:48 PM Subject: RE: Having trouble

Re: Having trouble with html:form tag - Using 1.1 - THAT WORKED

2003-10-24 Thread Jim Kennedy
the sample context/subcontext as the form itself. Do you think this is a bug? Or should I avoid /this/* and /that/* ? How would I do security on some but not all then? Jim Kennedy IT Consultant Mobile Phone: 813-503-1484 - - Original Message

Re: Having trouble with html:form tag - Using 1.1 - THAT WORKED

2003-10-24 Thread Jim Kennedy
of you. Your comments definitely help me think through the issues. Jim Kennedy IT Consultant Mobile Phone: 813-503-1484 - - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 24

Dynamic ActionMapping params

2003-07-23 Thread Jim Kennedy
in the request, which works fine if I forward, but what if I redirect. I would have to put them in the session. Not clean coding in my opinion. I would rather specify as querystring params. Anyone done this? I am using Struts v1.02 Jim Kennedy IT Consultant -