This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript error display on same page without popup window to avoid struts framework

 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on pageflow which is based on struts. Due to limitation of framework validation, if validation fails and same page displays I couldn't able to show the value of my listbox(it is showing only ids).
But by dynamically adding javascript element in html page I am able to display all the error message on the same page instead of popup window.
So even it satisfies our requirement for not displaying popup windows.

I do suggest to goto http://www.reumann.net/struts/articles/request_lists.jsp?decorator=newwindow&confirm=true
as well as
http://www.dustindiaz.com/add-and-remove-html-elements-dynamically-with-javascript/
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65218
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So what's your question?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic