After the button is clicked to display a pop-up window, the window renders a standard page Url. Requirement is to render the standard page without header and side-bar.
Use this java script statement at window opner.
Java Script:
window.open('/{!detailSubjectID}/e?isdtp=vw&retURL={!detailSubjectID}','','width=900,height=650');
{!detailSubjectID} is used to return the url after the button click function of “save” “cancel”
The parameter "isdtp=vw" on URL render the page without header and side-bar
No comments:
Post a Comment