You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by srinivas <sv...@intensit.de> on 2002/03/11 02:12:22 UTC

modal window to close based on validation

hi all,

I tried to create a modal dialog, and I am faced with some problems.
The modal window submits a form and normally closes. I would like the
behavior of the modal window to be like this. When the user submit a form,
and if there are any validation errors, then they should be displayed in the
same modal window, other wise it should close.
I have a java script function to close the window. I need to call this
function when there are no errors. Should I use onload event or is there any
better solution for it.

another hurdle.. I would like to keep the size of the modal window's
constant, but the contents of the window is displayed in an inconsistent
size across browsers. Should I use browser font detection and stuff like
that to fix the size of window. Any suggestions are welcome.

thanks in advance,

regards,
srinivas.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>