Bug 145022 Provide a utility method to help GUI enhance aggregate on.
DtE will provide a method hasAggregation(String expression) in org.eclipse.birt.core.data.ExpressionUtil, and the return value will be true when the expression is a valid JS expression and it has aggregation defined.
core/org.eclipse.birt.core/src/org/eclipse/birt/core/data/ExpressionParserUtility.java
return;
				
				
			}
			else if ( rowColumn.getType( ) == Token.STRING )
			{
				if ( "_rownum".equals( rowColumn.getString( ) ) )
					return;
				ColumnBinding binding = new ColumnBinding( rowColumn.getString( ),
						DATASETROW_INDICATOR
								+ "[\"" + rowColumn.getString( ) + "\"]" );
				columnExprList.add( binding );
			}
		}
	}
	/**
	 * 
	 * @param refNode
	 * @return
	 */
	private int compileOuterColRefExpr( Node refNode )
	{
		int count = 0;
		Node rowFirstNode = refNode.getFirstChild( );
		if ( refNode.getType( ) == Token.GETPROP
				|| refNode.getType( ) == Token.GETELEM )
		{
			if ( rowFirstNode.getType( ) == Token.NAME
					&& rowFirstNode.getString( ).equals( ROW_INDICATOR ) )
			{