Skip to Content
0
Former Member
Jun 12, 2006 at 01:47 PM

Javascript Error in InputField Date Type

22 Views

Hi,

We have migrated the Enterprise Portal Application EP5SP6 to NW2004s SP6.Everything works fine except one issue in a Manager Reports, Where we are using Date type InputField.

Code used:

<hbj:inputField

id="otherdate1"

type="DATE"

showHelp="TRUE"

size="10"

maxlength="10"

jsObjectNeeded="true"

disabled="TRUE"

>

<%

// -


JSP-scriptlet-START----


otherPeriodFrom=myContext.getParamIdForComponent(otherdate1);

// -


JSP-scriptlet-END----


%>

</hbj:inputField>

Javascript Error : Line : 3958 code: 2 Error: 'Undefined' is null or not an object

Above Error appears when the below option in IE is selected.And also, Error appears only when the user enters the date.Also, I cannot ask users to uncheck the settings in IE as most of the users doesn't have administrator access to their amchines

Error doesn't seem to appear when user selects the date from DataPicker component irrespective whether the below option in IE is selected or not.

IE Setting option :

Display a Notification about Every Script Error

I'm not able to find what could be the problem in EP 7.0 as it works perfectly in EP5.0.

Any ideas would be appreciated !!

Thanks,

Jojo