Community
Participate
Working Groups
Build Identifier: 20111026 nightly build Most Dojo Widget got JavaScriptGen error Reproducible: Always Steps to Reproduce: 1. Create new Web Client Project 2. Create new RUI Handler and open in VE design view 3. Drag & Drop some dojo widget, and switch to preview. Nothing rendered. 4. Open in browser, you may see JSGen error
It is a regression bug.
Additional information When event added to RUI/Dojo widget, the JSGen got error.
I believe this is likely due to a change that Jeff made to support new behaviors in ReorganizeCode in support of appending to arrays. If so, I already have a local fix that I will commit later today.
Hi Scott, I think you're right. The cause of this problem is that The "::=" operator is reorganized to "=" You can test your fix with this simple test case. handler tdd type RUIhandler{ initialUI = [ Button ] } Button DojoButton{ text = "Button", onClick ::= Button_onClick }; function start() end function Button_onClick(event Event in) syslib.writeStdout("test"); end end (In reply to comment #3) > I believe this is likely due to a change that Jeff made to support new > behaviors in ReorganizeCode in support of appending to arrays. If so, I > already have a local fix that I will commit later today.
Justin and I confirmed the "fix" works with a fairly complex app (MortgageCalculator), so I'm committing the change now.
Verified in build 20111027