David Huynh-2 wrote:
> 
> Fruch wrote:
>>
>> David Huynh-2 wrote:
>>   
>>> Try this
>>>
>>>     <table ex:content="!person" border="2">
>>>        <tr ex:content=".monthsLabels"><td ex:content="value"></td></tr>
>>>        <tr ex:content=".workload"><td ex:content="value"></td></tr>
>>>     </table>
>>>
>>> David
>>>
>>> Fruch wrote:
>>>     
>>>> I have this item:
>>>>
>>>> {  type :                                  "Workload",
>>>>                    label :                                 "work1",
>>>>                    person :                                "Israel 
>>>> Fruchter",
>>>>                    onProject :                             "iQ2/MySky2",
>>>>                    monthsLabels :                  ["Dec 07", "Jan 08", 
>>>> "Feb 08"],
>>>>                    workload :                              ["0.5", "0.3", 
>>>> "0.4"]
>>>>            }
>>>>
>>>> I want to show inside "Israel Fruchter" len view "monthsLabels" and
>>>> "workload" as a table.
>>>>
>>>> I tried this:
>>>> <table ex:content="!person" border="2">
>>>>    <tr><td></td></tr>
>>>>    <tr><td></td></tr>
>>>> </table>
>>>>
>>>> but what I've got is:
>>>>
>>>> /---------------------------/
>>>> | Dec 07, Jan 08 and Feb 08 |
>>>> /---------------------------/
>>>> | 0.5, 0.3 and 0.4               |
>>>> /---------------------------/
>>>>
>>>> any one got an idea how to show it like that:
>>>>
>>>> /--------------------------/
>>>> | Dec 07 | Jan 08 | Feb 08 |
>>>> /--------/--------/--------/
>>>> |    0.5   |   0.3    |   0.4   |
>>>> /--------------------------/
>>>>   
>>>>       
>>> _______________________________________________
>>> General mailing list
>>> [email protected]
>>> http://simile.mit.edu/mailman/listinfo/general
>>>
>>>
>>>     
>>
>> Now I need something a bit more complex...
>> I have those two items
>> {    type :                                  "Workload",
>>                      label :                                 "work1",
>>                      person :                                "Israel 
>> Fruchter",
>>                      onProject :                             "iQ2/MySky2",
>>                      monthsLabels :                  ["Dec 07", "Jan 08", 
>> "Feb 08"],
>>                      workload :                              ["0.5", "0.3", 
>> "0.4"]
>>              },
>>              {       type :                                  "Workload",
>>                      label :                                 "work2",
>>                      person :                                "Israel 
>> Fruchter",
>>                      onProject :                             "xApp",
>>                      monthsLabels :                  ["Dec 07", "Jan 08", 
>> "Feb 08"],
>>                      workload :                              ["0.5", "0.6", 
>> "0.8"]
>>              }
>> and I want to show the a similar table like that: (summing the colums,
>> and
>> showing the .onProject)
>>
>> /--------------------------------------/
>> | Project     | Dec 07 | Jan 08 | Feb 08 |
>> /-----------/--------/--------/--------/
>> |iQ2/MySky2|    0.5   |   0.3    |   0.4   |
>> /--------------------------------------/
>> |xApp         |    0.5   |   0.6    |   0.8   |
>> /--------------------------------------/
>> |Total         |   1.0    |   0.9    |   1.2   |
>> /--------------------------------------/
>>   
> Are the monthsLabels arrays all the same?
> 
> David
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
> 
> 

yes, that was my idea... (it will complicate things if they aren't)
-- 
View this message in context: 
http://www.nabble.com/Putting-a-list-property-in-a-table-tp14373944p14470511.html
Sent from the SIMILE - General mailing list archive at Nabble.com.

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to