3 Replies Latest reply on Jun 24, 2008 4:48 AM by Fredrik Something

    How do I enable and disable a modalPanel from javacode?

    Fredrik Something Newbie

      Beeing new to richfaces this is what I want to acomplish

      I want to use a modalPanel to display a "please wait" dialouge to the user while I perform a heavy db question. I have a form on a page with a dropdown field. Thisa is connected to a datafield that displays data from a database. It takes a while to get the value from database and I want to display a "please wait" dialouge during this time.

      I Like how the modalPanel lookes and wnat to use it but how do I enable/disable it from javacode?

      What's the simplest way to go? Should I create it dynamicaly or can I connect it from the page to a backingbean?

      Any ideas?