我写的标记:
<a4j:commandLink reRender="reportTable" style="width:100%; height: 100%">
<a4j:actionparam name = "orderedProperty" value = "realPlayers" />
<a4j:actionparam name = "orderedProperty" value = "%toInvokeFoo()JavascriptFunctionHere%" />
</a4j:commandLink>
<script>
function foo(){
//Some JS code
}
</script>
有没有办法调用JS函数来传递它返回给参数的值?