This content has been marked as final.
Show 3 replies
-
1. Re: Replacement for DropEvent#getDragValue
lafr Jun 8, 2012 11:00 AM (in response to sandro.braendli)It's not gone. At least in 4.2.1 and 4.2.2 it's there.
About the releases before I cannot say for sure.
-
2. Re: Replacement for DropEvent#getDragValue
sandro.braendli Jun 8, 2012 11:10 AM (in response to lafr)Thank you for your answer.
Sorry, I mistyped, I meant the method getDragType, I corrected this.
-
3. Re: Replacement for DropEvent#getDragType
sandro.braendli Jun 19, 2012 12:00 PM (in response to sandro.braendli)Isn't there a clean solution for this problem? One workaround I have found is to assign an id to the dragSource and check for the id in the code, but this is a hack.
{code:xml}<rich:dragSource id="selectedField" type="selectedField" dragValue="#{elem.position}" dragIndicator="indicator" />{code}
{code}e.getDragSource().getId(){code}