Change hqm-20100826-RcK by [email protected] on 2010-08-26 11:28:46 EDT
    in /Users/hqm/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: add "proxied" checkbox to dev console

New Features:

Bugs Fixed: LPP-9329

Technical Reviewer: max
QA Reviewer: ptw
Doc Reviewer: (pending)

Documentation:

Release Notes:

Overview:

Add checkbox in dev console to control 'proxied' query flag
    
Also fix support for usemastersprite flag

Details:
    
Pass the value of the app 'proxied' query arg into the dev console, so it can 
display it as a checkbox value

+ for usemastersprite flag, make sure that it's value is coerced to a boolean 
in lzoptions

Tests:

test case, displays canvas proxied setting. Test with dev console, toggling the 
checkbox, in all runtimes
<canvas height="60%"> 
  <text x="300" text="$once{'proxied: '+canvas.proxied}"/>
</canvas>

usemastersprite:
load lzpix with options to enable and disable mastersprite in DHTML

http://127.0.0.1:8080/trunk/demos/lzpix/app.lzx?lzoptions=runtime(dhtml),proxied(true),usemastersprite(true)
        verify in firebug  that app.sprite.png is loaded

http://127.0.0.1:8080/trunk/demos/lzpix/app.lzx?lzoptions=runtime(dhtml),proxied(true),usemastersprite(false)
        verify in firebug that app.sprite.png is not loaded


Files:
M       WEB-INF/lps/lfc/services/LzBrowser.lzs
M       WEB-INF/lps/server/src/org/openlaszlo/utils/LZHttpUtils.java
M       WEB-INF/lps/templates/app-console_jp.xslt
M       WEB-INF/lps/templates/app-console.xslt
M       lps/includes/source/embednew.js
M       lps/admin/dev-console.lzx.swf
M       lps/admin/dev-console.lzx
M       lps/admin/lps/includes/lfc/LFCdhtml.js
M       
lps/admin/lps/resources/lps/components/lz/resources/autoPng/bezel_inner_up.sprite.png
M       
lps/admin/lps/resources/lps/components/lz/resources/autoPng/bezel_outer_up.sprite.png
M       lps/admin/dev-console.lzx.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20100826-RcK.tar

Reply via email to