tapestry-user

[Prev] Thread [Next]  |  [Prev] Date [Next]

Tap 5.0.9: Why can't Grid column header has blank label Shing Hing Man Wed Jul 09 03:00:59 2008

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]