Back Button without decorate


       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.



mathivanan.ideas2it's picture
Joined: Oct 12 2012 - 12:14am
Last seen: 10 years 5 months ago
<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>
Harshi - 9 years 9 months ago

1 Answer:

Hi mathi,

Please try the below steps:

The modification needs to be done on the “\apache-tomcat\webapps\jasperserver-pro\WEB-INF\jsp\modules\viewReport\ViewReport.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.


Harshi's picture
Joined: Sep 21 2012 - 3:39am
Last seen: 10 years 3 months ago
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.
mathivanan.ideas2it - 10 years 6 months ago

I think you have knowledge in JSP and Servlet. You can set any attributes in request as follows:

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.

Harshi - 10 years 6 months ago