FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
[WB23] COMBO generates wrong option values in HTML
[WB23] COMBO generates wrong option values in HTML
Débuté par vvido, 13 juil. 2018 15:46 - Aucune réponse
Connectez-vous…
vvido
#1
Membre enregistré
94 messages
Posté le 13 juillet 2018 - 15:46
BUG description (same behavior in Webdev 21, same example)
Example: original WebDev Complete example WW_Schedule
Procedure to reproduce: start Webdev Tutorial WW_Schedule
After the site opens, you can see the appointments schedule.
Double clicking on an appointment opens the cell with appointment data.
But it displays the incorrect task name (except for one task, but this is just -lucky coincidence-).
When this cell is opened, it is supplied with the correct task_type code (not show in the screen), but the
list generated by webdev has wrong option values.
If you check the generated HTML, you can see that the order of items is correct (alphabetical),
but the assigned option values are wrong (sequence) instead of values retrieved from the data file.
To illustrate the problem, the data:
The generated HTML is
<option value="1">Consulting in Montpellier</option>
<option value="2">Holidays</option>
<option value="3">Move</option>
<option value="4">On-site consulting</option>
<option value="5">On-site training</option>
<option value="6">Seminars in Paris</option>
<option value="7">Training in Montpellier</option>
<option value="8">Unavailability</option>
But the OPTION values should be the data from the database, not simple enumeration
Correct value is show beside the task name
1 Consulting in Montpellier</option>
3 Holidays</option>
4 Move</option>
2 On-site consulting</option>
6 On-site training</option>
8 Seminars in Paris</option>
5 Training in Montpellier</option>
7 Unavailability</option>
I have checked the same example supplied with WEBDEV 21 --- SAME PROBLEM !!!
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte