Magritte & customized rendering (e.g. autofocus)

"Sean P. DeNigris" <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
I'd like to set autofocus for a field in a Magritte-generated form, but I
don't see a way to pass rendering customizations down through the API. After
reviewing the Seaside API and online book, it seems that I could:
- subclass the field description's component, although that seems too
heavy-weight as well as not quite at the right level because the property
might not apply to everywhere the component is reused
- use a decorator, but if possible this is not so straightforward, because I
have the component for the entire form and will have to go digging around to
find the field child component

What is the best practice here?



-----
Cheers,
Sean
--
Sent from: http://forum.world.st/Seaside-General-f86180.html
_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.