I've had some thoughts on improving the FormFor/End methods.
How much value is there in, say, extending them like the Display/
Editor/Label extensions? Would it even be useful in the real world?
My first use case (and maybe last? :) ) would be to add an anti
forgery token when the target chain has a AntiForgeryNode. This could
also help with adding hooks for validation to the form itself (say,
adding a class to every form on the site).
My main thoughts have been something like AfterFormCreate and
BeforeFormEnd or something like that.
> I've had some thoughts on improving the FormFor/End methods.
> How much value is there in, say, extending them like the Display/ > Editor/Label extensions? Would it even be useful in the real world?
> My first use case (and maybe last? :) ) would be to add an anti > forgery token when the target chain has a AntiForgeryNode. This could > also help with adding hooks for validation to the form itself (say, > adding a class to every form on the site).
> My main thoughts have been something like AfterFormCreate and > BeforeFormEnd or something like that.
> Any thoughts on this?
> -- > You received this message because you are subscribed to the Google Groups "FubuMVC Development Group" group. > To post to this group, send email to fubumvc-devel@googlegroups.com. > To unsubscribe from this group, send email to fubumvc-devel+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/fubumvc-devel?hl=en.
Unless somebody wants it and someone else will jump at doing it;-) Jeremy D. Miller The Shade Tree Developer jeremydmil...@yahoo.com
________________________________ From: Dru Sellers <d...@drusellers.com> To: "fubumvc-devel@googlegroups.com" <fubumvc-devel@googlegroups.com> Sent: Mon, October 17, 2011 12:28:07 PM Subject: Re: [fubumvc] Adding more value to the FormFor/FormEnd methods
Conventions Everywhere!
-d
On Oct 17, 2011, at 11:12 AM, linkgoron <linkgo...@gmail.com> wrote:
> I've had some thoughts on improving the FormFor/End methods.
> How much value is there in, say, extending them like the Display/ > Editor/Label extensions? Would it even be useful in the real world?
> My first use case (and maybe last? :) ) would be to add an anti > forgery token when the target chain has a AntiForgeryNode. This could > also help with adding hooks for validation to the form itself (say, > adding a class to every form on the site).
> My main thoughts have been something like AfterFormCreate and > BeforeFormEnd or something like that.
> Any thoughts on this?
> -- > You received this message because you are subscribed to the Google Groups >"FubuMVC Development Group" group. > To post to this group, send email to fubumvc-devel@googlegroups.com. > To unsubscribe from this group, send email to >fubumvc-devel+unsubscribe@googlegroups.com. > For more options, visit this group at >http://groups.google.com/group/fubumvc-devel?hl=en.
-- You received this message because you are subscribed to the Google Groups "FubuMVC Development Group" group. To post to this group, send email to fubumvc-devel@googlegroups.com. To unsubscribe from this group, send email to fubumvc-devel+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/fubumvc-devel?hl=en.
On Mon, Oct 17, 2011 at 12:28 PM, Dru Sellers <d...@drusellers.com> wrote: > Conventions Everywhere!
> -d
> On Oct 17, 2011, at 11:12 AM, linkgoron <linkgo...@gmail.com> wrote:
> > I've had some thoughts on improving the FormFor/End methods.
> > How much value is there in, say, extending them like the Display/ > > Editor/Label extensions? Would it even be useful in the real world?
> > My first use case (and maybe last? :) ) would be to add an anti > > forgery token when the target chain has a AntiForgeryNode. This could > > also help with adding hooks for validation to the form itself (say, > > adding a class to every form on the site).
> > My main thoughts have been something like AfterFormCreate and > > BeforeFormEnd or something like that.
> > Any thoughts on this?
> > -- > > You received this message because you are subscribed to the Google Groups > "FubuMVC Development Group" group. > > To post to this group, send email to fubumvc-devel@googlegroups.com. > > To unsubscribe from this group, send email to > fubumvc-devel+unsubscribe@googlegroups.com. > > For more options, visit this group at > http://groups.google.com/group/fubumvc-devel?hl=en.
> -- > You received this message because you are subscribed to the Google Groups > "FubuMVC Development Group" group. > To post to this group, send email to fubumvc-devel@googlegroups.com. > To unsubscribe from this group, send email to > fubumvc-devel+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/fubumvc-devel?hl=en.