FAQ

On 11/22/05 10:28 AM, John Lifsey - Contractor - wrote:
It may be covered by your callback idea, but if I were using it I'm sure
I would want to arrange the form how I liked (or more correctly, someone
with a clue about interface would arrange it). Would something like this
be possible?

[% form.start %]
<table><tr><td>Your email address:</td><td>[% form.email
%]</td></tr></table>
[% form.stop %]

So that formmanager (gener/valid)ates the form elements, but the
structure can be changed?
...and so the convergence towards Rose::HTML::Objects continues ;) Okay,
I'm mostly kidding, but I do see a lot of similarities in the evolution of
the various FormBuilder/Validator modules. That code snipped posted above
is pretty much exactly how you'd use a Rose::HTML::Form in a TT template
(plus or minus some method name tweaks).

-John

Search Discussions

Discussion Posts

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 8 of 8 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedNov 22, '05 at 1:12p
activeNov 22, '05 at 8:06p
posts8
users6
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2022 Grokbase