[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cgiapp] CGI::FormBuilder


> -----Original Message-----
> From: suppressed [mailto:suppressed 
> Sent: Friday, February 18, 2005 7:41 PM
> To: suppressed
> Subject: [cgiapp] CGI::FormBuilder
> 
> 
> I am taking the plunge and trying to use all of the good 
> stuff together in building future websites.  So far I have 
> CGI::Application, HTML::Template, and now CGI::FormBuilder.  
> I am wondering if the extra effort of learning and using 
> FormBuilder is really worth it.
> [...]
> I see there is some info in the FormBuilder docs about 
> changing modes with CGI::Application, but no specific 
> example.  Is it worth the effort and if so, does anyone have 
> a code sample or some further directions?

I highly recommend CGI::FormBuilder: it not only offers the form
rendering stage (also with a nice integration with both HTML::Template
and TT,) but also both client-side (through javascript) and server-side
form-data validation and automatic program-to-user feedback generation.

As for the CGI::Application integration, it works perfectly with it.
The most important thing to let CA work is to set the "keepextras"
option when you create your CFB object. If you don't set it, your app
won't work (unless you are using the path_info option in CA, wich in
turn generates other (minor) problems - see my previous message.)
Once set the keepextras option, you don't have to do anything special to
call your CA (run) modes: when creating your links (or form actions
through CFB,) just assign the "rm" CGI param (or whatever else you've
called it through mode_param) the desired run-mode, as usual.

Other than this, frankly I don't understand very well what you mean when
you say "changing modes" with CA.
Should you continue to experience your problems, if you could be more
specific I'll try to answer.

Hope this helps.

Happy coding,
Emanuele.


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.