developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
#288 closed new feature (fixed)
jform: pouvoir filter le contenu d'un menu déroulant a partir d'un champs saisi avant
Reported by: | njeudy | Owned by: | laurentj |
---|---|---|---|
Priority: | normal | Milestone: | Jelix 1.2RC1 |
Component: | jelix:forms | Version: | 1.0 beta3 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description
jform: pouvoir filter le contenu d'un menu déroulant a partir d'un champs saisi avant
Genre:
une liste de ville qui se met à jour quant on choisi la region :)
Change History (6)
comment:1 Changed 13 years ago by laurentj
- Component changed from jelix to jelix:forms
comment:2 Changed 11 years ago by laurentj
- Documentation needed unset
- Milestone set to Jelix 1.2
- Owner set to laurentj
comment:3 Changed 11 years ago by julien
Question : Filtrage dynamique ou statique ? => dynamique à partir d'une requète AJAX => statique la liste complète est chargé dès le départ dans la page ?
comment:4 Changed 11 years ago by laurentj
- Documentation needed set
- Resolution set to fixed
- Status changed from new to closed
Done. http://bitbucket.org/jelix/jelix-trunk/changeset/a8473144058e
Of course, only <menulist> and <listbox> controls can be changed dynamically. And they should have a dao datasource.
The change is made by an ajax request triggered on the change of one of dependents controls. And the initial list is already filtered, as before this improvement.
comment:5 Changed 11 years ago by laurentj
note: no change for the developer. He should use the criteriafrom attribute on the datasource element as usual.
comment:6 Changed 10 years ago by foxmask
- Documentation needed unset
I take it