Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

menupopup ActionEvent problem

 
sam sami
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Icefaces , using that i have designed tree. i want output like when i right click on tree node i'll get the menupopup and when i click on menu i have to get the value on which i press mouse right click at backing bean side, for that i have written a code but when i click on menu the event not get fired.

i want to fire event so i can add, remove node at run time. my current code is as follows -





please help me to find solution.
 
sam sami
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
finally i solved that problem (not fully). Now i am facing new problem.

first time when i click on menu of menupopup i am getting null value of target (value on which i have right-clicked), but then after for every request i am getting the expected result (getting target value)

can anyone tell me what i am missing.
 
Mattias Andersson
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you solve it?

Please share. I'm stuck too
 
Guy deLyonesse
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sam sami wrote:finally i solved that problem (not fully). Now i am facing new problem.

first time when i click on menu of menupopup i am getting null value of target (value on which i have right-clicked), but then after for every request i am getting the expected result (getting target value)

can anyone tell me what i am missing.


It's hard to know what to look for without knowing what your code looks like now that you've solved the original problem.
 
moose poop looks like football shaped elk poop. About the size of this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!