Compteur

Un compteur permet d’afficher le nombre de résultats d’une recherche au sein d’un widget affiché sur la page d’accueil.

<bean id="myCounter" class="com.flower.docs.gui.client.home.SearchCountPresenter">
	<property name="header">
		<list>
			<bean class="com.flower.docs.domain.i18n.I18NLabel">
					<property name="language" value="EN" />
					<property name="value" value="New incidents" />
			</bean>
			<bean class="com.flower.docs.domain.i18n.I18NLabel">
					<property name="language" value="FR" />
					<property name="value" value="Nouveaux incidents" />
			</bean>
		</list>
	</property>
	<property name="title">
		<list>
			<bean class="com.flower.docs.domain.i18n.I18NLabel">
				<property name="language" value="EN" />
				<property name="value" value="Currently : " />
			</bean>
			<bean class="com.flower.docs.domain.i18n.I18NLabel">
				<property name="language" value="FR" />
				<property name="value" value="Actuellement : " />
			</bean>
		</list>
	</property>
	<property name="icon" value="cardCount-icon far fa-file-archive flat-red" />
	<property name="search">
		<bean class="com.flower.docs.domain.search.Search">
			<property name="category">
				<value type="com.flower.docs.domain.component.Category">TASK</value>
			</property>
			<property name="request">
				<bean class="com.flower.docs.domain.search.SearchRequest" />
			</property>
		</bean>
	</property>
</bean>