History
|
Log In
H
OME
B
ROWSE PROJECT
F
IND ISSUES
Q
UICK SEARCH:
Learn more about
Quick Search
Issue Details
(
XML
|
Word
|
Printable
)
Key:
LPP-4240
Type:
Bug
Status:
Resolved
Resolution:
Fixed
Priority:
P0
Assignee:
Max Carlson
Reporter:
Guy Rouillier
Votes:
0
Watchers:
1
Operations
If you were
logged in
you would be able to see more operations.
OpenLaszlo
View.updateResourceSize() generates error in DHTML
Created:
04/Jul/07 08:42 PM
Updated:
17/Aug/07 03:33 PM
Component/s:
LFC - Object System
Affects Version/s:
4.0.2
Fix Version/s:
4.0.5WaffleCone
Time Tracking:
Not Specified
Severity:
Minor
Fixed in Change#:
6,125
Runtime:
N/A
Fix in hand:
False
Description
« Hide
If I attempt to use "this.updateResourceSize();" from inside of an oninit handler of a view, I get the following runtime error:
ERROR:
https://localhost/scc2/lps/includes/lfc/LFCdhtml-debug.js:8434:
this.sprite.updateResourceSize is not a function
See additional discussion on the forum here:
http://forum.openlaszlo.org/showthread.php?p=31844
Description
If I attempt to use "this.updateResourceSize();" from inside of an oninit handler of a view, I get the following runtime error: ERROR:
https://localhost/scc2/lps/includes/lfc/LFCdhtml-debug.js:8434:
this.sprite.updateResourceSize is not a function See additional discussion on the forum here:
http://forum.openlaszlo.org/showthread.php?p=31844
Show »
All
Comments
Work Log
Change History
Sort Order:
[
Permlink
|
« Hide
]
Max Carlson
-
17/Aug/07 03:33 PM
Author: max
Date: 2007-08-17 12:38:57 -0700 (Fri, 17 Aug 2007)
New Revision: 6125
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
Log:
Change 20070817-maxcarlson-J by
maxcarlson@plastik
on 2007-08-17 11:45:38 PDT
in /Users/maxcarlson/openlaszlo/wafflecone
for
http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: Fix view.updateResourceSize() in DHTML
New Features:
Bugs Fixed:
LPP-4240
- View.updateResourceSize() generates error in DHTML
Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Implement updateResourceSize() in DHTML.
Tests: See
LPP-4240
Modified: openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
===================================================================
--- openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js 2007-08-17 19:11:13 UTC (rev 6124)
+++ openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js 2007-08-17 19:38:57 UTC (rev 6125)
@@ -1433,6 +1433,10 @@
return this.__z;
}
+LzSprite.prototype.updateResourceSize = function () {
+ this.owner.resourceload({width: this.resourceWidth, height: this.resourceHeight, resource: this.resource, skiponload: true});
+}
+
LzSprite.prototype.unload = function () {
if (this.__ImgPool) {
this.__ImgPool.destroy();
_______________________________________________
Laszlo-checkins mailing list
Laszlo-checkins@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins
[
Show »
]
Max Carlson
-
17/Aug/07 03:33 PM
Author: max Date: 2007-08-17 12:38:57 -0700 (Fri, 17 Aug 2007) New Revision: 6125 Modified: openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js Log: Change 20070817-maxcarlson-J by
maxcarlson@plastik
on 2007-08-17 11:45:38 PDT in /Users/maxcarlson/openlaszlo/wafflecone for
http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: Fix view.updateResourceSize() in DHTML New Features: Bugs Fixed:
LPP-4240
- View.updateResourceSize() generates error in DHTML Technical Reviewer: promanik QA Reviewer: jcrowley Doc Reviewer: (pending) Documentation: Release Notes: Details: Implement updateResourceSize() in DHTML. Tests: See
LPP-4240
Modified: openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js =================================================================== --- openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js 2007-08-17 19:11:13 UTC (rev 6124) +++ openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js 2007-08-17 19:38:57 UTC (rev 6125) @@ -1433,6 +1433,10 @@ return this.__z; } +LzSprite.prototype.updateResourceSize = function () { + this.owner.resourceload({width: this.resourceWidth, height: this.resourceHeight, resource: this.resource, skiponload: true}); +} + LzSprite.prototype.unload = function () { if (this.__ImgPool) { this.__ImgPool.destroy(); _______________________________________________ Laszlo-checkins mailing list
Laszlo-checkins@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins
Date: 2007-08-17 12:38:57 -0700 (Fri, 17 Aug 2007)
New Revision: 6125
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
Log:
Change 20070817-maxcarlson-J by maxcarlson@plastik on 2007-08-17 11:45:38 PDT
in /Users/maxcarlson/openlaszlo/wafflecone
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: Fix view.updateResourceSize() in DHTML
New Features:
Bugs Fixed:
LPP-4240- View.updateResourceSize() generates error in DHTMLTechnical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details: Implement updateResourceSize() in DHTML.
Tests: See
LPP-4240Modified: openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
===================================================================
--- openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js 2007-08-17 19:11:13 UTC (rev 6124)
+++ openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js 2007-08-17 19:38:57 UTC (rev 6125)
@@ -1433,6 +1433,10 @@
return this.__z;
}
+LzSprite.prototype.updateResourceSize = function () {
+ this.owner.resourceload({width: this.resourceWidth, height: this.resourceHeight, resource: this.resource, skiponload: true});
+}
+
LzSprite.prototype.unload = function () {
if (this.__ImgPool) {
this.__ImgPool.destroy();
_______________________________________________
Laszlo-checkins mailing list
Laszlo-checkins@openlaszlo.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins