Hello,
i'm trying to extend the task tree sample by adding tabs to a task.
The problem is when i create a subtask, then try to change tab on any of the parent tasks. The form get confused and swich tabs on the subtask, not on the parent.
This seems to be ajax-related as if i turn ajax to false, the tabs are working fine.
This is my version of the task tree template, if somebody can help me to fix that problem.
<ft:class id="task-class">
<div class="section">
<ft:group id="task">
<span class="actions">
<ft:widget id="down"><fi:styling type="image" src=""
<ft:widget id="up"><fi:styling type="image" src=""> <ft:widget id="delete"><fi:styling type="image" src=""
<ft:widget id="add"><fi:styling type="image" src=""> </span>
<fi:group>
<fi:styling type="tabs"/>
<fi:state>
<ft:widget id="tab-state"/>
</fi:state>
<fi:items>
<fi:group>
<fi:label>General</fi:label>
<fi:items>
<div>Title <ft:widget id="title"/></div>
<div>Description <ft:widget id="description"><fi:styling type="textarea"/></ft:widget></div>
<div>
From <ft:widget id="dtstart"><fi:styling size="10"/></ft:widget>
to <ft:widget id="dtend"><fi:styling size="10"/></ft:widget>
</div>
</fi:items>
</fi:group>
<fi:group>
<fi:label>Detail</fi:label>
<fi:items>
<div>
Responsible <ft:widget id="responsible"/>
Target milestone <ft:widget id="milestone"/>
Duration <ft:widget id="duration"/>
</div>
<div>
Time worked <ft:widget id="timeWorked"/>
Completion <ft:widget id="completion"/>
Achieved <ft:widget id="achieved"/>
</div>
</fi:items>
</fi:group>
</fi:items>
</fi:group>
<!-- Recurse -->
<ft:new id="tasklist-class"/>
</ft:group>
</div>
</ft:class>
Thanks,
Marc
- Pb using tabs with the task tree sample Marc Salvetti
- Re: Pb using tabs with the task tree sample Marc Salvetti