Jump to content

REPORT_PARAMETERS_MAP is only for subreports?


mavirroco

Recommended Posts

 hi folks...

im new in jasper reports formum...

so i want ask if REPORT_PARAMETERS_MAP is only for subreports? 

i want send parameters via REPORT_PARAMETERS_MAP for my app in java..

 

Map mymap=new HashMap();

mymap.put("foo","bar");

maps.put("REPORT_PARAMETERS_MAP",mymap);

 

and get this on jrxml like this

 

$P{REPORT_PARAMETERS_MAP}.get("foo")

 

i hope someboy can help me,...

 

chears

 

Manuel Rodriguez Coria

mavirroco@gmail.com

Tarija, Bolivia

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

thanks lucian but

if i do this not recognize in jrxml this parameter

if i do this....

 

maps.put("foo", "bar")

 

$P{REPORT_PARAMETERS_MAP}.get("foo") this is null

 

my idea is send all my parameters via this parameter on REPORT_PARAMETERS_MAP

any ideas?

 

Link to comment
Share on other sites

yes i send all parameters...

...i send ok well on my java...

but the problem is when i set $P{REPORT_PARAMETERS_MAP}.get("foo") on jrxml this show null

and if i put $P{foo} showme error when i compile the report....

 

i search in docs and never said how to use a single parameter type java.util.Map

the real problem for me is that in jrxml this cant read ...

 

any ideas?

Link to comment
Share on other sites

  • 2 weeks later...

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...