Parent Space Name is cached?

Hi all,
I wrote a custom navigation and I need to know from where the user is coming. So, I used the m_asOwner.GetParentSpaceName() but it always returns the same value (Login) even if I navigate the portal and I change a lots of Activity Space. I notice that the "parentspace=xxx" in the Request Url changes.
Do you know if the ParentSpaceName is cached and how can I solve my problem?
Thank you,
Alberto

That should work. I can take a look at your code if you email it to [email protected]

Similar Messages

  • How can we retrieve the name of the Parent Space from the subspace?

    We wish to use a hyperlink in a subspace template which allows a user to link back from the subspace to its parent space.
    This hyperlink should show the name of the parent space.
    These Expression Language Expressions return parent information, but they so not show the Name of the parent space or other details like the Parent Space URL.
    #{spaceContext.currentSpace.parent}
    #{spaceContext.space['bpo'].parent}
    How can we retrieve the name of the Parent Space?

    I agree!
    I can't top this approach.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Find available space in buffer cache

    Hi.
    I want to find available space from buffer cache. First thought was to make it 8i-9i comp, by not using v$bh to calculate sum of memory and available space.
    I have the following pl/sql block to calculate the values:
    declare
    num_free_blck integer;
    num_all_blck integer;
    num_used_blck integer;
    overal_cache number := 0;
    used_cache number := 0;
    free_cache number := 0;
    blck_size integer;
    pct_free number := 0;
    begin
    select count(1) into num_free_blck from v$bh where status='free';
    select count(1) into num_all_blck from v$bh;
    select count(1) into num_used_blck from v$bh where status <> 'free';
    select value into blck_size from v$parameter where name ='db_block_size';
    used_cache := (blck_size * num_used_blck)/(1024*1024);
    free_cache := (blck_size * num_free_blck)/(1024*1024);
    overal_cache := (blck_size * num_all_blck)/(1024*1024);
    pct_free := ((free_cache/overal_cache)*100);
    dbms_output.put_line('There are '||num_free_blck||' free blocks in buffer cache');
    dbms_output.put_line('There are '||num_used_blck||' used block in buffer cache');
    dbms_output.put_line('There are totally '||num_all_blck||' blocks in buffer cache');
    dbms_output.put_line('Overall cache size is '||to_char(overal_cache,'999.9')|| 'mb');
    dbms_output.put_line('Used cache is '||to_char(used_cache,'999.9')||' mb');
    dbms_output.put_line('Free cache is '||to_char(free_cache,'999.9')||' mb');
    dbms_output.put_line('Percent free db_cache is '||to_char(pct_free,'99.9')||' %');
    end;
    The result of the execution is:
    SQL> @c:\temp\bh
    There are 3819 free blocks in buffer cache
    There are 4189 used block in buffer cache
    There are totally 8008 blocks in buffer cache
    Overall cache size is 62.6mb
    Used cache is 32.7 mb
    Free cache is 29.8 mb
    Percent free db_cache is 47.7 %
    PL/SQL-prosedyren ble fullført.
    SQL>
    This is not correct according to the actuall size of the buffer cache:
    SQL> select name,value from v$parameter where name='db_cache_size';
    NAME
    VALUE
    db_cache_size
    67108864
    SQL>
    Anyone that have an idea bout this?
    Thanks
    Kjell Ove

    Mark D Powell wrote:
    select decode(state,0,'Free',
    1,'Read and Modified',
    2,'Read and Not Modified',
    3,'Currently being Modified',
    'Other'
    ) buffer_state,
    count(*)  buffer_count
    from    sys.xx_bh
    group by decode(state,0,'Free',
    1,'Read and Modified',
    2,'Read and Not Modified',
    3,'Currently being Modified',
    'Other'
    Provided the OP figures out that xx_bh is probably a view defined by sys on top of x$bh this will get him the number of free buffers - which may be what he wants - but apart from that your query is at least 10 years short of complete, and the decode() of state 3 is definitley wrong.
    The decode of x$bh.state for 10g is:
         decode(state,
              0,'free',
              1,'xcur',
              2,'scur',
              3,'cr',
              4,'read',
              5,'mrec',
              6,'irec',
              7,'write',
              8,'pi',
              9,'memory',
              10,'mwrite',
              11,'donated'
         ), and for 11g it is:
         decode(state,
               0, 'free',
               1, 'xcur',
               2, 'scur',
               3, 'cr',
               4, 'read',
               5, 'mrec',
               6, 'irec',
               7, 'write',
               8, 'pi',
               9, 'memory',
              10, 'mwrite',
              11, 'donated',
              12, 'protected', 
              13, 'securefile',
              14, 'siop',
              15, 'recckpt',
              16, 'flashfree', 
              17, 'flashcur',
              18, 'flashna'
         ), (At least, that was the last time I looked - they may have changed again in 10.2.0.5 and 11.2.0.2)
    Regards
    Jonathan Lewis

  • Expression Language to get the navigation model of the parent space

    Hello,
    I am hoping someone can help me with this.
    Scenario: I need my sub-space to use the same navigation model as the parent.
    Reason: Take a space(P) has a navigation model that queries the pages and sub_spaces(S1,S2...) in a space. Using this navigation, if we navigate to a page of a sub_space(S1) of the space, the navigation model for that sub_space(S1) will now query its pages and its sub_spaces. Instead, I want the navigation to still query the pages of the parent space(P) and the sub_spaces(S1,S2) of the parent. Effectively, the navigation contents should not change.
    So, I am thinking of using an EL expression that queries the navigation model of a parent(P) to set the navigation model of the sub_space(S1).
    Appreciate your help.
    Thanks,
    Pradyumna Nandavanam

    Hi.
    You can define customAttributes for your group spaces like: parentModelPath
    Access it with EL Expression: #{spaceContext.currentSpace.metadata.customAttributes[attributeName]} where attribute name is +'parentModelPath'+
    And with next EL Expression: #{navigationContext.navigationModel['model_path']} you can replace 'model_path' with your customAttribute value.
    Kind Regards.
    Edited by: Daniel Merchán on 14-feb-2012 15:50

  • How to find the Color Space name for a PDEElement

    Hi
    I am trying to find out the color space for each PDEElement in my PDF file. While doing this,
    I put some debug statements ( cout stmts ) that print the color_space as integer values. I gave this list
    after the code.  I belive the color spaces should be something like CMYK, DeviceRGB,DeviceGray..etc.
    How can I know the actual color space name coresponding to these numbers printed in Debug statements.
    Kindly please help me..
    void   ProcessElementDetails(PDEElement  element)
                    PDEGraphicState  gfx_state;
                    ASInt32  pdeType =  PDEObjectGetType(reinterpret_cast<PDEObject>(element));
        ofstream outfile("E:\\temp\\test.txt",ios::app);
        outfile<<"ProcessElementDetails\n";
        if ( pdeType == kPDEText )
          outfile<<"PDE Text type\n";
          PDEText pde_text = (PDEText) element;
          ASInt32 num_run,i;
              num_run = PDETextGetNumRuns(pde_text);
          outfile<<"Number of Runs for PDEText :"<<num_run<<"\n";
          for  (i = 0; i < num_run; i++)
            PDETextGetGState(pde_text,kPDETextRun,i,&gfx_state, sizeof (PDEGraphicState));
            ASAtom  color_space =  PDEColorSpaceGetName(gfx_state.fillColorSpec.space);
            outfile<<"Color Space :"<<color_space<<"\n";
        if (pdeType == kPDEImage )
          outfile<<"PDE Image type\n";
          PDEElementGetGState(element,&gfx_state,sizeof (PDEGraphicState));
          ASAtom color_space = PDEColorSpaceGetName(gfx_state.fillColorSpec.space);
          outfile<<"Color Space :"<<color_space<<"\n";
        if (pdeType == kPDEContainer)
          outfile<<"PDE Container type\n";
                            PDEContent  content =  PDEContainerGetContent(reinterpret_cast<PDEContainer>(element));
                            ASInt32  numElem =  PDEContentGetNumElems(content);
                            for  (ASInt32  i = 0; i < numElem; i++)
                                 element =  PDEContentGetElem(content, i);
                                 ProcessElementDetails(element);
    Debug statements with color numbers:
    ====================================
    ProcessElementDetails
    PDE Image type
    Color Space :700
    ProcessElementDetails
    PDE Text type
    Number of Runs for PDEText :63
    Color Space :388
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :388
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :388
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    ProcessElementDetails
    ProcessElementDetails
    PDE Text type
    Number of Runs for PDEText :38
    Color Space :389
    Color Space :700
    Color Space :390
    Color Space :388
    Color Space :390
    Color Space :388
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :389
    Color Space :700
    Color Space :700
    Color Space :700
    Color Space :700
    Color Space :700
    Color Space :700
    Color Space :700
    Color Space :700
    SeparateColorPlates
    PDF file exists
    Number of Pages:1
    Number of Elements:5

    As you may have noticed, the "numbers" you see are actually of type ASAtom -
    which is a type declared in the SDK to represent reused strings. You have to
    read the relevant documentation to learn how to use the SDK - there is no
    way around it. The Acrobat SDK is very powerful, but also a lot more
    complicated than most people expect when they start to work with it. Take
    your time to learn how to use it.
    In this particular case, you need to call this function to convert the
    ASAtom to a string:
    const char* ASAtomGetString<http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/API_References/Acrobat_API_Ref erence/AS_Layer/ASAtom.html#ASAtomGetString135%28%29>
    (ASAtom<http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/API_References/Acrobat_API_Ref erence/AS_Layer/ASAtom.html#ASAtom>atm)
    (from
    http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/API_References/Acrobat_API_Ref erence/AS_Layer/ASAtom.html
    Karl Heinz Kremer
    PDF Acrobatics Without a Net
    [email protected]
    http://www.khkonsulting.com

  • Solaris Name Service Cache and Directory Proxy Problem

    We have some Solaris 10 clients ldapcliented to a Directory Proxy Server. After 15 minutes, the Solaris name service cache will fail to communicate to the proxy instance and the proxy instance's readconnectionsrefused attribute will start incrementing.
    At first it seemed we would need to increase the worker-threads and num-bind-limit, but those do not fix the problem.
    At the same time the name-service-cache starts failing, I am still able to query and search the proxy. I have set up a Jmeter test which continues to run and they never fail.
    It seems very consistent that the problem with the name-service-cache occurs every 15 minutes and I am able to reproduce this at the client's site and in my lab. Restarting either the proxy or the name-service-cache clears the problem.
    Has anyone else seen this problem?
    Edited by: 957466 on Sep 6, 2012 9:11 AM

    The idle-timeout on DSEE was set to none, which I believe is the default. I tried setting it to 1200 and 2400 seconds without success.
    h3. get-ldap-data-source-pool-prop
    <pre>
    client-affinity-bind-dn-filters : any
    client-affinity-criteria : connection
    client-affinity-ip-address-filters : any
    client-affinity-policy : write-affinity-after-write
    client-affinity-timeout : 20s
    description : -
    enable-client-affinity : false
    load-balancing-algorithm : proportional
    minimum-total-weight : 100
    proportion : 100
    sample-size : 100
    </pre>
    h3. get-ldap-data-source-prop
    <pre>
    bind-dn : none
    bind-pwd : none
    client-cred-mode : use-client-identity
    connect-timeout : 10s
    description : -
    down-monitoring-interval : inherited
    is-enabled : true
    is-read-only : false
    ldap-address : localhost
    ldap-port : ldap
    ldaps-port : ldaps
    monitoring-bind-dn : none
    monitoring-bind-pwd : none
    monitoring-bind-timeout : 5s
    monitoring-entry-dn : ""
    monitoring-entry-timeout : 5s
    monitoring-inactivity-timeout : 2m
    monitoring-interval : 30s
    monitoring-mode : proactive
    monitoring-retry-count : 3
    monitoring-search-filter : (objectClass=*)
    monitoring-search-scope : base
    num-bind-incr : 10
    num-bind-init : 2
    num-bind-limit : 1024
    num-read-incr : 10
    num-read-init : 2
    num-read-limit : 1024
    num-write-incr : 10
    num-write-init : 2
    num-write-limit : 1024
    proxied-auth-use-v1 : false
    ssl-policy : never
    use-read-connections-for-writes : false
    use-tcp-keep-alive : true
    use-tcp-no-delay : true
    </pre>

  • ICM Host name buffer cache parameter

    Hello,
    Does any body know about the ICM Host name buffer cache parameter?
    I mean how long does it hold this value and cache refresh rate..
    REgards,
    Atul

    Hello Prem,
    Thanks for information.
    I know that parameter and how to check.
    My specific question is about hostname buffer cache rate and how long does it hold that value in buffer and refresh rate.
    Regards,
    Atul

  • Web Error "Details: no parent found, name= TOPComponents"

    Anyone else experiencing the issue with the Web Console as reported in TID
    3422592. When you run a find on a system (or systems)and then try to view
    the details you get the error "Details: no parent found, name=
    TOPComponents
    Very frustrating and seems to be getting worse and seeing it is identified
    as an issue with no resolution leaves me not knowing what to do. Waiting
    for a next IR isn't very comforting.
    Running ZEN Asset Inventory 7 IR14 just as reported in the TID.

    poffles,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • How to get Parent Symbol name of current e.target element ?

    How can I get the Parent Symbol name of the current e.target element ?
    would that involve using this ?
    getParentSymbol()
    Thanks for the help

    Hi ,
    I created a composition where I am trying to access the parent symbol of a rectangle. The structure is like this -
    Stage->parentMainSymbol->ChildSymbol->childRectangle. Now for the parentMainSymbol click , to access the rectangle element(which is the target) you can use the following snippet -
    sym.getComposition().getStage().getSymbol("parentMainSymbol").getSymbol("ChildSymbol").$(" childRectangle")
    Now, the parent of this is ChildSymbol whose reference could be obtained by -
    sym.getComposition().getStage().getSymbol("parentMainSymbol").getSymbol("ChildSymbol").$(" childRectangle")[0].offsetParent
    The info about the parent symbol is just being printed in the console view for the attached composition. This would print it out for -
    #Stage_parentMainSymbol_childSymbol which is the parent symbol of the target childRectangle under consideration.
    Kindly, take a look and let me know if it solves your problem.
    Thanks and Regards,
    Sudeshna Sarkar

  • Name-service-cache (nscd) and LDAP

    We are running Solaris 10u6 with the latest patches and have an issue with nscd. Periodically nscd will stop authenticating ssh sessions and requires restart to allow people to login. Our /etc/nsswitch.conf passwd line is "passwd: files ldap". Our LDAP back end is Sun Directory Server EE 6.3. Restarting nscd with svcadm restart name-service-cache clears the issue.
    Has anyone else seen this behavior?

    Hi
    I raised this with SUN and they did state it may be a bug by the symptoms of the problem I gave. They have also suggested installing the patch you have mentioned. When we hit the problem again I will be generated a core dump of the nscd process so that sun can do further analysis. If I get anything inetersting back I shall post it up. But its 99% looking like the bug and that patch 141030 will be required.
    Thanks

  • 'use dynamic name' and 'caching properites' options for alias table...

    Hello everybody,
    can anybody please explain 'use dynamic name' and 'caching properites' options for alias tables...
    Thanks...
    eagerly waiting for a response..
    Vijay

    You want to create dynamic target table name right?
    You can refresh a variable like #GET_SESSION
    #GET_SESSION= SELECT <%=odiRef.getSession("SESS_NAME")%> FROM DUAL
    My tmp table name like TMP_#GET_SESSION
    then in your package refresh #GET_SESSION variable and you can use it.
    I hope this can be helpful
    Thanks

  • Query to find the parent group name

    what is/are the table name that i should use to find the parent name of the job?
    thank you,
    warren

    Hi Warren,
    The parent group name (dbo.jobmst.jobmst_prntname) can be found within jobmst table.
    For example, the below query will return parent name of a specified job:
    SELECT dbo.jobmst.jobmst_prntname
    FROM dbo.jobmst
    WHERE dbo.jobmst.jobmst_name = 'Enter name of job here'
    BR,
    Derrick Au

  • How to get a parent clips name of a subclip in XMP ?

    Hi,
    How to get a parent clips name of a subclip in XMP ?
    Please clarify me.

    Do you mean you want to get the name of the master clip in XMP? Currently XMP doesn't contain this info.

  • HT4689 When in Mission Control I'd like to label my various Desktops to give the different work spaces names.  Can this be done?

    When in Mission Control I'd like to label my various Desktops to give the different work spaces names.  Can this be done?

    No, it can't. Send feedback to Apple about this

  • Get the current space name

    hi,
    i am working on webcenter space application.i need to pass current space name to bean.how can i get the current space name??
    Regards
    Vinay Kumar

    No, that will not compile. You probably need to do:
    SpacesContext sc = SpacesContext.getCurrentInstance();
    String spaceName = sc.getCurrentSpaceName();
    Beware that the doc says "Return the SpacesContext instance for the request that is being processed by the current thread, if any."
    So the SpacesContext might be null.
    Jaap

Maybe you are looking for

  • My phone broke four and a half months ago, and Sony still haven't fixed it.

    In mid october my phone broke, the phones functions continued to work (calls, notifications etc.) however there is no display on my screen. I initially went through the sony repair centre number and arranged for my phone to be sent via their free pos

  • Cannot start Weblogic server after installation

    Hi, i just installed weblogic workshop 8.1 and i wanted to start creating a simple EJB application. After creating a simple (express) Basic Weblogic Platform Domain, when I create an application ans try to start the server, I get the error listed bel

  • How to create php login in flash builder 4 using php data service

    I have seen the tutorials for creating a php login authentication using HTTP service in flex 3 It uses genrating xml and reading it . But i want to know how to do that with the help of php services in FB4 . I'm a newbie so please any kind of help wou

  • Updating Attached File

    Please help! I've attached a .pdf file (attachment file) to another .pdf file (source file) using the "attach a file as a comment" tool on Acrobat 9.0. However, the problem is that I've updated the original attachment file by accessing it through the

  • Can't find/use Bookmarks when using F11 (window maximize mode) ... help?

    Is there some way to configure FF so that BOOKMARKS can be accessed while in F11 mode? IE provides access to BOOKMARKS while in F11 mode so I would assume that FF does also.