File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with html:errors

Anirban Das
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,'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.

I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic