1

event.dragged throws "Property dragged not found"

asked 2013-11-29 06:02:30 +0800

JustinFrost gravatar image JustinFrost
139 1 6

updated 2013-11-29 06:04:03 +0800

Recently I discovered some code that had previously been working now throws:

Property 'dragged' not found on type java.lang.String

The line of code in question is the following in my zul file:

<listbox droppable="true" ondrop="@command('processDropOnSelected', event.dragged)" <="" p="">

event does not seem to be resolving to the Event object relating to onDrop. Has anything changed in this area, is this code incorrect ??

Thanks for your help.

delete flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2014-01-19 13:28:25 +0800

sitansu gravatar image sitansu
2254 13
http://java91.blogspot.in...

Try it:

<listbox droppable="true" ondrop="@command('processDropOnSelected', item=event.dragged.attributes.item)" <="" p="">
link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2013-11-29 06:02:30 +0800

Seen: 13 times

Last updated: Jan 19 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More