Right. As Todd said, nested lowercase elements represent properties. Attributes
are also used as property setters, but they can contain only "simple" data
(i.e. primitives and strings). Property elements allow us to pass instances of
arbitrary reference types to a setter method.
On Monday, May 04, 2009, at 11:38AM, "Todd Volkert" <[email protected]> wrote:
>I just replied on the article as well, but for the sake of those here:
>
>In WTKX, upper-case tags instantiate objects (the tag name is the
>class name), and lower-case tags represent bean properties of the
>containing tag's object. Thus:
>
><Window xmlns="pivot.wtk"> <!-- Create a pivot.wtk.Window object -->
> <content> <!-- now we're setting the "content" bean property -->
> <Border> <!-- create a pivot.wtk.Border, and call
>window.setContent(border) -->
> ...
> </Border>
> </content>
></Window>
>
>-T
>
>On Mon, May 4, 2009 at 11:26 AM, Dominique de Vito <[email protected]> wrote:
>>
>> Any comment about my question at the end of
>> http://java.dzone.com/articles/table-row-editing-apache-pivot ?
>>
>> ""
>> There are tag names [into a UI definition] in lower case like 'columns', in
>> upper case like 'Border', with composed name like 'TableView.Column'...
>>
>> What is the purpose of such diversity ?
>> ""
>>
>> Thanks
>> Dominique
>>
>>
>>
>>
>>
>>
>
>