Ticket #1337 (assigned enhancement)

Opened 2 years ago

Last modified 22 months ago

jForms: dynamic fill should word with a class datasource

Reported by: Julien Owned by: Julien
Priority: normal Milestone:
Component: jelix:forms Version: trunk
Severity: normal Keywords:
Cc: Php version:
Hosting Provider: Blocked By:
Documentation needed: no Blocking:

Change History

Changed 2 years ago by laurentj

  • review review? deleted

I would like some tests. When is @@setDependentControls()@@ called ? Why is it needed ?

Changed 2 years ago by Julien

  • owner set to Julien
  • status changed from new to assigned

I must say I made this quite quickly, but I made this to match how it worlds with dao datasource.

So the new interface has a setDependentControls() method declaration that is used in jForms compiler to hold the criteriafrom value (it's line 41 of my patch, note there is also a parsing of the groupby attribute, not directly linked to this patch, but usefull too).

tests will come too

Changed 22 months ago by laurentj

  • milestone Jelix 1.3 deleted
Note: See TracTickets for help on using tickets.