Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000098 [Resin] minor always 04-12-05 00:00 04-18-05 00:00
Reporter user116 View Status public  
Assigned To
Priority normal Resolution no change required Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 2.1.x
  Product Build 2.1.x
Summary 0000098: Javascript form fields selection type NOT supported
Description RSN-89
Hi,

the following section of a javascript function is NOT supported in resin. The same however is supported in tomcat and JBoss.

var elementslength=document.form.elements.length;

for(var i=0;i<elementslength;i++)
{
alert ("1");
if(document.form(i).type =='text' || document.form(i).type=='textarea')
{
alert ("2");
document.form(i).value="";
  }
}

While running on resin "1" is printed but NOT "2". How do we handle the same in resin ?
Steps To Reproduce
Additional Information Windows, jsp, resin + websphere
Attached Files

- Relationships

- Notes
(0000103)
ferg
04-12-05 00:00

This bug report makes no sense. javascript is client side. So it doesn't make sense to say that it's not supported by Resin.
 
(0000104)
user116
04-12-05 00:00

Well, my apologies if I haven't been able to communicate effectively. The above snippet is from a javascript function which does whats its supposed to do ( ie refresh the form fields) in resin 2.1.x versions.

However, the same function behaves randomly under resin 3.1.x. Strangely, No one has found similar occurrances before.
 
(0000105)
user116
04-12-05 00:00

I posted it as a bug as i presume any newer version of a product MUST support applications deployed in pervious versions.
 
(0000106)
sam
04-12-05 00:00

Resin (or JBoss, or Tomcat) does not do anything with your
javascript. Javascript runs in the browser. As far as Resin (or
any other J2EE server) is concerned, your javascript is just some
text that is sent to the browser along with everything else.

Something to check is the source that is being received by the
browser (Use menu View | Page Source in Firefox, for example).
There may be something about your Resin configuration that is
causing the portion of the page that contains the javascript to
not be sent to the browser.
 

- Issue History
Date Modified Username Field Change
04-12-05 00:00 user116 New Issue


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
40 total queries executed.
30 unique queries executed.
Powered by Mantis Bugtracker