← Back to team overview

dhis2-devs team mailing list archive

Re: Once a categorycombo is created there is no way to add/remove a category/option into/from it.

 

I hate to flog a dead horse, but here I go again. What about at least being
able eto add new category options to existing categories? I can sort of
understand why it should not be possible to delete category options (since
they may have data attached to them) but there would seem to be little harm
(unless I am missing something) with adding new category options.

Regards,
Jason




> The way I see it by allowing adding/removing categories/options from
> categorycomobs/categories we will be inviting lots of complexities - so I
> think the best way is not to allow addition or removal.
>
>
> Thank you
> Abyot.
>
>


>
>
>
>
>
> On Fri, Dec 4, 2009 at 3:13 PM, <noreply@xxxxxxxxxxxxx> wrote:
>
>> ------------------------------------------------------------
>> revno: 1167
>> committer: Abyot Asalefew Gizaw <abyota@xxxxxxxxx>
>> branch nick: trunk
>> timestamp: Fri 2009-12-04 15:10:54 +0100
>> message:
>>  Once a categorycombo is created there is no way to add/remove a
>> category/option into/from it.
>> modified:
>>
>>  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/multidimensional/updateDataElementCategoryComboForm.vm
>>
>>
>> --
>> lp:dhis2
>> https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
>>
>> Your team DHIS 2 developers is subscribed to branch lp:dhis2.
>> To unsubscribe from this branch go to
>> https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription<https://code.launchpad.net/%7Edhis2-devs-core/dhis2/trunk/+edit-subscription>
>> .
>>
>> === modified file
>> 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/multidimensional/updateDataElementCategoryComboForm.vm'
>> ---
>> dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/multidimensional/updateDataElementCategoryComboForm.vm
>> 2009-10-20 12:49:32 +0000
>> +++
>> dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/multidimensional/updateDataElementCategoryComboForm.vm
>> 2009-12-04 14:10:54 +0000
>> @@ -37,7 +37,7 @@
>>       </tr>
>>       <tr>
>>                <td>
>> -          <select size="15" id="availableList" name="availableList"
>> multiple="multiple" style="min-width:20em;height:20em" ondblclick="move(
>> 'availableList' )">
>> +          <select size="15" id="availableList" name="availableList"
>> multiple="multiple" style="min-width:20em;height:20em" ondblclick="move(
>> 'availableList' )" disabled="disabled">
>>             #foreach ( $availableDataElementCategory in
>> $allDataElementCategories )
>>               <option
>> value="$availableDataElementCategory.id">$encoder.htmlEncode(
>> $availableDataElementCategory.name )</option>
>>             #end
>> @@ -51,7 +51,7 @@
>>                  <a href="#" onclick="moveDown('selectedList')"><img
>> src="../images/move_down.png" border="0" alt=""></a>
>>         </td>
>>                <td>
>> -          <select id="selectedList" name="selectedList"
>> multiple="multiple" style="min-width:20em;height:20em" ondblclick="move(
>> 'selectedList' )">
>> +          <select id="selectedList" name="selectedList"
>> multiple="multiple" style="min-width:20em;height:20em">
>>             #foreach ( $dataElementCategory in $dataElementCategories )
>>               <option value="$dataElementCategory.id">$encoder.htmlEncode(
>> $dataElementCategory.name )</option>
>>             #end
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>



-- 
Jason P. Pickering
email: jason.p.pickering@xxxxxxxxx
tel:+260974901293

Follow ups

References