Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

91
Vistas
Zkoss slider doesn't keep position

I have implemented a modal in Zkoss with several slides, one of the modalPage has a slider componente with a related longbox. The two components use the same value like this:

<u:longbox
          id="longbox-input"
          value="@bind(viewModel.amount)"
          onChange="@command('updateValue')"
          onOK="@command('updateValue')"
          />
<u:slider
         id="slider-input"
         mold="sphere"
         width="100%"
         minpos="@load(viewModel.amountMinValue)"
         maxpos="@load(viewModel.amountMaxValue)"
         curpos="@bind(viewModel.amount)"
         onScroll="@command('updateValue')"
         />

When I am on the modalPage everything works as expected, in this way if I input some value in the longbox the value will be displayed on the slider and the other way around. When I change modalPage, the value in the longbox is correctly displayed, the slider value is correct but the position of the slider cursor is wrong even if the value of the amount is correct. Did you have something similar?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda