Targeting a symbol (to show / hide) within another composition, using a trigger in a loaded composition.

I apologize if my question is confusing. I'm still fairly new to Edge and I hope I'm correctly explaining my issue. I've been using the Edge Commons composition loader to build this interactive:
link to interactive: http://edwin-choi.com/main_screen.html
If you go to care provider --> intro --> 3, and then wait a bit, a purple glow will appear right below the primary navigation labeled "Bariatric Surgeries". This was coded using an invisible button with an 'onclick' state. I wanted to make it so that the purple glow appears on top of that primary navigation label instead of below. However, the primary navigation is in a separate composition. I tried pasting the following code into the "intro" composition to target the glow which is in the main_screen composition (which is where the primary navigation is). movie3 (in the main_screen composition) is the symbol in which the glow element is animated, and the folders are organized like the following: 
mainscreen (folder) --> main_screen.html
                                --> patient_intro (folder) --> patient_intro.html
sym.getComposition(“mainscreen/main_screen.html”).getStage().getSymbol(“movie3").$(“glow”).play();
What happens is that none of the areas in the "intro" composition are interactive after inserting this code.
Any kind of feedback would be appreciated thank you in advance!

hey Rex,
I think I understand what you mean. This might help:
you could try making a rectangle with opacity 0% and use it as the area the user will click. then make sure this rectangle is at the top of the elements list on the main stage.
This should allow you to place other element over each other(e.g the full button glow over the button) and allow it to still be accessible by the user.
you can also use the code getComposition() with blank parameter and should work the same as getComposition(“mainscreen/main_screen.html”)
Hope this helped
Owen

Similar Messages

  • Targeting a symbol (to show / hide) within another composition using a trigger in the current loaded composition.

    I apologize if my question is confusing. I'm still fairly new to Edge and I hope I'm correctly explaining my issue. I've been using the Edge Commons composition loader to build this interactive:
    link to interactive: http://edwin-choi.com/main_screen.html
    If you go to care provider --> intro --> 3, and then wait a bit, a purple glow will appear right below the primary navigation labeled "Bariatric Surgeries". This was coded using an invisible button with an 'onclick' state. I wanted to make it so that the purple glow appears on top of that primary navigation label instead of below. However, the primary navigation is in a separate composition. I tried pasting the following code into the "intro" composition to target the glow which is in the main_screen composition (which is where the primary navigation is). movie3 (in the main_screen composition) is the symbol in which the glow element is animated, and the folders are organized like the following: 
    mainscreen (folder) --> main_screen.html
                                    --> patient_intro (folder) --> patient_intro.html
    sym.getComposition(“mainscreen/main_screen.html”).getStage().getSymbol(“movie3").$(“glow”).play();
    What happens is that none of the areas in the "intro" composition are interactive after inserting this code.
    Any kind of feedback would be appreciated thank you in advance!

    hey Rex,
    I think I understand what you mean. This might help:
    you could try making a rectangle with opacity 0% and use it as the area the user will click. then make sure this rectangle is at the top of the elements list on the main stage.
    This should allow you to place other element over each other(e.g the full button glow over the button) and allow it to still be accessible by the user.
    you can also use the code getComposition() with blank parameter and should work the same as getComposition(“mainscreen/main_screen.html”)
    Hope this helped
    Owen

  • How can I show/hide a nested composition during entire video?

    I cannot figure out how to hide a nested composition/layer during the main composition.  I want to hide it at the beginning, show it during part of the video, and then hide it for the rest of the time.  How is this done?  Is there a better way of doing this?  I'm a rookie with After Effects, so please keep your explanations in detail.  Thanks.

    You can treat a nested composition or a precomp in the same way you treat any footage. You can split the layer (Ctrl/Cmnd + Shift + D), or simply duplicate the layer (Ctrl/Cmnd + D) and adjust the in our out points of the duplicate (Alt/Option + [ or ]), set keyframes for opacity (T). This is extremely basic stuff. Have you read Todd's Getting Started with After Effects?
    If you just want to show or hide a layer and still keep it in the composition then you use the shy switch. The shy switch has nothing to do with layer visibility, it just makes it easier at times to navigate around the timeline.

  • Nest a DataGrid within another DataGrid using ActionScript?

    I am running into an interesting issue. I am trying to nest a
    DataGrid in a column of another DataGrid by setting the
    ItemRenderer property. But I am hitting a well that might be due to
    the way setting itemRenderers are done in ActionScript or just my
    ignorance.
    Here's the issue -
    When I set the itemRenderer property of for a grid column, it
    has to be set as follows -
    col.itemRenderer = new ClassFactory(DataGrid);
    But if I do that, since I am dealing with the class and not
    the instance of the DataGrid, how do I set the dataProvider,
    columns and other properties for my nested grid? I know we can do
    this in MXML but how to achieve the same in ActionScript?
    Thank you.

    A very interesting question. I should try this myself at some
    point. If you were using a drop-in itemRenderer, it might look like
    this:
    <mx:DataGridColumn dataField="gridData" ... >
    <mx:itemRenderer>
    <mx:Component>
    <mx:DataGrid dataProvider="{data.gridData}" width="100%"
    height="100%" ...>
    </mx:DataGrid>
    </mx:Component>
    </mx:itemRenderer>
    </mx:DataGridColumn>
    In ActionScript, this might work, but you would need to
    extend DataGrid or use a container wrapper.
    class DataGridItemRenderer extends DataGrid {
    override public function set data(value:Object):void {
    super.data = value;
    dataProvider = data.
    gridData;
    This should do it.

  • Disjointed Rollovers with show / hide layers

    Creating a series of thumnails on a page which, when clicked
    on, will bring up full size image in one spot and relevant text in
    another. I'm using Show / Hide Layers to do this. I've got it all
    working fine except stumbling on one thing. Probably obvious.
    The question I have is how to make the currently showing
    layers go away when the user clicks on another thumbnail. If I was
    using onMouseover and onMouseout then that would be simple. But I
    can't figure out how to automatically make the layers currently
    showing go back to being hidden when another thumbnail is clicked.
    What I get instead is the new layers appearing on top of the old
    ones and making a mess.
    Probably an obvious solution, but my brain is not getting it
    at the moment. Suggestions?
    Thanks...
    -Jesse

    Don't use the show/hide at all. Use SetText of Layer to write
    the required
    content into a single layer.
    Or - if you don't quite get that, just use PVII's AutoLayer
    extension which
    will show one and hide all the rest automatically.
    http://www.projectseven.com/
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "JesseLY" <[email protected]> wrote in
    message
    news:f61nbm$9sn$[email protected]..
    > Creating a series of thumnails on a page which, when
    clicked on, will
    > bring up
    > full size image in one spot and relevant text in
    another. I'm using Show /
    > Hide
    > Layers to do this. I've got it all working fine except
    stumbling on one
    > thing.
    > Probably obvious.
    >
    > The question I have is how to make the currently showing
    layers go away
    > when
    > the user clicks on another thumbnail. If I was using
    onMouseover and
    > onMouseout
    > then that would be simple. But I can't figure out how to
    automatically
    > make the
    > layers currently showing go back to being hidden when
    another thumbnail is
    > clicked. What I get instead is the new layers appearing
    on top of the old
    > ones
    > and making a mess.
    >
    > Probably an obvious solution, but my brain is not
    getting it at the
    > moment.
    > Suggestions?
    >
    > Thanks...
    >
    > -Jesse
    >
    >
    >

  • Captivate: Using Javascript to show/hide text captions

    Hello,
    I want to show/hide a text caption using javascript. I can't find the way of doing it with advanced actions. I dont know if it's because it belongs to a question slide in a pool. Does somebody knows if it's possible and how it can be done??

    You can set the length of the variable when you insert it.
    15 characters is just the default setting.
    What I meant by COULD is that the kind of thing you are asking about here (using JavaScript to hide objects inside a Captivate movie at runtime) is not as simple as you'd like it to be.
    JavaScript is not my particular area of expertise, but there are some people that chime in on this forum that ARE experts at JS. But I think they would also be the first to say that it's not as simple a thing to pull off as just "knowing the command to hide/show an object".
    The easiest tool to use in Captivate for showing or hiding objects is Advanced Actions.  The next easiest thing to use is ActionScript 3, and that's hard.  JavaScript is a very useful programming language, but it spends all of its life outside the Captivate movie looking in through AS3's External Interface.  So JS alone is not going to solve all your issues.

  • Hide a column in one table view but show it in another

    I need to hide a column in one tables view but show it in another table view in the same report. Is this possible?
    Any help on this is appreciated.
    Edited by: VNC on Jan 11, 2010 9:26 AM

    Hi VNC,
    If you're crafty with javascript, you could probably write a script that would set the CSS property DISPLAY to NONE to hide the column in the table view you didn't want but leave it there in the view you did want.
    -Joe

  • Show / hide field based on text in another field

    Hi,
    I'm trying to make one of my fields reactive to what is the text generated in another field.
    At the moment I have this under calculate using custom javascript:
    var Mask = this.getField("Course").value;
    if(Mask == 'Swimming') this.getField("Code").display = display.visible;
    else this.getField("Code").display = display.hidden;
    Whereas Course is the field that is changing and Code is the one that will show/hide based on content of Course.
    Any help?

    Hi Everyone,
    After doing trials with simple calculations it still wasn't working and so I've figured out what the problem is - the document was being exported but with the data being pre-populated from an SQL database in which during the export it all happens at once, not a chain effect so when the export happens it was filling "Code" before "Course" had any info in it...
    The fix was basically having to create a different field in the SQL source itself for an independent field on the pdf form.

  • Robo v9 Show/Hide without Twisties - One button no longer working

    Hey there, as stated I am using Robo v9 with Show/Hide without Twisties (One button) with javascipts.  We have most of our images using DHTML drop-downs and when folks click on "Show All Images" on the page, the GIF changes to "Hide All Images" and all drop-downs (our images) and expanding text are diaplayed.
    It had been working all the time, but now it only works when I right click the topic in the TOC and choose "Edit Topic", then while in the Edit Window (Display view), when I do a View (Ctrl-W) and it displays the page within RoboHelp..I can click the "Show All Images" and it works like it always had.  BUT, if that page is not in the Edit Window, and I right click "Preview Topic", the click "Show All Images" (or on the DHTML dropdown itself) it will NOT show the images, *but the GIF image does properly toggle to "Hide All Images" (and if I do again, then it properly toggles to the "Show All Images" GIF, if I do it again), but now NO images are getting displayed for some reason.  It also NEVER works properly when I publish to our website (even when clicking the DHTML dropdown itself), but the GIF images toggle properly.
    If I right click and choose "Preview Topic" and click "View With" and use Internet Explorer 8 it still never works anymore, unless the topic is in the Edit Window (Display View), so I know the issue is not on the server.  It stops working after I do a generate and run on my pc.  Also when I view it IE8 within Robo (and Allow the Blocked Content to run the scripts), many instances of the same error is shown as:
    Message: Access is denied. 
    Line: 2646
    Char: 3
    Code: 0
    URI: file:///D:/Users/_RBH9_TPO-Generate/v9-testing/ehlpdhtm.js
    ...but I *do* have access to the folder system, but in checking the coding of the ehlpdhtm.js, that area show, where I believe line 2646, character 3 starts at the "values = getAttribute(element, prop );" line below...but maybe something does not exist:
    ==
      //End HTML code invoked function
    function InitEffect( element, prop )
    var values = null;
    if( getAttribute(element,prop)) 
      values = getAttribute(element, prop );
    else if( getAttribute( element, "currentStyle" )  && element.currentStyle.getAttribute)
      values = element.currentStyle.getAttribute( prop );
    else  if (element.style.getAttribute)
      values = element.style.getAttribute( prop );
    if( !values )
      return;
    var functions = new Array();
    ==
    I have a much older backup when restored, it all works properly again in all cases, but I have done so much work since then that I think would need to be manually redone.  I have played with keeping those some javascipts alone (in case I changed something) and updated the rest of the data files I had added, deleted the .CPD file, but it somehow stops working again, probably with some updated file.  I am not sure what specific files could be causing the negative impact that is preventing it from working.  Maybe if I knew what files could impact, I couldrestore those from my old backup.  The newer backups when restored do not work properly, so there was a point in time where something changed and is causing this.
    All prior versions of RoboHelp (v7 and v8) have always worked and still do.  I am using v9.0.1.262, as the latest version has not yet been allowed on our pcs (per security), but since my earlier backup works, I thought it may not be the issue, but wanted to tell you anyway.  ;->
    Any ideas on how I should proceed?  What files may have impact to cause it not to work anymore?  The showhide.js is the only .js to show up as a baggage file.  Also, the DHTML line does exits in each html page's code, as we are still using Robo v7 as the production software and the Show/Hide always works, and I copy them into the respective Robo v9 folders (and if new, then I copy them, then import them), otherwise the newer v7 updated pages are copied over the older v9 html files while RoboHelp is closed.
    Thanks in advance for any info you can provide!

    I may have figured out what to fix to get v9 back to working on the Show/Hide button, but not the "why?" .
    It looks to all be dealing with the Robo automatic html coding of where to locate the .js file(s)...here is a quick overview of this issue and what I did.  When I view the non-working pages within Internet Explorer 8 within Robo (and Allow the Blocked Content to run the scripts), I saw many instances of the same error is shown as this in the log, which implied since I *do* have access rights, maybe the file was just not being found.
    Message: Access is denied.
    Line: 2646
    Char: 3
    Code: 0
    URI: file:///D:/Users/_RBH9_TPO-Generate/v9-testing/ehlpdhtm.js
    OK, here are my findings.  EXAMPLE #1 and EXAMPLE #2 below are excerpts of the same file.  EXAMPLE #1 is from Robo v7 and is copied to the v9 folder after it was updated so our soon to be "production" webhelp will be from Robo v9 (instead of making the same manual updates in Robo v9 as in Robo v7, I copy the updated the .html file to the Robo v9 file system).  Note the direction of the directory slashes of the java scripts listed below, as they are all DOS type slashes (back slashes), EXCEPT for ehlpdhtm.js as it is the ONLY one using UNIX (forward) slashes.
    EXAMPLE #1 (from Robo v7)
    ==
    <link rel="StyleSheet" href="..\..\sty-std-topic.css">
    <script type="text/javascript" language=JavaScript x-save-method=compute-relative
    src="..\..\showhide.js"></script>
    </head>
    <body>
    <robohelp><script type="text/javascript" language=JavaScript1.2 src="../../ehlpdhtm.js"
    x-save-method=compute-relative></script>
    <script type="text/javascript" language=JavaScript1.2>
    <!--
    if( typeof( InitEffects ) != 'function' ) InitEffects = new Function();if( typeof( InitTrigger ) != 'function' ) InitTrigger = new Function();if( typeof( FilePopupInit ) != 'function' ) FilePopupInit = new Function();if( typeof( TextPopupInit ) != 'function' ) TextPopupInit = new Function();
    //-->
    </script>
    ==
    EXAMPLE #2(from Robo v9)
    This is from the restored backup of the Robo v9 files that always work when I restore them, and note they are ALL UNIX (forward) slashes.  These backup files were generated from Importing/Upgrading a copy of the Robo v7 files into Robo v9.
    ++
    <title>[Endpoint Protection] Symantec Overview</title>
    <link rel="StyleSheet" href="../../sty-std-topic.css" type="text/css" />
    <script type="text/javascript" language="JavaScript" src="../../showhide.js">
    </script>
    </head>
    <body>
    <?rh-script_start ?><script src="../../ehlpdhtm.js" type="text/javascript" language="JavaScript1.2">
    </script><?rh-script_end ?>
    ++
    Additional info: The following is from another file from the Robo v9 backup files that always WORK and once again they are ALL UNIX (forward) slashes. 
    ~~
    <link rel="StyleSheet" href="../../sty-std-topic.css" type="text/css" />
    <script type="text/javascript" language="JavaScript" src="../../showhide.js">
    </script>
    </head>
    <body>
    <?rh-script_start ?><script src="../../ehlpdhtm.js" type="text/javascript" language="JavaScript1.2">
    </script><?rh-script_end ?>
    ~~
    BUT since all .js files are referenced in EXAMPLE #1 have DOS slashes (back slashes), EXCEPT for the ehlpdhtm.js, I decided to change the line in ehlpdhtm.js FROM src="../../ehlpdhtm.js" TO src="..\..\ehlpdhtm.js" and IT (this one page) BEGAN WORKING AGAIN after I published.  So having all DOS back slashes DOES work in Robo v9!!!!  BUT it appears that Robo v9 only generates new pages using UNIX (forward) slashes in ALL coding.  I've read about issues like this occurring with the FireFox browser, but we only use IE8, and have not read anything like this related to IE8 issues. 
    So if all UNIX forward slashes and all DOS back slashes can work in Robo v9 in finding and using ehlpdhtm.js, (the Show/Hide buttons function properly) why is this problem existing in Robo v9 when there are mixed "slashes" (using forward and backward)?  ...and the mixed slashes ALWAYS works in Robo v7!  They do not have to all be in the same direction in Robo v7 as it appears to have to be in the newer/more advanced Robo v9.  Why does it matter that all slashes need to be all the same direction, if Robo v9 CAN actually read and figure out the DOS back slashes (formatted by Robo v7 creation) and actually generates UNIX forward slashes for the .js files in new Robo v9 output within the .html?
    More importantly will I have to always do a Global search and replace in Robo v9 to change the direction of the "back slashes" when I copy updated Robo v7 .html files into the Robo v9 folders (instead of manually reworking each change), while in transition from v7 to v9?
    Thanks in advance any information, recommendations, and feedback as your time is greatly appreciated!

  • Using JavaScript to show/hide fragments

    Hi,
    Can anyone point me in the direction of information or an example of JavaScript being used to show or hide fragments within a form?
    I'm looking to add JavaScript to the XDP content of my fragments so that these fragments will be shown or hidden depending on the evaluation of certain conditions.
    If I create a form, and reference a fragment within that, then I can hide the fragment using this JavasScipt embedded within the form:
    xfa.form.MyForm.MyForm.MyFragment.presence="hidden"
    However, I'm looking to add the JavaScript to my fragment. I've used similar JavaScript but when the form and fragment are assembled the fragment is always displayed.
    Can anyone help here please?
    Thanks,
    Ray.

    Hi,
    Can anyone help here at all?
    All that I need for now is how to get JavaScript included in my fragment invoked when a form that includes that fragment is assembled.
    When the fragment is rendered by itself the JavaScript is invoked. But not when it's rendered from within another form. Why is this?
    Thanks,
    Ray.

  • Buttons trigger continue even when just Show/Hide (captivate 6 windows 7)

    I have a simple image button that is designed to act as a close button for a modal popup window in Captivate (Constructed from a smart shape and a caption box).
    The button uses the "Hide" method to hide a target Group. This works fine, but I have noticed the button is also triggering the playhead to "Continue" also.
    It seems that a button I have a "Show" action on also behaves this way. I don't want the playhead to continue, I just want to Show/Hide the objects on the slide. Is there a way to achieve this without haveing the playhead continue, resulting in going to a new slide?
    Thanks in advance,
    Sam

    Sam,
    I'm not so sure this means more maintenance, because the advanced action needs only one statement and can easily be duplicated and edited. For simple actions you also have to select the action (Hide/Show) from the dropdown list, then choose the object using another dropdown list. If you count the number of clicks, this means about the same work. I have explained this important difference about releasing the play head between simple and advanced standard action in a blog post and a YouTube tutorial:
    http://lilybiri.posterous.com/why-choose-standard-over-simple-action
    http://www.youtube.com/watch?v=M3nKi-DB6Fw
    Perhaps you could even save time, but then I have to know if this 'group' of objects is different on each slide or the same? Or are some objects the same? A toggle button is also a possibility, in Captivate 6 you can have shape buttons timed for the rest of the project or on a master slide, which is not possible for the old image buttons.
    Lilybiri

  • Fire event from within another event ?

    It seems that an event fired from within another event does not
    actually execute its code until the firing event completes. The fired
    event's Time value in its Event Data Node indicates the time that it
    was told to execute, but using GetTickCount calls shows that its code
    does not execute until the firing event is finished. This happens
    whether Value Signaling is used to generate a Value Change event or if
    CreateUserEvent and GenerateUserEvent is used. Is this because events
    are placed in a queue ? This behavior is different from Delphi for
    example where the fired event executes right away when called from the
    firing event (before the firing event completes).
    I have an event that executes upon a button value change. I would
    like that same event's code to execute when another button is pressed,
    but also have other code in the second button's event execute after
    that first button's event's code completes. Is there another way to
    accomplish this ?
    Steve

    > It seems that an event fired from within another event does not
    > actually execute its code until the firing event completes. The fired
    > event's Time value in its Event Data Node indicates the time that it
    > was told to execute, but using GetTickCount calls shows that its code
    > does not execute until the firing event is finished. This happens
    > whether Value Signaling is used to generate a Value Change event or if
    > CreateUserEvent and GenerateUserEvent is used. Is this because events
    > are placed in a queue ? This behavior is different from Delphi for
    > example where the fired event executes right away when called from the
    > firing event (before the firing event completes).
    I'm not that familiar with Delphi, but LV events are asynchronous.
    Window
    s OS has two ways of firing events, Send and Post. The LV events
    are always posted. The primary reason is that the LV events are handled
    by a node, not by a callback. The node you are calling is in the middle
    of a diagram, and reentering it not valid.
    > I have an event that executes upon a button value change. I would
    > like that same event's code to execute when another button is pressed,
    > but also have other code in the second button's event execute after
    > that first button's event's code completes. Is there another way to
    > accomplish this ?
    The best way to reuse code is to use subVIs. Firing events, or rather
    sending events is pretty close in other events to making a function call
    dispatched to anyone interested in the event. The event just hides who
    you are calling and makes you put your parameters in a funny format
    stuffed inside the event. IMO it also makes the code very hard to read
    since you don't know what calls what.
    Instead, just put the code into a sub
    VI and call it whenever you need
    to, from the event structure in one or more locations, and from other
    loops and diagrams.
    Greg McKaskle

  • Help with radio buttons and show/hide javascript

    Hi. I'm new working with LiveCycle and also pretty much at a basic/beginner level of javascripting. I'm creating a pdf fillable form and one of the tasks I've been given is to add a function where if Option A is chosen by the user, then the correspondng table will appear, and if Option B is chosen another table will appear. After some searching I Iearned more about how radio buttons can be used, so I created a set of radio buttons. I have tried several different things, the latest was making both tables "hidden", and then taking to the radio button list group and applying the show/hide script to each of the radio buttons in the group. Still nothing seems to be working as I want it to. The table remains hidden when I click on the . This is what the code looks like right now. I know I'm obviously doing something wrong, this seems like such a basic thing to code. Getting to the frustration point, if you can sort me out with what I am missing/overlooking please let me know. Many thanks!
    Note. The radio buttons are not in the same table, they are higher up in the form outside of the tables that I am trying to show/hide, but they are in the same subform. I don't know if that might be an issue?
    form1.#subform[0].RadioButtonList::click - (JavaScript, client)
    form1.#subform[0].RadioButtonList.#field[0]::click - (JavaScript, client)
       if ( RadioButtonList.#field[0].selectedIndex == 1)
         form1.#subform[0].Table1_Work.presence = "visible"
       else
       form1.#subform[0].Table1_Work.presence = "hidden"
    form1.#subform[0].RadioButtonList.#field[1]::click - (JavaScript, client)
       if ( RadioButtonList.#field[1].selectedIndex == 2)
        form1.#subform[0].Table1_Official.presence = "visible"
      else
         form1.#subform[0].Table1_Official.presence = "hidden"

    Hi,
    For starters you have unnamed pages, which is not a good idea. This makes it more difficult to reference objects. In your JavaScript you would have to resolve the node, however the simpliest route would be to name the page first. Something like "page1". Have a look at this example for referencing objects: http://assure.ly/kUP02y.
    Next I would not place the script in each of the radio buttons, as this is likely to cause conflicts and is doubling the script. The best place to put the script is in the click event of the radio button exclusion group. This contains all of the radio buttons. See an example here: http://assure.ly/h7whb8 and https://acrobat.com/#d=ALebgueDXjewHjGyYRdrmw.
    You syntax for JavaScript if/else statements is potentially incorrect. The script within the statements should be wrapped in curly brackets. While you can get away with it for single lines, I would not be inclined to take that approach. So:
    if (a test) {
         // do something
    else {
         // do something else
    With the radio button exclusion group you can use its rawValue, just specify it in the Object > Binding palette. So on the basis of chaning the page name:
    if (this.rawValue == "1") {
         page1.Table1_Work.presence = "visible";
    else {
         page1.Table1_Work.presence = "hidden";
    There is a syntax checker button in the Script Editor that should highlight errors.
    Niall

  • Integrate SAP Portal within another intranet

    We need to integrate SAP Portal within another intranet portal. The question is if technically, it's possible integrate SAP portal to display within a frame that is not the top frame of the window.
    I had this same problem on another project and was not possible because the SAP portal needs to take the entire window (the reason is how it is implemented).
    Could anybody confirm it?

    You can integrate the SAP Portal in another portal. To do so, integrate it by an iFrame.
    To not show the whole SAP Portal navigation in the target portal, go through these links:
    Embedding Enterprise Portal content in another webpage
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4a3addc4-0501-0010-bfbb-9cdd29581adf
    You'll need to make a small configuration of your SAP Portal - that is: adding a new alias.
    br,
    Tobias

  • Calling 'show hide' event from 'select' event

    Hi all,
    is it possible to call an event from another event?
    Can i call the 'show hide' event from the 'select' event to disclose the selected row?
    As a sidenote: is it possible to remove the show/hide button/link but to retain the show/hide functionality?
    Thanks in advance....
    Regards,
    Robert

    Hi Gabrielle,
    Yes indeed... the row information is sent... the 'select' event i'm refferring to is the one generated when you drag a viewobject as a readonly table to a UIX datapage...
    It is generated initially as
    <event name="select" source="EmpView10">
        <set target="${bindings.EmpView1Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'EmpView10')}"/>
    </event>However i must have made a typo last time as it works now... ohwell.. made some changes and submitted the selected row as parameter using
        <invoke method="handleEvent" javaType="view.DisclosureEventHandler">
            <parameters>
                <!-- Selected row -->
                <parameter javaType="java.lang.String" value="${ui:tableSelectedIndex(uix, 'EmpView10')}" />
                <!-- SessionScope attribute to put detailDisclosure in -->
                <parameter javaType="java.lang.String" value="detailDisclosure" />
                <!-- All the other stuff -->
                <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
            </parameters>
    </invoke>This works more cleanly and can be reused...
    Thanks for your replies... it always helps when someone is thinking along... it makes you takes some crossroads you wouldn't think of...
    Regards,
    Robert

Maybe you are looking for

  • Using "today" when making an iCal appointment in Day view gets it wrong.

    When I view iCal in Day view and click on the '+' to make a new appointment, it doesn't get "today" correct. For example, assume it's November 16 and I'm viewing November 20 in Day view. If I click the '+' and then type "Run at 12:30 today" and appoi

  • SAP XI over Business connector

    Hi All, As everyone is aware that SAP Business connector is no longer supported by SAP and XI has replaced it in quite many places. I would like to know the advantages of XI replacing Business connector in a project scenario.Also any disadvantages th

  • Create materialized view in SE referring table in EE

    Hi DBAs, I am trying to create a Materialized view on Oracle 10g Standard Edition which is installed on Linux Debian Lenny. The master table is on Oracle 10g Enterprise Edition installed on Red Hat Linux 4.1.2. When I run, create materialized view t1

  • Problem in adding fields in ADRC

    We are finding problem in adding and deleing fields n ADRC. We have added few fields to ADRC however when we are adding same through Append structure and adjust its giving problem. We are suspecting field created in data dictionary but not added in d

  • Cannot find the file specified...

    My computer keeps bringing up an Adobe Update bubble, but whenever I click on it to download the update, a failure sign keeps showing saying that the system cannot find the file specified, plus error 2. What does this mean and how do I get it to upda