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
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
/
/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
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
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
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
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
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
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.
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
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
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
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;:
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
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
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
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
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
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
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
-
20 matches
Mail list logo