 
 WizardHeader = rclass
     displayName : 'WizardHeader'
+
     propTypes:
         actions     : rtypes.object
         nav_entries : rtypes.array


WizardBody = rclass
    displayName : 'WizardBody'
    propTypes:
        actions    : rtypes.object
        data       : rtypes.object

                @init_data(DATA)
        else
            @init_data(DATA)

    data_lang: () ->
        @get('data').get(@get('lang'))

    get_catlist0: () ->
        @data_lang().keySeq().toArray().sort(@cat_sort)

    get_catlist1: () ->
        k0 = @get_catlist0()[@get('cat0')]
        @data_lang().get(k0).keySeq().toArray().sort(@cat_sort)

    get_catlist2: () ->
        k0 = @get_catlist0()[@get('cat0')]
        k1 = @get_catlist1()[@get('cat1')]
        @data_lang().getIn([k0, k1]).map((el) -> el.get(0)).toArray()

    select_lang: (lang) ->
        @reset()
        @set(lang: lang)
