[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Fix bug 132401 access to value of display text of dynamic parameter

- Summary:

Fix bug 132401 access to value of display text of dynamic parameter

 

- Bugzilla Bug(s)

132401

 

- Description:

Engine provides APIs to set display text of dynamic parameter. Viewer needs to

use IEngineTask.setParameter(String name, Object value, String displayText) or

IEngineTask.setParameter( String name, String displayText) to pass the display

text of a dynamic parameter to engine.

 

For user, the value and display text of parameter can be accessed ( read and

set ) by _expression_

"params["paramName"].value"/"params["paramName"].displayText".

"params["paramName"]" still can be used as before, it's used to access the

value too, just same as "params["paramName"].value".

 

- Tests Description:

Manuel Test.

 

- Notes to Build Team:

 

- Notes to Developers:

 

- Notes to QA:

 

- Notes to Documentation:

 

- Files Edited:

"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ScriptableParameter.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/internal/util/HTMLUtil.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/internal/presentation/ReportDocumentInfo.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/script/IReportContext.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ParameterAttribute.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ExecutionContext.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/EngineTask.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ReportDocumentReader.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/ReportContextImpl.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/IEngineTask.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ScriptableParameters.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/internal/util/EngineIOUtil.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/UnsupportedFormatException.java"

 

- Files Added:

"/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/impl/ParameterAttribute.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/UnsupportedFormatException.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ScriptableParameter.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/executor/ScriptableParameters.java" "/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/internal/util/EngineIOUtil.java"

"/org.eclipse.birt.core/src/org/eclipse/birt/core/script/BaseScriptable.java"

 

 

-Jun Ouyang