RE: error in writing message on JSP using

2003-08-04 Thread Suzette Daniel
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

RE: Javascript validation for struts form field elements

2003-07-31 Thread Suzette Daniel
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

RE: Validating fields only in some situations question....

2003-07-30 Thread Suzette Daniel
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

RE: Struts Action in Welcome File List

2003-07-30 Thread Suzette Daniel
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:

RE: ValidatorForm and validation.xml

2003-07-29 Thread Suzette Daniel
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

RE: DynaActionForm reset

2003-07-29 Thread Suzette Daniel
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

RE: Development time using Struts,

2003-07-29 Thread Suzette Daniel
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,

RE: can I iterate on Map property?

2003-07-24 Thread Suzette Daniel
> -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

RE: can I iterate on Map property?

2003-07-24 Thread Suzette Daniel
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

RE: model - controller interface

2003-07-24 Thread Suzette Daniel
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

RE: model - controller interface

2003-07-24 Thread Suzette Daniel
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

RE: Replace scriptlet in a JSP page

2003-07-24 Thread Suzette Daniel
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:

RE: model - controller interface

2003-07-24 Thread Suzette Daniel
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

RE: Material on Struts Bean Tags

2003-07-24 Thread Suzette Daniel
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

RE: LookupDispatchAction problem

2003-07-23 Thread Suzette Daniel
> > 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

RE: LookupDispatchAction problem

2003-07-23 Thread Suzette Daniel
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

RE: LookupDispatchAction problem

2003-07-23 Thread Suzette Daniel
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

RE: LookupDispatchAction problem

2003-07-23 Thread Suzette Daniel
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: ..

RE: IPlanet 6 SP2 and Struts 1.1 with templates TLD

2003-07-23 Thread Suzette Daniel
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

RE: IPlanet 6 SP2 and Struts 1.1 with templates TLD

2003-07-23 Thread Suzette Daniel
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

RE: drop-down list help

2003-07-23 Thread Suzette Daniel
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

RE: IPlanet 6 SP2 and Struts 1.1 with templates TLD

2003-07-23 Thread Suzette Daniel
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

RE: Using tiles - getting "tag nesting error'

2003-07-22 Thread Suzette Daniel
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

RE: Using tiles - getting "tag nesting error'

2003-07-22 Thread Suzette Daniel
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

RE: Servlet 2.2: Access Objects Application Scope

2003-07-22 Thread Suzette Daniel
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

RE: Validation (Heirarchy) Question

2003-07-22 Thread Suzette Daniel
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

RE: drop-down list help

2003-07-22 Thread Suzette Daniel
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:

RE: html:form tag and coupling between ActionForm and Action

2003-07-21 Thread Suzette Daniel
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