This content has been marked as final.
Show 6 replies
-
1. Re: trouble using dndParam inside a dataTable (drag indicato
ilya_shaikovsky Sep 10, 2007 7:52 AM (in response to sressi)......... <rich:dragIndicator id="indicator"> <f:facet name="Single"> <h:panelGroup> {marker} <h:outputText value="{label}"></h:outputText> </h:panelGroup> </f:facet> </rich:dragIndicator> <h:inputText value="#{bean.property}" required="true"> <a4j:support event="onkeyup"></a4j:support> </h:inputText> <a4j:outputPanel ajaxRendered="true"> <h:messages tooltip="Hello"></h:messages> </a4j:outputPanel> <h:dataTable value="#{capitalsBean.capitals}" var="cap" rows="10" id="table" onRowMouseOver="this.style.backgroundColor='#000000'" onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"> <h:column> <f:facet name="header"> <h:outputText value="flag"></h:outputText> </f:facet> <a4j:outputPanel> <rich:dragSupport dragType="state" dragValue="#{cap.state}" dragIndicator=":form:indicator"> <rich:dndParam name="marker"> <h:graphicImage value="#{cap.stateFlag}"></h:graphicImage> </rich:dndParam> <rich:dndParam name="label" value="TEST"></rich:dndParam> </rich:dragSupport> <h:graphicImage value="#{cap.stateFlag}"> </h:graphicImage> </a4j:outputPanel> </h:column> ........
Works fine for me. RF 3.1.0 RC5 -
2. Re: trouble using dndParam inside a dataTable (drag indicato
sressi Sep 11, 2007 8:16 PM (in response to sressi)I updated to RF 3.1.0 RC6 but I still got the same problem. The indicator isn't working properly, I only see the dashed border but no information inside.
-
3. Re: trouble using dndParam inside a dataTable (drag indicato
sergeysmirnov Sep 11, 2007 8:28 PM (in response to sressi)did you follow the advise provided by Ilya?
The problem is in your code. -
4. Re: trouble using dndParam inside a dataTable (drag indicato
sressi Sep 12, 2007 8:29 AM (in response to sressi)Sergey, I read the advise provided by Ilya but if the problem is in my code I just can't figure out where. I thought the problem was RF version, so I updated to 3.1.0RC6. Thanx.
-
5. Re: trouble using dndParam inside a dataTable (drag indicato
sressi Sep 16, 2007 6:04 PM (in response to sressi)Any help?. I'm still stuck on trying to figure out how indicator works with datatables. :-(
-
6. Re: trouble using dndParam inside a dataTable (drag indicato
ilya_shaikovsky Sep 17, 2007 12:15 PM (in response to sressi)Could you please share the whole project with me. After I'll post the result here.
Thanks.