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

Similar Messages

  • Show/hide fields when selecting an option from a drop-down menu.

    Hello Gurus!
    I have a question about creating a Java Script withing Acrobat pro.  This is what i would like to do: I created a drop-down menu with several selection entries.  Upon the customer making one of the selection entries, i would like for the correct fields that i created to become visible and all other fields to hide.  Is this even possible to do?  The reasoning behind this is because we have a form that customers have to generate in order to request access to certain financial accounts; we have over 20 different types of accounts and for each instance the customer has to fill out the same form.  By creating a drop down menu, i can use the same form by just changing the drop-down selection and clicking on the designated fields for that selection.  At this time i have over 20 different forms that poing to 20 different account requests and i would hate to send the form 20 different times to one person.  The reason i can not add all fields desired for all accounts is due to the fact that the form would be filled with hundreds of checkmarks and instructions thus making the process too tideous for the customer.  Hope you guys can help out.
    ~Vader

    The good news is, it can be done (and it has been done).
    There are a few things to be aware of, however.
    The most important is that the form must be planned well, which means that you must think carefully about your logic and even more so about your field naming (hierarchical field names are your friend). One fundamental issue, you have to be aware of, is that this form no longer will be a "standard form". The consequence of this is that you may have to be aware that you might get into trouble when you have to prove that your user filled out that particular standard form (talk to your compliance and forms management people about that).
    You also may have to decide whether the form should be usable in Reader. And, if so, how much you want to spend on the right to do so. You will see below why…
    There are actually two approaches for dynamically showing/hiding parts of a form. If your form can be separated between a fixed first page (where you also have the account type selection), and a variable part (depending on the selection), you could use Templates, which you spawn according to the selection, and delete pages when you change the selection. This approach is very easy to implement, but requires Reader Extensions Server to allow it to work in Reader; Acrobat Pro's extended rights are not sufficient for that.
    The other approach is showing/hiding fields. If you did your homework well, it would be very easy to first hide all subsequent fields, and then show the ones you need in two lines of code. This approach does not require extended rights for Reader at all, as long as your forms will always have the same number of pages, for each of your account types. This approach also works for the cases where the differences between the individual forms are very small. It does also work for showing/hiding bigger chunks of the form. In that case, you might create the "background" separately, and then put it as an icon into a button field which you will show/hide together with the carefully placed on top of it active fill-out fields.
    There is a third possibility, which Adobe Propaganda probably would suggest, and that woudl be subforms in LiveCycle Designer. The consequence is, however, that you won't have PDF forms, but proprietary XFA forms instead. And you may have more developing and maintenance work than with the other approaches.
    Back to your original question: you could use a Keystroke script evaluating event.changeEx of the combo box field. Depending on that, you would run your action to set up the according form part. The other way to do it would be evaluating event.value in the onBlur event. The latter would have the advantage that the selection has been made, and you get a bit more time to set up the form (this may in fact be an issue, particularly with Acrobat 9 and 10, which may take their time to show/hide fields).
    Another possibility instead of a drop down (combo box field) would be a popup, where you would have a button to press, and the list of selections pops up. This second method uses app.popUpMenuEx().
    Hope this can help.
    Max Wyss.

  • Issue while readnig child records of Advanced Table after show/hide event.

    Hi All,
    As suggested in OAF dev guide, I used below piece of code to get control on Child items for selected Parent
    -- code Starts
    // get a handle to inner table
    OATableBean innerTable =
    (OATableBean)webBean.findChildRecursive("InnerTableBean");
    // create an enumerator
    OAInnerDataObjectEnumerator enum =
    new OAInnerDataObjectEnumerator(pageContext, innerTable);
    while (enum.hasMoreElements())
    RowSet innerRowSet = (RowSet) enum.nextElement();
    // get all rows
    Row []rowsInRange = innerRowSet.getAllRowsInRange();
    for (int i = 0; i < rowsInRange.length; i++)
    Row nextRow = (Row) rowsInRange;
    -- code Ends
    The above piece of code works when I don’t select show/hide link of Adv table and select custom ‘Update Parent/Child’ button that is placed at header(parent) level,
    upon btn event it returns all the rows of parent and works fine. But when I select show/hide link and then select ‘Update Parent/Child’ button then only it return no of Child rows displayed (fetched) on page...
    For example, If I have 100 child records of a set and only 10 child rows are displayed at a time on child region , then above code only returns 10 records,
    Ideally it suppose to return all 100 values.
    Can someone please help on this to understand why it only return 10 records not all 100 after selecting Hide show region ? and how can I fix this issue.
    Thanks
    Anand

    Hi,
    Use the VO attached to the inner table and use VO.fetchedRowCount instead of rowsInRange.length in the for loop.
    int rowcount = vo.fetchedRowCount();
    i.e. for (int i = 0; i < rowcount ; i++)
    Thanks,
    Kumar

  • Can't get show/hide event of child UI Component to fire

    I have 4 UI Components, each one inside the other (nested). If the "hide" event of Component 1 is fired, I'm expecting the other components hide events to also fire, but they don't. So for example:
    + Component 1
    +> Component 2
    ++> Component 3
    +++> Component 4
    Is this the correct behaviour? If so, is it possible to do what I'm trying to do any other way?

    Thanks for clarifying. I think I found a way to do it. Adding in each child component:
    protected function initComp():void
        parentDocument.addEventListener(FlexEvent.SHOW, myShowMethod);
        parentDocument.addEventListener(FlexEvent.HIDE, myHideMethod);
    By rights hiding the parent component will cause a chain reaction, firing the hide event handlers on the child components too.

  • In Address Book, any way to Show/Hide groups from view in the "ALL" view?

    I have groups of contacts in Address Book (v4.0.4) that I plan to use in the future, but right now having to wade through and past all of their individual entries when I am scanning my contact list in the "All" group view. Is there any way to Show/Hide these sub-groups with a visibility check-box? The sub-group name would still be there in the group list (to remind me that it exists and make it visible if desired), but I would have a lot less clutter and scrolling the rest of the time.
    I know I can export groups in vCard format and re-import later, but a lot of my original custom fields for the contacts are lost in the process. Is there a 3rd-party plug-in? (Apple, are you working on something like this?)

    Hi Mike, My Address Book app is behaving correctly (maybe I'm not).
    I'm just saying there are times when I want to see "most" of my total collection of contacts, maybe just for the purpose of creating new groups at particular time and want to see at one time the pool of contacts I have to choose from. There are groups that I very seldom need to use, so it would be a way of putting those groups (and their contacts) into "cold storage."
    I also may want to do searches from among most of my contacts, but also I may want to eliminate certain other particular groups from that search pool. That is the reason for wanting to do the "Show/Hide" thing. It is a way of displaying a logical "ALL" minus "SOME", which is the basically same thing as displaying the logical "UNION" of more than one group of contacts at one time. Can this be done?
    Is there a way to open alternate address books, from within the same Address Book app (and logged in as the same user)? That would allow me to truly isolate my work list from my home list.
    One answer to this occurs to me: I could create different log-ins on my PowerBook, and build the different variants of the Address Book I might want into each login and use Fast User Switching to get into each list of contacts. That seems like a lot of extra work . . . and logging in. Any suggestions?
    Scott

  • Calling PL/SQL code from Select statement

    Hi
    I have a PL/SQL function to calculate a value.
    create or replace procedure "SR_GROSS_MARGIN"
    (netsales IN NUMBER,
    margin IN NUMBER,
    GM OUT NUMBER)
    is
    BEGIN
        IF NETSALES = 0 THEN
           GM := 0;
        ELSIF
           NETSALES < 0 THEN
           GM := 0;
        ELSE
           GM := NETSALES / MARGIN;
        END IF;
    END;How do I call this from a SELECT statement?
    Regards
    Adam

    here you go:
    create or replace function SR_GROSS_MARGIN
    (netsales IN NUMBER,
    margin IN NUMBER)
    return number
    is
    gm number;
    BEGIN
        IF NETSALES = 0 THEN
           GM := 0;
        ELSIF
           NETSALES < 0 THEN
           GM := 0;
        ELSE
           GM := NETSALES / MARGIN;
        END IF;
    return gm;
    END;then you can:
    select gm(2500,20) from dual;

  • Finder does not show all colors from selected color Labels

    Since a view days finder does not show all Color Label colors. When I select either yellow or green it is selected, but it does not show in the file list with details, I can see it in icon and 3 pane view, but not in the detail list view.
    does anybody know why or how? Or what plist files I might need to delete to get this reset?

    Create a new account, name it "test" and see how your labels work in that User acct in list view? (That will tell if your problem is systemwide or limited to your User acct.) This account is just for test, do nothing further with it.
    Open System Preferences >> Accounts >> "+" make it an admin account.
    Let us know and we'll troubleshoot this further.
    -mj
    [email protected]

  • How to call/show  page(s) from different application

    Hi All,
    I'm working on couple of applications and some reports (about 30) are used in all applications. I need your advice on doing this efficiently.
    Is it possible to
    1) Create a separate application with all the reports.
    2) Create a blank page with lists linking to all those reports on the same tab
    Now, is it possible to call that page in a "reports" tab of each application without prompting for login and still have rest of the tabs visible while the user is using the reports?
    Thanks in advance,
    Asha
    Edited by: ashapatil on Jul 29, 2010 1:54 PM
    Edited by: ashapatil on Jul 29, 2010 5:41 PM

    Asha,
    you can create links to call pages from other applications without any problem, just take a look at the structure of APEX URL over here: http://www.oracle-and-apex.com/apex-url-format/
    To avoid re-logins you could either disable security on your application (not recommended) or create a custom authentication scheme which takes logged in users from other applications as granted.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at
    Training: http://www.click-click.at/apex-4-0-workshops

  • Moving show/hide (+/-) icon from left end to right end in panelbox

    HI,
    Could anyone please suggest how to move the +/- icon in the panel box tabs aligned left to the panelbox title to the right end of the panelbox.
    I want as below :
    Currently :
    [ + My title 1 ]
    [ - My title 2 ]
    [ + My title 3 ]
    I want it like :
    [ My title 1 + ]
    [ My title 2 - ]
    [ My title 3 + ]
    Thanks in Advance
    Jeffry
    Edited by: Jeffry on Mar 24, 2011 3:13 AM

    Hi,
    I don't see an option for this. The popup header is rendered as a table with 3 cells. Even CSS (e.g. float:right) would change this
    Frank

  • Show/hide pointer issue

    Show pointer option is not working as it used to be with last 2 versions of photoshop touch for iphone on iphone 6.
    While making a selection with lasso tool with "show pointer on" I can not carry on selection step by step, it works a few steps properly then I had to wait for a while so that it can go further step.

    I apologize for the confusion. Let me try to start over, following the instructions you are asking to provide. The computer that has Photoshop installed is from school, so I will try the best I can giving you detailed specs. For what I know, It is a PC running Windows 7 64bit, but I do not know the amount of RAM as I do not have permission to access the control panel or any of its system settings. The version of Photoshop is CS6 13.0 Extended, and its performance preferences re the following...
    Available Ram: 34827MB
    IdealRange: 1884-2467MB
    Allow Photoshop to use: 2056MB
    HardDrive: 835GB
    as for the error, there is no error. I might of not been specific, but I am not stupid not to include the type of error if there was any...
    Other things like the grand total ram, video card, and video ram are all accessible by the administrator only.
    the file I am working on, is an imported 3ds Max file. I was trying to use Photoshop's 3D painting tool, and from what I understand, it is possible to hide polygons by selecting an area you would like to keep, and what is not selected gets hidden. This is supposed to be good for painting areas that are behind parts of the mesh that is in the way. From the instruction, you are suppose to select the area that you want to keep, and then choose 3d->Show/Hide Polygons->Within Selection. This part I was able to do. Once I was happy with what I needed to paint, I then selected 3d->Show/Hide Polygons-> invert. This allowed me to continue painting other hard areas of the mesh by revealing what was hidden and hides what is visible. Then, when I was ready to reveal the entire mesh back, I was thinking that I should be able to do this by clicking on 3d->Show/Hide Polygon->Reveal All. However, this only reverts the visibility back the other way around as if I clicked on revert.
    So what I was wondering is if this is how the 3d reveal all tool works or is this a bug?
    I hope this clear things up, if not, please let me know.

  • Photoshop CS6 Show/Hide Polygons issue

    Hi. I am doing an assignment for class, using Photoshop CS6, and I am having problems with the show/hide polygons feature. After hiding the polygons of the unselected area, I am able to reveal the entire object by choosing "Reveal All". However, if I ever need to invert the other polygons, by choosing 'Invert Visible", and then want to reveal the entire object again, all it does is inverts it back the other way around. Is this a bug, or is this how it works?

    I apologize for the confusion. Let me try to start over, following the instructions you are asking to provide. The computer that has Photoshop installed is from school, so I will try the best I can giving you detailed specs. For what I know, It is a PC running Windows 7 64bit, but I do not know the amount of RAM as I do not have permission to access the control panel or any of its system settings. The version of Photoshop is CS6 13.0 Extended, and its performance preferences re the following...
    Available Ram: 34827MB
    IdealRange: 1884-2467MB
    Allow Photoshop to use: 2056MB
    HardDrive: 835GB
    as for the error, there is no error. I might of not been specific, but I am not stupid not to include the type of error if there was any...
    Other things like the grand total ram, video card, and video ram are all accessible by the administrator only.
    the file I am working on, is an imported 3ds Max file. I was trying to use Photoshop's 3D painting tool, and from what I understand, it is possible to hide polygons by selecting an area you would like to keep, and what is not selected gets hidden. This is supposed to be good for painting areas that are behind parts of the mesh that is in the way. From the instruction, you are suppose to select the area that you want to keep, and then choose 3d->Show/Hide Polygons->Within Selection. This part I was able to do. Once I was happy with what I needed to paint, I then selected 3d->Show/Hide Polygons-> invert. This allowed me to continue painting other hard areas of the mesh by revealing what was hidden and hides what is visible. Then, when I was ready to reveal the entire mesh back, I was thinking that I should be able to do this by clicking on 3d->Show/Hide Polygon->Reveal All. However, this only reverts the visibility back the other way around as if I clicked on revert.
    So what I was wondering is if this is how the 3d reveal all tool works or is this a bug?
    I hope this clear things up, if not, please let me know.

  • How to show/hide a form field?

    Hi all,
    Is it possible to programaticlly show/hide a from input field at runtime?
    best

    You can use javascript to achieve this and following is the code I'm using in one of the forms to hide a field when this form is being opened.
    ..after displaying page...
    declare
    v_id number(10);
    begin
    v_id:=p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_ID',
    p_index => 1
    If v_id is null then
    htp.p('<SCRIPT LANGUAGE="JavaScript">
    function get_index(p_name) {
    var i;
    for (i=1; i<document.forms[0].length; i++){
    if ( document.forms[0].elements.name == p_name) {
    return i;
    var j = get_index("FORM_NAME.DEFAULT.FIELD_NAME.01");
    document.forms[0].elements[j].style.visibility="hidden";
    </SCRIPT>');
    End If;
    -Krishnamurthy

  • Calendar...list function shows only events for date select instead of events from that date forward.

    Calendar list function shows only events for date selected....instead of events for date selected and events forward from that date.  Is there a setting change needed?  Help!

    Hi,
    Did you check that your universe object referring "Date of Completion" has Date data type?
    Can you also provide the BOE verson you are using?
    I remembered that the calendars were not displayed in XIR2 version.
    Didier

  • When I download photos from a flash drive,everything is fine and they show in Events and Pictures, but when I click on the individual pic I get an error message saying that it cannot locate the JPG. Any thoughts?

    When I download photos from a flash drive,everything is fine and they show in Events and Pictures, but when I click on the individual pic I get an error message saying that it cannot locate the JPG. Any thoughts?

    It sounds like your iPhoto Advanced preferences are set to not copy photos during import, i.e. a Referenced library:
    Check your Advanced preferences to see if that's the case. If it is the best solution would be to select the checkbox to copy the photos and reimport the photos from the flash drive.  Then check the new import. It it was OK you can delete the previous event with the "missing" photos.
    OT

  • How to call a bean method from javascript event

    Hi,
    I could not find material on how to call a bean method from javascript, any help would be appreciated.
    Ralph

    Hi,
    Basically, I would like to call a method that I have written in the page java bean, or in the session bean, or application bean, or an external bean, from the javascript events (mouseover, on click, etc...) of a ui jsf component. I.e., I would like to take an action when a user clicks in a column in a datatable.
    Cheers,
    Ralph

Maybe you are looking for

  • Bug:File Browser Doesn't refresh

    One a directory is opened in the file browser, it can't be refreshed without restarting sqldeveloper. 1 Open a directory in the file browser. 2 Create an additional file in the directory outside of sqldeveloper 3 Try to make the new file appear. Clos

  • Why is there still a notification on my iPhone 5s after I already downloaded the new ios8 software? Can anyone help me to get rid of it?

    Aftee downloading the new ios8 software there is still a "1" notification on my settings. Can anyone tell me how to get rid of it? there is nothing that calls for attention once I get into the settings app. So I'm not sure what to do.

  • How to jump into shopping cart from ERP

    Hi All, I am working on utilities report in SRM server, If I execute the report the shopping cart per product will display at the output in ALV. If I click on the Transaction number the needs to Jump into shopping cart. Could any one please suggest m

  • Serial number search in Web IC in CRM 2007

    Hi guys, I am searching for a serial number in Web IC. The search is successful. However on confirming the IObject, the business partner ( Sold to ) associated with the I Object is not found.  However the same thing works if I use the Installed base

  • L2 Etherchannel Port Suspended issue

    Hi All, We're using 2 P2P link from different providers ( one 30 Mb and second 20 Mb) from Main POP to Remote POP. We required load balance between both the P2P links with failover, but one of the port in suspended mode while channel-group apply. Rem