Re: Refreshing modal window

2010-07-02 Thread Anna Simbirtsev
I'm sorry, it actually works in IE, but not in Mozilla. Does anybody have any idea how to get it to work in Mozilla? Thank you On Fri, Jul 2, 2010 at 10:37 AM, Anna Simbirtsev wrote: > I think because its a modal window, it has the same url as the parent > window. > > > On Fri, Jul 2, 2010 at 9:

Re: Refreshing modal window

2010-07-02 Thread Anna Simbirtsev
I think because its a modal window, it has the same url as the parent window. On Fri, Jul 2, 2010 at 9:47 AM, Anna Simbirtsev wrote: > Hi, it does not work. > > > On Wed, Jun 30, 2010 at 6:35 PM, Nelson Segura wrote: > >> To execute javascript after AJAX, do the following >> >> ajaxRequestTarget

Re: Refreshing modal window

2010-07-02 Thread Anna Simbirtsev
Hi, it does not work. On Wed, Jun 30, 2010 at 6:35 PM, Nelson Segura wrote: > To execute javascript after AJAX, do the following > > ajaxRequestTarget.appendJavascript("alert('hello');"); > > > To jump to a section using javascript use > > window.location.hash = '#idname'; > > > You can put a #t

Re: Refreshing modal window

2010-06-30 Thread Nelson Segura
To execute javascript after AJAX, do the following ajaxRequestTarget.appendJavascript("alert('hello');"); To jump to a section using javascript use window.location.hash = '#idname'; You can put a #top anchor on top of your window, and then jump to it using the combination of code above. I hav

Re: Refreshing modal window

2010-06-30 Thread Anna Simbirtsev
I need to scroll to the top on ajax response. Would you have an example on how to do it? On Wed, Jun 30, 2010 at 4:27 PM, Nelson Segura wrote: > Are you refreshing the whole window or just the feedback panel? > You can try to refresh the whole window, or you can include some java > script > tha

Re: Refreshing modal window

2010-06-30 Thread Nelson Segura
Are you refreshing the whole window or just the feedback panel? You can try to refresh the whole window, or you can include some java script that scrolls your window to the top on the ajax response. -Nelson On Wed, Jun 30, 2010 at 12:22 PM, Anna Simbirtsev wrote: > Hi, > > My problem is that afte

Refreshing modal window

2010-06-30 Thread Anna Simbirtsev
Hi, My problem is that after the user clicks AjaxSubmit button, and the confirmation message is displayed in feedback panel, the window does not refresh, so if the user scrolled to the bottom of the model window, he/she does not see the confirmation message. How can I get the modal window to refr