Jump to content

Retrieve the decorate parameter from jsp


simonabertozzi

Recommended Posts

Hello everyone,

 

I'm trying to limit the list of possible exporters available to an anonymous user (which accesses a list of reports published on my Jasperserver).

I found that tinkering with the code on "DefaultJasperserverViewerState.jsp" and using the variable exporterKey, I am able to filter the list for every user on Jasperserver.

My question is: since I identify the anonymous accesses because the always use link with "decorate=no" parameter, is there a way to retrieve this parameter from inside "DefaultJasperserverViewerState.jsp"? I already tried

String decorateParam = (String) request.getParameter("decorate")

but it doesn't seem to work.

 

Thank you all,

Simona

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...