-
1. Re: Is this a bug? rich:tooltip with a4j:actionparam in Rich
ibuchh Jan 28, 2008 6:24 AM (in response to ibuchh)Hi,
I am sorry the previous post was truncated somehow, the original post is below:
We have seen the example of a4j:actionparam being used with rich:tooltip in file withTable.xhtml under tooTip directory.
<rich:toolTip direction="top-right" mode="ajax" delay="30" styleClass="tooltip" immediate="true" layout="block">
<a4j:actionparam name="key" value="#{row}" assignTo="#{toolTipData.currentVehicleIndex}" />
But this is not working even in the demo-examples download. It does not set the value of currentVehicleIndex attribute in bean toolTipData as if we use:
<h:outputText value="make:" /><h:outputText value="#{toolTipData.currentVehicleIndex}, it still prints -1 on the page not the one that mouse points to.
Could the devlopers check it out as we need this feature. However a4j:actionparam works ok with a4j:commandLink.
--Irshad A. Buchh
Senior Principal Consultant -
2. Re: Is this a bug? rich:tooltip with a4j:actionparam in Rich
ilya_shaikovsky Jan 28, 2008 7:51 AM (in response to ibuchh)rich tooltip - just output not action component. It could load its data via ajax but it isn't action source.. So it wasn't planned that it will decode action params.. It's a mistake on demosite.
-
3. Re: Is this a bug? rich:tooltip with a4j:actionparam in Rich
ibuchh Jan 29, 2008 5:29 AM (in response to ibuchh)Thanks for the clarification, I wish the demo example gets corrected as it is misleading.
-
4. Re: Is this a bug? rich:tooltip with a4j:actionparam in Rich
ilya_shaikovsky Jan 29, 2008 5:39 AM (in response to ibuchh)Sorry.. forgot to mention.. This concrete feature planned to be added. ;)