<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="4">Hi Paul,</font></p>
<p><font size="4">Thinking again about the topic<br>
</font></p>
<p><font size="4">I think the UI-Mold package (A helper tool to
describe dialog panel for user input and validation) presents a
situation where it could be a big advantage for simplicity to
rebuild the whole UI. <br>
</font></p>
<p><font size="4">Indeed the field checking required hacking in the
existing morph tree (see validateInput) and rebuilding the whole
UI depending on the validity of the data could simplify code a a
little.</font></p>
<p><font size="4">You may want to see how you can adapt Mold to the
paradigm you are working one.</font></p>
<p><font size="4">Incidentally, the Mold package came from Seaside
folks[2]. I adapted it for field input and validation in Cuis
Morph GUI. I am planning to use it in my forthcoming revisite of
the Dynabook concept, in its administrative part of school
related data.<br>
</font></p>
<p>Hilaire<br>
</p>
<p>[1] <a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-UI">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-UI</a></p>
<p>[2]
<a class="moz-txt-link-freetext" href="https://kentreis.wordpress.com/2008/08/27/mold-form-validation-for-seaside/">https://kentreis.wordpress.com/2008/08/27/mold-form-validation-for-seaside/</a><br>
</p>
<div class="moz-cite-prefix">Le 13/05/2023 à 21:05, Paul D. Fernhout
via Cuis-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:36e4fb16-01f1-73d1-8213-25eb6fe28481@kurtz-fernhout.com">Even
with bugs and limitations, this code does show that in theory this
rebuild-the-UI-on-events approach is possible in Cuis. Whether any
Smalltalkers used to the conventional observer/dependency approach
might eventually prefer this alternative approach for some UI
development is still an open question.
<br>
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>