> A thousand thanks. Works like a charm. > Though I don't fully understand how the values are > passed through the components/models.
It's three components, one parent (that holds the ultimate value) and two children (that both hold values used to calculate the parent value. > convertinput() { > int mins=minutes.getconvertedinput(); > int secs=seconds.getconvertedinput(); > setconvertedinput(mins*60+secs); > } updates the parent (setConvertedInput) with one value that comes from the minutes and seconds fields. Eelco --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org