yesterday i did it, and got --> doesNotUndestand #layout 2018-03-05 20:28 GMT+03:00 Stephane Ducasse <stepharo.s...@gmail.com>:
> First implement all the missing methods that you use in the spec class > method. > Then let us know. > > Stef > > > On Sun, Mar 4, 2018 at 2:56 PM, Yuriy Babah <babah.yuri...@gmail.com> > wrote: > > Thanks for your help, Stef. > > Mistakes remain, but I will try to understand them > > > > 2018-03-04 16:35 GMT+03:00 Stephane Ducasse <stepharo.s...@gmail.com>: > >> > >> I'm doing a pass on your code > >> > >> OrderedCollection new is better to me than #() asOrderedCollection. > >> > >> GUI_ListCourtCase new openWithSpec > >> => DNU > >> So I added the first missing method, but you should define the > >> corresponding methods in the class. > >> > >> > >> > >> > >> > >> > >> > >> On Sun, Mar 4, 2018 at 2:28 PM, Stephane Ducasse > >> <stepharo.s...@gmail.com> wrote: > >> > Hi yuri > >> > > >> > some feedback before looking into spec. > >> > tab method bodies > >> > then do not use instance variables with uppercase. > >> > > >> > Stef > >> > > >> > > >> > On Sun, Mar 4, 2018 at 2:26 PM, Yuriy Babah <babah.yuri...@gmail.com> > >> > wrote: > >> >> changed > >> >> > >> >> 2018-03-04 16:20 GMT+03:00 Yuriy Babah <babah.yuri...@gmail.com>: > >> >>> > >> >>> Is it enough if I just attach it? > >> >>> > >> >>> I slightly changed the code, that leads to error: "DoesNotUndestand > >> >>> #plaintiffsTextInput" . > >> >>> > >> >>> Now I'm studying Help on Spec in SystemBrowser . > >> >>> > >> >>> > >> >>> > >> >>> 2018-03-04 15:23 GMT+03:00 Stephane Ducasse < > stepharo.s...@gmail.com>: > >> >>>> > >> >>>> Hi Yuriy > >> >>>> > >> >>>> this is difficult to debug remotely. Do you have your code > somewhere? > >> >>>> > >> >>>> Stef > >> >>>> > >> >>>> On Sat, Mar 3, 2018 at 8:41 AM, Yuriy Babah < > babah.yuri...@gmail.com> > >> >>>> wrote: > >> >>>> > Hi! > >> >>>> > I'm trying to write GUI element with Spec, Pharo6.1x64 on Linux. > >> >>>> > Do according to the SpecBooklet. > >> >>>> > > >> >>>> > Finished the fragment, and try do: > >> >>>> > > >> >>>> > ui := GUI_ListCourtCase new openWithSpec . -> #value was sent to > >> >>>> > nil. > >> >>>> > > >> >>>> > I look in a debugger and: > >> >>>> > > >> >>>> > openWithSpecLayout: aSpec > >> >>>> > "Build the widget using the spec name provided as argument > and > >> >>>> > display > >> >>>> > it into a window" > >> >>>> > > >> >>>> > (window value notNil and: [ self needRebuild not ]) > >> >>>> > ifTrue: [ "window != nil" > >> >>>> > window value rebuildWithSpecLayout: aSpec ] > >> >>>> > ifFalse: [ "If value = Nil --> send him a message ???" > >> >>>> > window value: (self defaultWindowModelClass new > model: > >> >>>> > self). > >> >>>> > window value openWithSpecLayout: aSpec. > >> >>>> > self takeKeyboardFocus ]. > >> >>>> > > >> >>>> > ^ window value > >> >>>> > >> >>> > >> >> > > > > > >
LegalBasis.st
Description: Binary data