mathivanan.ideas2it Posted October 26, 2012 Share Posted October 26, 2012 Hi, am using jasperserver 4.7.0,am passing parameter decorate=no in url. it's working fine but when open drill down report and click back button for main report the decorations are come how to remove decorations while click back button too in the case of drill down and again if i click back button from main report its going repository. i want disable back button in main reports any ideas.Thanks mathi Link to comment Share on other sites More sharing options...
Harshi Posted November 13, 2012 Share Posted November 13, 2012 Hi mathi, Please try the below steps: The modification needs to be done on the “apache-tomcatwebappsjasperserver-proWEB-INFjspmodulesviewReportViewReport.jsp” as follows. I tested it in version 4.5 and it works fine. Hope this will work for you too.use "requestScope.isSubflow" check in Back button.Regards, Harshi Link to comment Share on other sites More sharing options...
Harshi Posted November 13, 2012 Share Posted November 13, 2012 <p><c:if test="${requestScope.isSubflow}"></c:if></p> <ul><li class="leaf"> <button class="button capsule up first" id="back"> <span class="wrap"><spring:message code="button.back"> </spring:message></span> </button> </li> </ul> Link to comment Share on other sites More sharing options...
mathivanan.ideas2it Posted November 15, 2012 Author Share Posted November 15, 2012 Harshi, Thank you very much for your kind reply and it's working fine, but i didn't get what is requestScope and ${requestScope.isSubflow} may i know that or any other reference.Thank you once again. Link to comment Share on other sites More sharing options...
Harshi Posted November 19, 2012 Share Posted November 19, 2012 I think you have knowledge in JSP and Servlet. You can set any attributes in request as follows: request.setAttribute("isSubflow","true"); isSubflow is set in jaspersoft server codebase. I retrieved the above value via expression language (EL) as ${requestScope.isSubflow}. I suggest you to go through head first J2EE book to learn about EL. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now