[Seaside] textArea rows

Randal L. Schwartz merlyn at stonehenge.com
Sat Nov 3 12:23:43 UTC 2007


>>>>> "Rajeev" == Rajeev Lochan <lochan94 at gmail.com> writes:

AnyComponent> renderCommentOn: html
Rajeev> html div id: 'comment'; with: [
Rajeev>         html textAreaOn: #comment of: model].

Since an ID can be used only once, and you might end up with this component
twice on the same page, it'd be better to either dynamically generate
the ID (aside: there's gotta be a way to do that for AJAX, but I'm
not quite up to speed on that), or use a class rather than an ID.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


More information about the seaside mailing list