Hi all, I just started using JR for an application, and I'd like to define one style for different fields, that contains constraints. As far as I know, I have to write down the field name as part of the constraint; e.g new Boolean($F{h4p1}.equals("I")) --> than use background colour green
but that means, if I'd like to use the same style for all fields, I have to create style for each field, with constraints that vary basically only in the name of field using as constraint, and I have a lot of this fields Is it possible to use kind of wildcards in the constraint? Many thanks in advance for any help -- View this message in context: http://www.nabble.com/Defining-one-style-for-different-fields%2C-how-should-the-constraint-look-like--tp22226378p22226378.html Sent from the jasperreports-questions mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ jasperreports-questions mailing list jasperreports-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jasperreports-questions