From: Eric B. R. <eb...@tc...> - 2003-04-04 20:15:54
|
On Friday, April 4, 2003, at 03:06 PM, kea...@na...=20 wrote: > Ultimately how WMScript properties are translated into Java properties=20= > is a question of style.=A0 The choice was made years ago, and it seems=20= > senseless to revisit it now. I couldn't agree more! :) eric > > Keats > > > -----Original Message----- > > From: Marc Palmer [mailto:ma...@an...] > > Sent: Friday, April 04, 2003 1:38 PM > > To: la...@op... > > Cc: web...@li... > > Subject: Re: [Webmacro-devel] Capitalised properties in WM, why?! > > > > > > On Fri, 04 Apr 2003 07:53:49 -0800, Lane Sharman = <la...@op...> > > wrote: > > > > > I think we had a discussion about this some time ago and I voiced = a > > > similar concern. You can today say $instance.value to > > obtain a bean value > > > but the member will have to be public. I would imagine it would be > > > possible to add a heuristic: > > > > > > search object.property --> object.getProperty(). > > > > Yes maybe we should. I can appreciate that most people using > > WM would be > > completely unaware of the javabean mnituae in this respect. > > > > There might be complications where get(Object key)/set(Object > > key, Object > > value) is used. > > > > Anyone else got thoughts on this? -- Marc Palmer > > > |