How hard would it be to just add a server responder that the toolbar calls to find out what runtimes are supported?
The more we can make the dev toolbar a standalone app the better, for when we want to include it in a true remote debug console for mobile development. On 2011-02-03, at 20:59, Henry Minsky wrote: > Change hqm-20110203-6or by [email protected] on 2011-02-03 20:49:49 EST > in /Users/hqm/openlaszlo/trunk2 > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: fix for 'When there is a compiler error, the dev-console shows all > runtime buttons disabled' > > New Features: > > Bugs Fixed: LPP-9734 > > Technical Reviewer: ptw > QA Reviewer: max > Doc Reviewer: (pending) > > Documentation: > > Release Notes: > > Overview: > > The server generates the dev-console HTML wrapper, which lists > available runtimes so the dev-console can show them as radio > buttons. > > The list of runtimes is passed in the canvas XML, and turned into HTML > via XSLT transform in app-console.xslt. > > In some cases a compilation error causes no canvas XML to be > generated, so this info is missing. In this case we should present all > runtimes as available, or else the user has no options to select in > the dev-console. > > Really the right solution would be to pass the list of runtimes > outside of the canvas XML, but that's too much refactoring to deal > with now. > > > Details: > > > Tests: > > Files: > M lps/admin/dev-console.lzx.swf > M lps/admin/dev-console.lzx > M lps/admin/lps/includes/lfc/LFCdhtml.js > M lps/admin/dev-console.lzx.js > M lps/admin/dev-console.sprite.png > > > Changeset: http://svn.openlaszlo.org/openlaszlo/patches/hqm-20110203-6or.tar
