I craete my ORM Model like the example and let create my Form by the Class Fieldset but it didn´t work like the example says to do it. When i try it this in my Controller i get this:
find() is not going to disappear. find() without parameters or find(null) is no longer supported, for that you need to use query().
I personally pass the fieldset object itself, and run the build() in the view, but this should work fine too.
add_model() reads the model's $_properties array to generate the form fields. My earlier question was: did you define these? If not, the fieldset doesn't have any data to generate input fields.
no but it works why i it didn´t work is because i used query method. When is use find method it works well, but is it possible to use query for fieldset?
With regards to find(), as I wrote before, find($id) is fine, and will not be removed.
The problem with find() is that $id might be NULL, in which case find() did something completely different than you would expect (which is to return no answers), it would return a query object instead with all kinds of exceptions as a result. So passing nothing or NULL is no longer allowed. All other uses of find() will not change.