agavi/documentation — Issue #8: Tutorial small inconsistency
Author: agavi
Created: 2012-02-09 03:24:01+00:00
State: open
Labels: error

**URI:** http://www.agavi.org/documentation/tutorial/step3/custom-validators.html

I'm using 1.0.0, tutorial is based on this version if I'm not wrong. In the part of building the model, there's a mention to autoload.xml with some changes to adapt it through.

> ```xml
> %core.module_dir%/Posts/lib/validator/PostValidator.class.php
> ```
>
> The complete file should look like this:
>
> ```xml
>
>
>
>
> %core.module_dir%/Posts/lib/action/BlogPostsBaseAction.class.php
> %core.module_dir%/Posts/lib/model/BlogPostsBaseModel.class.php
> %core.module_dir%/Posts/lib/view/BlogPostsBaseView.class.php
> %core.module_dir%/Posts/lib/validator/PostValidator.class.php
>
>
>
> ```

autoload.xml will most likely look like this, at least from what agavi 1.0.0 generated with project-wizard:

```xml

%core.lib_dir%/action/BlogBaseAction.class.php
%core.lib_dir%/model/BlogBaseModel.class.php
%core.lib_dir%/view/BlogBaseView.class.php
%core.module_dir%/Posts/lib/validator/PostValidator.class.php

```

Kind regards,

*(Originally posted to Trac as ticket #1082 on 2009-04-01T07:34:01+00:00 by @Rendez)*