« Return to Thread: Create form: from description

Re: Create form: from description

by Lukas Renggli-2 :: Rate this Message:

Reply to Author | View in Thread

> >I can only guess:
> >
> >html textInput
> >     value: (aDescription toString: (object readUsing:  
> aDescription));
> >    callback: [ :value |  object write: (aDescription fromString:
> > value) using: aDescription ].
>
> i work with your guess, and some thing go other no.
>
> I'have problem with description define using MANumberDescription  
> new ....

If you decide to have your own interpretation of descriptions, then  
you need to do error handling and validation checking yourself. The  
Magritte-Seaside package does this all automatically for you.

Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

 « Return to Thread: Create form: from description