Re: unable to programmatically perform a submit

2001-06-21 Thread Norman Timmler

hi michelle,

i see a main difference between your struts version and your non-struts
version. on the struts version you have forms[0] referencing your form and
on the second one you have forms[1].
the secure way to talk to forms by JavaScript is to reference the form by
name.

document.formName.submit();

or

document.formName.elementName.value = something;

hope this will help you.
norman

- Original Message -
From: Michelle Popovits [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 20, 2001 11:19 PM
Subject: unable to programmatically perform a submit


Hi,

I am trying to get an image map working that does a submit.
The image map itself works.
However, when I click on the image area it complains when trying to execute
the submit.

Error:  object doesn't support this property or method.

I have tried just performing a submit without the event assignment, like so:
MAP NAME=MyMap
  AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
OnClick=document.forms[0].submit();
/MAP


This works in my non-struts form version.


Here is the html output:

MAP NAME=MyMap
  AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
mit();
/MAP

img src=/LAPS1/VirtualClassroomWAR/images/tab1a.gif border=0
usemap=#MyMap

struts version

strutshtml:html

strutshtml:form action=editPersonalInfo.do name=personalInfoForm
type=com.bmo.ifl.laps.forms.PersonalInfoForm

MAP NAME=MyMap
  AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
mit();
/MAP

strutshtml:img usemap=#MyMap  pageKey=page.editPersonalInfo.tabImage
border=0 /
...
/strutshtml:form

/strutshtml:html



non-struts version - this works

form id=f1
MAP NAME=MyMap2
  AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
OnClick=document.forms[1].event.value='SELECT_COURSE';f1.submit();
/MAP


img USEMAP=#MyMap2 SRC=%= request.getContextPath() %/images/tab1a.gif
BORDER=0 
input type=text name=event value=UPDATE_PERSONAL_INFO

/form

I don't believe the image map is the problem.
I think that there is just some reason why it will not except a submit()
programmatically.

Thanks,
Michelle





Re: unable to programmatically perform a submit

2001-06-21 Thread Michelle Popovits

Yes, I am referencing 0 and 1 because I am running both forms on the same
page (simultaneously).
The 0 is for the struts form and the 1 is for the non-struts form.
I can programmatically, submit no problem on the non-struts form but not on
the struts form.

The struts form tag in the generated html looks like this:

form name=personalInfoForm method=POST
action=/LAPS1/VirtualClassroomWAR/editPersonalInfo.do id=form1

the non-struts form looks like this:

form id=f1

Because I can submit the second form using the index 1, this means that the
page recognizes that there is something in position 0, but that it seems
that it has somehow been rendered in such a way that it can't be
programmatically submitted using javascript.

I have also tried using the form name instead of the index and the results
are the same.
What has struts done to my form to make it not work?  I don't know

Has anyone else out there been able to make this work?

Thanks,
Michelle


- Original Message -
From: Norman Timmler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Michelle Popovits
[EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 4:55 AM
Subject: Re: unable to programmatically perform a submit


 hi michelle,

 i see a main difference between your struts version and your non-struts
 version. on the struts version you have forms[0] referencing your form and
 on the second one you have forms[1].
 the secure way to talk to forms by JavaScript is to reference the form by
 name.

 document.formName.submit();

 or

 document.formName.elementName.value = something;

 hope this will help you.
 norman

 - Original Message -
 From: Michelle Popovits [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 20, 2001 11:19 PM
 Subject: unable to programmatically perform a submit


 Hi,

 I am trying to get an image map working that does a submit.
 The image map itself works.
 However, when I click on the image area it complains when trying to
execute
 the submit.

 Error:  object doesn't support this property or method.

 I have tried just performing a submit without the event assignment, like
so:
 MAP NAME=MyMap
   AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
 OnClick=document.forms[0].submit();
 /MAP


 This works in my non-struts form version.


 Here is the html output:

 MAP NAME=MyMap
   AREA SHAPE=Rect NOHREF COORDS=82,2 163,23

OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
 mit();
 /MAP

 img src=/LAPS1/VirtualClassroomWAR/images/tab1a.gif border=0
 usemap=#MyMap

 struts version

 strutshtml:html
 
 strutshtml:form action=editPersonalInfo.do name=personalInfoForm
 type=com.bmo.ifl.laps.forms.PersonalInfoForm
 
 MAP NAME=MyMap
   AREA SHAPE=Rect NOHREF COORDS=82,2 163,23

OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
 mit();
 /MAP

 strutshtml:img usemap=#MyMap  pageKey=page.editPersonalInfo.tabImage
 border=0 /
 ...
 /strutshtml:form

 /strutshtml:html



 non-struts version - this works

 form id=f1
 MAP NAME=MyMap2
   AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
 OnClick=document.forms[1].event.value='SELECT_COURSE';f1.submit();
 /MAP


 img USEMAP=#MyMap2 SRC=%= request.getContextPath()
%/images/tab1a.gif
 BORDER=0 
 input type=text name=event value=UPDATE_PERSONAL_INFO

 /form

 I don't believe the image map is the problem.
 I think that there is just some reason why it will not except a submit()
 programmatically.

 Thanks,
 Michelle





Re: unable to programmatically perform a submit

2001-06-21 Thread Bill Pfeiffer



Michelle,

I had the exact same issue in IE and it had to do 
with having an actual submit or reset button as part of the form. For some 
reason, If I had a submit button on the form, performing a submit in javascript 
yeilded the error that you see. When I remove the submit button (or reset 
button), theerror goes away. Don't know why this is.

HTH,

Bill Pfeiffer



  - Original Message - 
  From: 
  Michelle Popovits 
  To: [EMAIL PROTECTED] 
  
  Sent: Wednesday, June 20, 2001 5:19 
  PM
  Subject: unable to programmatically 
  perform a submit
  
  
  Hi,
  
  I am trying to get an image map working that does 
  a submit.
  The image map itself works.
  However, when I click on the image area it 
  complains when trying to execute the submit.
  
  Error: object doesn't support 
  this property or method.
  
  I have tried just performing a submit without the 
  event assignment, like so:
  MAP NAME="MyMap" AREA 
  SHAPE="Rect" NOHREF COORDS="82,2 163,23" 
  /MAP
  
  This works in my 
  non-strutsform version.
  
  
  Here is the html 
  output:
  
  MAP NAME="MyMap" AREA 
  SHAPE="Rect" NOHREF COORDS="82,2 163,23" 
  /MAP
  
  img 
  src="/LAPS1/VirtualClassroomWAR/images/tab1a.gif" border="0" 
  usemap="#MyMap"
  struts version
  
  strutshtml:html
  strutshtml:form 
  action="editPersonalInfo.do" name="personalInfoForm" 
  type="com.bmo.ifl.laps.forms.PersonalInfoForm"
  MAP NAME="MyMap" AREA 
  SHAPE="Rect" NOHREF COORDS="82,2 163,23" 
  /MAP
  
  strutshtml:img usemap="#MyMap" 
  pageKey="page.editPersonalInfo.tabImage" border="0" 
  /.../strutshtml:form
  /strutshtml:html
  
  
  non-struts version - this 
  works
  
  form id=f1MAP NAME="MyMap2" AREA 
  SHAPE="Rect" NOHREF COORDS="82,2 163,23" 
  /MAP
  
  img USEMAP="#MyMap2" SRC="%= request.getContextPath() 
  %/images/tab1a.gif" BORDER="0" input type=text name=event 
  value=UPDATE_PERSONAL_INFO
  
  /form
  
  I don't believe the image map is the problem. 
  I think that there is just some reason why it will not except a submit() 
  programmatically.
  
  Thanks,
  Michelle


RE: unable to programmatically perform a submit

2001-06-21 Thread Chuck Stern

Hi,

I've spent some time on this problem as well and it is very strange.  I
wasn't using an image map but instead just trying to get a HREF link to
submit.  I tried having an onclick that called a javascript function that
did a submit as well as a submit in the onclick itself.  I tried using
document.forms[0] as well as using the form name.  All of the above examples
WORKED when I didn't use the struts html:form tag.  As soon as I used the
struts html:form tag I'd get an error saying the submit() was invalid.
Ultimately I switched to a html:submit button which worked, although it's
not the presentation I'd prefer.  I don't think this is what you want with
your image map.  I'm still looking into it to see what's going on.

Chuck

-Original Message-
From: Michelle Popovits [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 9:23 AM
To: Norman Timmler; [EMAIL PROTECTED]
Subject: Re: unable to programmatically perform a submit


Yes, I am referencing 0 and 1 because I am running both forms on the same
page (simultaneously).
The 0 is for the struts form and the 1 is for the non-struts form.
I can programmatically, submit no problem on the non-struts form but not on
the struts form.

The struts form tag in the generated html looks like this:

form name=personalInfoForm method=POST
action=/LAPS1/VirtualClassroomWAR/editPersonalInfo.do id=form1

the non-struts form looks like this:

form id=f1

Because I can submit the second form using the index 1, this means that the
page recognizes that there is something in position 0, but that it seems
that it has somehow been rendered in such a way that it can't be
programmatically submitted using javascript.

I have also tried using the form name instead of the index and the results
are the same.
What has struts done to my form to make it not work?  I don't know

Has anyone else out there been able to make this work?

Thanks,
Michelle


- Original Message -
From: Norman Timmler [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; Michelle Popovits
[EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 4:55 AM
Subject: Re: unable to programmatically perform a submit


 hi michelle,

 i see a main difference between your struts version and your non-struts
 version. on the struts version you have forms[0] referencing your form and
 on the second one you have forms[1].
 the secure way to talk to forms by JavaScript is to reference the form by
 name.

 document.formName.submit();

 or

 document.formName.elementName.value = something;

 hope this will help you.
 norman

 - Original Message -
 From: Michelle Popovits [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Wednesday, June 20, 2001 11:19 PM
 Subject: unable to programmatically perform a submit


 Hi,

 I am trying to get an image map working that does a submit.
 The image map itself works.
 However, when I click on the image area it complains when trying to
execute
 the submit.

 Error:  object doesn't support this property or method.

 I have tried just performing a submit without the event assignment, like
so:
 MAP NAME=MyMap
   AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
 OnClick=document.forms[0].submit();
 /MAP


 This works in my non-struts form version.


 Here is the html output:

 MAP NAME=MyMap
   AREA SHAPE=Rect NOHREF COORDS=82,2 163,23

OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
 mit();
 /MAP

 img src=/LAPS1/VirtualClassroomWAR/images/tab1a.gif border=0
 usemap=#MyMap

 struts version

 strutshtml:html
 
 strutshtml:form action=editPersonalInfo.do name=personalInfoForm
 type=com.bmo.ifl.laps.forms.PersonalInfoForm
 
 MAP NAME=MyMap
   AREA SHAPE=Rect NOHREF COORDS=82,2 163,23

OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
 mit();
 /MAP

 strutshtml:img usemap=#MyMap  pageKey=page.editPersonalInfo.tabImage
 border=0 /
 ...
 /strutshtml:form

 /strutshtml:html



 non-struts version - this works

 form id=f1
 MAP NAME=MyMap2
   AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
 OnClick=document.forms[1].event.value='SELECT_COURSE';f1.submit();
 /MAP


 img USEMAP=#MyMap2 SRC=%= request.getContextPath()
%/images/tab1a.gif
 BORDER=0 
 input type=text name=event value=UPDATE_PERSONAL_INFO

 /form

 I don't believe the image map is the problem.
 I think that there is just some reason why it will not except a submit()
 programmatically.

 Thanks,
 Michelle




Re: unable to programmatically perform a submit

2001-06-21 Thread Norman Timmler

hi michelle,

could you please post the specific part of your source-code from your
browser.
this would help to resolve your problem.

thanks.
norman

- Original Message -
From: Michelle Popovits [EMAIL PROTECTED]
To: Norman Timmler [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 4:23 PM
Subject: Re: unable to programmatically perform a submit


 Yes, I am referencing 0 and 1 because I am running both forms on the same
 page (simultaneously).
 The 0 is for the struts form and the 1 is for the non-struts form.
 I can programmatically, submit no problem on the non-struts form but not
on
 the struts form.

 The struts form tag in the generated html looks like this:

 form name=personalInfoForm method=POST
 action=/LAPS1/VirtualClassroomWAR/editPersonalInfo.do id=form1

 the non-struts form looks like this:

 form id=f1

 Because I can submit the second form using the index 1, this means that
the
 page recognizes that there is something in position 0, but that it seems
 that it has somehow been rendered in such a way that it can't be
 programmatically submitted using javascript.

 I have also tried using the form name instead of the index and the results
 are the same.
 What has struts done to my form to make it not work?  I don't know

 Has anyone else out there been able to make this work?

 Thanks,
 Michelle


 - Original Message -
 From: Norman Timmler [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; Michelle Popovits
 [EMAIL PROTECTED]
 Sent: Thursday, June 21, 2001 4:55 AM
 Subject: Re: unable to programmatically perform a submit


  hi michelle,
 
  i see a main difference between your struts version and your non-struts
  version. on the struts version you have forms[0] referencing your form
and
  on the second one you have forms[1].
  the secure way to talk to forms by JavaScript is to reference the form
by
  name.
 
  document.formName.submit();
 
  or
 
  document.formName.elementName.value = something;
 
  hope this will help you.
  norman
 
  - Original Message -
  From: Michelle Popovits [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Wednesday, June 20, 2001 11:19 PM
  Subject: unable to programmatically perform a submit
 
 
  Hi,
 
  I am trying to get an image map working that does a submit.
  The image map itself works.
  However, when I click on the image area it complains when trying to
 execute
  the submit.
 
  Error:  object doesn't support this property or method.
 
  I have tried just performing a submit without the event assignment, like
 so:
  MAP NAME=MyMap
AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
  OnClick=document.forms[0].submit();
  /MAP
 
 
  This works in my non-struts form version.
 
 
  Here is the html output:
 
  MAP NAME=MyMap
AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
 

OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
  mit();
  /MAP
 
  img src=/LAPS1/VirtualClassroomWAR/images/tab1a.gif border=0
  usemap=#MyMap
 
  struts version
 
  strutshtml:html
  
  strutshtml:form action=editPersonalInfo.do name=personalInfoForm
  type=com.bmo.ifl.laps.forms.PersonalInfoForm
  
  MAP NAME=MyMap
AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
 

OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
  mit();
  /MAP
 
  strutshtml:img usemap=#MyMap
pageKey=page.editPersonalInfo.tabImage
  border=0 /
  ...
  /strutshtml:form
 
  /strutshtml:html
 
 
 
  non-struts version - this works
 
  form id=f1
  MAP NAME=MyMap2
AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
  OnClick=document.forms[1].event.value='SELECT_COURSE';f1.submit();
  /MAP
 
 
  img USEMAP=#MyMap2 SRC=%= request.getContextPath()
 %/images/tab1a.gif
  BORDER=0 
  input type=text name=event value=UPDATE_PERSONAL_INFO
 
  /form
 
  I don't believe the image map is the problem.
  I think that there is just some reason why it will not except a submit()
  programmatically.
 
  Thanks,
  Michelle
 





Re: unable to programmatically perform a submit

2001-06-21 Thread Spencer Smith

// Submit the form.
a href=javascript:
parent.window.content.document.forms[0].submit()Submit/a

We use this bit of code to trigger the submit button in the body from the
top frame.

- Original Message -
From: Norman Timmler [EMAIL PROTECTED]
To: Michelle Popovits [EMAIL PROTECTED];
[EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 9:28 AM
Subject: Re: unable to programmatically perform a submit


 hi michelle,

 could you please post the specific part of your source-code from your
 browser.
 this would help to resolve your problem.

 thanks.
 norman

 - Original Message -
 From: Michelle Popovits [EMAIL PROTECTED]
 To: Norman Timmler [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Thursday, June 21, 2001 4:23 PM
 Subject: Re: unable to programmatically perform a submit


  Yes, I am referencing 0 and 1 because I am running both forms on the
same
  page (simultaneously).
  The 0 is for the struts form and the 1 is for the non-struts form.
  I can programmatically, submit no problem on the non-struts form but not
 on
  the struts form.
 
  The struts form tag in the generated html looks like this:
 
  form name=personalInfoForm method=POST
  action=/LAPS1/VirtualClassroomWAR/editPersonalInfo.do id=form1
 
  the non-struts form looks like this:
 
  form id=f1
 
  Because I can submit the second form using the index 1, this means that
 the
  page recognizes that there is something in position 0, but that it seems
  that it has somehow been rendered in such a way that it can't be
  programmatically submitted using javascript.
 
  I have also tried using the form name instead of the index and the
results
  are the same.
  What has struts done to my form to make it not work?  I don't know
 
  Has anyone else out there been able to make this work?
 
  Thanks,
  Michelle
 
 
  - Original Message -
  From: Norman Timmler [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]; Michelle Popovits
  [EMAIL PROTECTED]
  Sent: Thursday, June 21, 2001 4:55 AM
  Subject: Re: unable to programmatically perform a submit
 
 
   hi michelle,
  
   i see a main difference between your struts version and your
non-struts
   version. on the struts version you have forms[0] referencing your form
 and
   on the second one you have forms[1].
   the secure way to talk to forms by JavaScript is to reference the form
 by
   name.
  
   document.formName.submit();
  
   or
  
   document.formName.elementName.value = something;
  
   hope this will help you.
   norman
  
   - Original Message -
   From: Michelle Popovits [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Wednesday, June 20, 2001 11:19 PM
   Subject: unable to programmatically perform a submit
  
  
   Hi,
  
   I am trying to get an image map working that does a submit.
   The image map itself works.
   However, when I click on the image area it complains when trying to
  execute
   the submit.
  
   Error:  object doesn't support this property or method.
  
   I have tried just performing a submit without the event assignment,
like
  so:
   MAP NAME=MyMap
 AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
   OnClick=document.forms[0].submit();
   /MAP
  
  
   This works in my non-struts form version.
  
  
   Here is the html output:
  
   MAP NAME=MyMap
 AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
  
 

OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
   mit();
   /MAP
  
   img src=/LAPS1/VirtualClassroomWAR/images/tab1a.gif border=0
   usemap=#MyMap
  
   struts version
  
   strutshtml:html
   
   strutshtml:form action=editPersonalInfo.do name=personalInfoForm
   type=com.bmo.ifl.laps.forms.PersonalInfoForm
   
   MAP NAME=MyMap
 AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
  
 

OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
   mit();
   /MAP
  
   strutshtml:img usemap=#MyMap
 pageKey=page.editPersonalInfo.tabImage
   border=0 /
   ...
   /strutshtml:form
  
   /strutshtml:html
  
  
  
   non-struts version - this works
  
   form id=f1
   MAP NAME=MyMap2
 AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
   OnClick=document.forms[1].event.value='SELECT_COURSE';f1.submit();
   /MAP
  
  
   img USEMAP=#MyMap2 SRC=%= request.getContextPath()
  %/images/tab1a.gif
   BORDER=0 
   input type=text name=event value=UPDATE_PERSONAL_INFO
  
   /form
  
   I don't believe the image map is the problem.
   I think that there is just some reason why it will not except a
submit()
   programmatically.
  
   Thanks,
   Michelle
  
 






Re: unable to programmatically perform a submit

2001-06-21 Thread Roland Huss

Spencer Smith [EMAIL PROTECTED] writes:

 // Submit the form.
 a href=javascript:
 parent.window.content.document.forms[0].submit()Submit/a
 
 We use this bit of code to trigger the submit button in the body from the
 top frame.

Sorry, I didn't follow the complete thread. We ran in the same problem
and found that the default property submit for the
name of the submit tag in org.apache.struts.taglib.html.SubmitTag
doesn't by no means works well with javascript (since 
it is the same  as the javascript method name submit()). The quick solution is,
to set the property attribute in the submit tag to something else,
e.g. html:submit property=foo. Or try strutsx.

cu
-- 
...roland huss
 consol.de



Re: unable to programmatically perform a submit

2001-06-21 Thread Michelle Popovits

Thank you very much.

I renamed my submit buttons to something other than submit and now I can
programmatically call submit.

Thanks again,
Michelle
- Original Message -
From: Peter Alfors [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 21, 2001 11:13 AM
Subject: Re: unable to programmatically perform a submit


 Bill,

 Did you name your submit button submit  ?
 I came across this problem as well.
 It appears that you cannot name an object on your screen the same thing
 as
 a javascript action, for example, submit().
 When I renamed by submit button to btnSubmit it worked fine.

 Pete


 Bill Pfeiffer wrote:

  Michelle, I had the exact same issue in IE and it had to do with
  having an actual submit or reset button as part of the form.  For some
  reason, If I had a submit button on the form, performing a submit in
  javascript yeilded the error that you see.  When I remove the submit
  button (or reset button), the error goes away.  Don't know why this
  is. HTH, Bill Pfeiffer
 
   - Original Message -
   From: Michelle Popovits
   To: [EMAIL PROTECTED]
   Sent: Wednesday, June 20, 2001 5:19 PM
   Subject: unable to programmatically perform a submit
Hi, I am trying to get an image map working that does a
   submit.The image map itself works.However, when I click on
   the image area it complains when trying to execute the
   submit. Error:  object doesn't support this property or
   method. I have tried just performing a submit without the
   event assignment, like so:MAP NAME=MyMap
 AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
   OnClick=document.forms[0].submit();
   /MAP This works in my non-struts form version.  Here is
   the html output: MAP NAME=MyMap
 AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
 
OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
mit();
 
   /MAP img
   src=/LAPS1/VirtualClassroomWAR/images/tab1a.gif border=0
   usemap=#MyMapstruts version strutshtml:html
   strutshtml:form action=editPersonalInfo.do
   name=personalInfoForm
   type=com.bmo.ifl.laps.forms.PersonalInfoForm
   MAP NAME=MyMap
 AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
 
OnClick=document.forms[0].event.value='SELECT_COURSE';document.forms[0].sub
mit();
 
   /MAP strutshtml:img usemap=#MyMap
   pageKey=page.editPersonalInfo.tabImage border=0 /
   ...
   /strutshtml:form/strutshtml:html  non-struts version -
   this works form id=f1
   MAP NAME=MyMap2
 AREA SHAPE=Rect NOHREF COORDS=82,2 163,23
 
OnClick=document.forms[1].event.value='SELECT_COURSE';f1.submit();
 
   /MAP
   img USEMAP=#MyMap2 SRC=%= request.getContextPath()
   %/images/tab1a.gif BORDER=0 
   input type=text name=event
   value=UPDATE_PERSONAL_INFO /form I don't believe the
   image map is the problem.I think that there is just some
   reason why it will not except a submit()
   programmatically. Thanks,Michelle