Refreshing OutputText component on main page when region event occurs

Greetings,
I am attempting to force a refresh on an output text component whose value is retrieved from a session scope bean property. The bean property is being updated by a methodAction call within one of the sub-task flow regions. I have tried accomplishing this by attempting to force a ppr event via
AdfFacesContext context = AdfFacesContext.getCurrentInstance();
context.addPartialTarget(component);using an object bound to component on the page after the update is made. I started to look into contextual events but all of the examples refer to explicit regions defined in the pagedef. This is not the case using UI Shell.
Any suggestions on how to refresh this 'parent-level' component?
Thanks!
michael
Edited by: michael faith on Mar 3, 2010 11:25 AM

Hi,
I am facing similar problem.
I am able to refresh a region based on another region but not a component in parent page based on a region.
I am using contextual event framework.
Can we point a region as a partial trigger for a component on the main page?
Did u get the solution to your problem?
Any help would be highly appreciated.
Thanks.

Similar Messages

  • How to call the custom  code in Seeded OA pages when an event Occured.

    Hi,
    I need to call a Oracle Create Task API when User saves the data from Seeded OA Page(Sales OA Page).When User Pressed on the Save button,based on Value he selected in " Sales Methodology" Field ,I need to call Call API.
    How can I achieve it.Is it suggestable to call Custom Code in OA Page.
    Thanks
    Raju.

    hi
    extend the controller
    1.) In PFR method of controller capture the event of save button.
    2.) If the save button event ocurred capture the value of Sales Methodology.
    3.) if select Sales Methodology is required value then call the API using the below method (change it accordingly)
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import java.sql.Types;
    OADBTransaction txn = getDBTransaction();
    CallableStatement cs =
    txn.createCallableStatement("begin dbms_application_info.set_module(:1, :2);
    end;");
    try
    cs.setString(1, module);
    cs.setString(2, action);
    cs.execute();
    cs.close();
    catch (SQLException sqle)
    try { cs.close } catch (Exception(e) {}
    throw OAException.wrapperException(sqle);
    thanx
    Pratap

  • To display the same page when an error occurs.

    Hi,
      I need to display the same page when an error occurs in the page. For example, I am validating a few fields in a page. If an error occurs, then same page is to be displayed.
      I am presently using MVC type programming.
    Thanks in advance.
    Regards,
    Vara

    I usually use the Message class, for handling all possible validations. In the DO_HANDLE_DATA, do the validation, and if your validation fails, put your message in the message attribute available for that method. As you have not given a pointer to a new page, it will refresh that same page.
    If your validation is successful, go to next page.
    In the layout of this page(where you require validation), there is an attribute called page and it has get_message method. Call that method at the appropriate place in the layout.
    For more information , refer to :
    http://help.sap.com/saphelp_470/helpdata/en/91/b197ce280011d5991f00508b6b8b11/frameset.htm
    Web Applications and BSP --> Programming Environment -->
    Handling Incorrect Entries
    Let us know, if this answered your query.
    Regards,
    Subramanian V.

  • How do I get the picture to open on the main page when I am using Bing?

    How do I enable the daily photograhs to auotomaticly be visable when I open the seach engin BING? The BING main page is currently gray in color and I am unaware how to activate the screen-shot photo. The photos were visable only a few days ago.

    did this search for you
    https://www.google.dk/search?client=opera&q=control+open+ports+on+cisco+router&s ourceid=opera&ie=utf-8&oe=utf-8&channel=suggest#client=opera&hs=N7P&channel=sugg est&sclient=psy-ab&q=+open+ports+on+cisco+router&oq=+open+ports+on+cisco+router& gs_l=serp.3..0i7l3.16726.16726.0.16996.1.1.0.0.0.0.49.49.1.1.0...0.0...1c.1.9.ps y-ab.olPaFzjSlmE&pbx=1&bav=on.2,or.r_cp.r_qf.&bvm=bv.45175338,d.bGE&fp=43d9a4347 e8aaeda&biw=1535&bih=773
    this may be of intrest
    http://www.tek-tips.com/viewthread.cfm?qid=1163449

  • Shows wifi connection in settings  but  not  on  main  page when i switch, shows wifi connection in settings  but  not  on  main  page when i switch

    why does  my  touch  show  wifi connection in settings  but not  when  i  switch  to  main  page ?

    In Setting>wifi, is the a check mark by the network you think you are connected to?
    What do you mean by the main page? The upper left of the iPod's screen?

  • Can't scroll main page when widget takes up screen (link to file)

    I'm having trouble figuring out how to make a widget scollable. Not the content of the widget, but if i had multiple widgets one after another, i can't scroll the main page. Link below to file test. You'll note that you can scroll up and down, until you get to the widget part, and if you try scrolling up and down (within the widget area) nothing happens.
    I've seen other simple pages that folks have done that allow for the widget to be scrollable. any help would be appreciated. seams like it's something super simple that i'm just not seeing.
    file.
    http://amadworld.com/Test_File_04.muse.zip
    PS, you'll need to view on ios simulater.

    That can be caused by Firefox releasing memory and doing garbage collection.<br />
    If you start scrolling or moving the mouse on the page then Firefox needs to rebuild the DOM and that can take some time on complicated pages (e.g. tables or many nested elements).

  • Move an image when mouseDragged event occurs

    I have a JFrame with an image in it.Now when the user press and hold the mouse button(that is when the mouseDragged event occurs)on the image anywhere I want to make the image as movable.
    how should I do that , i am not getting any ideas.This is important , please let me know how to do that.
    Sample code will be very helpful.
    Thank you

    Are you displaying the image in Applet....
    You can use something like this...
    void panel_mouseDragged(MouseEvent e) {
    Container c = this.getParent();
    if (c instanceof JViewport) {
    JViewport jv = (JViewport) c;
    Point p = jv.getViewPosition();
    int newX = p.x - (e.getX()- m_XDifference);
    int newY = p.y - (e.getY()- m_YDifference);
    int maxX = this.getWidth() - jv.getWidth();
    int maxY = this.getHeight() - jv.getHeight();
    if (newX < 0)
    newX = 0;
    if (newX > maxX)
    newX = maxX;
    if (newY < 0)
    newY = 0;
    if (newY > maxY)
    newY = maxY;
    jv.setViewPosition(new Point(newX, newY));
    void panel_mousePressed(MouseEvent e) {
    setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
    m_XDifference = e.getX();
    m_YDifference = e.getY();
    void panel_mouseReleased(MouseEvent e) {
    setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR));
    }

  • How to avoid click/operation on page when an event is already in queue

    Hi,
    I have an app, in which we have a many fields which have patial submit.
    How can we avoid/stop user form taking any action of page untilll the previous request is responded back.
    -Nagesh

    In property inspector go to behavior section and set Blocking = true
    An Blocking attribute which if set to TRUE the component will start blocking user input when the action is initiated. The blocking will stop when a response is received from the server.

  • Keyflex value disappears from page when lov event is fired

    Hi All,
    There is a keyflex field and one lov field in my page. When i select the value from kff and after that selecting any value from lov item my kff value disappears from page.
    Plz help asap.............

    Hitesh,
    Mukul, i can put my own Add another row button and do cusom code,but what about other events?
    Yes, see dev guide and old threads. It has been explained in dev guide claerly and have also replied this in old threads.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Custom error Page when Run time Occurs in SharePoint

    Hi Guys In my SharePoint application in case if any Run time error occurs in my code, It should not come Server error \ ..instead it needs to redirect to Custom error Page But its not working Can you plz help out? I made changes in web.Config file but its
    not working..Can you guys plz help me out how to redirect to custom error Page if any run time error occurs in Sharepoint??
       <customErrors mode="RemoteOnly" defaultRedirect="~/GeneralError.htm" redirectMode="ResponseRedirect"></customErrors>
     [[ Web.config file in Virtual Directory C:/inetpub/wwwroot/vd/port/web.config
    Is there any changes in addition to this web.config file??
    Reddy

    Hi Reddy,
    Here you go. pls follow the tutorials
    http://www.fixthisbug.com/post/creating-a-custom-error-page-for-sharepoint-2010-web-application
    http://blog.incworx.com/blog/sharepoint-tips-and-tricks/implementing-sharepoint-2010-custom-error-pages-v3
    http://www.spdeveloper.co.in/articles/pages/custom-error-pages-for-sharepoint2010-sites.aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • How to Stop the timer in the TimedTrigger UI element when an event occurs

    Hi all
    I have a webdynpro View where i have many UI elements(which supports an event)  along with TimedTrigger UI element.
    Now my requirement , i want to check at single line if any event happens in the View then i want to stop the timer in the TimedTrigger UI element.
    can you please provide any peace of code related to this??
    Thanks
    Bindu

    Hi Bindu,
    From help.sap.com:
    http://help.sap.com/saphelp_nw70/helpdata/EN/03/7c6b40dde0980ae10000000a155106/frameset.htm
    To prevent events being triggered by UI element TimedTrigger, proceed as follows:
    1. Disable the action that is bound to the UI elementu2019s onAction property.
    Can be done as:
    wdThis.wdGet<Your_TimedTrigger_action>Action().setEnabled(false);
    2. Set the value of the delay to 0 seconds
    As suggested in previous post to this thread.
    3. Disable UI element TimedTrigger
    Create a boolean type of context attribute and bind it to the "enabled" property of the Timed Trigger. Set its value to false to disable the timed trigger.
    Regards,
    Alka.

  • TS1702 After upgrading my iphone 4s to ios 6 it giving too much problem one battery and other is that when ever i open emails or safari or facebook it automatically comes to main page

    please contact me i am receiving too much problem in iPhone 4S after upgrading it to ios 6
    it automatically comes to main page when ever i used to open surfing ,safari,gmail,viber and etc...
    <Personal Information Edited by Host>

    NEVER post your personal info on a public forum such as this.  This is a user-to-user tech support site.
    If your phone was NEVER jailbroken or hacked to unlock, try these steps as needed:
    1. Reset phone (no data loss):  Press both home and power buttons for at least 10 seconds, releasing when the Apple logo appears.
    2. Restore phone in iTunes using a backup (no data loss)
    3. Restore phone in iTunes as new, without using a backup.

  • Report Row With Detail (IFRAME) - How to reload Main Page within iFrame

    Hi,
    Based on Carl's example - Report Row With Detail (IFRAME), i.e:
    http://htmldb.oracle.com/pls/otn/f?p=11933:17
    Within my scenario, I have a button within the iframe section of my report that calls a pl/sql process that performs some database processing.
    What I basically need is a means of performing a page refresh of the main page, when this button within the iframe is pressed. In Carl's example, that would be page 17.
    As mentioned, I call a PL/SQL process within the iframe, but unsure how to then refresh the main page - parent page.
    Any help would be appreciated.
    Thanks.
    Tony.

    Tony,
    you could insert the following script to the region footer of a region located on your "iframe"-page.
    <script>
    parent.location.reload();
    </script>
    But this is dangerous because everytime the parent is being reloaded, the iframe is loaded, too. Risk of loop...
    A possible solution is to conditionally display a html region (with the script) on your iframe-page basing on a request. You could post the request as a result after your plsql processing in a branch.
    Regards,
    Jens

  • After downlaoding Firefox, I do NOT have the firefox at the top of the page and the other headings, all I have is address line and I can not pull up bookmarks etal. How to I re-establish the main page?

    I have deleted Firefox from my computer and then downloaded it fresh but it makes no difference. i am not getting the Firefox main page when I open the browser. Makes no sense to me. This is a brand new HP computer about 1 week old

    Do you get the menu bar if you press the Alt key or press the F10 key?
    You can try:
    * http://kb.mozillazine.org/Corrupt_localstore.rdf

  • Always on top of main page.

    Hi Experts,
    I have a smartform and I need to include a text on every start of main page.
    What can I use in order to always put the include text on the start of the next main page when the main data is overflows the first main page.
    I need to have the equivalent command of /:TOP - /:ENDTOP of SAP Script to Smartforms
    Thanks in advance

    You use the text type Include Text of the text node to refer to a SAPscript text that already exists in the system. To identify the text, you need the Text Name, the Text Object, the Text ID, and the Language. This allows you to easily use a text in several forms. In addition, you do not need to load the whole form description to maintain these texts.
    This text type corresponds to the SAPscript statement INCLUDE. However, SAP Smart Forms does not allow any control statements in include texts. They are simply ignored when the form is processed.
    To manage application-specific form texts, applications define their own text objects with subordinate text IDs in transaction SE75. Use text object TEXT with text ID ST to enter general standard texts. To maintain them, use the standard text editor (transaction SO10).
    If there is no need for you to use old SAPscript texts, use text modules instead. They can be used across clients and are connected to the transport and translation systems.
    When using an include text, you can use the SFSY-SUBRC system field to check at runtime whether the text could be found in the system.
    Procedure
    Create a text node in the navigation tree of the Form Builder.
    Enter a unique name for the node and a node description (for example, letter).
    On the General Attributes tab, choose Include Text as text type.
    Since you use a text node exclusively to edit a text element, an included text, or a text module, the system only stores information on the selected type. When you change the text type, the system therefore asks for your confirmation.
    In the Text Key box, identify the include text.
    To identify individual text objects, use the search help in this field.
    The search help for the Text Name field allows you to include the attributes of SAPscript texts in the search.
    Use the Language field to specify the language of the text you want to include.
    If necessary, format the include text in the Paragraph Formats box:
    The style that is assigned to the text node contains the format for the standard paragraphs (' * '). If you specify a paragraph format in the Standard paragraph field, you override this format for all standard paragraphs in the include text with this paragraph format.
    In the First Paragraph field, you can set a paragraph format for the first paragraph of the include text and thereby override the setting in the style. If the Standard paragraph field is empty, all standard paragraphs in the include text are also formatted with this paragraph format.
    In the Begin list box, choose whether you want the text to start with a new paragraph or just in a new line. You can also choose to append the text directly to the end of the current paragraph.
    Select the No Error if Text Does Not Exist checkbox if you want the form to be printed even if the include text you refer to does not exist in the system. Otherwise, processing is terminated and an error message appears.
    If required, use the output options tab to maintain attributes for the style, box, and shading of the text.
    Result
    The system displays the node, including its name and description, in the tree structure. The corresponding text is only included when the form is processed.
    You use the text type Text M odule of the text node to refer to an existing text module in the system. This allows you to easily use texts from one text module in several forms. In addition, it is not necessary to load the entire form description to maintain these texts.
    You can use text modules in two ways:
    Refer to the text module. The text then appears read-only in the PC editor and is included when you print the form.
    Copy the text module. The system then copies the text of the module and automatically converts the text node into an editable text element.
    Text modules can be used across clients and are connected to the transport and translation systems.
    If you refer to a text module, you can use the SFSY-SUBRC system field to check at runtime, whether the text module was found in the system.
    Prerequisites
    The text module you want to include must exist in the system. To create a text module use the SAP Smart Forms initial screen.
    Procedure
    Create a text node in the navigation tree of the Form Builder.
    Enter a unique name for the node and a description (for example, business terms).
    On the General Attributes tab select the text type Text M odule.
    Since you use the text node exclusively to edit a text element, an included text, or a text module, the system only stores information on the selected type. When you change the text type, the system therefore asks for your confirmation.
    Enter the name of the text module in the Text N ame field. Or click on the black arrow and enter the name of a field to be evaluated dynamically. In addition, you can use the Language field to include the module in a particular language.
    If you want to change the text of the text module for the current form, choose Copy. The Form Builder changes the text type to Text E lement and copies the text of the module into the PC Editor, where you can edit it. In this case, the original text module remains unchanged.
    Use the checkbox Always C opy S tyle F rom T ext to determine that the style of the text module is of higher priority than that of the text node or any style inherited from a superior node. This is important if you specified the name of a field in step 4 (see F1 help).
    Mark No Error, if Text does not Exist if you want the form to be printed even if the text module you refer to does not exist in the system. Otherwise, processing is terminated and an error message appears.
    If required, use the Output options tab to maintain attributes for style, box and shading of the text.
    Result
    The system displays the node including name and description in the tree structure. It includes the relevant text itself in the moment the form is processed. If you refer to a text module, it appears in the PC Editor in read-only mode; if you copy it you can edit it.

Maybe you are looking for

  • Update from multiple tables

    Hi friends, need help with the following I need to convert the following SQL Server query to Oracle Pl/sql UPDATE perf SET perf.value5 = tmp.storeCount FROM dplapro1..ix_spc_performance perf INNER JOIN dplapro1..ix_spc_planogram plano ON plano.dbkey

  • Studid Question

    I am wanting to buy a Mac Mini for my home theater setup. I have all of my music and most of movies on my Macbook Pro in Itunes. How do I get this onto a Mac Mini or will I need to reload everything onto the Mac Mini? Thanks for any help.

  • Sharepoint asking for credentials when logging in

    Hello Community     Using Sharepoint 2010 Server with the UI, when a user in the trusted domain in another forest logs into the intranet (the trusting domain in the other forest) the user is prompted for username and password. How can do you stop Sha

  • Enable "Automatically Install Updates" on Custom Reader XI Install

    Hi, How would one go about enabling "Automatically Install Updates" in Preferences to be the default value for "Check for Updates" in a custom installation for Adobe Reader XI?  I've used the customization wizard, but the only setting built in that I

  • GPO Disk space to use (8-1024 MB) for Temporary Internet Files and History Settings

    I am trying to create a GPO that will allow me to specify 1024 (MB) for Disk space to use to go to IE, the General Tab, Settings, In the box below there is a box fo Disk space to use.  There is a GPO for this under... User configuration, windows sett