Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830
this week in the
Programmer Certification
forum!
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
Tim Cooke
Liutauras Vilda
Jeanne Boyarsky
paul wheaton
Sheriffs:
Ron McLeod
Devaka Cooray
Henry Wong
Saloon Keepers:
Tim Holloway
Stephan van Hulst
Carey Brown
Tim Moores
Mikalai Zaikin
Bartenders:
Frits Walraven
Forum:
Struts
strutsutils is not defined
Ramkumar Subburaj
Ranch Hand
Posts: 83
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I am using
Struts
2.1.8 and using "css_xhtml" theme.
I am getting "
StrutsUtils is not defined
" in all the
jsp
pages because of which my validations are getting failed in IE.
I tried putting struts head tag like
<head> <s:head/> ......... my other code like includes </head>
But still I.m getting the error.
Can any one suggest how to solve this
Thanks
SCJP 1.5, SCWCD 1.4.
Hanging between Web Services and EJB
Ramkumar Subburaj
Ranch Hand
Posts: 83
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I got it working. It was a typo error.
But I am facing another error in IE.
I am getting the following error -
An exception occurred: Error. Error message: Invalid argument
.
I tried out to figured out the cause and found out the following
My generated javascript code is
field = form.elements['district.name']; var error = "Enter only alphabets for district"; if (continueValidation && field.value != null && !field.value.match("^[a-zA-Z ]*$")) { addError(field, error); errors = true; }
I tried to mock up by putting the same code in a function and calling it in onclick event
the method "addError()" throws the exception and the reason is "field" variable.
if i change it to field[0] , it is working fine.
How to fix this error?
SCJP 1.5, SCWCD 1.4.
Hanging between Web Services and EJB
Why fit in when you were born to stand out? - Seuss. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Struts 1.1 using RAD7
Struts2_Ajax tags not working
Help me... Pls
Struts2: How to use tree tag
Exception creating bean of class
More...