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 12 years ago

Closed 12 years ago

#700 closed bug (fixed)

jformsbase::getModifiedControl is not very useful

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

Description

It returns the list of modified controls, only since the last display of the form. So in the case where the form is displayed several times (because there are errors for example), we don't still have a way to know the list of modified values since the initialization of the form.

Change History (3)

comment:1 Changed 12 years ago by laurentj

  • Milestone changed from Jelix 1.1 beta 2 to jelix 1.1

Milestone Jelix 1.1 beta 2 deleted

comment:2 Changed 12 years ago by laurentj

done. Strategy to store modified controls has changed. setModifiedFlag doesn't exist anymore. A new method is added : resetModifiedControlsList. You should call it when you want to track modified controls. And then call getModifiedControls to get the list of modified controls.

svn 1156

comment:3 Changed 12 years ago by laurentj

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