<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Problem sorting config fields</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122216895" />
  <subtitle>Problem sorting config fields</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122216895</id>
  <updated>2026-04-04T01:01:36Z</updated>
  <dc:date>2026-04-04T01:01:36Z</dc:date>
  <entry>
    <title>RE: RE: Problem sorting config fields</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122220998" />
    <author>
      <name>Russell Bohl</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122220998</id>
    <updated>2023-11-09T15:49:19Z</updated>
    <published>2023-11-09T15:49:18Z</published>
    <summary type="html">&lt;p&gt;You can look at &lt;a
    href="https://learn.liferay.com/w/dxp/building-applications/core-frameworks/configuration-framework/completely-custom-configuration"&gt;this
    documentation to provide your own configuration UI&lt;/a&gt;.&lt;/p&gt;</summary>
    <dc:creator>Russell Bohl</dc:creator>
    <dc:date>2023-11-09T15:49:18Z</dc:date>
  </entry>
  <entry>
    <title>RE: Problem sorting config fields</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122220779" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122220779</id>
    <updated>2023-11-09T15:40:56Z</updated>
    <published>2023-11-09T15:40:55Z</published>
    <summary type="html">&lt;p&gt;The configuration UI is automatically generated, and (without looking
  at the code) I am assuming that the automatically generated UI doesn't
  sort - or sorts in a way that always makes the checkboxes appear at
  the end.&lt;/p&gt;
&lt;p&gt;You can provide your own configuration UI as well - I've seen it
  being done with some of Liferay's own configuration, but currently
  can't point out an example, sorry.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2023-11-09T15:40:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: Problem sorting config fields</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122219246" />
    <author>
      <name>Pablo Simavilla</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122219246</id>
    <updated>2023-11-09T15:32:27Z</updated>
    <published>2023-11-08T09:38:22Z</published>
    <summary type="html">&lt;pre&gt;
&lt;code class="language-java"&gt;package com.once.notidi.config;

import com.liferay.portal.configuration.metatype.annotations.ExtendedObjectClassDefinition;
import com.liferay.portal.kernel.spring.aop.Property;

import javax.xml.bind.annotation.XmlAccessorOrder;

import aQute.bnd.annotation.metatype.Meta;
import aQute.bnd.annotation.metatype.Meta.Type;

@ExtendedObjectClassDefinition(category = &amp;quot;notidi-configuration&amp;quot;, scope = ExtendedObjectClassDefinition.Scope.SYSTEM)
@Meta.OCD(id = &amp;quot;com.once.notidi.config.ConfigurationBloqueo&amp;quot;, name = &amp;quot;Bloqueo&amp;quot;)
public interface ConfigurationBloqueo {
	
	/*
	 * Estado de activación / Inactivación de las notificaciones por Whatsapp
	 */

	@Meta.AD(
			id = &amp;quot;0&amp;quot;,
			deflt = &amp;quot;true&amp;quot;,
			name = &amp;quot;Activar bloqueo&amp;quot;,
			description = &amp;quot;Opción para activar o desactivar bloqueo en el envío masivo&amp;quot;,
			required = false, optionLabels = {
					&amp;quot;Activar&amp;quot;, &amp;quot;Desactivar&amp;quot; },
			optionValues = { &amp;quot;true&amp;quot;, &amp;quot;false&amp;quot; })
	public boolean manageNotifications();

	/*
	 * Hora de inicio del bloqueo
	 */
	
	@Meta.AD(
			id = &amp;quot;1&amp;quot;,
			deflt = &amp;quot;21:00&amp;quot;, 
			name = &amp;quot;Hora de inicio&amp;quot;, 
			description = &amp;quot;Establezca la hora de inicio para el bloqueo de notificaciones. &amp;quot;
							+ &amp;quot;Utilice el formato de 24 horas HH:mm.&amp;quot;
							+ &amp;quot; Por ejemplo, '08:00' para las 8 AM o '18:00' para las 6 PM.&amp;quot;,
 
			required = true, 
			type = Meta.Type.String
	)
	
	public String getStartingTime();

	/*
	 * Hora de fin del bloqueo
	 */
	@Meta.AD(
			id = &amp;quot;2&amp;quot;,
			deflt = &amp;quot;9:00&amp;quot;, 
			name = &amp;quot;Hora de fin&amp;quot;,
			description = &amp;quot;Establezca la hora de fin para el bloqueo de notificaciones. &amp;quot;
							+ &amp;quot;Utilice el formato de 24 horas HH:mm.&amp;quot;
							+ &amp;quot; Por ejemplo, '08:00' para las 8 AM o '18:00' para las 6 PM.&amp;quot;, 
			required = true, 
			type = Meta.Type.String)
	public String getFinishingTime();

}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Pablo Simavilla</dc:creator>
    <dc:date>2023-11-08T09:38:22Z</dc:date>
  </entry>
  <entry>
    <title>Problem sorting config fields</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122216894" />
    <author>
      <name>Pablo Simavilla</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122216894</id>
    <updated>2023-11-07T21:46:13Z</updated>
    <published>2023-11-06T11:26:09Z</published>
    <summary type="html">&lt;p&gt;
  &lt;strong&gt;I have a problem tryíng to sort the boolean type config field.
    I would like it to appear at the top of the UI and no matter what i
    try it will always appear at the bottom: &lt;/strong&gt;
&lt;/p&gt;</summary>
    <dc:creator>Pablo Simavilla</dc:creator>
    <dc:date>2023-11-06T11:26:09Z</dc:date>
  </entry>
</feed>
