File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Problem with html:errors Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with html:errors" Watch "Problem with html:errors" New topic
Author

Problem with html:errors

Anirban Das
Ranch Hand

Joined: Nov 22, 2003
Posts: 63
Hi,
I have got an application running on struts framework. Iam facing a problem with a pop-up opened up from a parent window.

When I click on the submit button(which is inside the pop up) Iam not able to see the ActionErrors message captured by html:errors in the parent window.

ActionClass_1 --(on success) -- parent.jsp --(on some flag) -- opens popup

pop up (when submit button pressed - closes the popup and then calls) -- ActionsClass_2 (process business logic, toggle the flag value to open the pop up so that it doesn't open ) -- opens parent.jsp


Iam using

window.open(_path,'migration' ,'resizable=no,widthe0px,heightE0,scrollBars=no')

for opening the pop up
Can someone please help me out with this problem ? I checked without closing the child window ( or popup window) The error is captured by html:errors over there. But my requirement is to display it in the parent window.


Thanks for your time.

Cheers
Anirban
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with html:errors