• 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

Closing a Tomahawk popup manually?

 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As a stop gap to try and create a combo-box (until RichFaces releases 3.2.0, which should include one by default), I'm trying to simulate one via an input box and a Tomahawk popup which contains an <h:selectOneListBox> element.

Is there any way to manually trigger a <t:popup> to close?
 
Karl Beowulph
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Alright, I'm closing it by putting the following into a JavaScript as part of the "onclick" event of my nested element within the popup:



It works like I want it to, but obviously it's not going to replicate very well.

Is there a way I can control the id that Tomahawk assigns the popup? I.e., if left to its own devices, it gives me something like:



The actual name of the variable I have seemingly no control over.
[ January 28, 2008: Message edited by: Karl Beowulph ]
 
Where all the women are strong, all the men are good looking and all the tiny ads are above average:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic