Aaand another one 
I'm trying to optimize the creating of editable regions by using cms:repeat. This works until I'm having something like this, where then 'whatever' won't be shown as part of the group any more (same with cms:each):
The actual thing I'm trying to use:

I'm trying to optimize the creating of editable regions by using cms:repeat. This works until I'm having something like this, where then 'whatever' won't be shown as part of the group any more (same with cms:each):
- Code: Select all
<cms:repeat>
<cms:editable type=group>
<cms:repeat>
whatever
</cms:repeat>
</cms:editable>
</cms:repeat>
The actual thing I'm trying to use:
- Code: Select all
<cms:repeat count='1' startcount='1'>
<cms:set stage_count=k_count/>
<cms:repeat count='1' startcount='1'>
<cms:if k_count='1'>
<cms:set power_supply='50hz'/>
<cms:else_if k_count='2'/>
<cms:set power_supply='60hz'/>
<cms:else_if k_count='3'/>
<cms:set power_supply='bat'/>
</cms:if>
<cms:editable name="ccdb_temp_power_<cms:show power_supply/>_stage_<cms:show stage_count/>" type='row' label="<cms:if stage_count='1'>Coldest Stage - <cms:show power_supply/><cms:else_if stage_count='2'/>First but coldest stage - <cms:show power_supply/><cms:else_if stage_count='3'/>Second but coldest stage - <cms:show power_supply/></cms:if>" collapsed='1'>
<cms:editable
name="ccdb_temp_no_load_gp_bol_<cms:show power_supply/>_<cms:show stage_count/>"
label='No load temperature (TP/BoL)'
desc='in K'
type='text'
search_type='decimal'
class='col-xs-3'
/>
<cms:editable
name="ccdb_temp_no_load_gp_bol_<cms:show power_supply/>_<cms:show stage_count/>_na"
label='At or below the given temperature'
desc=''
opt_values='The no load temperature is not known exactly, but at or below the given temperature=1'
type='checkbox'
class='col-xs-9'
/>
<cms:editable name="ccdb_temp_no_load_gp_bol_<cms:show power_supply/>_<cms:show stage_count/>_break" type='message' class='col-xs-12'>
<hr/>
</cms:editable>
<cms:repeat count='8' startcount='1'>
<cms:set cooling_at=k_count/>
<cms:editable
name="ccdb_cooling_power_at_<cms:show power_supply/>_<cms:show stage_count/>_<cms:show cooling_at/>k"
label="Cooling power at <cms:show cooling_at/> K"
desc='in K'
type='text'
class='col-xs-3'
/>
</cms:repeat>
</cms:editable>
</cms:repeat>
</cms:repeat>