Community
Participate
Working Groups
1 Create an Web 2.0 Client application. 2 Create a library file:testLib: DojoButton DojoButton{ layoutData = new GridLayoutData{ row = 3, column = 2 }, text = "Button" }; 3 create an RUI handler and import testLib. ui GridLayout{columns = 3, rows = 4, cellPadding = 4, children = [ dojoEditor, libDojoButton,CheckBox222, GridLayout, Button1 ], visible = true, disabled = false}; libDojoButton DojoButton = testLib.DojoButton; Expected Result: display imported widget correctly
Created attachment 207285 [details] Sample project for reproducing the debug
Please provide a screen capture of the error.
Created attachment 207312 [details] button not displayed A button is defined in a Library, and is expected to be displayed in row 3, column 2 of the outter grid. However, it is not displayed.
This appears to be related (or a duplicate of) 364256. The field libDojoButton is being initialized to a new button, without gridData information, and this new button is being added as a child of the 'ui' array. After the assignment to the 'ui' field occurs, the field libDOjoButton is assigned to testLib.dojoButton, but the reference in the 'ui' array is not updated. I believe this may be working as designed, since there is not much we can do. Deferring for now.