Would you please suggest a fast and cheap way of making the <enter> key to act as space or click in a select1? (I mean with the effect of selecting th current focused item of the select1)
I've used same approach as this sample
http://www.nabble.com/ObjectWeb-OPS---Users-f2537.html (container div listening for a key event that is then dispatched to xforms model) but i'm not able to reach with my model action the index of the select1 itemset (current focused element order) for setting the value of the select1 according to that index.
<xforms:action ev:event="enter-key">
<xforms:setvalue ref="xxforms:instance('inst_respuestas')/respuesta[@id=xxforms:instance('inst_cuestionario')/pregunta[index('bucleDePreguntas')]/@id]" value="xxforms:instance('inst_cuestionario')/pregunta[index('bucleDePreguntas')]/respuesta[index('bucleDeRespuestas')]/@valor"/>
</xforms:action>
throws a 'bucleDeRespuestas' not in scope....bucleDeRespuestas is the id of the select1.
thx a lot.
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws