• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

menupopup ActionEvent problem

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How did you solve it?

Please share. I'm stuck too
 
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic