ge0ffrey Posted September 18, 2008 Share Posted September 18, 2008 I've got a group which has a header to reprint on each page,but I don't want to have an anchor for each page. I want an anchor only for the first page of each group.Is that possible?Here's my code:<group name="a" isReprintHeaderOnEachPage="true"> ... <groupHeader> <band height="50"> <textField bookmarkLevel="1"> ... <textFieldExpression class="java.lang.String">$F{b}</textFieldExpression> <anchorNameExpression>$F{b}</anchorNameExpression> </textField>I've tried inserting dummy groups with an empty textfield with an anchor, but that anchor simply doesn't show. Link to comment Share on other sites More sharing options...
szaharia Posted September 18, 2008 Share Posted September 18, 2008 Try to write 2 <textField /> elements, one containing the anchor, the other one without anchor, and set their printWhenExpression to the appropriate condition.HTH,sanda Link to comment Share on other sites More sharing options...
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