Closed
Bug 208024
Opened 22 years ago
Closed 20 years ago
Mozilla does not support javabean scheme for OBJECT CLASSID
Categories
(Tech Evangelism Graveyard :: Arabic, defect)
Tech Evangelism Graveyard
Arabic
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: arunappa, Assigned: yuanyi21)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3.1) Gecko/20030425 Following HTML code creates a Java TextArea correctly in Netscape 4.78 browser but does not display anything or give any error message in Java console in both Mozilla 1.3.1 and Netscape 7 browser: <html> <body> <center> AWT Text Area: <BR> <OBJECT ID="listenBox1" CLASSID="javabean:java.awt.TextArea" WIDTH="225" HEIGHT="82"> <PARAM NAME="Rows" VALUE="4"> <PARAM NAME="Columns" VALUE="24"> </OBJECT><BR> </center> </body> </html> When this html page is rendered the TextArea is absent. Is there a woraround for this? Reproducible: Always Steps to Reproduce: 1. 2. 3.
Comment 1•22 years ago
|
||
.
Assignee: general → peterlubczynski
Component: Browser-General → Plug-ins
QA Contact: general → bmartin
Comment 2•22 years ago
|
||
-->oji
Assignee: peterlubczynski → joshua.xia
Status: UNCONFIRMED → NEW
Component: Plug-ins → OJI
Ever confirmed: true
QA Contact: bmartin → dsirnapalli
Comment 3•22 years ago
|
||
You should write code like that: <html> <body> <center> AWT Text Area: <BR> <OBJECT ID="listenBox1" codetype="application/java" classid="java:java.applet.Applet" WIDTH="225" HEIGHT="82"> <!--<PARAM NAME="Rows" VALUE="4"> <PARAM NAME="Columns" VALUE="24"> !--> </OBJECT><BR> </center> </body> </html> The component that attach on html must be Applet-based, you can write your own Applet by extend java.applet.Applet. If you set CLASSID="java:java.awt.TextArea", the following exception will happen: java.lang.ClassCastException at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) This should not be a bug, I will close it
Comment 4•22 years ago
|
||
->invalid
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 5•22 years ago
|
||
The Object Tag can be used to embed a lightweight JavaBean component in the HTML. The classid attribute specifies the name of the class which defines the component. The param tags are used to specify the attributes of the bean through name-value attributes. This feature worked in Netscape 478. Why is it not working in the latest mozilla and Netscape 7?
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Comment 6•22 years ago
|
||
see: http://www.w3.org/TR/html4/struct/objects.html#edef-OBJECT Netscape 7.0 and the latest mozilla is not simple update from Netscape 4.7x
it may works on netscape 4.x, but it is not common currently, and its syntax is not w3c standarded. anyway, it is an backward compatiablity problem mozilla doesnot care much about this. so it will be marked as tech evanlism.
change its category as Tech Evangelism.
Component: OJI → Arabic
Product: Browser → Tech Evangelism
Version: Trunk → unspecified
Comment 10•21 years ago
|
||
First; quicktime has the same problem... I'd like to quote Braden; "Nope. CLASSID is used to specify a particular implementation. If a user agent doesn't support the specified implementation, it should not render the OBJECT." What to think of the following code to implement quicktime? Valid (X)HTML, IE accepts it, but Mozilla nogo: <object classid="test.mov" data="test.mov" type="video/quicktime" style="width:380px; height:285px;"> <p>Error Text or alternative object, or alternative image...</p> </object> The w3 site states about the classid attribute: "This attribute may be used to specify the location of an object's implementation via a URI. It may be used together with, or as an alternative to the data attribute, depending on the type of object involved." note the part 'alternative to the data attribute'. Please reconsider this. (or there should be better arguments ;) )
Comment 11•21 years ago
|
||
sorry, for the previous comment, i used the wrong bug-comments-field for posting my comment (though i think both bugs are related... bugnr: 46569 )
Keywords: 4xp
OS: Windows XP → All
Hardware: PC → All
Summary: Mozilla does not display javabean Object ClassID → Mozilla does not support javabean scheme for OBJECT CLASSID
Comment 12•20 years ago
|
||
no web site, -> invalid
Status: NEW → RESOLVED
Closed: 22 years ago → 20 years ago
Resolution: --- → INVALID
Updated•10 years ago
|
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•