GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
[WB23] COMBO generates wrong option values in HTML
[WB23] COMBO generates wrong option values in HTML
Iniciado por vvido, jul., 13 2018 3:46 PM - Sem resposta
Conecte-se…
vvido
#1
Membro registado
94 mensagems
Publicado em julho, 13 2018 - 3:46 PM
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 !!!
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto