This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi All, I want to display validation messages in a new window with control height and width. I dont want to use <html:form action="/client.do" target="_blank"> as this is not giving me control over html width height. Also if i want to open modal dialog, this code will not support. Please Suggest Thanks, kundan
Failures are practice shoots for success.
Thanks Merrill, Ya i know AJAX or hidden frame approach to achieve this result. I used that approach heavily in my previous project.Thats why i thought of using that approach with struts framework. Is it not possible to achieve that with struts or is very complex. Thanks, kundan
Joined: Feb 15, 2005
My experience has been that if you are OK with the way struts handles validation (use of alert dialog boxes for client side validation and redisplay of the page with an error message for server side validation) then Struts validation works great.
If you want to vary from that format, it just isn't worth it to try and pound a square peg into a round hole. I've found that I'm better off writing my own validation the way I want it, rather than trying to make Struts validation vary from what it's designed to do.
Joined: Mar 08, 2004
Hi Merill, I think you are right. Thanks for your input. Thanks, kundan