Ticket #618 (closed enhancement: fixed)

Opened 2 months ago

Last modified 2 months ago

improve jControllerDaoCrud possibilities

Reported by: bastnic Assigned to: bastnic
Priority: normal Milestone: Jelix 1.1 beta 1
Component: jelix:controllers Version: trunk
Severity: normal Keywords:
Cc: Php version:
Review: review+ Hosting Provider:
Documentation needed: 1 Blocking:

Description

I want to take all benefits of the jFormBase::prepareDaoFromControls method in jControllerDaoCrud.

I use these patchs in all my projects and now in sharecode and jComments. For sharecode, no pb to include a personalized jControllerDaoCrud but for jComments it's stupid.

So a purpose these two new methods.

Attachments

jcontrollerdaocrud.diff (2.4 kB) - added by bastnic on 06/11/08 01:14:46.
jcontrollerdaocrud.2.diff (2.4 kB) - added by bastnic on 06/11/08 01:16:38.

Change History

06/11/08 01:14:46 changed by bastnic

  • attachment jcontrollerdaocrud.diff added.

06/11/08 01:16:38 changed by bastnic

  • attachment jcontrollerdaocrud.2.diff added.

06/11/08 01:17:39 changed by bastnic

  • status changed from new to assigned.
  • review set to review?.

second version with correct spaces.

please : i really need that :p.

06/13/08 10:50:04 changed by laurentj

  • type changed from bug to enhancement.

06/14/08 12:01:12 changed by bibo

just a quick glance at the patch, i think you're calling _beforeCreate and your method is _beforeSaveCreate. idem for _beforeUpdate.

06/15/08 15:19:37 changed by laurentj

  • review changed from review? to review+.

it seems ok for me

06/15/08 15:39:33 changed by bastnic

  • status changed from assigned to closed.
  • resolution set to fixed.

corrected (thanks bibo) and commited.

Download in other formats: Comma-delimited Text Tab-delimited Text RSS Feed