> First off, is their a good reason for 'labelTag' in the form helper?

It has a lot to do with the fact that the primary purpose of the label
tag is in the design of forms.

> All of the inputs for the form are in the HTML helper, as well as all
> of the form validation stuffs.

Yeah, we're working on it.  Unfortunately that code has been that way
since the beginning, and aribitrarily chopping it all off and moving it
somewhere else within a minor version would leave a lot of people very
unhappy; they all seem to be stuck on this whole "stable API" thing.
Crazy, I know.

> I noticed in one of the latest changesets that nate has sorted the
> IDREF inconsistency between label and field, which is only a good thing
> thing. Thumbs up.

Bright side: that is but the first step in the process.

> However, I think Form::labelTag needs deprecating and Html::labelTag
> needs adding

Well, yes and no.  Yes, labelTag has already been deprecated (check the
1.2 branch in SVN), and no, it's staying in FormHelper, where it will
soon have some more logical company.

> "There should be no surprises in the code."

Depends on who's asking ;-)

> Secondly, none of the deprecated functions pro-actively tell you they
> are deprecated. Since no errors are allowed though in a production
> setup (i.e. DEBUG==0), what do you think about them throwing notices
> about being deprecated?

Hey, believe me, I'm all for it.  Originally I just had them all throw
fatal errors, but that got peoples' attention in a bad way.

> Finally (in a move towards usability compliance out of the box), I
> think that Html::textarea should provide defaults for cols / rows if
> they are not set in the attributes.
> I know this seems like a stupid one, but I use CSS to set the width &
> height of my textareas whoch means that I don't usually specifiy
> cols/rows. However, in order to comply with WAI AA cols AND rows MUST
> be specified.

Interesting, I didn't know that, thanks for pointing it out.  I'll look
into it.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to