Exactly.thats true. but I am asking how to achieve such functionality without using scriplet in the middle?? is it possible with JSF or should i need to use simple java script or AJAX.
JSF has a 6 phases lifecycle, JSP only has one phase. Your scriptlet will be evaluated only during the JSP execution. Be aware that JSF tags do evaluate their body only when creating the view. After that, JSF tags are not used anymore, the root JSF tag just handle the 'render' of child component, independent of the JSP content. That's why mixing JSF and JSTL or scriptlets is a bad thing. -- View this message in context: http://www.nabble.com/how-can-i-know-which-link-has-been-clicked-by-user---tf3552147.html#a9918792 Sent from the MyFaces - Users mailing list archive at Nabble.com.

