createElement() by the docs says it should set the default decorators:
http://framework.zend.com/issues/browse/ZF-8942
--
View this message in context:
http://n4.nabble.com/How-to-set-the-default-decorators-for-form-elements-tp1290314p1310902.html
Sent from the Zend Framework mailing list archiv
I need to follow the ZF project more closely! Looking forward to it, thanks.
--
View this message in context:
http://n4.nabble.com/Overriding-Zend-Form-isValid-tp1018622p1018749.html
Sent from the Zend Framework mailing list archive at Nabble.com.
Thanks for your input!
We actually talked about doing that (custom validators) soon after we
realized that the isValid() methods were seemingly build *for* validators.
Trying to not repeat ourselves by creating custom validators left-and-right,
I came up with a neat callback one...
_callback = $
How do you effectively override the Zend_Form::isValid() method?
Our usage, we have a EditProfileForm that requires a unique email address.
Since there are no real built-in validators to handle this, we decided to
simply override the Zend_Form::isValid() and manually set the email field as
an err
drm-4 wrote:
>
> bparise wrote:
>> Ideally, these could all be under 1 "service" class... this way the
>> "models"
>> don't have anything defined in them other than the ORM stuff.
>>
>> ForumService::changeTopic(Post $post, Topic $ne
monk.e.boy wrote:
>
>
>
> bparise wrote:
>>
>>
>> For some reason I don't really like imposing this dependency on the Post
>> side. Maybe I should decouple it and create a Topic::savePost(Post) that
>> takes care of this?
>>
>>
I was wondering what's the best way to implement a "counter" sort of behavior
(doesn't need to actually be a doctrine behavior, just the concept)..
I have 2 models... Topics and Posts
In topics there is a column Topics.post_count that I want to keep
(obviously) the number of posts the topic has.
I feel like such a noob...
Thanks!
Vladas Diržys wrote:
>
> Maybe you have short_open_tag disabled?
>
> --
> Regards,
> Vladas Diržys
>
>
> On Wed, Jan 6, 2010 at 21:01, bparise wrote:
>
>>
>> I have controller testing with PHPUnit setup, but the
I have controller testing with PHPUnit setup, but the response is just
rendering the PHP code(not actually rendering the views).
request->setMethod('POST')->setPost(array('username' =>
'test', 'password' => 'test'));
$this->dispatch('/site/login');
// Always results in an error
FYI, it took me only about 20 minutes after I emailed it to get a response
from a Zend staff member confirming it's acceptance.
- Brandon
Sebastian Hopfe wrote:
>
> Hi everyone,
>
>
>
> I send my CLA over one week ago.
>
> I doesn't hear anything! How long this process need normaly?!
>
>
10 matches
Mail list logo