Class AutoLayoutSeoInformationControl

  • All Implemented Interfaces:
    VariableResolver, IControl

    public class AutoLayoutSeoInformationControl
    extends SourceBoundControl<ContentTableSource>
    Performs auto layout of content SEO meta data.

    Example use:

    <control:lum_autoLayoutSeoInformation" />

    XML data available for xsl rendering:

    <control id="seoTab" type="lum_autoLayoutSeoInformation"> <control id="seoTab.fields.seo" sourceId="default" type="lum_autoLayoutFields"> <field id="pageSimpleTitle"> <label> <control id="lum_label_17" sourceId="none" text="Título simples para página" type="lum_label"> <strings> <string id="STR_REQUIRED">(obrigatório)</string> </strings> <data> <text>Título simples para página</text> </data> </control> </label> <value> <control dataId="pageSimpleTitle" id="pageSimpleTitle" sourceId="default" trim="true" type="lum_inputHidden"> <data> <value>aaa</value> </data> </control> </value> </field> <field id="pageTitlePattern"> <label> <control id="lum_label_18" sourceId="none" text="Padrão de geração de título para página" type="lum_label"> <strings> <string id="STR_REQUIRED">(obrigatório)</string> </strings> <data> <text>Padrão de geração de título para página</text> </data> </control> </label> <value> <control dataId="pageTitlePattern" id="pageTitlePattern" sourceId="default" trim="true" type="lum_inputHidden"> <data> <value>${title} ${sep} ${siteName} ${sep} ${publishedYear}</value> </data> </control> </value> </field> <field id="seoDescription"> <label> <control id="lum_label_19" sourceId="none" text="Descrição" type="lum_label"> <strings> <string id="STR_REQUIRED">(obrigatório)</string> </strings> <data> <text>Descrição</text> </data> </control> </label> <value> <control dataId="seoDescription" id="seoDescription" sourceId="default" trim="true" type="lum_inputHidden"> <data> <value>ccc</value> </data> </control> </value> </field> <field id="urlTitle"> <label> <control id="lum_label_20" sourceId="none" text="Título para URL" type="lum_label"> <strings> <string id="STR_REQUIRED">(obrigatório)</string> </strings> <data> <text>Título para URL</text> </data> </control> </label> <value> <control dataId="urlTitle" id="urlTitle" sourceId="default" trim="true" type="lum_inputHidden"> <data> <value>bbb</value> </data> </control> </value> </field> <field id="canonicalUrl"> <label> <control id="lum_label_21" sourceId="none" text="URL canônica" type="lum_label"> <strings> <string id="STR_REQUIRED">(obrigatório)</string> </strings> <data> <text>URL canônica para a página de detalhes</text> </data> </control> </label> <value> <control dataId="canonicalUrl" id="canonicalUrl" sourceId="default" trim="true" type="lum_inputHidden"> <data> <value>ddd</value> </data> </control> </value> </field> </control> <control id="seoTab.fields.social" sourceId="default" type="lum_autoLayoutFields"> <field id="socialTitle"> <label> <control id="lum_label_22" sourceId="none" text="Título" type="lum_label"> <strings> <string id="STR_REQUIRED">(obrigatório)</string> </strings> <data> <text>Título</text> </data> </control> </label> <value> <control dataId="socialTitle" id="socialTitle" sourceId="default" trim="true" type="lum_inputHidden"> <data> <value>ddd</value> </data> </control> </value> </field> <field id="socialDescription"> <label> <control id="lum_label_23" sourceId="none" text="Descrição" type="lum_label"> <strings> <string id="STR_REQUIRED">(obrigatório)</string> </strings> <data> <text>Descrição</text> </data> </control> </label> <value> <control dataId="socialDescription" id="socialDescription" sourceId="default" trim="true" type="lum_inputHidden"> <data> <value>eeee</value> </data> </control> </value> </field> <field id="socialImage"> <label> <control id="lum_label_24" sourceId="none" text="Imagem" type="lum_label"> <strings> <string id="STR_REQUIRED">(obrigatório)</string> </strings> <data> <text>Imagem</text> </data> </control> </label> <value> <control className="lumis.service.media.control.MediaPickerControl" id="socialImage" type="lum_contentSocialImage"> <strings> <string id="STR_NO_MEDIA_SERVICE_INSTANCE_SPECIFIED">Repositório de mídias não especificado</string> <string id="STR_VISUALIZE">Visualizar</string> <string id="STR_DOWNLOAD">Baixar Arquivo</string> <string id="STR_NO_MEDIA_SELECTED">Nenhuma mídia selecionada</string> <string id="STR_SELECT">Selecionar</string> <string id="STR_SELECT_MEDIA_SERVICE_INSTANCE">Selecionar Repositório</string> <string id="STR_CLEAR">Remover</string> </strings> <data> <openPopup><!-- javascript --></openPopup> <isIntroductionImage>false</isIntroductionImage> <mediaServiceInstanceId>8A488AE6547D343C01547D9859220E25</mediaServiceInstanceId> <selectMediaFunction>selectMedia_socialImage</selectMediaFunction> <onClickFunction>onClick_socialImage</onClickFunction> <media> <name>lumisportal.png</name> <fileId>FF80818154DEF0070154DF2D17F903A0</fileId> <fullPath>files/EF/30/21/0A/13FD4510700FED45181808FF/lumisportal.png</fullPath> <contentType>image/png</contentType> <fileSize>8153</fileSize> <colorDepth>32</colorDepth> <format>png</format> <height>152</height> <macroType>IMAGE</macroType> <width>152</width> <downloadHref>../../lumis/portal/file/fileDownload.jsp?fileId=FF80818154DEF0070154DF2D17F903A0</downloadHref> <downloadInlineHref>../../lumis/portal/file/fileDownload.jsp?fileId=FF80818154DEF0070154DF2D17F903A0&inline=1</downloadInlineHref> <href>../../data/files/EF/30/21/0A/13FD4510700FED45181808FF/lumisxp.png</href> <transformations/> <rawValue>FF80818154DEF0070154DF2D17F6039F</rawValue> <mediaId>FF80818154DEF0070154DF2D17F6039F</mediaId> <mediaTitle>Logo LumisXP</mediaTitle> <mediaDescription/> <mediaLegend>Logo do LumisXP</mediaLegend> <mediaCredits/> </media> </data> </control> </value> </field> </control> <control id="seoTab.editButton" text="editar definições" type="lum_button"> <onClick type="popupRunTimeInterface"> <interfaceId>lumis.service.content.seo.editContentSeo</interfaceId> <addParameters> <parameter name="api"> <value>N4028E3815526175A01552BAFD00B0ABA_seoTab_api</value> </parameter> <parameter name="mediaSI"> <value>8A488AE6547D343C01547D9859220E25</value> </parameter> </addParameters> </onClick> <data> <name>editar definições</name> <onclick><!-- javascript --></onclick> </data> </control> <strings> <string id="STR_SEO_AND_SHARING">SEO &amp; Compartilhamento</string> <string id="STR_SOCIAL_NETWORKS_DEFINITIONS">Para redes sociais</string> <string id="STR_DEFINED_BY_CONTENT">Definido pelo conteúdo</string> <string id="STR_SEO_DEFINITIONS">Para SEO</string> </strings> </control>
    Since:
    10.0.0
    Version:
    $Revision: 24013 $ $Date: 2020-08-10 11:36:01 -0300 (Mon, 10 Aug 2020) $