How to show the progress indicator

Hi,
I need to show progress indicator while search operation. Can any one help me how can i do this.

Hi Shay,
Thanks for your reply...
i have implemented same thing into my application, but its not working properly. when i use Glasspanel into my application page is coming in small.
Page:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
xmlns:tr="http://myfaces.apache.org/trinidad"
xmlns:trh="http://myfaces.apache.org/trinidad/html"
xmlns:fns="/fnimphiu/sample">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view beforePhase="#{ESPSMenu.createMenus}">
<af:document title="ESPS-Accounts Page" binding="#{backingBeanScope.backing_app_AccountsPage.document1}"
id="ACCOUNTS">
<af:messages binding="#{backingBeanScope.backing_app_AccountsPage.messages1}"
id="messages1"/>
<af:form binding="#{backingBeanScope.backing_app_AccountsPage.form1}"
id="form1" >
<af:pageTemplate viewId="/templates/ESPSTemplate.jspx" value="#{bindings.pageTemplateBinding}" id="pt1">
<f:facet name="menu"/>
<fns:GlassPane binding="#{backingBeanScope.backing_app_AccountsPage.gp1}"
id="gp1" busytext="I am Busy" launchAction="#{backingBeanScope.backing_app_AccountsPage.glassAction}">
<f:facet name="image">
<af:image id="img1" source="/images/busy.gif" shortDesc="I am Busy"/>
</f:facet>
</fns:GlassPane>
<af:panelGroupLayout layout="vertical"
binding="#{backingBeanScope.backing_app_AccountsPage.panelGroupLayout8}"
id="panelGroupLayout8">
<af:panelHeader text="Accounts"
binding="#{backingBeanScope.backing_app_AccountsPage.panelHeader61}"
id="panelHeader61">
<af:query id="qryId131" headerText="Search" disclosed="true"
value="#{bindings.CmSubscriberNewViewCriteriaQuery.queryDescriptor}"
model="#{bindings.CmSubscriberNewViewCriteriaQuery.queryModel}"
queryListener="#{backingBeanScope.backing_app_AccountsPage.processQuery}"
queryOperationListener="#{bindings.CmSubscriberNewViewCriteriaQuery.processQueryOperation}"
binding="#{backingBeanScope.backing_app_AccountsPage.qryId131}"
resultComponentId="::table22"
rows="5" maxColumns="2"/>
</af:panelHeader>
</af:panelGroupLayout>
Bean:
public void glassAction(ClientEvent clientEvent) {
// Add event code here...
System.out.println("Inside glassAction");
GlassPaneHelper.closeGlassPane();
refreshCurrentPage();
protected void refreshCurrentPage() {
System.out.println("Inside refreshCurrentPage");
FacesContext context = FacesContext.getCurrentInstance();
System.out.println("Inside refreshCurrentPage context:"+context);
String currentView = context.getViewRoot().getViewId();
System.out.println("Inside refreshCurrentPage currentView:"+currentView);
ViewHandler vh = context.getApplication().getViewHandler();
System.out.println("Inside refreshCurrentPage vh:"+vh);
UIViewRoot x = vh.createView(context, currentView);
System.out.println("Inside refreshCurrentPage x:"+x);
context.setViewRoot(x);
public void processQuery(QueryEvent queryEvent) {
System.out.println("Inside processQuery");
GlassPaneHelper.openGlassPane();
invokeMethodExpression( "#{bindings.CmSubscriberNewViewCriteriaQuery.processQuery}"
, Object.class, QueryEvent.class, queryEvent);
Help me how can i resolve this.

Similar Messages

  • How long will the progress indicator spin before safe mode progress bar shows up?

    How long will the progress indicator spin before safe mode progress bar shows up?

    Not a good sign,  your HD is failing or has serious block problems. It might be possible to reformate the drive and start over.
    or something more agressive to do the repair, like Disk Warrior http://www.alsoft.com/diskwarrior/
    You need a backup plan in place here.
    more information here in a similiar thread:
    https://discussions.apple.com/message/17623074#17623074

  • How to show webgui progress indicator in Webgui while executing report

    ITS 6.2 patch 18
    I am calling r/3 report as a new window from template base html page. Mission is to show webgui progress indicator instead of hour glass. The report takes 3 minutes to the result. Shortly before showing result page,the webgui progress indicator appears at the center of the page. I tried abap function SAPGUI_PROGRESS_INDICATOR to r/3 report.However, it did not work.
    If anyone konws how to do it, let me know.
    I am using below function to call r/3 report.
    <script language="JavaScript">
      function new_win(){
    var w_address, wp  ;
    w_address    = "http://`HTTP_HOST`/scripts/wgate/webgui/!?transaction=ZZZZ&~OkCode=EXEC&PA0001-ORGEH=" + "`PA0001-ORGEH`" + "&PCHDY-DEPTH="  + "`PCHDY-DEPTH`" ; ;
    w_address    = w_address    +  "&client=`write(client)`&language=`write(language)`"  ;
        win_prop = "left=0, top=0, height=600, width=800, status=no, menubar=no, resizable=yes,  fullsize=yes, channelmode=no, scrollbars=yes";
    alert(w_address);
    wp = window.open(w_address,'',win_prop);
    wp.location.href = w_address;
    alert(w_address);
    if (window.focus) {
          wp.focus()
         return false;  
    </SCRIPT>

    Hi Klaus,
    I appreciate your quick response.
    Okay ! Let me give up webgui progress indicator.
    Another question is how to grab webguiform input field data.
    I got other issues.
    As you see source code, I pass parameter like PA0001-ORGEH=`PA0001-ORGEH` to the javascript function for a popup window .
    When I use this `SAP_InputField("PA0001-ORGEH")` clause at template script, I cannot grab data properly before hitting enter. I guess the reason is in webgui's dynamic webpage generation. Is it right ?
    When I use html code <input type="text">, there is no problem in passing parameter. When I use search help function with <input> code,  other field's data is changed into default value.
    If someone knows the way to grab input field data from DOM, let me know. I tried document.webguiform.element[0].value, it did not work.
    It seems there are tons of limits in webgui function.

  • How to show the progress bar on forms?

    Hello ALL,
    How should we show the progress bar in our forms screen so we can see how much work is remaining?
    For example if we are performing some task through forms, what code and on which trigger we placed this code in order to show the progress bar that inform us about the task in progress.
    Thanks
    malan

    Hi,
    Shouldn't the oracle forms' support the progress
    bar?
    I prefer to have a code which shows progress bar on
    forms.
    Can some one have this code ?
    ThanksPJC progress bars are shown on the form and forms support progress bar and coding itit's relatively easy.
    If I were you I would take Francois' advice and type in "progress bar" in the lil search box :)
    It's a wonder what a lil search can show you
    Tony

  • Methods in cl_gui_frontend_services will break the progress indicator

    Hi guys,
    I have a list of directories of client to check if it exists.
    I use cl_gui_frontend_services=>directory_exist method.
    And I want to show the progress indicator.
    But the method directory_exist will break the indicator, show the status bar's message is like, flashing. appear, disappear, appear, disappear ...
    You can use the codes below to see what happens and can take a comparsion when you comment the method directory_exist .
    any suggestions?
    thanks a lot.
    REPORT  z_test.
    type-POOLs abap.
    DATA: A LIKE SY-UCOMM,
        ldf_derectory  TYPE string,
        ldf_result     TYPE abap_bool.
    ldf_derectory = 'c:\'.
    DO 100 TIMES.
      DO 300 TIMES.
        GET TIME.
      ENDDO.
      A(3) = SY-INDEX.
      A+3 = '%'.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
      EXPORTING
        PERCENTAGE = SY-INDEX
        TEXT       = A.
      CALL METHOD cl_gui_frontend_services=>directory_exist
      EXPORTING
        directory = ldf_derectory
        RECEIVING
        result    = ldf_result.
    ENDDO.

    Hi,
    I'm not sure there is anything you can do about the flashing clock icon in this case.  This may just be a limitation of the GUI.
    Of course, you always have the option of using 0% as the percentage when calling SAPGUI_PROGRESS_INDICATOR.  This will eliminate the clock from the progress display, leaving just the percentage number plus the '%' sign.
    In other words, you can eliminate the annoying flickering by changing your function call to:
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          percentage = 0
          text       = a.
    Regards,
    Jamie

  • How to show the shutdown progression of Solaris 10

    Hi,
    I am just wondering how to show shutdown progress of Solaris 10, the default messages on the console are too little.
    Thanks
    Bin

    i have tried to change /etc/default/init
    first of all it is read only fie.
    then this command /user/dt/bin/dtconfig -kill
    is command is not working.............
    is thr any other process to change the language.
    i have mistaken to chage my language to spanise.
    i want to revert back to english or default.

  • The progress indicator in version 11.0.1.2 does not appear when a song or podcast starts. It may or may not appear during play.

    The progress indicator in version 11.0.1.2 does not appear when a song or podcast starts. It may or may not appear during play. How do I make it appear so I can start a podcast in the middle of the program?

    No errors in error console. No effect using *. I tried using the dns name of my localhost both in the Firefox URL and in the javascript and I get exactly the same. I have spent a huge amount of time looking into this issue.
    One thing I noticed is that if I use the examples on the internet (http://arunranga.com/examples/access-control/preflightInvocation.html or http://saltybeagle.com/cors/) they work in the same browser. These examples however, are accessed through HTTP proxies.
    I am wondering if the issue has to do with using the same hostname just with different ports.

  • How to know the progress of the Sync when I call PullAsync()

    Hi,
    I am developing a Windows 8.1 app, In that I am using offline data concept using Azure mobile services with JavaScript Backend.
    My questions is how can I show the status or progress of the Sync When I call PullAsync() method.... I want to show the number of records sync or how much percentage synced like that...
    private async void ButtonPull_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
    await todoTable.PullAsync();
    //How to know the progress of sync
    await RefreshTodoItems();

    Hi Narendra,
    I suggest you to check this information for more details.
    PullAsync() call can either pull all items from the remote table, or just pull a subset of the items. Only pulling some items from the table is often advisable, as stuffing everything from the (potentially large) remote database table into the (restricted by
    the device memory) local table may have some bad performance implications. You can pass an OData-formatted query to select which items to pull from the server, or you can also use the (more friendly) Linq expressions to determine the query of items to be pulled.
    var localTable = client.GetSyncTable<TodoItem>();
    var query = localTable.Where(t => !t.Complete);
    await localTable.PullAsync(query);
    var localItems =
    await localTable
        .Select(i => i.Text)
        .ToListAsync();
    AddToDebug("Items from the server (in the local table): {0}",
    string.Join(", ",
    localItems));
    One important thing to notice regarding pull operations – if there are items in the pending synchronization queue, those items are first pushed over to the server, then the pull operation takes place. That prevents a scenario where an update is done to a
    local item, but a pull operation would overwrite the changes locally and potentially leave the data in an inconsistent state. That’s one the first synchronization rule: a pull triggers a push. In the example below, the insert operation for the “Buy milk” item
    will first be pushed to the server, then the items will be pulled into the local table.
    await client.SyncContext.InitializeAsync(store);
    AddToDebug("Initialized the sync context");
    var localTable = client.GetSyncTable<TodoItem>();
    var item =
    newTodoItem { Text =
    "Buy milk", Complete =
    false };
    await localTable.InsertAsync(item);
    var query = localTable.Where(t => !t.Complete);
    await localTable.PullAsync(query);
    var localItems =
    await localTable
        .Select(i => i.Text)
        .ToListAsync();
    AddToDebug("Items from the server (in the local table): {0}",
    string.Join(", ",
    localItems));
    for us to better understand both Push() and pullasync() feature is used while querying from the Database.
    http://blogs.msdn.com/b/azuremobile/archive/2014/04/07/deep-dive-on-the-offline-support-in-the-managed-client-sdk.aspx
    Girish Prajwal

  • Customizing the Progress Indicator

    How can you modify the Progress Indicator? I don't mean modify the font, I mean change the actual tex. For instance, the standards are either relative (Question 1 of 5) or absolute (Question 3). How do I modify the program to set the indicator to "Senario 1 of 5", or whatever else may be appropriate for my course?

    Hello,
    You did not tell the version of Captivate you are using? If it is Captivate 5, Rod is correct: you cannot change the words of the indicator. If it is CP4 you can, export Captions and the progress indicator is there, you can change and re-import.
    If you are using CP5, you could use a dedicated master slide for question slides to add your own progress indicator. There is a system variable cpQuizInfoTotalQuestionsPerProject that gives you the total number of questions.  You'll need to do some work to have the current Question slide number. I would store the number of the last slide before the first question slide in a user variable (you can do this when entering that slide, using the system variable cpInfoCurrentSlide). As an example, I will label that user variable v_start. On entering each question slide you can execute an advanced action, with an Expression to calculate the current question slide number, and store that in another user variable v_current. For your use case, put this in a text caption on the question master slide:
    Scenario $$v_current$$ of $$cpQuizInfoTotalQuestionsPerProject$$
    I should perhaps blog this solution, it is pretty simple and saves time when you have a lot of question slides.
    Lilybiri

  • How to show the quantity in decimal in MIGO

    Dear expert,
    How to show the quantity in decimal in MIGO?? for example in material BOM the quantity is 12.480 but the quantity in MIGO is 13. it's automatically rounded.
    what should I do to show the decimal point in MIGO?
    Thanks
    Pauline

    Hi,
        Please check in su3 -
    defaults (Tab) -
    Decimal Notation.
        Change the decimal notation and logoff and login to apply the changes.
        I think it may help you.
    Regards
    Sreedhar Reddy

  • Attempted to mail an email with a large attachment file.  One of the addresses was bad.  When my Outlook is running, the Mac tries to send it and shows the progress.  However, when I look in my Outbox the files are not there.  It does show up in the Outb

    attempted to mail an email with a large attachment file.  One of the addresses was bad.  When my Outlook is running, the Mac tries to send it and shows the progress.  However, when I look in my Outbox the files are not there.  It does show up in the Outbox progress section but I can not delete it when it is there.
    Where do these files reside?
    Is there a hidden Outbox??
    MacBook Pro, Mac OS X (10.7.1)

    If you think getting your web pages to appear OK in all the major browsers is tricky then dealing with email clients is way worse. There are so many of them.
    If you want to bulk email yourself, there are apps for it and their templates will work in most cases...
    http://www.iwebformusicians.com/Website-Email-Marketing/EBlast.html
    This one will create the form, database and send out the emails...
    http://www.iwebformusicians.com/Website-Email-Marketing/MailShoot.html
    The alternative is to use a marketing service if your business can justify the cost. Their templates are tested in all the common email clients...
    http://www.iwebformusicians.com/Website-Email-Marketing/Email-Marketing-Service. html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • How to show the checked-out symbol in list of files in a folder

    Hi,
    When the folder is selected it is showing all the files in that folder. But, the user would not know which file had been checked out. In general it should show the lock symbol (As similar to Documentum, webtop) when a file had been checked out by some other user.
    How to show the lock/key column in list of files. Any other way to find a file had been checked out or not instead of going into the content information.
    Also, how do we add additional columns like author etc... to the list of files screen in UCM?
    Please help

    You should double check, but I don't believe that the check-out info is in the resultset. Because that information isn't available, the state of each row in the search results table cannot be defined. So, the first hurdle would be to add that info to the dataset.
    The second hurdle would be to alter the UI to leverage that info (e.g., the key icon when checked out).
    If you're looking to alter the folder views, then look to the COLLECTION_DISPLAY service & related template. Other views (e.g., search results) have different templates and backing services.
    -ryan

  • How to show the login user Id in the upper right corner of each page?

    Hi,
    I was wondering how to show the login user Id in the upper right corner of each page?
    thanks so much!
    cchu

    Cchu,
    The easy question first: applying a style to the welcome message. If you look at the page source, you'll see that #WELCOME_USER# is expanded to <div class="app-user">Welcome: DEMO</div> So to change the style of the message, you need to tweak the style of the app-user div in your CSS, or override it in a style block in your HTML header.
    Now, the tougher question: why the text is wrapping for you. And, really, without seeing your entire page, I can't give a full answer. But I'd suggest that what's most likely happening is that the table column you're putting it in is too narrow, so it's wrapping; try replacing the td tag with <td nowrap="nowrap"> This will force the column to be wide enough to display the full message, but might result in weird formatting elsewhere on the page (depending on what all is in your table).
    -David

  • How can show the result of a measuring that is done in a sub-program in my main panel?

    How can show the result of a measuring that is done in a sub-program in my main panel?

    In your subvi, wire the result(s) you want to ouput to the main program to an output terminal on the connector pane.
    For a tutorial on subvi's, search the help for "connector panes" anc click on tutorial.
    ~Tim

  • How to show the message text for constraint violations

    Hi all,
    In a batch procedure a primary key is violated (ORA-00001). For the primary key, a message is recorded in the TAPI and the message table.
    How to show the enduser a proper message text instead of the ORA-00001.
    We are using Designer 6 with Headstart 2.1.2.
    Thanks in advance,
    Joep

    Joep,
    If you try to insert the record by calling the ins procedure of the Table API, you will see that it will result in an ORA-20998 message, which means that the error message details reside in the CG$ERRORS plsql message table. These messages can be extracted e.g. with the messages.sql script, shipped with headstart.
    If you do not want to rewrite your direct DML (insert into [table name] ...) in the complexer calls to the TAPI services, you might want to user VAPI's for it. In fact, this is one of the major advantages of using VAPI's.
    The CDM guidelines volume, chapter 6 states that:
    <I>The front end no longer needs to trap declarative constraint
    errors (Primary Key, Unique Key, Not Null and Check
    Constraint violations) and replace them with a user-friendly
    error. The View API issues DML statements through the TAPI
    and the TAPI traps all declarative constraint errors, and puts
    user-friendly message on the stack, in the preferred language of
    the user! Fore more information, see the section, Completeness
    of Rule Violations Reported in Front End, in this chapter.</I>
    So the only thing you need to do is generate VAPI's, and trap the ORA-20998 message (qms$errors.qms$exception) in an exception handler, where you retrieve the user friendly messages from the message stack!!
    Regards, Marc

Maybe you are looking for

  • LOCATING  Long Text Field

    Dear Sir, In Tcode MM03 , under the Tab "Purchase Order Text"  there is a field available for writting the long text . If we press F1 in this field for getting the Technical Help (like Field Name / Table Name) nothing is appearing . I request SAP exp

  • Choose From List Cancel Button Throws Exception

    Hi all, When I click the "Cancel" Button on my CFL, I get an error.... EXCEPTION: Matrix__EBS_FRM_CRDCLM__64.OnAfterChooseFromList raised No matching records found (ODBC -2028) Any ideas???

  • How to use Parameter in inline view

    I want to deploye following sql in discoveror. Problem is that how to use the P_TO_DATE in disco. select papf.employee_number, papf.effective_start_date, papf.effective_end_date, paaf.effective_start_date, paaf.effective_end_date, (select peev.screen

  • Designjet 5000 plotter, print problems

    I am having trouble printing. When I send from my computer the printer shows that it is receiving. I am using MS 2000 pro operating system, My plotter is hp-5000 designjet. I am trying to send and print from my computer. When I send the plotter shows

  • How to create abab proxies

    hi,    how to create abab proxies.could u please tell detail... Thanks & Regards R.sasi