One solution would be to have something like the following in your HEAD section:
| <script>
| var status = #{status};
| </script>
|
and just use that var in your script.
Another possible (much more elaborate) method would be to use a4j:jsFunction
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097118#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...