logo       

Re: [FormBuilder] catalyst plugin action param: msg#00022

Subject: Re: [FormBuilder] catalyst plugin action param
Here are revised patch and module if that is okay, with 
simplified instructions -- fell into place nicely.

I was wrong about the template param in the source file, it 
seems to work fine, and then you can have a separate template 
just for the form, which works like normal FB-prepared 
templates.  I was just confused by the template file path. I 
added documentation.

Mark

On Tue, 17 Oct 2006, Mark Hedges wrote:

> From: Mark Hedges <hedges@xxxxxxxx>
> To: fbusers@xxxxxxxxxxxxxxx
> Date: Tue, 17 Oct 2006 10:57:59 -0700 (PDT)
> Subject: catalyst plugin action param
> 
> 
> Some of the work I did with multiple forms would be easier if 
> the 'action' parameter in the source file worked.  Would that be 
> okay to implement, if the param is filled out?
> 
> That way, the global search form always posts to /searchform, 
> regardless of where the viewer filled it in, and generic forms 
> don't get detected in end().  Catalyst wouldn't care, and the 
> real URL would show for the result.  
> 
> The source file for /books/edit would not have an action, so 
> that would continue to use the current behavior by default.
> 
> Hrmm, BTW if I want to use a separate TT2 template for the 
> generic form, I do have to assign that by hand in the end(), 
> because the object sent for Builtin render to the Catalyst 
> template is the real CGI::FormBuilder object, not the prepared 
> fb template object.  Okay to implement (fix?) the template 
> attribute from the source file?
> 
> Mark
> 

Attachment: Catalyst_Plugin_FormBuilder_multipleforms.diff
Description: Catalyst_Plugin_FormBuilder_multipleforms.diff

_______________________________________________
FBusers mailing list
FBusers@xxxxxxxxxxxxxxx
http://www.formbuilder.org/mailman/listinfo/fbusers
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe