struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oscar Alvarez" <listasdesarro...@gmail.com>
Subject Re: DatetimePicker Issue... Struts 2.1.2
Date Tue, 06 Jan 2009 18:25:05 GMT
2009/1/6 Richa Pandharikar <richa.pandharikar@tdktech.com>

> Are you using Tiles?
>
> For me with Tiles it never got rendered properly, hence I could not test
> the submit functionality. I switched to YUI calendar control.
>
>
> -----Original Message-----
> From: Anshuman Nanda [mailto:ananda@eximware.com]
> Sent: Tuesday, January 06, 2009 10:50 AM
> To: Struts Users Mailing List
> Subject: DatetimePicker Issue... Struts 2.1.2
> Importance: High
>
> Greetings Everyone
>
>        I have facing a very unusual issue with Struts Datetimepicker.  I
> have developed a sample application to check the functionality, where it
> works perfectly fine in all the browsers including IE, FF3, Opera, Safari
>
>        When I try to use the same thing in my application which uses other
> open source like Hibernate, etc.  The functionality only works in IE but
> fails in other browsers.  The date selected on the UI by the user is not
> transferred to the bean in the action class.  Neither do I get any error
> message when this happen.  I have tried every thing,  but 'am not sure whats
> causing the issue.  Has anyone faced something similar or can give a clue...
>

if you add this line to struts.xml, see some error log?

<constant name="struts.devMode" value="true"/>




>
> My code in the jsp is as under:
>
> ------------------------------------------------
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <%
> response.setHeader("Cache-Control","no-cache");
> response.setHeader("Pragma","no-cache");
> response.setDateHeader ("Expires", -1);
> %>
> <html xmlns="http://www.w3.org/1999/xhtml">
>
> <%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
> <%@ taglib prefix="s" uri="/struts-tags" %>
> <%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
>
> <%@ taglib prefix="admin" uri="/WEB-INF/tld/admin" %>
>
>
> <sx:head parseContent="true"/>
> <head>
>
> ...
> ...
> <sx:datetimepicker name="supportServicesForm.documentDate" cssStyle="form"
> label="Format (MMM dd,yyyy)" displayFormat="MMM dd,yyyy"/>
> ...
> ...
> ...
>
>
> ---------------------------------------------------
>
> Looking forward to any support that I can get..
>
> Thanks in advance...
> Anshuman Nanda
> www.eximware.com
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Thanks,
Oscar

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message