7 Replies Latest reply on Jun 6, 2007 1:02 PM by trs

    display wait icon

    terron

      Hello,

      since this is a common task,
      displaying a "hour glass" or any other GIF moving, to signalize: request working... after firing Ajax,

      there should be a common way of do it for Ajax4JSF / RichFaces

      is there one?

      can you please give me a description or similar?

      many thanks!

        • 1. Re: display wait icon
          fernando_jmt

          Sure, take a look to Ajax4JSF status tag in the documentation. (a4j:status).


          Sample:

          <a4j:status layout="block" startStyleClass="startAjax">
           <f:facet name="start">
           <h:outputText value="request working..."/>
           </f:facet>
           </a4j:status>
          


          • 2. Re: display wait icon
            terron

            Thank you Fernando!

            that's what I was looking for :)

            If I could give you points or similar I would, but is nothing like that in this forum, is it?

            • 3. Re: display wait icon
              fernando_jmt

               

              "terron" wrote:

              If I could give you points or similar I would, but is nothing like that in this forum, is it?


              AFAIK there is no something like that. But I think it's not necessary. Everyone that knows (maybe something learned also in this forum) can share their knowledge with the community.

              • 4. Re: display wait icon
                grimholtz

                FYI, http://www.ajaxload.info/ has a wizard for creating cool ajax wait icons.

                • 5. Re: display wait icon
                  trs

                  Is there any way i could make the background transparent and display a dialog box in the middle of the page saying "Processing Request....". I thought this could avoid the user from multiple clicks while the request is in process. Iam trying to achieve something like richfaces:modal panel in ajax4jsf.
                  Any idea on how to achieve this...?


                  Thanks
                  Henry

                  • 6. Re: display wait icon
                    ilya_shaikovsky

                    you may orgamize such behaviour useing a4j status as there may be placed anything.

                    • 7. Re: display wait icon
                      trs

                      But how do i achieve the transparent background while the request is in processs..? Do we have any specific component for that ?