i've been fumbling.... and got this...
s+="onchange='mango.view.setPoint("+ point.id +", ""+ pointComponent.id +"", this.selectedIndex)'>'>"
whilst it works, unless the object selection is changed, the present value is not sync'd the real value..
i saw the for loop in jokke example... but i ended up with 4 entries instead of 2...
i tried to create a var called 'newval' and make that equal value (from the point value) and then modify the onchange to set a var, i.e. newval=this.selectedIndex
an then at the end of the script update the mango.view.setpoint bit...
couldn't get it to work though..
also, if possible... might be nice to modify the whole thing so that a button [OK] 'onclick' causes the mango.view.setpoint bit to be updated, allowing the user to explore the choices for committing