aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes javascript error display on same page without popup window to avoid struts framework Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "javascript error display on same page without popup window to avoid struts framework" Watch "javascript error display on same page without popup window to avoid struts framework" New topic
Author

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

Jignesh Patel
Ranch Hand

Joined: Nov 03, 2001
Posts: 625

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

Joined: Jan 10, 2002
Posts: 56543
    
  14

So what's your question?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: javascript error display on same page without popup window to avoid struts framework
 
Similar Threads
What are the dependent JARS for struts?
I am a beginner, plz suggest some online tutorial
New TO STRUTS
Learning Struts
Display error message using validate?