The label is also used by BeanEditor and individual fields when composing error messages.
On Feb 2, 2008 12:16 PM, Shing Hing Man <[EMAIL PROTECTED]> wrote: > Hi, > > In the Grid component, I added a custom column with > a > blank label. > > beanModel.add("rowNo", null).label(" "); > > This resulted in the following exception. > I could use css to make the label non-visible. > Is there a more elegant way of having a blank column > header. > > Thanks in advance for any assistance ! > > Shing > > java.lang.IllegalArgumentException > Parameter label was null or contained only whitespace. > > Stack trace > > * > org.apache.tapestry.ioc.internal.util.Defense.notBlank(Defense.java:59) > * > org.apache.tapestry.internal.beaneditor.PropertyModelImpl.label(PropertyModelImpl.java:87) > * > net.sf.gridDemo.pages.AccessGrid.getBeanModel(AccessGrid.java:110) > * > org.apache.tapestry.internal.bindings.PropBinding.get(PropBinding.java:54) > * > org.apache.tapestry.internal.structure.InternalComponentResourcesImpl.readParameter(InternalComponentResourcesImpl.java:209) > > Home page : http://www.lombok.demon.co.uk/ > > > > __________________________________________________________ > Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]