An elegant way to achieve

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

An elegant way to achieve

FDominicus
I just wonder how you manage the following.
Assume we have
id name firstName
Now if a new Person is created. I want the id to be editable, but
after that it should be read-only.

Anyway for editing I want to use the same view. So one time I had to
write:

e := WebElement new.
e newCell addText: 'Id'.
e newCell adInputFie... : id for: self observee

the other time I just write:

e newCell addText: 'Id'
e newCall addText: self observee id.

This is not elegant, suggestions on make this "prettier"?

Regards
Friedrich


--
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus
_______________________________________________
Aida mailing list
[hidden email]
http://lists.aidaweb.si/mailman/listinfo/aida