Fórum

problem to display struts2 composant

franco33 albert, modificado 11 Anos atrás.

problem to display struts2 composant

Junior Member Postagens: 35 Data de Entrada: 28/04/12 Postagens Recentes
hello

I work with liferay 6.0

I have a problem to display calendar

this try to do this code
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib prefix="s" uri="/struts-tags"%>
    <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
 





<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<sx:head cache="false" compressed="false" />
<title>Insert title here</title>




<sx:datetimepicker value="date" name="dateenvoi" label="Date d'envoi" displayFormat="dd/MM/yyyy" />
				







Note my jar which i use are :

freemarker-2.3.16.jar

struts2-dojo-plugin-2.2.3.jar

struts2-portlet-plugin-2.2.3.jar

but when I run the portlet the calendar is not displayed


best regards

franco
thumbnail
Ali Shahrami, modificado 11 Anos atrás.

RE: problem to display struts2 composant

Junior Member Postagens: 52 Data de Entrada: 01/08/09 Postagens Recentes
Franco,

Do you see any errors? I wonder if you have to add .tld files to WEB-INF/tld.

Ali
franco33 albert, modificado 11 Anos atrás.

RE: problem to display struts2 composant

Junior Member Postagens: 35 Data de Entrada: 28/04/12 Postagens Recentes
thank you for your answer

under WEB-INF/tld I have this files
liferay-aui.tld
liferay-portlet.tld
liferay-portlet-ext.tld
liferay-security.tld
liferay-theme.tld
liferay-ui.tld
liferay-util.tld

as I say the calender didn't displayed without having error in the console