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

Last modified 12 years ago

#434 closed enhancement (fixed)

Improve jForms to alllow to use our own builder

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

Description

jForms use a class, jFormHtmlBuilderBase, to build the html tags of a form. Generated HTML is not always usable in all case. For example somebody wants to use ajax, or add some specificities to input etc.. So it could be cool if we can to provide our own builder easily.

Perhaps builders could be provided as a plugin...

Change History (3)

comment:1 Changed 12 years ago by laurentj

  • Resolution set to fixed
  • Status changed from new to closed

Improvement done in the trunk. Now we can provide a plugin which contains two files :

  • A) a compiler
  • B) a builder.

The compiler A is called by the jForms compiler. Its purpose is to compile content of a builder class which inherits from the builder B.

comment:2 Changed 12 years ago by laurentj

  • Documentation needed set
Note: See TracTickets for help on using tickets.