Commit graph

75 commits

Author SHA1 Message Date
gwoo
6f8489b52e making it possible to use FormHelper without a model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4238 3807eeeb-6ff5-0310-8944-8be069107fe0
2007-01-01 19:39:07 +00:00
nate
07985626fb Fixing issue in FormHelper::input() where the 'type' attribute appears twice
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4235 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-31 08:28:55 +00:00
nate
48a8114579 Adding submit button wrapper div for FormHelper::submit()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4184 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-24 19:25:04 +00:00
phpnut
4f1c5ef386 Wrapping all core messages in translation function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4129 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 22:49:47 +00:00
nate
4c586b7893 Fixing default label rendering in FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4121 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 16:26:54 +00:00
dho
b5a4e298fb Fixing "undefined variable" problem in FormHelper::input
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4120 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 07:38:31 +00:00
nate
02ec1887ce Un-requiring model name parameter in FormHelper::create(), and moving date/time option data to FormHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4119 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-22 05:23:07 +00:00
nate
6ae8f7e37c Refactoring FormHelper::create(), and stripping empty array elements in Router::url()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4115 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 06:10:35 +00:00
nate
0de17ece93 Updating auto-generated form tag ID
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4114 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 05:49:19 +00:00
nate
3c023b4335 Adding automatic list variable detection for select menus, and 'default' => false option for preventing form submits via JavaScript
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4113 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-21 04:46:52 +00:00
nate
fd9a347fe1 Updating FormHelper docblock
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4112 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-20 21:43:11 +00:00
nate
6e3f0c8f1c Updating helper docblocks
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4110 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-19 19:31:14 +00:00
gwoo
f5e2dea563 adding automatic hidden field for FormHelper::input(), removed create() from bake controller edit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4097 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-12 22:43:01 +00:00
nate
51e7c5e08c Enabling FormHelper::input to introspect default field types based on column type in model
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4083 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-08 08:45:35 +00:00
gwoo
b72ab690d4 fix for FormHelper::select() showEmpty
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4067 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-04 18:00:36 +00:00
nate
f66b3372b4 Fixing <form /> method case to validate as XHTML, and fixing order in which empty select() elements are added
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4045 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-12-01 19:04:16 +00:00
gwoo
4abc9e94f8 reverting change for empty options in FormHelper::select()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4035 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-30 18:07:08 +00:00
gwoo
e712f87fc0 fixing displayFields in formHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4031 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 21:37:54 +00:00
gwoo
8657757bde fix form helper, bake, refactor Controller::_selectedArray to just take the association name and checks Controller::data, also made Controller::_selectedArray work for submitted form data and returned model data
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4029 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 10:21:22 +00:00
gwoo
79e93c180e fix form helper notice with empty options
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4028 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 08:14:55 +00:00
gwoo
e2614e5140 updating bake and form helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4027 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-29 07:58:35 +00:00
gwoo
083a3bf990 fix for FormHelper:create()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3997 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 19:56:06 +00:00
nate
bce8e016d2 Adding to last commit
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3987 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 04:46:25 +00:00
gwoo
dfcc29f6bf refactoring scaffold, scaffodl views, generateFieldNames, FormHelper, ClassRegistry, missingView
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3983 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-27 01:04:19 +00:00
nate
890c0125c8 Adding model-based form creation to FormHelper, deprecating old methods, and fixing issue where using $uses in AppController overwrites existing models
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3982 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-26 20:43:54 +00:00
phpnut
c41db64070 Adding fix for Ticket #1527
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3937 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-23 10:17:05 +00:00
phpnut
056bda7e4b Moving all tags from Helper to child classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3892 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:51:21 +00:00
phpnut
22588729d4 Moving helper tags to specific helper classes
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3891 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-11-22 03:32:58 +00:00
nate
802ec2d913 HTML-escaping select option titles (Ticket #1577)
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3761 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-28 16:02:58 +00:00
nate
de52eb88c9 Updating helper class hierarchy, and adding 1.2 fix for Ticket #1569
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3750 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-27 21:40:34 +00:00
dho
4a9f72cefa Applied patch for ticket #1501, modified doc block of select function
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3599 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-10-05 08:50:04 +00:00
nate
04a095d45a Adding field type interpreting to FormHelper::input()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3595 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-29 01:32:09 +00:00
gwoo
5025a6dfcb selectOptions is good now
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3580 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 02:57:29 +00:00
gwoo
89b34f30ca fixing wrong file name for missing component in 1.2, and fixing some bad code I introduced into the form helper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3579 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-28 02:38:58 +00:00
gwoo
67aba9ea45 updating FormHelper::select and __selectOptions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3578 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-26 19:53:22 +00:00
nate
28b18839c3 Minor fixes and updates to HtmlHelper and FormHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3461 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-09-10 17:30:29 +00:00
nate
e812204ebc Moving model and field information into view
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3443 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-30 16:23:24 +00:00
nate
4f53c301a8 Fixing URLs in HtmlHelper::meta(), and moving textarea() to FormHelper
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3427 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-22 19:35:08 +00:00
nate
8622b6f9ce Removing debug code
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3395 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-10 17:06:39 +00:00
nate
02ed400c61 Fixing issue in FormHelper::select() with $options array numeric keys being reset
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3394 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-10 17:05:59 +00:00
nate
cd381d62cf Adding fix for empty option group names in FormHelper::selectOptions
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3378 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-07 00:48:25 +00:00
phpnut
0e527f46bf Reomved doc block comment from FormHelper class.
Corrected change made to the $expires variable


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3358 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-04 08:07:50 +00:00
phpnut
d0d1ce73cd Added FormHelper::create() to use in place of deprecated
HtmlHelper::formTag().
Fixed SecurityComponent so the _Token can be wrote to sessions



git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3357 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-08-04 08:03:39 +00:00
nate
a75f33f430 Adding optgroup support for 2D arrays in FormHelper::select(); adding grouping ability to Model::generateList()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3326 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-30 23:31:04 +00:00
nate
4d5a8cda92 Adding FormHelper::select() and FormHelper::selectOptions(). Deprecates HtmlHelper::selectTag().
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3323 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-30 12:19:48 +00:00
phpnut
fc431393fb Removed depreciated calls to FormHelper::labelTag();
Added fixes from 1.1.x.x to HtmlHelper::dateTimeOptionTag();


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3320 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 18:12:45 +00:00
phpnut
06f8fbb7c9 Adding FormHelper::generateTime()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3319 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 18:01:50 +00:00
phpnut
943454d280 Adding time to FormHelper::generateFields()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3318 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 17:55:22 +00:00
phpnut
4594e09cde Adding changes for new Theme view
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3313 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-29 05:59:42 +00:00
phpnut
5549ddfd75 Replacing labelTag with new label().
Merged changes to bake.php


git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3305 3807eeeb-6ff5-0310-8944-8be069107fe0
2006-07-27 16:52:36 +00:00