Steve Piercy - Web Site Builder Proposed Changes to Knop Form
Aug 10, 2013; 19:37
Steve Piercy - Web Site Builder
Proposed Changes to Knop Form
Knop form does a pretty good job of rendering widgets, except for the few times it does not. For example, to gain compliance with Twitter Bootstrap themes, I must iterate through the form fields and do many replacements on each field's rendering including errors.
The -template parameter and ->settemplate method add some flexibility, but not enough for my liking, especially for radios and checkboxes.
Here's a proposal. Add a new parameter to the ->addfield method, -widget='{template}'. When ->renderform is called, then the {template} Lasso code will be executed using the other parameters for ->addfield and defaults for the field type as currently defined in Knop.
Basically it follows a model I am using in deform, where each widget uses a template using Chameleon, a template language.
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Steve Piercy Web Site Builder Soquel, CA <web@StevePiercy.com> <http://www.StevePiercy.com/>
-- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://lasso.2283332.n4.nabble.com/Knop-Framework-Discussion-f3157831.html The Knop project and code is hosted at GitHub. https://github.com/knop-project/knop
Aug 11
list Re: Proposed Changes to Knop Form
Aug 11, 2013; 07:30
list
Re: Proposed Changes to Knop Form
Aug 11
list Re: Proposed Changes to Knop Form
Aug 11, 2013; 08:11
list
Re: Proposed Changes to Knop Form
Aug 11
Steve Piercy - Web Site Builder Re: Proposed Changes to Knop Form
Aug 11, 2013; 03:29
Steve Piercy - Web Site Builder
Re: Proposed Changes to Knop Form
Aug 11
list Re: Proposed Changes to Knop Form
Aug 11, 2013; 12:49
list
Re: Proposed Changes to Knop Form
Aug 11
Steve Piercy - Web Site Builder Re: Proposed Changes to Knop Form
Aug 11, 2013; 04:02
Steve Piercy - Web Site Builder
Re: Proposed Changes to Knop Form
Aug 11
Steve Piercy - Web Site Builder Re: Proposed Changes to Knop Form
Aug 11, 2013; 04:26
Steve Piercy - Web Site Builder
Re: Proposed Changes to Knop Form
Aug 12
list Re: Proposed Changes to Knop Form
Aug 12, 2013; 06:36
list
Re: Proposed Changes to Knop Form
Aug 12
Steve Piercy - Web Site Builder Re: Proposed Changes to Knop Form
Aug 12, 2013; 00:24
Steve Piercy - Web Site Builder
Re: Proposed Changes to Knop Form
Aug 15
Johan Solve Re: Proposed Changes to Knop Form
Aug 15, 2013; 23:57
Johan Solve
Re: Proposed Changes to Knop Form
Aug 15
Steve Piercy - Web Site Builder Re: Proposed Changes to Knop Form
Aug 15, 2013; 21:59
Steve Piercy - Web Site Builder
Re: Proposed Changes to Knop Form
Aug 16
Johan Solve Re: Proposed Changes to Knop Form
Aug 16, 2013; 14:17
Johan Solve
Re: Proposed Changes to Knop Form
Oct 20
Steve Piercy - Web Site Builder Re: Proposed Changes to Knop Form
Oct 20, 2013; 04:21
Steve Piercy - Web Site Builder
Re: Proposed Changes to Knop Form
Oct 20
Steve Piercy - Web Site Builder Re: Proposed Changes to Knop Form
Oct 20, 2013; 04:34
Steve Piercy - Web Site Builder
Re: Proposed Changes to Knop Form
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!