Questions & Answers

SOLVED
pschulz
I'm new here

Migration CMS_INPUT_CONTENTAREALIST -> FS_LIST - autom. Popup?

Jump to solution

Moin Moin!

Bei der Umstellung der alten Eingabekomponenten auf die neueren ist folgende Frage aufgekommen:

Das Verhalten in der CMS_INPUT_CONTENTAREALIST beim Hinzufรผgen eines neuen Absatzes war so,

dass automatisch ein Popup geรถffnet wurde, wo man direkt den neuen Absatz bearbeiten konnte.

Hab ich irgendeine Mรถglichkeit, dieses Verhalten in der FS_LIST zu forcieren?

Sonst werden die Pflichtfelder gar nicht รผberprรผft.

Viele GrรผรŸe

Peter

0 Kudos
1 Solution

Accepted Solutions
pschulz
I'm new here

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.

View solution in original post

0 Kudos
1 Reply
pschulz
I'm new here

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 Kudos

Type a product name