Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

Struts validation without popups?

Thread view: 
Re_endian_miss@yahoo.com - 28 Dec 2005 18:24 GMT
I want to use the Struts validation, but I can't figure out how to
overcome (what I consider to be) a UI limitation:

I want to:
* Present the user with a form
* On Submit, I want the form validated using Struts validation
* Instead of a modal popup, I want the errors to be presented on top of
the re-posted form, so that the user can correct multiple errors (while
referring to the error list) and re-Submit

I'm sure there's some solution to this but am too new to Struts to
figure this out... any advice?

Thanks in advance for your help.
Viator - 28 Dec 2005 18:35 GMT
For that use server side validation (validate method in the form bean)
and have a look at html:errors tag.

Regards,
Amit


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.