Pre-populating Form Bean

2002-12-20 Thread Mark Conlin
I would like to pre-populate a form bean for an edit screen. I have spent the last hour or two reading the archives and still I have failed to find the help I need. Any feedback would be appreciated. I have an Action class CustomerAccountDetailsPreEditAction that pre-populates my form.

RE: Pre-populating Form Bean

2002-12-20 Thread Mark Conlin
if it doesn't know there is something to populate?). Good luck! Mark Conlin wrote: I would like to pre-populate a form bean for an edit screen. I have spent the last hour or two reading the archives and still I have failed to find the help I need. Any feedback would be appreciated. I have

RE: Pre-populating Form Bean

2002-12-20 Thread Mark Conlin
... Mark -Original Message- From: Mark Conlin [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 1:38 PM To: 'Struts Users Mailing List' Subject: RE: Pre-populating Form Bean Okay so I have done the following... I placed name=customerDetailsForm into my action declaration

RE: Pre-populating Form Bean

2002-12-20 Thread Mark Conlin
placed the Form into the session in the action like this: session.setAttribute( customerDetailsForm, custForm); This works but, I do not want to hard-code the form reference like this. Mark -Original Message- From: Mark Conlin [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002

iterate tage and creating links - whats the right way ?

2002-12-20 Thread Mark Conlin
I am creating view links along with a list of contacts. I have done so successfully but wanted feedback. I am currently doing the following: logic:iterate id=contact name=contacts indexId=index scope=page % view.clear(); view.put(forward, customer.view_contact); view.put(key, index); %

RE: Pre-populating Form Bean

2002-12-20 Thread Mark Conlin
mapping. robert -Original Message- From: Mark Conlin [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 2:30 PM To: 'Struts Users Mailing List' Subject: RE: Pre-populating Form Bean Okay, I think I am missing something major here. By watching the log files I see

Iterate tag Tomcat 4.1.12, issue or no?

2002-12-15 Thread Mark Conlin
After much scanning of the user-list archive I have seen some mentions of a problem with tomcat 4.1 and the logic:iterate tag. I have also seen mentions of Tomcat 4.1.12 working fine with the logic tag. Does a problem exist? I am getting the following error, my code matches the example code in

RE: Iterate tag Tomcat 4.1.12, issue or no?

2002-12-15 Thread Mark Conlin
, December 15, 2002 7:22 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: Iterate tag Tomcat 4.1.12, issue or no? On Sun, 15 Dec 2002 15:39:23 -0500 Mark Conlin [EMAIL PROTECTED] wrote: %= messages.size() % logic:iterate id=myMessage collection

RE: Iterate tag Tomcat 4.1.12, issue or no?

2002-12-15 Thread Mark Conlin
messages = (ArrayList)su.getAttribute(session, HomeConstants.MESSAGE_ARRAY); pageContext.setAttribute(messages, messages); % logic:iterate id=myMessage name=messages Mark Conlin wrote: I am afraid that still does not work. None of these work logic:iterate id=myMessage collection

RE: Iterate tag Tomcat 4.1.12, issue or no?

2002-12-15 Thread Mark Conlin
in the page, right? Mark Conlin wrote: Thanks folks, but that does not work either. So I tried the code from the example in the struts developers Guide. It doesn't work either. % java.util.ArrayList list = new java.util.ArrayList(); list.add(First); list.add(Second); list.add(Third

Design Question regarding navigation menu

2002-12-09 Thread Mark Conlin
Design question regarding navigation menu. (I am using tiles) Suppose I have a navigation menu with several choices/sections, I would like to highlight the choice/section the user is currently in. Example: choice A, choice B, choice C Which is the proper approach? Create a separate menu

Example Design Documentation - wanted

2002-10-04 Thread Mark Conlin
and concise way. Thank you Mark Conlin

On validation error, images go away ?

2002-02-13 Thread Mark Conlin
When my ActionForm fails to validate, I am returned to my initial page and a nice error message is displayed. However, at this point my image is broken. Is this jsp page not actually being displayed from the same directory as the original page ? My page is located in /ui/Login.jsp On error