How can I call javabeans methods inside javascript functions?
I need with no success the following code:
<script type="text/javascript">
function openFullContent(chosen){
#{bean.choseValue(chosen)};
}
</script>
<f:ajax>?