jsf - How to access javascript value in a4j -
I need to set the bean value with a javascript return value.
Something like this:
& lt; Script type = "text / javascript" & gt; Function getUserId () {return 4; } & Lt; / Script & gt; & Lt; H: Input TextName = "Lala" value = "getUserId ()" />
thanks
I resolved it.
I was using one: jsFunction tag as follows:
& Lt; / A: jsFunction & gt;
If you use the property noEscape = "true" then: actionparam ... this calls your javascript code.
Comments
Post a Comment