Foros de discusión

problem to display struts2 composant

franco33 albert, modificado hace 11 años.

problem to display struts2 composant

Junior Member Mensajes: 35 Fecha de incorporación: 28/04/12 Mensajes recientes
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 hace 11 años.

RE: problem to display struts2 composant

Junior Member Mensajes: 52 Fecha de incorporación: 1/08/09 Mensajes recientes
Franco,

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

Ali
franco33 albert, modificado hace 11 años.

RE: problem to display struts2 composant

Junior Member Mensajes: 35 Fecha de incorporación: 28/04/12 Mensajes recientes
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