NullPointer in Resources

2006-01-31 Thread Kristian.L.Petersen
I got this in struts-config.xml I also have a lot of other validation that are working fine, but the earlier mentioned keeps failing. Med venlig hilsen / Kind regards Kristian Lind Petersen Konsulent / Consultant TietoEnator A/S Rygaards Alle 131 DK - 2900 Hellerup Telephone: +45 72 30 6

NullPointer in Resources

2006-01-31 Thread Kristian.L.Petersen
I am getting this NullPointer Exception : java.lang.NullPointerException at org.apache.struts.validator.Resources.getMessageResources(Resources.java:127) at org.apache.struts.validator.Resources.getActionMessage(Resources.java:349) at org.apache.struts.validator.F

Re: Validation in ie5

2006-01-05 Thread Kristian.L.Petersen
Hi, I changed the retrieveFormName method so it now lookes like this : function retrieveFormName(form) { var x; if (form.getAttributeNode) { if (form.getAttributeNode("id") && form.getAttributeNode("id").value) { x = form.getAttributeNode("id").value;

Re: Validation in ie5

2006-01-05 Thread Kristian.L.Petersen
The diff is : form.attributes["name"]; return form.attributes["name"]; Line 1361 is : oMasked = eval('new ' + retrieveFormName(form) + '_mask()');

Re: Validation in ie5

2006-01-05 Thread Kristian.L.Petersen
Hi, I have replaced : function retrieveFormName(form) { // Please refer to Bugs 31534, 35127, 35294 & 37315 // for the history of the following code if (form.getAttributeNode) { if (form.getAttributeNode("id") && form.getAttributeNode("id").value) {

Validation in ie5

2006-01-02 Thread Kristian.L.Petersen
Hi, I am using the struts client site validation. Usually the users will use ie6, but some must use ie5 and here the validation doesn't work. Can anyone tell me how I can fix that, either by disable the validation if the user uses ie5 or some other solution Regards Kris