Jump to content

parameter based GroupExpression


Recommended Posts

By: Rizwan - rizmerc

parameter based GroupExpression

2003-10-06 15:40

Hi,

I'm trying to determine the group expression at run-time using a scriptlet method based on an input parameter.

 

<groupExpression>

 

((com.dp.scriptlets.DateScriptlet)$P{REPORT_SCRIPTLET}).determineGrouping($P{GroupBy})

 

</groupExpression>

 

the determineGrouping method returns a java.lang.String "$F{LotNumber}", so that grouping can be done based on the lot number field. But this doesnt seem to work. If I replace the scriptlet call by $F{LotNumber} then the grouping works fine.

 

Hope someone can help.

 

Thanks..

Link to comment
Share on other sites

  • 3 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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