You get an exception when using a key that does not exist in your bean? It does 
seem like that should be OK. I'd expect the column to simply be empty in this 
case - not sure about the idea of providing a default property for what might 
be considered developer error.

On Nov 16, 2011, at 9:17 AM, jensebhasen <[email protected]> 
wrote:

> Hi again
> 
> Was just thinking ... in terms of robustness in this data-driven approach,
> which automatically grabs data of my domain object using the appropriate
> getter method - what if for some reason I'm requesting a property which is
> not present in the domain object?
> 
> Just tired that, and it thrown a IllegalArgumentException in my face
> straight away and left me with an empty window. Maybe just out of interest
> would I be able to somehow provide a default value in case I cannot get a
> value from my domain object?
> 
> -----
> Regards
> Jens
> --
> View this message in context: 
> http://apache-pivot-users.399431.n3.nabble.com/Adding-domain-object-data-to-tableview-tp3512621p3512731.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to