28 Commits

Author SHA1 Message Date
Dave Shoreman
d18a0a6453 Add missing ApplicationException dependency
The relation backend formwidget throws an `ApplicationException` when a relation isn't defined, but the exception is missing its `use` statement. This PR adds it in. See error below:

![Screenshot showing error thrown](http://i.imgur.com/4Ka6fL2.png)
2015-04-01 19:13:42 +01:00
Samuel Georges
6bb1ee3b9a Update Relation Form widget to new approach, now supports nested field names 2015-03-23 20:02:59 +11:00
Samuel Georges
f8ae611ec9 Refactor form widgets to use new fillFromConfig() helper 2015-02-28 14:43:34 +11:00
Samuel Georges
85c47c4e01 public -> protected $defaultAlias 2015-02-28 12:43:53 +11:00
Samuel Georges
6a2f64757b *** REMOVED ALL DEPRECATED CODE ** 2015-02-14 14:11:25 +11:00
Samuel Georges
b1b700368f Radical reorg of some classes 2015-01-28 11:49:54 +11:00
Samuel Georges
46dd064aad Minor 2015-01-21 17:01:35 +11:00
Samuel Georges
5d2a177646 getModelArrayAttribute -> resolveModelAttribute 2015-01-05 11:18:43 +11:00
Samuel Georges
0be582c42d getSaveData -> getSaveValue 2015-01-05 09:43:39 +11:00
Chris Harvey
78fb9fb110 Correcting class name for missing relation exception 2014-12-10 11:34:05 +00:00
Sam Georges
c32ba4cbad Minor code clean 2014-11-04 17:41:48 +11:00
Sam Georges
d2547d1891 Proposed fix for hasOne not working in Relation field type 2014-11-04 12:34:45 +11:00
Stefan Talen
f29151100b Updating modules/backend/formwidgets 2014-10-10 23:50:05 +02:00
Sam Georges
bdb3d5ff45 Remove hard coded key name ref 2014-09-25 18:35:10 +10:00
Sam Georges
746f425d88 Added new containerAttributes property to form fields 2014-09-25 18:05:35 +10:00
Sam Georges
5f12d9fc9b Keep relation constraints in Relation form widget 2014-09-23 07:56:15 +10:00
Sam Georges
c8f3c640b8 columnName -> fieldName + general improvements to FormWidgetBase 2014-09-17 16:07:06 +10:00
Sam Georges
fdb90d3882 nameColumn -> nameFrom 2014-09-17 14:00:10 +10:00
Sam Georges
f4a9286c45 Improve form widget 2014-07-09 19:36:49 +10:00
Sam Georges
b09b6d6863 Improved naming onReload -> onRefresh
Improved Record finder
2014-07-03 18:37:51 +10:00
Sam Georges
ff379f5ebf Switch to new Nested Set model trait - October\Rain\Database\Traits\NestedTree 2014-06-13 12:35:12 +10:00
Sam Georges
05017dc559 listsNested applies orderByNested() automatically to prevent confusion 2014-06-12 14:21:13 +10:00
Sam Georges
8f007d100d Fixes logic error in #233 2014-05-31 10:49:14 +10:00
Peter O
c29a0bb4c8 Add morphTomany and morphedByMany support 2014-05-30 12:13:11 -05:00
Sam Georges
a78908dcc3 Fixes #225 2014-05-29 19:35:46 +10:00
Sam Georges
bfaa55df31 Convert empty string values to NULL, relations cannot be '' 2014-05-28 13:00:31 +10:00
Sam Georges
6aaf4cce43 Form Relation widget now supports a custom name field
Also detects NestedModel behavior listNested()
2014-05-28 12:37:38 +10:00
Sam Georges
71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00