FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
[WB23] COMBO generates wrong option values in HTML
[WB23] COMBO generates wrong option values in HTML
Iniciado por vvido, 13,jul. 2018 15:46 - No hay respuesta
Conéctese…
vvido
#1
Miembro registrado
94 mensajes
Publicado el 13,julio 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 !!!
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto