Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

How to display a single HTML::Widget form field in a TT2 template?

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


ryan at familygrace

May 5, 2008, 11:37 AM

Post #1 of 2 (198 views)
Permalink
How to display a single HTML::Widget form field in a TT2 template?

Hello all,

Sorry again if this is spelled out somewhere that I'm missing. I'm getting up to speed with HTML::Widget as used in the Catalyst Tutorial online in the Advanced CRUD section.

I would like more control over the layout of my form so I'd like to build a more detailed template than what the examples show. I can't find how to display a certain form field in a TT2 template using the element's name.

Can someone provide a quick example of displaying just a single element in a form by name? I think I'm missing something basic here...

Thanks much,

Ryan


fireartist at gmail

May 5, 2008, 2:28 PM

Post #2 of 2 (180 views)
Permalink
Re: How to display a single HTML::Widget form field in a TT2 template? [In reply to]

2008/5/5 Ryan Grace <ryan[at]familygrace.com>:
> Hello all,
>
> Sorry again if this is spelled out somewhere that I'm missing. I'm getting
> up to speed with HTML::Widget as used in the Catalyst Tutorial online in the
> Advanced CRUD section.

I'm surprised the tutorial still uses HTML::Widget - as it's docs
state, it's no longer being developed - it's effectively been replaced
by HTML::FormFu (which I wrote).
Other form-generation or -processing modules very popular with the
Catalyst community which you'll also see mentioned on this list are
CGI::FormBuilder and Rose::HTML::Form

Carl

_______________________________________________
List: Catalyst[at]lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst[at]lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.