SansunS
unread,Nov 25, 2012, 12:59:30 PM11/25/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sitemes...@googlegroups.com
Hi
I am new to Sitemesh and Struts2-JQuery-Plugin. I have an web app that uses a Sitemesh 2.4.1 and Struts2-Core 2.2.3. Currently it uses
Struts Tags for the input of text fields (eg: <s:textfield label="User Name" name="username" />. ). I wanted to add a date field using a date picker. I have tried Struts2-Dojo_Plugin 2.2.3 and/or Struts-JQuery-Plugin 3.4.0. Both the plugins when tried together or independently is not displaying the Calendar icon. These date pickers are working if I am not using Sitemesh. Wonder anyone experienced this problem. I have tried all I could found in the forums without any help.
Here is what I have in the index.jsp file.
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
.
.
.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>This is the Index Page Title</title>
<sx:head />
<sj:head loadAtOnce="true"/>
</head>
<body>
<h3>Hello SimpleEvents</h3>
<sj:dialog id="mydialog1" title="Local Dialog">
Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.
</sj:dialog>
<s:form id="form" theme="xhtml">
<sj:datepicker id="date0" label="Select a Date" />
</s:form>
<sx:datetimepicker tooltip="Select Your Birthday" label="Birthday"
name="dt" />
</body>
I didnt get any calendar icons and no error code either. Appreciate any help to get the calendar icon working, I am open to any other options that available.
Thank you