Skip to main content

Migration CMS_INPUT_CONTENTAREALIST -> FS_LIST - autom. Popup?

Comments

1 comment

  • Zendesk API User
    Author: pschulz - 1/25/2013 8:30

    Der Vollständigkeit halber hier die Antwort vom Helpdesk:

    <FS_LIST name="<name>" hFill="yes" height="700">

        <DATASOURCE type="inline" useLanguages="no">

          <LABELS>

            <LABEL lang="*">#item.<varname></LABEL>

          </LABELS>

          <ACTIONS>

            <ACTION name="ADD">

              <PARAM name="add-index">first</PARAM>

              <PARAM name="select-ui">popup</PARAM>

            </ACTION>

            <ACTION name="EDIT"/>

            <ACTION name="REMOVE"/>

            <ACTION name="UP"/>

            <ACTION name="DOWN"/>

          </ACTIONS>

          <COLUMNS>

            <COLUMN show="no">#identifier</COLUMN>

            <COLUMN show="yes">#text</COLUMN>

          </COLUMNS>

          <LAYOUT>

            <ADD component="toolbar" constraint="top"/>

            <ADD component="singleview" constraint="hide"/>

            <ADD component="stackedview" constraint="center">

              <PARAM name="show-language-tabs">no</PARAM>

              <PARAM name="expand-behaviour">expand_follows_current</PARAM>

              <PARAM name="show-selection-box">no</PARAM>

              <PARAM name="toolbar-assembly">panel</PARAM>

            </ADD>

          </LAYOUT>

          <TEMPLATES source="sectiontemplates">

            <TEMPLATE uid="<template uid>"/>

          </TEMPLATES>

        </DATASOURCE>

        <LANGINFOS>

          <LANGINFO lang="*" label="Inhalte" description="Legt die in der Spalte anzuzeigenden Inhalte fest "/>

        </LANGINFOS>

      </FS_LIST>

    Damit wird zwar kein Popup geöffnet, jedoch wird das neue Element im "stackedview" automatisch angezeigt und somit greift auch die Validierung.

    0

Please sign in to leave a comment.