• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

html:javasript strange problem.

 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear sir,

I have a jsp page with html:javascript. However, it cannot generate the javascript code to do validation. Here is the code :

in jsp :

<html:form method="post" action="/custord/createCO1" focus="custNum"
onsubmit="return validatePrepareCOForm(this);">
...
<html:javascript formName="prepareCOForm" dynamicJavascript="true" staticJavascript="false"/>


The form bean name is described in struts-co-config.xml. Becasue we have different modules. struts-co-config.xml is for one of the module. That's why the form bean name is defined in this xml file. I suspect this form bean name is not defined in the default struts-config.xml. That's why it cannot generate the validation javascript to do validation.

Do anyone have any idea how to fix it?


Thanks
Benson
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic