Jump to content
We've recently updated our Privacy Statement, available here ×

Tricky little bug in text field creation


2006 IR Open Discussion

Recommended Posts

By: JessiTRON - jessitron

Tricky little bug in text field creation

2006-01-12 09:12

Try this:

1) Select the Textfield tool.

2) Click and hold somewhere in the upper right area of a band.

3) Drag the mouse down and to the left to create a text area. Normally you do this from left to right, but this time go right to left.

4) See the box disappear as soon as you release the mouse button. Oops, looks like it didn't create a Textfield after all.

5) Try to run the report. See the error "Field not found : Field"

6) Save the report and go look at the .jrxml

 

The backwards textfield-creation attempt has created a field, but it does not appear on the screen. It is in the .jrxml with the default textFieldExpression of $F{Field}. Closing and reopening the file in iReport causes the invisible fields to display.

 

This is iReport 0.5.3

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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