Refreshing blind target dimensions dynamically

Here's the link first -
THE CASE IN POINT
I'm trying to use a dropdown menu to refresh the text-only
contents of a DIV based on the selection. However, alongside this,
I have a second "onchange" method:
<select spry:repeatchildren="dsTopics"
onchange="dsTopics.setCurrentRowNumber(this.selectedIndex);
Spry.Effect.Blind('imageArea', {duration: 1000, from: '100%', to:
'0%', toggle: false}); Spry.Effect.Blind('copy', {duration: 1000,
from: '0%', to: '100%', toggle: false});">
I can't get this to work at all.
Like icecappuchino in the previous
topic, I would love to know how I can get the Dataset that
populates the copy DIV to only supply content on request, rather
than on load
The image area, when requested to
return to 100%, does not reveal anything on select, although the
copy DIV does colapse
The main issue - there will obviously
be varying amounts of copy in this DIV. Is there any way to refresh
the target dimensions? You will see that the Blind always expands
to the full length of the DIV's initial height, even though the
amount of copy on refresh is much smaller
I tried doing it by hard coding the dimensions - but this too
is a bit dodgy:
Blind
target dimensions specified in pixels
Thanks - enjoying release 1.3,
raffjones
PS: How can I quote code in these posts?

Here's the link first -
THE CASE IN POINT
I'm trying to use a dropdown menu to refresh the text-only
contents of a DIV based on the selection. However, alongside this,
I have a second "onchange" method:
<select spry:repeatchildren="dsTopics"
onchange="dsTopics.setCurrentRowNumber(this.selectedIndex);
Spry.Effect.Blind('imageArea', {duration: 1000, from: '100%', to:
'0%', toggle: false}); Spry.Effect.Blind('copy', {duration: 1000,
from: '0%', to: '100%', toggle: false});">
I can't get this to work at all.
Like icecappuchino in the previous
topic, I would love to know how I can get the Dataset that
populates the copy DIV to only supply content on request, rather
than on load
The image area, when requested to
return to 100%, does not reveal anything on select, although the
copy DIV does colapse
The main issue - there will obviously
be varying amounts of copy in this DIV. Is there any way to refresh
the target dimensions? You will see that the Blind always expands
to the full length of the DIV's initial height, even though the
amount of copy on refresh is much smaller
I tried doing it by hard coding the dimensions - but this too
is a bit dodgy:
Blind
target dimensions specified in pixels
Thanks - enjoying release 1.3,
raffjones
PS: How can I quote code in these posts?

