[Chandler-dev] Contacts/Address Book project
Bryan Stearns
stearns at osafoundation.org
Wed Jul 5 07:20:44 PDT 2006
Ernesto,
Yes, a table widget would avoid the limitation in the current detail
view architecture (it's not a wx limitation - it's that the detail view
doesn't provide an abstraction for variably-repeating series of blocks,
because we've never needed that. All the detail views for existing Kinds
have had a fixed set of blocks, and our architecture reuses views for
items of the same Kind).
There is a Table block, but so far its focus has been the summary table;
it could probably be repurposed to work in the detail view, though.
...Bryan
Ernesto Rivera wrote:
>
> Well conditionally-visible but still fixed number of fields would be
> more a patch than a definitive solution.
> The fixed number of fields is a wxWidget limitation?
>
> I think the most viable solution would be to have *single*
> multi-valued field (like lists for HTML). Something like this:
>
>
> Exists there a "table view" block?
>
> Ernesto
>
>
>
>>
>>
>> It sounds like you're asking for arbitrary sets of repeating blocks
>> (for instance, a value editor and a label editor for each of several
>> email addresses) - the detail view currently only supports fixed sets
>> of blocks for a particular Kind, though blocks can be shown/hidden
>> based on the item being viewed. Until this can be changed, I'd
>> suggest starting with a detail view that can display one email
>> address and one phone number; once that's working, I can help you
>> expand it into a conditionally-visible fixed number of fields.
>>
>> Can you describe what you're going for? Maybe I can also suggest what
>> blocks and what attribute editors need to be built, and what can
>> reuse existing stuff...
>>
>> ...Bryan
>>
>> Ernesto Rivera wrote:
>>> (http://wiki.osafoundation.org/bin/edit/Journal/AddressBookProject)
>>>
>>> The project's plan has changed -upon several requests- giving
>>> highest priority to the "conforming to vCard" task, which will be
>>> continued by the import/export to vCard task.
>>>
>>> The main problem for the coming days will be creating "dynamic"
>>> detail views allowing (like OSX's Address Book):
>>>
>>> - Visually creating an arbitrary number of entry fields (3 email
>>> fields, 4 phone numbers, etc.).
>>> - Visually tagging each of this fields (home, work, etc.).
>>>
>>> Is out there something like this anywhere on Chandler? I guess I
>>> will have to create my own specialized "blocks". In this case where
>>> to start?
>>>
>
-------------- next part --------------
Skipped content of type multipart/related
More information about the chandler-dev
mailing list