[Hippo-cms7-user] [IE] EasyForms rendering problem of field.dateFormat

Joris Meijer joris.meijer at capgemini.com
Mon Apr 23 16:30:39 CEST 2012


@jasha, @laurens

My bad! I was testing different forms and because the content is very similar, I was testing in two different browsers with one form having the dateFormat filled in (loaded in browser X) and one form having an empty dateFormat (loaded in browser Y).

In the JSP it’s ${field.dateFormat} however, I am using
<%-- at elvariable id="form" type="org.onehippo.forge.easyforms.model.Form"--%>

Thanks for the reply, time to go to bed ☺
_______________________________________________________________________
[cid:image001.gif at 01CD2166.CAFB73B0]Joris Meijer
Consultant Online Technology | Capgemini Online

Capgemini "Netherlands" | Utrecht
Tel.: +31 30 68 93076 – Mob.: +31 6 5158 6350
www.capgemini.com<http://www.capgemini.com/>

People matter, results count.
_______________________________________________________________________
Connect with Capgemini:
[cid:image002.gif at 01CD2166.CAFB73B0]<http://www.capgemini.com/insights-and-resources/blogs>  [cid:image003.gif at 01CD2166.CAFB73B0] <http://www.twitter.com/CapgeminiNL>   [cid:image004.gif at 01CD2166.CAFB73B0] <http://www.facebook.com/capgemini>   [cid:image005.gif at 01CD2166.CAFB73B0] <http://www.linkedin.com/company/capgemini>   [cid:image006.gif at 01CD2166.CAFB73B0] <http://www.slideshare.net/capgemini>   [cid:image007.gif at 01CD2166.CAFB73B0] <http://www.youtube.com/user/Capgemini08>

From: Jasha Joachimsthal [via Hippo] [mailto:ml-node+s2275632n7491770h83 at n2.nabble.com]
Sent: maandag 23 april 2012 14:57
To: Meijer, Joris
Subject: Re: [IE] EasyForms rendering problem of field.dateFormat

Hi Joris,

the name of the getter is getDateformat [1], not getDateFormat. So ${field.dateFormat} should be ${field.dateformat}

https://forge.onehippo.org/svn/easy-forms/component/trunk/src/main/java/org/onehippo/forge/easyforms/beans/DateFieldBean.java

Jasha Joachimsthal

Europe - Amsterdam - Oosteinde 11, 1017 WT Amsterdam - +31(0)20 522 4466
US - Boston - 1 Broadway, Cambridge, MA 02142 - +1 877 414 4776 (toll free)

www.onehippo.com<http://www.onehippo.com/>

On 23 April 2012 14:20, Joris Meijer <[hidden email]</user/SendEmail.jtp?type=node&node=7491770&i=0>> wrote:
Hi all,

I noticed something very strange.

We created an easyform containing a "date of birth" field, having date
format "dd-yy-mm":

http://hippo.2275632.n2.nabble.com/file/n7491641/easyform_datefield.png

The default jsp we used to render the form works fine in Firefox and Chrome.
But for some strange reason, the ${field.dateFormat} tag is not rendered
(empty) in Internet Explorer browsers, causing the date input field not to
be populated when a date is selected.

Checks:
- local cache is disabled
- with javascript disabled, the problem is still there
- when I hard code the format 'dd-mm-yy' in the jQuery .ready function, the
date selection works just fine

Below the snippet that loads the datepicker (when viewing source in an IE
browser!!).



Could it be that there is some kind of browser checking happening before the
jsp is rendered?

--
View this message in context: http://hippo.2275632.n2.nabble.com/IE-EasyForms-rendering-problem-of-field-dateFormat-tp7491641p7491641.html
Sent from the Hippo CMS 7 mailing list archive at Nabble.com.
_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html


_______________________________________________
Hippo-cms7-user mailing list and forums
http://www.onehippo.org/cms7/support/forums.html
________________________________
If you reply to this email, your message will be added to the discussion below:
http://hippo.2275632.n2.nabble.com/IE-EasyForms-rendering-problem-of-field-dateFormat-tp7491641p7491770.html
To unsubscribe from [IE] EasyForms rendering problem of field.dateFormat, click here<http://hippo.2275632.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7491641&code=am9yaXMubWVpamVyQGNhcGdlbWluaS5jb218NzQ5MTY0MXwyMTIwNzU4NDY5>.
NAML<http://hippo.2275632.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>






This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this message.


--
View this message in context: http://hippo.2275632.n2.nabble.com/IE-EasyForms-rendering-problem-of-field-dateFormat-tp7491641p7492083.html
Sent from the Hippo CMS 7 mailing list archive at Nabble.com.



More information about the Hippo-cms7-user mailing list