Re: property bindings

2013-05-29 Thread Thiago H de Paula Figueiredo
On Wed, 29 May 2013 01:49:03 -0300, Jens Breitenstein wrote: Hi Ken, Hi! somethings I get the feeling you use this mailinglist like a chat system providing much info in many many small chunks. Can't you just gather all information first and afterwards throw it to the mailinglist? And f

Re: property bindings

2013-05-29 Thread Thiago H de Paula Figueiredo
On Tue, 28 May 2013 21:29:45 -0300, Ken in Nashua wrote: Hi Folks, Hi! I am tearing thru the docs and mail list searching for "when do properties bind" tapestry Properties are bound when the page instance is instantiated. But what you're really asking is when proper

Re: property bindings

2013-05-28 Thread Jens Breitenstein
Hi Ken, somethings I get the feeling you use this mailinglist like a chat system providing much info in many many small chunks. Can't you just gather all information first and afterwards throw it to the mailinglist? And for this particular topic, I miss the stacktrace maybe I did not see it. C

RE: property bindings

2013-05-28 Thread Ken in Nashua
alright... i hate doing null checks... because if you get into the habit of it... you never know if your actually writing a legit piece of code So I did it anyway public GridDataSource getSource() { if (collection != null ) return new CollectionGridDataSource(collection

property bindings

2013-05-28 Thread Ken in Nashua
Hi Folks, I am tearing thru the docs and mail list searching for "when do properties bind" tapestry No luck yet. But I will continue. I have two scenarios of bindings. Simple Enum static Simple Enum dynamic queried out of my database using hibernate I am setting up a query form/page kinda

Re: Question about property bindings vs. expansions

2010-04-05 Thread Howard Lewis Ship
The subtle difference is that prop:url is potentially a read/write binding (the component could attempt to change its parameter which would attempt to update the url property, if a settter method exists). Expansions always result in a read-only value. You can also do things like: mailto:${cont

Re: Question about property bindings vs. expansions

2010-04-05 Thread Thiago H. de Paula Figueiredo
On Mon, 05 Apr 2010 18:19:21 -0300, Pierce T. Wetter III wrote: Are these exactly the same or is there a subtle distinction between them?> This is the same as ${prop:url}. The prop binding is the default one for expressions and for the majority of components' parameters.

Question about property bindings vs. expansions

2010-04-05 Thread Pierce T. Wetter III
Are these exactly the same or is there a subtle distinction between them? Pierce