2002 JI Open Discussion Posted August 18, 2006 Posted August 18, 2006 By: bthompson - sourceforgerer groupExpression evaluating two expressions 2002-09-20 14:47 is it possible to do something like the following? <groupExpression>($F{id} && new Boolean($F{resultsLimit}.intValue() > $V{limitCnt}.intValue()))</groupExpression> I need it to group id's but also limit the number of times the group is written. Thanks in advance. bt.. By: Rizwan - rizmerc parameter based groupExpression 2003-10-06 15:38 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..
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