I think there might be a problem with the value that you assigned to
"errors.header"? What does your "errors.header" value look like? You can
assign it any value, mine is pretty simple it looks like this:
errors.header=Error
Suzette H. Daniel
-Original Message-
From: Sunil Sharma (C) [ma
Use struts validation, don't give the form it's own name this is done in the
struts config file. See Struts in Action chapter 12
(http://www.manning.com/husted/chap12.pdf).
Suzette H. Daniel
-Original Message-
From: Veena B N [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 7:13 A
I haven't tried this myself, this is directly from Ted's book Struts in
Action(http://javaboutique.internet.com/resources/books/strutsAction/struts7
_2.html):
Suzette H. Daniel
-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 11:37
Nope this is not supported, the web.xml must map to a file.
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 30, 2003 9:51 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts Action in Welcome File List
Can't you just do this:
You just missed the last 2 steps, you need to call the javascript on submit
so the validation can be done and include the javascript validation.
Example:
1-
2-
Suzette H. Daniel
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 6:07 PM
To: 'St
Be sure to set the scope on your action mapping to request, it is session
scope by default.
Suzette H. Daniel
Java Developer/Web dept
770 416.9222 ex: 5041
-Original Message-
From: Sloan Seaman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 2:26 PM
To: Struts Users Mailing List
My develoment time on the ui side has greatly decreased. I've been finishing
ui implementations for shopping cart apps in 2 weeks versus 1 month. I've
not had any kind of EJB problems either, I can take more time on the sever
side now.
Suzette H. Daniel
-Original Message-
From: Paananen,
> -Original Message-
> From: Struts [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 24, 2003 1:46 PM
> To: [EMAIL PROTECTED]
> Subject: Re: can I iterate on Map property?
>
> Hi Suzette,
> thanks for your reply,
> am I correct to presume listofprodu
You can use the option tag with a Map, it works just fine, but you must use
html:options. Here's an example:
Suzette H. Daniel
-Original Message-
From: Alex Shneyderman [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 1:33 PM
To: 'Struts Users Mailing List'
Su
eTO vo is some sort of Transfer Object, but where
did this get wrapped up? In the action presumably, which means this
Transfer Object is instantiated there and populated from the form bean,
correct?
thanks
Adam
Suzette Daniel wrote:
> In general you are correct, these patterns have
pdate method. (nb: before you get
> tempted be aware that your ActionForm is a representation of ui state
> - not a value object!)
>
> -Original Message-
> From: Suzette Daniel [mailto:[EMAIL PROTECTED]
> Sent: Thursday, 24 July 2003 19:15
> To: 'Struts Users Mailing L
What does SetUpLanguages() do? Is it based on the users session? Can you not
do this call in an action that calls this page?
Suzette H. Daniel
Java Developer/Web dept
770 416.9222 ex: 5041
-Original Message-
From: Dirk Behrendt [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 7:
Try J2EE design patterns
(http://java.sun.com/blueprints/corej2eepatterns/Patterns/index.html).
Suzette H. Daniel
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 24, 2003 7:12 AM
To: Struts Users Mailing List
Subject: model - controller interface
I'm
Struts Samples:
-In the struts war there are tuns of sample applications in which you can
review the code ([struts-dir]/webapps); struts-exercise-taglib.war has
samples on how to use the tag libs.
-Ted (http://husted.com/struts/) wrote a great book called "Struts in
Action".
-And there are tuns o
> > Subject: RE: LookupDispatchAction problem
> >
> > Thanks for all help. It is fixed now. God bless
> you, one and all.
> >
> > > -Original Message-
> > > From: Suzette Daniel [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, July
found, etc.). thanks. Sorry for this going on-and-on. Who knew...
> -Original Message-
> From: Suzette Daniel [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 23, 2003 4:43 PM
> To: 'Struts Users Mailing List'
> Subject: RE: LookupDispatchAction problem
>
> I
tion I have:
protected Map getKeyMethodMap() {
Map map = new HashMap();
map.put("button.selectOrgs", "selectOrgs");
return map;
}
But alas, I am still getting an error (below). I wonder if my resource
bundled is not being read properly, because the
With LookupDispatch you don't have to use a hidden tag. I think the problem
might be in your action itself. Look at Ted's
tip(http://husted.com/struts/tips/003.html) and below is a working sample.
JSP:
Struts-config:
..
List
Subject: Re: IPlanet 6 SP2 and Struts 1.1 with templates TLD
Suzette Daniel wrote:
> Your declaration that you listed below seems correct I don't think
> that the
I forgot to mention that development went on on a Tomcat server with no
problems whatsoever.
> proble
s Users Mailing List
Subject: Re: IPlanet 6 SP2 and Struts 1.1 with templates TLD
Suzette Daniel wrote:
> I think this is a mapping error. Did you map "/tags/struts-template"
> to "/WEB-INF/struts-template.tld" in your web.xml? If you didn't then
> your inclide wo
It's beneficial for simple forms that are initalized to null. For more
complex stuff do it the old way.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 23, 2003 8:26 AM
To: [EMAIL PROTECTED]
Subject: RE: drop-down list help
Good afternoon,
I h
I think this is a mapping error. Did you map "/tags/struts-template" to
"/WEB-INF/struts-template.tld" in your web.xml? If you didn't then your
inclide won't work.
It should be:
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
Suzette
-Original Message-
From: Philippe V
uly 22, 2003 7:10 PM
To: 'Struts Users Mailing List'
Subject: RE: Using tiles - getting "tag nesting error'
That did not work any other suggestions, Any way thanks for help
jay
-Original Message-
From: Suzette Daniel [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 3:54
I think it's just your 'img' tag, put the src in quotes:
Suzette
-Original Message-
From: Mounagurusamy, Jayakumar (HAL)
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 6:51 PM
To: 'Struts Users Mailing List'
Subject: Using tiles - getting "tag nesting error'
Hello,
All I g
servlet.getServletContext(), "servlet" is a publicly accessable data member.
Suzette
-Original Message-
From: ASJJUA [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 11:23 AM
To: [EMAIL PROTECTED]
Subject: Servlet 2.2: Access Objects Application Scope
Hi All,
I was wonder
Hi Blake,
In your validation.xml in arg0 you need to specify the display value for
each field.
Most likely at the moment they are all set to "firstName".
Suzette
-Or
The examples are in the struts war:
[struts.war]/webapps/struts-exercise-taglib.war. They are also
http://jakarta.apache.org/struts/resources/projects.html.
Suzette H. Daniel
Java Developer/Web dept
770 416.9222 ex: 5041
-Original Message-
From: Rick Col [mailto:[EMAIL PROTECTED]
Sent:
I just wanted to add a little bit more to Alex's comment.
1.Create a form interface that represents your family of forms
abstract class PersonForm extends ActionForm{
getFirstName();
getLastName();
getMiddleName();
}
2.Make your form
28 matches
Mail list logo