Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug --- 121273 Script modification of style properties does not work for data item

Title: [birt-dev]CheckIn: Fix Bugzilla Bug --- 121273 Script modification of style properties does not work for data item

Summary 

Bugzilla Bug (s) Resolved:
121273 Script modification of style properties does not work for data item
Description:
_javascript_ finds varaibes in the current scope in two ways: prototype chain and parent chain. The user can use "this" to specify only seeking the variables defined in prototype chain. ENGINE and DTE implement the sub-scope in parent chain, so if the user failed to use "this" to seek the varaible defined in parent scopes.

ENGINE has change the parent-child scope implementation to prototype chain, the DTE should also change in the same way to full support "this".

 
Test Description:
Unit Test/Manual Test
Write unit test to test the parent-child scope in prototype chain. Using Manual test to test a sample report desgin.
 
Files Edited:
cvs ci -m "use prototype chain to implement sub-scope." -l "/org.eclipse.birt.core/test/org/eclipse/birt/core/script/ScriptContextTest.java" "/org.eclipse.birt.core/src/org/eclipse/birt/core/script/ScriptContext.java"

Files Added:

Notes to Build Team:
 
Notes to Developers:
This SCR has been re-assigned to DTE.

Notes to QA:
 
Quotes to Documentation:


-Wei Yan




Back to the top