Similar Messages

  • Issue while passing Target URL dynamically in SOAP Receiver Adapter

    Experts,
    I am stuck with an issue while passing the Target URL dynamically.
    The UDF required for this works just fine. I can see the Target URL in Dynamic Configuration header(The Key is TServerLocation) in SXMB_MONI but the request that I am sending is not reaching the web service.
    Some posts have suggested to hard code the Target URL as http://.
    Below is the error that I am getting when I hard the Target URL as http://:
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>RecoverableException</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:453)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:131)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:834)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    When I hard code the Target URL as Test (any dummy value), the error that I get is different. (Detailed error shown below)
    <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
       <SOAP:Body>
          <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>RecoverableException</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapterFramework:GENERAL:com.sap.aii.af.ra.ms.api.DeliveryException: no scheme
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:453)
         at com.sap.aii.af.ra.ms.impl.core.queue.CallConsumer.onMessage(CallConsumer.java:131)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:834)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</text>
                </s:SystemError>
             </detail>
          </SOAP:Fault>
       </SOAP:Body>
    </SOAP:Envelope>
    I've referred the post [Dynamic URL for SOAP receiver adapter;.
    I am on PI 7.0.
    Any help in this regard is highly appreciated.
    Best Regards,
    Vijay

    Issue resolved... by doing this:
    DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "TAuthKey");
    conf.put (key2, "username");
    In the advanced tab of the communication channel, set the flag "View Authorization keys", and then added "username" (user to access the dynamic target url) and the password (2 times).
    That's it...

  • How to Build Attribute Dimension Dynamically & Load with LCM?

    Hi, I'm trying to modify the existing outline at cilent's site. For some reason, when I pulled the outline with extractor, it didnt come out in the format that is compatible with Outline Load Utility. I was told to use LCM so I may still load with minimal to no modification to the existing structure of outline.
    So can I build dimensions dynamically in EXCEL then load with LCM and push to Planning?

    The log came back with many unrecognized headers in the outline. I spoke to Oracle Support many times, and they said that the format of our outline is improper for Outline Load Utility to read.
    Since the outline has already been incorporated, we are not allowed to many any significant changes. That is why we were advised to use LCM.
    I tried to use a sample of one of the existing attribute dimensions in XML as the base and build the new attribute but it failed. I would appreciate if you can provide steps by steps resources to show how to add new attributes to the existing outline.

  • FDQM Target Dimension - connection failed

    Hi, I am getting started to FDQM and I am trying to prepare the new environment so I started with the workbench and finished these steps:-
    1) Imported the Essbase adapter (ES11XG4-J) to the application then registered it successfully.
    2) Edited the two environment variables "ESSBASEPATH" and "PATH" with the right variables specified in oracle docs.
    3) Opened the configurations of the Adapter from the workbench and submitted this settings:-
          a) Source and Target Machines.
          b) Application name, Essbase DB Name
    The issue now is that when I view the mapped dimensions at the "Dimensions" tab, It always gives me a 'connection failed" error beside the "Target Dimension" label so I can't complete my work to map the dimensions.
    I checked the error log also, and found that the error existing now saying "Essbase AP Procedure: [EsbSetActive] Threw code: 1051032-1051032", I searched for this error in the forum here but the solutions offered not working with me!
    Your help is much appreciated , Thanks in advance

    we need to update, ARBORPATH and ESSBASEPATH first, then in the PATH add as shown in the below link(If it is 64 bit machine)
    Hyperion Installations and Implementations: FDM-Essbase Adapter Issue in Hyperion 11.1.2.x
    Make sure, you have installed Essbase Client in the FDM Machine.
    Once the Environmental Variables changes done, restart the Server then try again.
    Let me know if you face any issue....!
    Thanks,
    Mady

  • Updating a Target Dimension

    Hi, I'm trying to generate an UPDATE statement from a mapping that have two source tables joined, linked to a target dimension.
    In the dimension operator, the Loading Type property = UPDATE and Match By Constraint = YES...I have tried with ALL the "operating modes" (in the configuration of the mapping), but when generating the Mappings from the Mapping Editor, an error message is displayed: "Code cannot be generated. Specify another operating mode or see validation messages for details". There aren't any error on the validation for this map.
    Could anybody know the solution for this problem?
    The version of the OWB is 9.0.2 on an 9i rel 2 DB.

    Pablo,
    Im sure it isn't a bug, I can only guess what the problem is. Let me try again.
    If you try the generate immediate code option you will have to select the inoutgrp1 from the target. Is OWB capable of generating code at that part?
    It can also mean that there is an error in your mapping. If you set the laoding type to INSERT, does it generate the code? If no the problem is somewhere else.
    Otherwhise make only one column like this:
    Insert: Use for loading yes
    Update: Use for loading no
    Update: Use for matching yes
    Update: Operator =
    Delete: Use for matching no
    and all the other:
    Insert: Use for loading yes
    Update: Use for loading yes
    Update: Use for matching no
    Update: Operator =
    Delete: Use for matching no
    Does it generate the code?
    Please let me know.
    With kind regards,
    Bas

  • (XSRWLD06) A column value is not a valid member of its target dimension

    We are facing a strange issue that all the records gets rejected when attempted to load the cube. The error message is - (XSRWLD06) A column value is not a valid member of its target dimension
    This cube is simple and has only one dimension and one measure. The dimension has only 2 records and mapping appears to be correct.
    Really confused and unable to find the cause of the problem. Pls can you help
    Query used to populate the dimension
    ==========
    SELECT DISTINCT /*+ bypass_recursive_check */ T1."ACCFLAG_DESC" ALIAS_3, T1."ACCFLAG_DESC" ALIAS_4, T1."ACCFLAG_DESC" ALIAS_5, NULL ALIAS_6, 3 ALIAS_7 FROM NEDDWOWNER."OWNERSHIP_ACCOUNTS" T1 WHERE (T1."ACCFLAG_DESC" IS NOT NULL) UNION SELECT DISTINCT /*+ bypass_recursive_check */ T2."ACCFLAG_DESC" ALIAS_8, CAST (NULL AS VARCHAR2 (60) ) ALIAS_9, T2."ACCFLAG_DESC" ALIAS_10, NULL ALIAS_11, 0 ALIAS_12 FROM NEDDWOWNER."OWNERSHIP_ACCOUNTS" T2 WHERE (T2."ACCFLAG_DESC" IS NOT NULL) ORDER BY 1 ASC NULLS LAST
    ===========
    Query used to populate the cube
    ==========
    SELECT /*+ bypass_recursive_check cursor_sharing_exact no_expand no_rewrite */ T5_ACCFLAG_DESC ALIAS_13, SUM(T8_ES_CBSCCO_AJ_GBP) ALIAS_14 FROM ( SELECT /*+ no_rewrite */ T1."OWA_SEQ_ID" T8_OWA_SEQ_ID, T1."ES_CBSCCO_AJ_GBP" T8_ES_CBSCCO_AJ_GBP FROM NEDDWOWNER."VW_ACCOUNTS_MON_CUB_LOAD" T1 ) T8, ( SELECT /*+ no_rewrite */ T1."OWA_SEQ_ID" T5_OWA_SEQ_ID, T1."ACCFLAG_DESC" T5_ACCFLAG_DESC FROM NEDDWOWNER."OWNERSHIP_ACCOUNTS" T1 ) T5 WHERE (T8_OWA_SEQ_ID = T5_OWA_SEQ_ID) GROUP BY (T5_ACCFLAG_DESC) ORDER BY T5_ACCFLAG_DESC ASC NULLS LAST
    ===========
    Rejected Record
    Consumption 0
    Production 0
    Error:
    (XSRWLD06) A column value is not a valid member of its target dimension.

    Hi - This is still unanswered. Will the datatype of the source column mapped to the member and the fact table create the problem? As we are in the middle of evaluating different OLAP products, any inputs on the issue, will be really helpful...

  • Want to disable a field (1..unbounded) at target side dynamically.

    Hello,
    I want to disable a field (1..unbounded) at target side dynamically in message mapping on the basis of a condition.
    Please help me out. I serached in existing threads but culdnt find it.
    regards,
    Rahul

    Hello,
    I want to disable a field (1..unbounded) at target side dynamically in message mapping on the basis of a condition
    You can't really disable it using normal mapping because at least it will occur once. What you can do is to change the occurrence to 0..unbounded or use XSLT/Java Mapping.
    Hope this helps,
    Mark

  • Refresh data in a Dynamic Document

    Hello,
    I'm using a Dynamic Document inside a dynpro but the data (add_text - display_document methods) are not refreshed even if I use the CL_GUI_TIMER to auto-refresh the contents of the dynpro.
    Any idea?
    Angelo

    Hi Angelo.
    Did you get any idea how to solve the problem? I face the same problem and found out, that if you use the print method (print_document) you get the refreshed document. But if you display the document you´ll get the old one.
    Thanks for your or any othe´s reply.
    Michael

  • Refresh report title with dynamic action

    Hi all,
    I have a report that is refreshed with an dynamic action. When the refresh is performed, first the value of two hidden variables are set (P2_ID and P2_NAME) and are submitted (using a dynamic action type 'pl/sql', with code 'null;' and page items to submit: P2_ID,P2_NAME).
    In the query of the report, i use :P2_ID in the where-clause. That's all working like a charm! The one thing that doen't work, is the title of the region: that's defined as 'Properties of &P2_NAME.', but the title isn't refreshed when the report gets refreshed.
    Is there a solution for this? I hope I'm clear enough.

    See Re: Dynamic action - Refresh
    So you are right; the native Refresh action just refreshes the report content, it does not perform &ITEM. substitutions everywhere in the region.
    What you could do is use a named SPAN as the title like <span id="my_title">&P2_NAME.</span> and add a TRUE action to your Dynamic Action to set the title using Execute Javascript code $s('my_title',$v('P2_NAME'));Hope this helps.

  • Generate target filename dynamically / Receiver File Adapter

    Hi Community Members,
    First of all I would like to say hello to everybody, as this is my first post in this forum.
    I start with PI and would like to prepare a simple DEBMAS -> .csv interface.
    In fact it is already done, but the requirement is to name .csv files according to customer number (KUNNR).
    Hence is my question ... how to set CC to be assigning KUNNRs to file names? (like 123456.csv)
    From what I can in the net people are using ASMA, but isn't there any simpler solution?
    What I tried inside message mapping was to bound KUNNR field from my source message to root element of target message.
    In addition I also set Field Name Scheme to *.csv in CC settings. Unfortunately I am receiving a CC error
    The parameter "argument" has the value "/interfaces/PI/inbound/test/.csv", so it contains the character "/interfaces/PI/inbound/test/.csv" which is not allowed
    But anyway if I would like to use ASMA I see I need to write a Java funciton as UDF.
    Example tutorial [http://www.****************/Tips/XI/ASMA/Index.htm]
    But what next? How would I implement it into message mapping, to which xml element should it be assigned and what should be passed as function input, to make java function work?
    Regards,
    bob

    hI bobens ,
    you have to follw bellow steps  because dynamicalluy we had call file name as same as your requirement.
    STEP1:  WRITE dynamic configuratio:
    Public String DynamicConfig(String a, Container container) throws StreamTransformationException{
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    conf.put(key,a);
    return "";
    step2: in mapping
    KUNNR + constant(.CSV) -> Concat -> udf(dynamic configuration) -> target root node
    Configuration objects:
    3. Receiver communication channel:
    file name : ConfiguredDynamically
    in Adavnce mode :
    you have to enable these check boxes: use asma , fail  if asma,  filename.
    thanks,

  • Decide target directory dynamically.

    Hi All
    I need to configure a receiver communication channel with file adapter. Important thing is target directory need to be decided dynamically based on some content in the message.  Please let me know what are the possibilities to achieve this.
    Thanks & Regards
    Shantha
    Edited by: Shantha Bandara on Feb 12, 2008 1:05 AM

    Hi Shantha,
    Create UDF in that you derive directory name and/or file name based on message content and store them in Dynamic Configuration.
    When you are giving Directory name just give generic name from UDF(from the following code in place of directory name just give %Directory%  File name %FileName%).
    Here the sample value UDF code
    AbstractTrace trace = container.getTrace();
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String fnam = conf.get(key);
    String dir = <Path to directory>;
    String newfnam =  <File name>;
    conf.put(key,newfnam);
    key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
    conf.put(key,dir);
    return("");
    Please let me know if you have any issues.
    Cheers,
    Jag

  • EvDRE refresh shows no dimensions in two of five applications in an appset

    Microsoft BPC 7.0 sp6 patch 1
    Excel client in office 2007.
    Going to cell A1
    Type =evDRE()
    Get the 'click to refresh'
    I click the icon to refresh and am presented with the evDRE wizard.
    Three applications return all the dimensions as options and time and acount preselected.
    Two applications return the wizard with no dimensions to select and nothing prepopulated (not time nor account).
    Existing reports in the two applications work fine. 
    evNXP works fine.
    Why are no dimensions found?
    Any ideas?  Thanks

    Ara,
    I think those two application dim cache file is corrupted.
    Please modify those two applications at admin consile and clear client cache file from Etools and login again.
    It will work.
    Thank you
    James Lim.

  • Refreshing query data for Dynamic Page Generator

    Can anyone tell me why I must exit out of XMII and re-login in order to have any updates saved in either a Data Query or Display Query show up when I use the Dynamic Page Generator.
    I attended the Xmii beginner level training.  In the training, I could hold the Ctrl key and click the Refresh button on my browser to update the templates.
    Thanks
    Mike

    Mike,
    The reason for this was that the machines that were used in training had Java SDK 1.5 installed if you are using 1.4 you cannot hold down the ctrl key to refresh the cache you must go into Tools -> Sun Java Console -> click the "X" key and that will clear the cache.
    Erik

  • How to set target Url dynamically in submit button

    hi,
    I am using livecycle process to render a pdf form. The form has a submit button. Is it possible to set URL of submit button dynamically in a form? If yes how can i pass the target URL from process, dynamically while rendering the form? Can someone help me in this.
    Thanks,
    kripa

    Hi,
    Go to Tools > Embedded OC4J Server Preferences... > Global > Startup.
    Look for the options in "Host Name or IP Address Used to Refer to Embedded OC4J".
    William

  • Generating target nodes dynamically in message mapping

    Hi XI GURUS
    I am trying to generate target node using using more then source node. Is it possible to do this.
    I need this as in source I have 2 different nodes (0 to unbounded) and in target I want to create corresponding number of target nodes. For e.g if I have 2 + 1 nodes in source then I want to create 3 nodes in target
    Source as below
    <FIRSTNAME>
         <Raj>
         <Kum>
    </FIRSTNAME>
    <FIRSTNAME>
         <Naveen>
         <Kumar>
    </FIRSTNAME>
    <CITY>
    <bANGALORE>
    </CITY>
    Desired output in target as below
    <ADDRESS>
    <qwerty1>
    <ADDRESS>
    <ADDRESS>
    <qwerty2>
    <ADDRESS>
    <ADDRESS>
    <qwerty2>
    <ADDRESS>
    Can i follow an alternative approach (using java function) of counting the total number of occurences of  source nodes and generating as many number of the target node
    Thanx

    If you have a condition check for each of the source node to be mapped to the target node,
    use "create if" standard function and pass the boolean result of your Condition check as an input to this standard function. For each "true" a value would be added to the output queue. If you have a simple condition check on some source field value for each correspoding node, use "if without else" or depending on the complexity of the condition you may use a udf to get the boolean outcome.
    And for mapping from more than on type of source node, you may duplicate subtree for target node.
    Regards,
    Suddha

Maybe you are looking for