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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
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: 626

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: 61412
    
  67

So what's your question?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javascript error display on same page without popup window to avoid struts framework