developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 8 years ago

Closed 7 years ago

#1487 closed enhancement (fixed)

Pass the dao and dbProfile to the list TPL in the Crud List

Reported by: dantahoua Owned by: dantahoua
Priority: normal Milestone: Jelix 1.4.3
Component: jelix:controllers Version: 1.4.1
Severity: minor Keywords: Crud
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version: 5.4

Description

Pass the dao and dbProfile to the list TPL in the Crud List, so you can use some Ajax in the List. The name of the tpl's variable for the dao is "dao" and the name for the dbProfile is "dbProfile". Added in the index method in jControllerDaoCrud.class.php

Attachments (1)

crudpatch.diff (1.5 KB) - added by dantahoua 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by dantahoua

comment:1 Changed 8 years ago by dantahoua

  • Owner set to dantahoua
  • Status changed from new to reviewing

comment:2 Changed 8 years ago by laurentj

  • Milestone changed from Jelix 1.4.2 to Jelix 1.4.3

comment:3 Changed 7 years ago by laurentj

  • Resolution set to fixed
  • Status changed from reviewing to closed
Note: See TracTickets for help on using tickets.