hi, remember how to get a id of a component in
jsf: subview:form:component
in javascript code of your browser you can see the component id
example:
<f:subview id="prueba">
<h:form id="formulario">
<h:inputtext id="text" value=#{myBean.value}/>
</f:subview>
</h:form>
I do something like this:
javascript:
var idObject=document.getElementById('prueba:formulario:text');
$(idObject).attr('value','myvalue');
good luck.
sorry my bad english.