Reporting back!
Yahoo!!!
It's works perfectly now! - the complete code is here -
https://github.com/ckkashyap/picolispAppPractice/tree/master/step04 (please
ignore the README)
This week was busy with work so it took longer but it is satisfying to
watch things beautifully!!!
(action
(html 0 Ttl "@lib.css" NIL
(idForm "TITLE" '(choTask) 'nm '+Name *CanEdit *CanDelete '("The "
(: ttl) " Title")
( 2
"Title" (gui '(+E/R +Cue +TextField) '(ttl : home obj)
"title" 40)
(gui '(+E/R +Chart) '(tgs : home obj) 3
'( (This) (list (: nm nm)))
'((L D)
(cond
((and D (car L)) (put!> D 'nm (request!
'(+TagNm) 'nm (car L)) ) D)
((car L) (new! '(+Tag) 'nm (request! '(+TagNm)
'nm (uppc (car L))) 'tsk (: home obj)))
(T D))
)
)
)
( NIL "Tags"
'(NIL NIL NIL)
(do 6
( (alternating)
(gui 1 '(+DbHint +TextField) '(nm +TagNm) 40)
(gui 2 '(+DelRowButton))
(gui 3 '(+BubbleButton)) ) )
)
(scroll 6 T)
)
)
)
On Mon, Dec 9, 2019 at 10:28 PM C K Kashyap wrote:
> Yes ... sounds like a plan ... I am going to practice some
> more with +Chart and it's Set/Val functions. It took me some time to get it
> working :) ... I can see that I am close now :)
> I'll post back in a couple of days.
> Regards,
> Kashyap
>
> On Sun, Dec 8, 2019 at 10:18 PM Alexander Burger
> wrote:
>
>> On Mon, Dec 09, 2019 at 06:53:29AM +0100, Alexander Burger wrote:
>> > Yes. The standard way is to have one form, one search dialog, and one
>> 'url>'
>> > method per +Entity class, and handle +List's of other objects in a
>> chart each.
>> >
>> > When that works, you can try to make cool nifty things like squeezing
>> all into a
>> > single +ListTextField ;)
>>
>> Especially problematic is the recursive creation of task and task-name
>> objects
>> on the fly. This will create lots of garbage objects, as every misspell
>> of a
>> name results in a new object.
>>
>> In the normal way, with search dialogs, objects are created only when
>> explicitly
>> pressing the "New" button.
>>
>> ☺/ A!ex
>>
>> --
>> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>>
>