Hi,
I am currently trying to get, after I've received an answer, my site
(created by an action) to refresh. Unforunately, I can't find a way to do
so. I've got a method which is succesfully called which
takes StaplerRequest and StaplerResponse and which returns an
FormValidation-Object.
I've tried to send a corresponding Javascript with the ok-request (for
example
with FormValidation.okWithMarkup("<script>location.reload()</script>");,
but the script is never executed. I also tried configuring
the StaplerResponse, by adding an header with .addHeader("refresh", "0");
or with .sendRedirect(.), but all the changes just affect the div where the
response to the request is displayed, not the whole page, so that doesn't
work to. Even setting onClick="location.reload();" on the validateButton
does not work. Has anybody an hint how to refresh the page?
DaGeRe
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.