This content has been marked as final.
Show 3 replies
-
1. Re: Detect mouse position
ilya_shaikovsky Aug 3, 2010 7:31 AM (in response to panayk)Such questions could be checked at any JavaScript knowledgebases
http://hartshorne.ca/2006/01/23/javascript_cursor_position/
http://javascript.about.com/library/blmousepos.htm
http://www.hscripts.com/scripts/JavaScript/cursor-position.php
-
2. Re: Detect mouse position
panayk Aug 3, 2010 12:56 PM (in response to ilya_shaikovsky)Thank you! But what I want to know is how can I access the mouse coordinates from within the server-side bean. For example:
...
<a4j:support event="onclick" action="#{someBean.someAction}" reRender="someId"/>
...
How can I access the mouse coordinates in someAction?
Regards,
Panayiotis
-
3. Re: Detect mouse position
ilya_shaikovsky Aug 4, 2010 4:32 AM (in response to panayk)http://livedemo.exadel.com/richfaces-demo/richfaces/actionparam.jsf
the last sample shows how to use action param without escapement to pass client side parameters to server side.