Hello,
I have a input text box, when I click on it, I am displaying a popupPanel.
However, this popupPanel is getting displayed at the centre of page.
I want it to be displayed right above or below my input text box (just like rich:calendar or rich:colorPicker).
I know I can make use of attributes left and top, but the poisition may vary depending on screen resolution etc.
I thought of getting the value of position from javascript, but I don't know how to set a value from javascript into tag attribute (left or top) .
Thanks in advance
Praneeth
Well, it is in RF4 showcase website...
In the h:outputtext, we need to use rich:hashparam with a4j:param names top and left with a value using the jQuery
http://richfaces-showcase.appspot.com/richfaces/component-sample.jsf?demo=popup&skin=wine