tag:blogger.com,1999:blog-32881756.post3532384418371239397..comments2024-03-27T10:43:33.261-04:00Comments on Code Master Blog: Glimmer Webinar VideoAndy Malehhttp://www.blogger.com/profile/10268484073612495328noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-32881756.post-17033441103467372702009-11-21T13:06:52.950-05:002009-11-21T13:06:52.950-05:00yes, it working fine now, thanksyes, it working fine now, thankseuguhttps://www.blogger.com/profile/09346435886689524350noreply@blogger.comtag:blogger.com,1999:blog-32881756.post-32834479588291888382009-11-19T10:28:57.941-05:002009-11-19T10:28:57.941-05:00Thanks for reporting eugu.
I fixed it. Sync up wi...Thanks for reporting eugu.<br /><br />I fixed it. Sync up with SVN and let me know how it goes.Andy Malehhttps://www.blogger.com/profile/10268484073612495328noreply@blogger.comtag:blogger.com,1999:blog-32881756.post-73155228241059896952009-11-18T16:54:22.576-05:002009-11-18T16:54:22.576-05:00Hi, Andy, very interesting framework
Unfortunate...Hi, Andy, very interesting framework <br /><br />Unfortunately not all samples work for me.<br /><br />I've tried <b>jruby contact_manager.rb</b> from trunk (r 20398) and got the error:<br />(Configuration: MS Vista-32bit, java 1.6.0_12-b04, jruby 1.3.1 , facets-2.8.0, SWT 3.5.1)<br /><br /><br />TableColumnPropertiesDataBindingCommandHandler will handle command: column_prope<br />rties with arguments first_namelast_nameemail<br />method: items and args: #<ModelObserver:0x1d41318>first_namelast_nameemail<br />parent is a widget: true<br />on listener?: false<br />TableItemsDataBindingCommandHandler will handle command: items with arguments #<<br />ModelObserver:0x1d41318>first_namelast_nameemail<br />./../../src/command_handlers/models/table_items_updater.rb:36:in `update': undef<br />ined method `each' for nil:NilClass (NoMethodError)<br /> from ./../../src/command_handlers/models/table_items_updater.rb:23:in `i<br />nitialize'<br /> from ./../../src/command_handlers/table_items_data_binding_command_handl<br />er.rb:35:in `do_handle'<br /> from ./../../src/command_handler_chain_link.rb:22:in `handle'<br /> from ./../../src/command_handler_chain_link.rb:24:in `handle'<br /> from ./../../src/glimmer.rb:30:in `method_missing'<br /> from ./../../src/glimmer.rb:44:in `method_missing'<br /> from contact_manager.rb:62<br /> from ./../../src/command_handlers/models/r_widget.rb:144:in `call'<br /> ... 14 levels...<br /> from ./../../src/glimmer.rb:31:in `method_missing'<br /> from ./../../src/glimmer.rb:44:in `method_missing'<br /> from contact_manager.rb:29euguhttps://www.blogger.com/profile/09346435886689524350noreply@blogger.comtag:blogger.com,1999:blog-32881756.post-24753651532282789092009-09-26T12:54:20.181-04:002009-09-26T12:54:20.181-04:00raise "hell" if value == ["Canada&q...<i>raise "hell" if value == ["Canada"]</i><br /><br />lol, thanks for the catch.<br /><br />I must have committed that debugging line of code by mistake. Good thing it's got a funny ironic value in it. :) I'll make sure to sort that out.<br /><br />Thanks for figuring out the deal on how to substitute a partial GUI with an existing one.<br /><br />One other way to tackle it is to have a method define your partial GUI and then call it from within the shell that will contain it.<br /><br />def name_form<br /> composite {<br /> label {text "First name"}<br /> text {}<br /> label {text "Last name"}<br /> text {}<br /> }<br />end<br /><br />def start_application<br /> shell {<br /> name_form<br /> label {"D.O.B."}<br /> text {}<br /> }.open<br />end<br /><br />Hope this helps address the scenario you had.Andy Malehhttps://www.blogger.com/profile/10268484073612495328noreply@blogger.comtag:blogger.com,1999:blog-32881756.post-89244557790550294252009-09-26T10:45:00.325-04:002009-09-26T10:45:00.325-04:00I figured it out, I created a new model called RSh...I figured it out, I created a new model called RShellBuffer that doesn't set the widgets parent in instantiation. Then in its "open" method, it iterates over the parent widgets children, disposes them, adds its own children to the parents widget. :)jrhickshttps://www.blogger.com/profile/15221075046161360173noreply@blogger.comtag:blogger.com,1999:blog-32881756.post-57440091774083609212009-09-25T23:14:33.648-04:002009-09-25T23:14:33.648-04:00Andy,
Glimmer seems like a well thought out and t...Andy,<br /><br />Glimmer seems like a well thought out and tested framework. I noticed this line of code in ListObserver <br /><br />raise "hell" if value == ["Canada"]<br /><br />Nice.<br /><br />I have two questions. All the Glimmer examples start with shell. Can Glimmer be used to partial GUIs? How. Second, can I substitute a partial GUI with an existing partial GUI? How.<br /><br />Thanks,<br />Jeffjrhickshttps://www.blogger.com/profile/15221075046161360173noreply@blogger.com