This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSF and the fly likes Dynamically deciding either to show or hide modalPanel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Dynamically deciding either to show or hide modalPanel" Watch "Dynamically deciding either to show or hide modalPanel" New topic
Author

Dynamically deciding either to show or hide modalPanel

Muhammad Ijaz Ahmed
Greenhorn

Joined: Feb 01, 2010
Posts: 3
I have been trying to figure that out how to hide or show modalpanel dynamically, but unfortunately i couldn't make that work.

Scenario:

I want to move object from one place to another in a tree. You can say that i want to change parent node of some child node. On some cases i need some futher information prior to change parent. So we decide either to display extended information or not in backing bean action method. So i wanna do either things, 1 close that modalPanle, 2 hide tree component and show other components. Currently i have hard coded, i.e always show modalpanel after nodeselection in tree. have a look on the code as followed.

Bold Code: javascript writing to hide or show modalpanel





>

Can anybody please help me out?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamically deciding either to show or hide modalPanel
 
Similar Threads
rich:dataTable and rich:listshuttle rerendering issue
richfaces modal panel perfromance
Can't reRender richfaces datatable from modal panel
Ajax status doesn't stop in IE8
SessionAffinityManager setCookie SESN0066E: The response is already committed to the client.