Change ViewStack index from component in ViewStack

Hello everyone.
I got ViewStack with 3 components inside.
How to change ViewStack active index from inside of one of
this components ?

Hello,
Also, you could try using a ModelLocator like the one
implemented in the Cairngorm framework. then you can just refrence
your viewstack from anywhere.
If you haven't tried an MVC system it's something worth
looking at if your app will be of any size.
3 solutions, all should work though if you just want
somethign quick and dirty I'd reccommend passing the refrence as
mentioned in the first reply
Cheers

Similar Messages

  • Change the Index from documents to All

    Hi all
    I created an index in the index administration only for documents(Items to Index=Documents).
    This was a long time ago...
    Now we have the problem that our search engine only shows documents to this index.
    OK its how it works.
    But my question is: How can I change the "Items to index" from documents to All?
    Is there a way, because its nearly impossible to delete the index a create a new one, because
    we have a lot of documents indexed.
    Thanks in advance
    Steve

    Hi Steve,
    Can you try the following -
    1. Create a new Index with the required properties (items to index set to "All") and select the same data source as done in the old index.
    2. Provide schedule for the index.
    3. Re-index it one time.
    4. When everything is done then you can remove the old index and use the new one.
    5. Modify your Search Options Set accordingly.
    Note: There should be sufficient space in the TREX Server to accommodate both the indexes for some time.
    Regards,
    Sudip

  • Is it possible to change application state from a component?

    I was wondering if it is possible to change application state from within a custom component and if so, what would the syntax be if I had an application named "zzz" and I wanted to change the app state from "state1" to "state2" from my component?
    Thanks!

    Hi,
    you always have a static class Application.
    Application.application will be the root component. After that you can change it state.
    Application.application.currentState = "state2";
    But it's not the best way to change states. It's better to dispatch events from components and change states in listeners.

  • Unable to propagate index from crawling to query

    Hi,
    I have a production environment where the query server is separated from the crawl server and each of them in separate zone. When I am running the crawler for any content source it doesn't crawl any data and I receive multiple errors as below
    Errors from Query Server Event Viewer
    The following conditions are currently affecting index propagation to this server for search service application 'My Search Service': 
    1. Query 1, catalog Main: failing to copy index files from crawl component 1 for 79 minutes. The network path was not found.   0x80070035
    2. Query 1 is not being automatically disabled because the minimum number of ready query components per partition is 2.
    Errors from Crawl Server Event Viewer
    Component: e11ba9de-e28c-42ab-a8de-f2050d4d8f68-crawl-1
    Details:
    The network path was not found.   0x80070035Propagation for search application e11ba9de-e28c-42ab-a8de-f2050d4d8f68-crawl-1: failed to communicate with query server e11ba9de-e28c-42ab-a8de-f2050d4d8f68-query-1.
    It is obvious that the crawl is unable to communicate with the query server due to network issue, so I need to know what ports and protocols needed to be opened among the crawl, query and application servers or any other configurations needed to be done
    to have  this working
    Regards,
    Ehab
    Ehab

    Hi
    Ehab ,
    For your issue, it can be caused by that the query component might have stale, or expired, credentials. You need to create new Query Components and delete the Old ones as below steps:
    On the SharePoint Central Administration Web site, click General Application Settings and in the Search section click Farm-wide Search Dashboard.
    In the Search Service Applications section, from the drop-down list select the search application that generated the event, and then click Modify Topology.
    On the Topology for Search Service Application page, click the failed query component in the topology list, and then select Add Mirror from the component’s drop-list.
    In the Add mirror query component dialog box, select the query server and associated metadata database for the new query component, and then clickOK.
    Click Apply Topology Changes. The changes are processed for the search application and the index is copied from the failed query component to the new query component.
    Click the failed query component and click Delete.
    The topology removes the index from the failed query component and deletes the component.
    Reference:
    http://technet.microsoft.com/en-us/library/ee513077(v=office.14).aspx
    http://sharepointmadeeasy.blogspot.in/2012/06/sharepoint-2010-search-query-component.html
    http://technet.microsoft.com/en-us/library/ee513123.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Change Loops Index location

    At home, I keep a lot of loops on an external HD (connected to a serving computer). Now I'm traveling and don't have that volume available. I wanted to add some loops, dragged them into the Loop Browser. GB said "indexing …", and my computer tried to connect to that remote volume. So I take it that my Loops Index is on that remote volume (which is probably a bad idea).
    I had to force quit GB, and when I re-opened it, it said it had no loops at all (before it had the local GB loops). Fine, I thought, so I can index from scratch, and dragged all my loops into GB, but it still tried to find that volume. Force quit again and trashed the prefs files, but no change.
    My local Loops Index folder is empty, in the user directory as well as in the main Library. So - how can I tell GB just to create a local Loops Index??

    Okay, somehow it worked at the second try - maybe I was impatient before and shouldn't have force quit the app. Trashed all the index files it had created in the last half hour and started again. And there it was, funnily enough with all the loops already installed!

  • How do you change the Received: From in the message header to correct external address

    We have trouble every so often sending a message to customers will get a bounce back.  Basically it is using our local internal name (mailserver.local) instead of our External name (mail.domain.com).  We have a pretty
    simple setup one Server (no edge server) with and SSL certificate.  I went in to the Hub Transport setting and made sure the FQDN was mail.domain.com  and it was.  I have read on the subject some people suggest getting your ISP to create a pointer
    record for the IP to the internal name. That will not work for us, because we may be changing ISPs in the near future.
    I included a bounce and current header info.
    So is there a way to change the "Received: from" server name to our external name?
    Bounce Message
    Generating server: mailserver.local
    [email protected] TUK-UTM.theirdomain.com #550 Invalid RDNS entry for 96.43.XX.XX ##
    Message headers
    Received: from mailserver.local ([::1]) by
     mailserver.local ([::1]) with mapi id 14.01.0438.000; Fri, 9 Jan
     2015 11:35:19 -0600
    Content-Type: application/ms-tnef; name="winmail.dat"
    Content-Transfer-Encoding: binary
    From: test1 <[email protected]>
    To: test2 <[email protected]>
    Subject: test 2
    Thread-Topic: test 2
    Thread-Index: AdAsMp9XJVDQap4vSC6OcUEejnFNCw==
    Date: Fri, 9 Jan 2015 11:35:18 -0600
    Message-ID: <[email protected]>
    Accept-Language: en-US
    Content-Language: en-US
    X-MS-Has-Attach:
    X-MS-Exchange-Organization-SCL: -1
    X-MS-TNEF-Correlator: <[email protected]>
    MIME-Version: 1.0
    X-MS-Exchange-Organization-AuthSource: mailserver.local
    X-MS-Exchange-Organization-AuthAs: Internal
    X-MS-Exchange-Organization-AuthMechanism: 04
    X-Originating-IP: [192.168.XX.XX]

    The error message states the reverse DNS entry isn't valid. I agree with Willard that setting up an SPF record will help your overall spam score from receiving hosts, but in this case it should simply be resolved by configuring a reverse DNS.
    Receiving mail hosts on the Internet usually care most about the IP that's connecting to them. One of the most common tests is the reverse DNS (since the SMTP connection comes from 96.43.X.X, the receiving host will ask itself "does 96.43.X.X really
    belong to the TUK-UTM.theirdomain.com ? and will go and check for PTR records for 96.43.X.X) It's this check that's failed.
    Even if you'll be changing your ISP in the future, you would still have ownership for your DNS domains, right ? It should be your company paying for this service after all.

  • How to add search field to BP_HEAD_SEARCH from component BP_SALES?

    Hi experts,
    I'm quite new to the CRM 2007 and I need help to fulfill a request. It sounds actually quite simple:
    The field "Sales Office" from Sales Area Data should be displayed in the Account Search page as possible search field:
    To Change:
    Component: BP_HEAD_SEARCH
    View: MainSearch
    Sales Office is from:
    Component: BP_SALES
    View: CorpAccountOrgEF
    Context Node: BUILRESORG
    Attribute: STRUCT.SALES_OFFICE
    I've searched all moring in this forum but nothing could help me. Any help is appreciated and rewarded if useful!
    Thanks!
    / Melanie

    Melanie,
    The problem you have is you need to extend the search in all the layers of the application, So this means the following:
    1.  You added the field to the context node
    2.  You need to add the field to be visible in the configuration
    Now for the part not being done, the field needs to be present in the structure:
    CRMT_BUPA_IL_HEADER_SEARCH in order to work.
    Look at the GENIL/BOL class CL_BUPA_IL_HEADER_SEARCH->GET_RESULT_TABLE.
    You will also need to implement the BADI in the enhancement spot CRM_BUPA_IL_SEARCH in order to make your search work correctly.
    Read the documentation for the BADI BADI_CRM_BUPA_IL_SEARCH_EXT in the search extension for more details.  If explains exactly how to do what you want to do.
    Take care,
    Stephen

  • How to get selectedRow index from TableColumnModel

    Hi Folks, Can anybody suggest me how can i get the selected row index from TableColumnModel. User can add any number of rows to the table , but when user clicks on any row I need to get that Index.
    This is very urgent requirement.
    I'll will be glad if i get quick answer.
    Below is my problem description in detail:
    I'm using 5 column table. Each column is having its own customised editor.
    now when user clicks on add button I'm populating one row in table(which contains 5 columns). In similar fashion user can add n number of rows. Now my question is if user clicks on any row i have to get the selected row index, based on that i have to do some other manipulations.
    I have tried out using ListSelectionModel it works fine . But when I use setter method to set the selected row index it is not able to produce current selected row. Below is the code snippet
    ListSelectionModel selModel = arl.getTableSelectionModel();
              selModel.addListSelectionListener(new ListSelectionListener() {
              public void valueChanged(ListSelectionEvent listSelEvt) {         
              ListSelectionModel mdl = (ListSelectionModel)   listSelEvt.getSource();      
              setSelectedRow(mdl.getMaxSelectionIndex());
    private static int getSelectedRow(){
            return selectedRow;      
        private static void setSelectedRow(int row){
          selectedRow = row;When i call getSelectedRow() it is not giving me the current selected row index.
    Please suggest me the right approach.
    This is very very urgent for me.
    Thanks,
    Joe

    Hi Camickr,
    Actually there are two columns, one is having JComboBox list and other is just JTextField. Now when user selects particular item from JComboBox list then some corresponding value has to be populated in second column. ie second column value should be kept changing depending on the user selection from JComboBox.
    Now the problem is user can add one row (which contain above two columns) and can selects item and clicks on "add" button to add another row and selects some desired item from JComboBox and that corresponding value will be populated in next column. Now that actual problem is if user clicks on first row again to change the item from JComboBox I'm unable to set the corresponding value in its next column. For this reason I'm asking you how can i get the current row?
    Below is the code snippet:
    cbo.addActionListener(new java.awt.event.ActionListener() {
                    public void actionPerformed(ActionEvent evt) {
                  //  JComboBox cb = (JComboBox)evt.getSource();                    
                    cbo = (JComboBox)evt.getSource();                                   
                    String item = (String) cbo.getSelectedItem();
                    item = item.trim(); 
                    int row = getSelectedRow();
                    if(getSelectedRow() == -1){              
                        return;
                    String len = (String)mdlListner.getValueAt(getSelectedRow(),mdlListner.LENGTH);                           
                    String dt = (String)mdlListner.getValueAt(getSelectedRow(),mdlListner.DATA_TYPE);               
                    len = len.trim();
                    if(item.equalsIgnoreCase(stringN) ||
                            item.equalsIgnoreCase(charN) ||
                             item.equalsIgnoreCase(binaryN))
                      jftLengthField.setEnabled(true);               
                      if(len.equalsIgnoreCase(notApplicable)){          
                        mdlListner.setValueAt("",getSelectedRow(),mdlListner.LENGTH);                                       
                        jftLengthField.setBorder(null);                   
                    else{
                            mdlListner.setValueAt(notApplicable,
                                        getSelectedRow(),mdlListner.LENGTH);
                            jftLengthField.setEnabled(false);
                    }); Pls suggest me the solution for this.
    Thanks,
    Joe

  • Call a method in the view from Component Controller

    Hi Friends,
    I have written the code for calling the RFC in Component Controller.
    My requirement is to change the properties of UI elements in the view, if I get any exception while calling RFC.
    Can Call a method in the view from Component Controller.
    Regards,
    Lakshmi Prasad.

    HI,
    You can get the error message during the exception of calling RFC in view itself.
    Any way you may call the RFC at some action in the view only.
    Can you explain me what you are trying to do?
    Kind Regards,
    Mukesh

  • Change of LDB from PNP to PNPCE

    HI All,
       I have a HR program where LDB PNP is used. Now I need to change the LDB from PNP to PNPCE. Can any one please tell me what are the mandatory change I need to do in the program after changing the LDB.
    Thanks & Regards,
    Arnab

    Hi,
    Purpose
    The PNPCE logical database supports the evaluation of HR master data. It includes the functions of the PNP logical database and offers additional evaluation options. Therefore, you should use the PNPCE logical database instead of the PNP logical database for all new developments.
    The enhanced functionality of PNPCE in comparison to PNP essentially concerns the evaluation of Concurrent Employment, that is the possibility to group evaluate several assignments/personnel numbers of a person. The new events 'GET PERSON' and 'GET GROUP' as well as an enhanced syntax for the INFOTYPES statement (addition AS PERSON TABLE) for the procurement of infotype data enable you to use the new functionality. The use of these new functions is optional. You can run a PNPCE report that does not use the new events and the addition for the INFOTYPES statement in a PNP-compatible session. Since the PNPCE also has an improved selection screen, each report benefits from this even if the report does not use the functions for evaluating Concurrent Employment.
    Prerequisites
    A report that wants to use the PNPCE must enter this in its report attributes under Logical database.
    In addition, the PERNR structure must be declared in the report using the 'TABLES PERNR' statement. You can only use the PERNR structure again in certain circumstances. The use of the 'GET PERNR' event is therefore forbidden. Instead, use the 'GET PERAS' event. Except for the PERNR-PERNR component, all other components of the PERNR structure are no longer filled and have initial values. This kind of programming (with the exception of PERNR-PERNR) therefore not permitted.
    In addition to the 'GET PERAS' event, you can also use the GET PERSON' and 'GET GROUP' events. To be able to use these events, you must declare them using the NODES statement (NODES PERSON', 'NODES GROUP', or. NODES PERAS').
    Explanation of Terms
    If the 'GET PERSON' and 'GET GROUP events and the 'AS PERSON TABLE' addition for the INFOTYPES statement are not used, the report indicates that it does not require the functionality for evaluating Concurrent Employment. In this case, the report runs in a PNP-compatible session. This is referred to as PNP mode in the following documentation. On the other hand, if the report uses the functionality for evaluating Concurrent Employment we refer to CE mode.
    Features
    Process of an Evaluation
    The PNPCE selection screen offers you as standard a range of functions that you can use to restrict the personnel number and person selection. These are discussed in more detail in the following sections. The process is initially as follows regardless of whether the report runs in CE or PNP mode. All available functions and selection conditions leads to the selection of personnel numbers. If you use the sorting function, this set of personnel numbers is then sorted according to the sort criteria you selected. In PNP mode, the GET PERAS event is triggered as a result for each personnel number.
    In CE mode, the persons belonging to the personnel numbers are determined first for all personnel numbers selected. The GET PERSON event is then triggered for each person. The person ID is specified in the OBJID component of the PERSON structure. PERNR_NUM contains the total number of personnel assignments (= personnel numbers) that this person has and the ALL_PERNRS table, which contains a list of these personnel numbers regardless of whether they were actually selected or not. The SELECTED flag is set to X for the personnel numbers selected. The flag is initial for all personnel numbers that are not selected. The PROCESS flag specifies whether the personnel number should be processed in the rest of the process. This flag is set to X by default for the personnel numbers selected. However, the report can set or delete this flag at the GET PERSON event for all personnel numbers. In this way, report and logical database communicate with each other which enables the report to control the rest of the process.
    In the next step, the logical database groups all personnel numbers of a person that are to be processed (that is, all personnel numbers that have the PROCESS flag set). The report can control the type of grouping using the PNPCE_GROUPING_FROM_PAYROLL flag (normal or payroll grouping) and using the PNPGPRSN (grouping reason) and PNPGPVAL (grouping value) parameters of the selection screen. The GET GROUP event is triggered for each group of personnel numbers determined. The GROUPING_REASON and GROUPING_VALUE components contain the grouping reason and grouping value of this group. The number of personnel numbers that belong to this group and that are processed subsequently is in PERNR_NUM. The included ALL_PERNR table contains a list of these personnel numbers with additional information. The SELECTED flag specifies whether the current personnel number was originally selected (flag is set) or was marked by the report as to be processed. GROUPING_BEGDA and GROUPING_ENDDA contain the validity period that the personnel number has for this grouping. The NO_AUTHORITY flag is set if there is insufficient authorization for a personnel number. This personnel number is not processed further. The SORT component defines a standard sort order for the personnel numbers of a group. The report can change this by overwriting the values. In this way, report and logical database communicate with each other, which controls the further processing sequence of the personnel numbers.
    The GET PERAS event is then triggered for all personnel numbers of the group (with the exception of the personnel numbers for which no authorization exists) in the sequence defined by the SORT component (see above). The SELECTED, GROUPING_BEGDA, and GROUPING_ENDDA components have the same meaning here as with the GET GROUP event. The PROCESSED_BEFORE flag specifies whether the personnel number has already been processed once before (it is possible that the personnel number belongs to several groupings and has been therefore been processed several times).
    Thanks and Regards
    Ravi

  • Have changed the "Index" of my website in Dreamweaver and followed the "Put" instructions to upload it back to the "Remote Server," but when I go onto the web to check it, the main (Index) page has not changed.  Help!

    Have changed the "Index" of my website in Dreamweaver and followed the "Put" instructions to upload it back to the "Remote Server," but when I go onto the web to check it, the main (Index) page has not changed.  Help!

    This is a duplicate post; see How do I upload from Dreamweaver CS6?

  • How to change domain name from "LocalHost" to ipaddress in Jdeveloper?

    Hi
    When i run any application from JDeveloper, the page opening with the URL keeping "*LocalHost*" as a domain name,
    eg: http://*localhost*:7101/Testing/faces/index.jsf
    How can i change the domain name from "localHost" to my system's ipaddress. So that whenever i execute the page, the page should open with the ipaddress and not with "localhost", like http://*10.34.65.175*:7101/Testing/faces/index.jsf
    Regards
    Raj

    Thank you Timo.
    I changed domain name from "localhost" to ipaddress as you said, after that the server stopped working. Unable to run any application.
    Then I changed it back to "localhost" and its working fine.
    I am doing it for 2 reasons,
    1) With localhost as domain name, I am unable to open ADF mobile browser application in Android emulator.
    2) Unable to do remote debugging. Hope this could be the reason.
    Regards
    Raj

  • My search engine has been changed to Yahoo from Google

    I have a MacBook Pro and recently the search engine has changed to Yahoo from Google.  How do I reverse this?

    Please review the options below to determine which method is best to remove the Adware installed on your computer.
    The Easy, safe, effective method:
    http://www.adwaremedic.com/index.php
    If you are comfortable doing manual file removals use the somewhat more difficult method:
    http://support.apple.com/en-us/HT203987
    Also read the articles below to be more prepared for the next time there is an issue on your computer.
    https://discussions.apple.com/docs/DOC-7471
    https://discussions.apple.com/docs/DOC-8071
    http://www.thesafemac.com/tech-support-scam-pop-ups/

  • Not able pass the data from component to other component.

    Hello All
    I am not able pass the data from component to other component.
    I have done like this.
    1 Main Component (Parent component ) having below  two child components.Embeded as used components.
    2)     Search Component  and Details Component
    3)     In the Search Component having buttons,  Say : Button u201CXu201D on click of button I am navigating to Details component view through FPM.
    4)     When I am clicking above button u201CXu201D raising the event to call the parent   business logic method, there I am getting  Structure with values and binded this structure to the node and Mapped this node to the Details component  interface node. FYI : I kept the debugging point Structure is having data , I had set static attributes table to node instance.
    5)     In the Details component node data is not coming mean empty.
    Thanks in Advance.
    Br-
    CW
    Edited by: CarlinWilliams on Jul 4, 2011 9:21 AM

    Hi,
    When you use input Ext. check that the parent component should not be used as used component in child component.
    Only in the parent component the child components should be used as used components and the usage has to be created for the
    Child Components and the binding of the Node should be done from comp. controller of parent component to child node
    by which you will be able to see double arrow against the node.This should work
    Thanks,
    Shailaja Ainala.

  • My daughter has just changed her phone from an iphone to a nokia but when i send her a message it still comes up as an i message and she doesnt receive it?

    my daughter has changed her phone from an iphone to a nokia but kept the same number but when i send her a message from my iphone it still comes up as an i messsage and she doesnt receive it can anybody tell me how to fix this please

    She needs to remove that device from the iMessage database, or if she still has the phone, she can go into Settings, Messages and turn off iMessage. If she still has the phone, she just needs to put the SIM back in for a couple of minutes to turn that off.
    If she does not have the phone any more, she will need to go to her Support Profile, if she registered the phone and delete the phone from the profile.

Maybe you are looking for

  • Screen Resolution in solaris 10 b69

    Hello I have installed solaris 10 (10/04) in VMWARE and on my Toshiba satelite 2410-303 and there is no way to change its screen resolution. It keeps its 640x480 nomatter how many times i have tried to change it with kdmconfig. Keep in mind that i ha

  • Olympus E-P1, RAW files, barrel distortion and Snow Leopard

    I currently use Aperture 2.0, a MacbookPro, and a new Oly E-P1.  I have just returned from a trip to Spain with over 1000 RAW files.  Aperture won't recognize them.  Tricking Aperture into accepting them as E-30 RAWs leaves in huge barrel distortion

  • Calling Delta Merge in DS after every commit

    Hi Folks, I am using an Delta extraction logic in DS to extract large table from ECC (50 Million rows) to the HANA database. The commits in DS job have been configured fopr every 10,000 records. Three questions 1) Should I disable the delta merge in

  • Synchronize Files error on Creative Cloud desktop

    Hi there, I can't synchronize anymore my files with the creative cloud Desktop. I am running Creative Cloud Windows 8.1 64 bits. My OS and my softwares are uptodate. I think it's since 1 or two CC Desktop update that i can't synchronize files anymore

  • Blogging Question

    I've created a blog at http://www.make-money-writing.com I'm wondering if I can just update the blog pages with my FTP client, or if I have to publish the whole site again, every time I post an update on my blog. Also - I do not use .mac for hosting,