Action based on tab?

Simple question: Is it possible for Flash to react to a user
Tabbing Out of a field rather than just onRelease of a
button?

I think what you want is onKillFocus(). Here is the beginning
description from the help files on TextFields.
onKillFocus = function(newFocus:Object) {}
Invoked when a text field loses keyboard focus. The
onKillFocus method receives one parameter, newFocus, which is an
object representing the new object receiving the focus. If no
object receives the focus, newFocus contains the value null.
Tim

Similar Messages

  • How to add custom action for Publishing Tab on Pages?

    I am able to add a custom action for libraries tab on document library , but i am unable to add it on Publishing tab on Pages.
    Below is the code , what i am trying.
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction
    Id="Ribbon.PublishTab.Publishing.CheckLinkedPageItems"
    Location="CommandUI.Ribbon"
    RegistrationType="List"
    RegistrationId="850"
    Sequence="40"
    Title="Move Documents">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.PublishTab.Publishing.Controls._children">
    <Button
    Id="Ribbon.PublishTab.Publishing.CheckLinkedPageItemsButton"
    Alt="Check Linked Page Assets"
    Sequence="40"
    Command="CheckLinkedPageItems"
    Image32by32="/_layouts/images/centraladmin_systemsettings_email_32x32.png"
    LabelText="Check Assets"
    TemplateAlias="o1"
    ToolTipTitle="Check Linked Page Assets"
    ToolTipDescription="Checks each image, document and page linked to from this page and verified if the asset is both working (not a broken link) and published. You may also use that page to publish all unpublished assets at once."
    />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="CheckLinkedPageItems" CommandAction="javascript:alert('button clicked!);" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>
    any thoughts?

    Hi,
    Check the secquence number . I don't see any issue in your code. Try with different sequence numbers.
    Did you find this Helpful? Please Mark it So! Thank you. Sachin Kumar

  • Single form Multiple Actions based on button click

    Hi,
    I have to call two different actions based on button click from single <form > .
    How to achive this?.
    Thank you

    Hi,
    I am using struts <html:form> and my code is as follows
    <script language="javascript">
              function setAction(val){
         if(val==A){
                   window.open(document.forms[0].action="preview.do");
         }else if(val==B){
         document.forms[0].action="create.do";
              document.getElementById('fcreate').submit();
    </script>
    <html:form action="/create.do" >
    <html:text property="name">
    </html:form>
    action is mandatory for <html:form>
    Its not sending the form elements, when I click the preview button.
    Create button works fine. In struts-conig, I have taken same form name for create and preview actions
    Please give me some tips
    Thank you

  • How to show reasons of action based on PA?

    Experts
    We are in the process of implementing for different countries simultaneously. We have 10 actions which are common for all these countries. However these countries have different reasons of action for these diferent set of 10 actions. I want to show only country specific reasons of action based on PA. Is there any way by which it could be done.
    Regards

    Hi
    I feel so to....maybe you can create user groups and also then have different actions ..... but this is a high price to pay for the same. You may want to prefix your action reason with two character country code, and train your users accordingly, You can also then have a user exit based on which user needs to use which action.......that's if you want a very strict controll.....best regards

  • Performing action based on available memory

    I know java will let your query the freememory() available. My question is it possible to perform an action based on how much free memory is left? Like say if the memory is low you start storing things in a file rather than in memory to save on space. I'm thinking of something similar to virtual memory. It seems though that the freememory function isn't really reporting what is going on. I setup a test look that just creates new objects until the runtime crashes from low memory. Inside the for loop it would test for free memory each time around. If it was below a certain threshold i would print out something. But it doesn't ever seem to reach that point no matter how large i make it. Any idea's about freememory and how it works or how to use it?

    I setup a test look that
    just creates new objects until the runtime crashes
    from low memory. Inside the for loop it would test
    for free memory each time around. If it was below a
    certain threshold i would print out something. But it
    doesn't ever seem to reach that point no matter how
    large i make it.This suggests to me that you aren't keeping references to all those objects, so they are being garbage-collected.

  • Define Corrective Actions based on URL

    Hello,
    I'm new to using 10gR3 Grid control -
    Is there a way of defining a corrective action based on the success of a URL - so if a URL fails with say a 404 error or times out, an OS script can be run.
    I can only find ways of assigning corrective actions with pre-defined alert metrics.
    Thanks for any help

    At the risk of repeat-posting, I'll clarify. Say I create a file named routing.xml which defines some routes like this:
    <routing-config>
      <route>
        <name>Standard rule</name>
        <description>
          This route maps the first two parts in the path with the module and action
        </description>
        <url-pattern>/:module/:action.do</url-pattern>
      </route>
      <route>
        <name>Default Index</name>
        <description>
          Allows the module to be specified without the action for "Index" actions.
        </description>
        <url-pattern>/:module.do</url-pattern>
        <request-parameters>
          <parameter key="action" value="Index" />
        </request-parameters>
      </route>
      <route>
        <name>Homepage</name>
        <description>
          Loads the Home page
        </description>
        <url-pattern>/</url-pattern>
        <request-parameters>
          <parameter key="module" value="Home" />
          <parameter key="action" value="Index" />
        </request-parameters>
      </route>
    </routing-config>The bits like ":module" which be represented by the actual name of the module in the URL. Does anyone know if something like this already exists? :)
    I wrote this exact same thing in PHP5 just a few weeks ago but I really don't have the motivation to write it all over again in Java :P On a side-note, things like this usually come with helpers for turning unclean URIs into clean URIs.

  • Creating a number of Link to Actions based on the Output of an ALV

    Hello Experts,
    I have an ALV table as an output in WDA in which the number of records are unknown.
    I want to limit the number of records to 500 at a point of time.
    Below the table i need to have link to actions placed like 1-500 501-1000 10001-1500 and so on.
    As the number of records are unknown i need to have these link to actions divided among total records.
    And if the table shows 1-500 records the Link to Action 1-500 should become text so that the user will not be able to click on it.
    So my requirement is
    1.How to limit the number of records to 500.
    2.How to place the link to actions dynamically based on the number of output records.
    3.How to change the Link to Action to Text.
    Please help me in this.
    Thanks in Advance,
    Shravan

    Hello Shravan,
    If you know the total number of records at runtime then its simple. Otherwise you need to write some complex logic. I assume that at runtime while launching the application you will know the total number records .
    1.How to limit the number of records to 500.
    As Srinivas mentioned call the set_visible_row_count method by passing 500
    2.How to place the link to actions dynamically based on the number of output records.
    Logic for the same.
    data i_total type i value 1250. "say total number of records
    data i_max type i value 500. "your max records to be displayed in aLV at anypoint of time
    data i_num type i.
    data i_rem type i.
    i_num = i_total div i_max.
    i_rem = i_total mod i_max.
    data lv_end_text type string.
    data lv_start_text type string.
    data lv_final_text type string.
    data i_start type i.
    data i_end type i.
    do i_num times.
      i_start = ( i_max * ( sy-index - 1 ) + 1 ).
      lv_start_text = i_start.
      i_end = i_max * sy-index.
      lv_end_text = i_end.
      concatenate lv_start_text ' - ' lv_end_text into lv_final_text RESPECTING BLANKS.
       "Write the logic to create the Link to Action - as suggested by Srinivas
    enddo.
    if i_rem > 0.
      i_start  = i_max * i_num + 1.
      lv_start_text = i_start.
      i_end = i_max * i_num + i_rem.
      lv_end_text = i_end.
      concatenate lv_start_text ' - ' lv_end_text into lv_final_text RESPECTING BLANKS.
    " Write the logic to add the last linkToAction
    endif.
    3.How to change the Link to Action to Text.
    If you set the enable property of the LinkToAction to abap_false then it will be disabled and displayed as text.
    Hope this helps.
    BR, Saravanan

  • Triggering a custom action in a tab bar controller

    Hey guy,
    As you know, normally, when you click an item in a tab bar it is going to load a view right?
    But I was wondering if there is a way to trigger a custom action when you click an item in a tab bar controller instead of loading a view.
    If there is a way to do it, then how to do it?

    Hi David -
    Daviiidddd wrote:
    if there is a way to trigger a custom action when you click an item in a tab bar controller instead of loading a view.
    I think the implementation would depend on whether you wanted the custom action item to remain "selected", and if so, for how long? In other words, is the action item momentary or selectable? In either case, can we assume that tapping the action item leaves the current view visible? If not, what will the user see? Will the action item be visible from all the other views?
    As you know, normally, when you click an item in a tab bar it is going to load a view right? \[emphasis added by friendly neighborhood helper\]
    If you see most of us nodding, "yes", in agreement, it might be time to review [Tab Bars|http://developer.apple.com/iphone/library/documentation/UserExperience/Con ceptual/MobileHIG/SpecialViews/SpecialViews.html#//apple_ref/doc/uid/TP40006556- CH10-SW13] in the +iPhone Human Interface Guidelines+. Make sure your idea doesn't do something tab bars aren't expected to do. If you're not sure, look at some of the other UI options, e.g. [Toolbars|http://developer.apple.com/iphone/library/documentation/UserExperienc e/Conceptual/MobileHIG/SpecialViews/SpecialViews.html#//apple_ref/doc/uid/TP4000 6556-CH10-SW10], to see if there's a better fit for what you're doing.
    \- Ray

  • Content based on Tabs

    I have a channel which needs to show different content based on the role and the tab the user is on . The role part is not a problem if I define that channel at the role level in Display profile xml outside the containers. But when I define this channel within the Container it does not work. Is it even possible ?
    Any help would be appreciated.
    Chandan

    does your RCDC info look something like the following?
     <my:Control
    my:Name="GroupMemberOfSG"
    my:TypeName="UocListView"
    my:ExpandArea="true"
    my:Caption="Security Groups"
    my:RightsLevel="{Binding Source=rights,
    Path=isAdminAccount}">
    <my:Properties>
    <my:Property
    my:Name="ColumnsToDisplay"
    my:Value="DisplayName,Email,Domain,DisplayedOwner"
    />
    <my:Property
    my:Name="EmptyResultText"
    my:Value="There are no groups according to the filter definition." />
    <my:Property
    my:Name="PageSize"
    my:Value="20" />
    <my:Property
    my:Name="ShowTitleBar"
    my:Value="true" />
    <my:Property
    my:Name="ShowActionBar"
    my:Value="false" />
    <my:Property
    my:Name="ShowPreview"
    my:Value="false" />
    <my:Property
    my:Name="ShowSearchControl"
    my:Value="false" />
    <my:Property
    my:Name="EnableSelection"
    my:Value="false" />
    <my:Property
    my:Name="SingleSelection"
    my:Value="false" />
    <my:Property
    my:Name="ItemClickBehavior"
    my:Value="
    ModelessDialog " />
    <my:Property
    my:Name="ListFilter"
    my:Value="/Group[(Type='Security') and ((ComputedMember='%ObjectID%')
    or (ExplicitMember='%ObjectID%'))]"
    />
    </my:Properties>
    </my:Control>
    </my:Grouping>
    Anthony Marsiglia

  • How to capture closable action in UI Tab Shell?

    Hi,
    I am using Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. I want to capture the closable action on click of red cross sign on the top right corner of the tab in UI Tab Shell. Can anyone please provide me sample code for the same?
    Thanks,
    Vik

    Hi Vik,
    could you get this answer for Fusion UI shell Tab closeable event?
    Regards
    Jam

  • How to forward action based on user logged in ?

    Hi All,
    Jdev Ver : 11.1.1.4.0
    I am using Adf security, with form based authentication..
    I have written login action in managed bean , and forwarding page using the based on url.
        public String doLogin() {
            String un = _username;
            byte[] pw = _password.getBytes();
            FacesContext ctx = FacesContext.getCurrentInstance();
            HttpServletRequest request = (HttpServletRequest)ctx.getExternalContext().getRequest();
          String loginUrl = null;
            try {
                Subject subject = Authentication.login(new URLCallbackHandler(un, pw));
                weblogic.servlet.security.ServletAuthentication.runAs(subject, request);
                SecurityContext sec = ADFContext.getCurrent().getSecurityContext();
                System.out.println("Profile :: "+sec.getUserProfile());
                System.out.println(sec.getUserName());
                System.out.println(sec.getUserPrincipal());
                for(String role : sec.getUserRoles()){
                  System.out.println("Roles :: "+role);
                System.out.println(JSFUtils.resolveExpression("#{securityContext.userName}"));
                if(un.equals("john.doe")){
                  //loginUrl="main";
                  loginUrl = "/adfAuthentication?success_url=/faces/main";
                }else{
                  //loginUrl="test";
                  loginUrl = "/adfAuthentication?success_url=/faces/test";
               // loginUrl = "test";//"/adfAuthentication?success_url=/faces/main";
                HttpServletResponse response = (HttpServletResponse)ctx.getExternalContext().getResponse();
                sendForward(request, response, loginUrl);
            } catch (FailedLoginException fle) {
                FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, "Incorrect Username or Password", "An incorrect Username or Password was specified");
                ctx.addMessage(null, msg);
            } catch (LoginException le) {
                reportUnexpectedLoginError("LoginException", le);
            return null;
        }Now i want to return some action, not using the URL. and sendforward
    any suggestions please ?
    thanks
    Gopinath

    The application is created without configuring the security, later at the end we are doing the security configuration.
    I used formbased authentication , there are 3 roles for the users, based on the users after login action i need to show the screen.(no common screen, each screen is different for each users,)
    I used executeWithParams for executing some VO's before the page loads, if i use the two or more outcome actions in login action, its not rendering the corresponding page and it remains in the same page.
    in between i have to check for user in roles , so based on that i have to set the outcome. find my above login action code.
    This is my use case, tell me suggestions and any idea please.
    thanks
    Gopinath

  • How do I have the learner perform a conditional action based on a button selection?

    The learner needs to select a checkbox on the screen of a performance exercise.  I've put the widget in for the checkbox and it works fine.  After the select the checkbox, they need to select OK on the screen to move them onto the next screen.  However, I don't want the learner to just select OK without selecting the checkbox in order to replicate the sequence correctly. 
    I have a slide which shows the message  which tells them as to what they did wrong when they select OK without checking the box, but when I tie that to the correct response, it will go there whether they select the checkbox or not.
    I've tried adding multiple actions to the button, which doesn't work, becuase the OK button has to be tied to the learner conditionally selecting the checkbox to move on to the correct slide.  If I use multiple actions, and the first action is to SHOW  the slide with the incorrect message, if they correctly check the box and then hit OK, it will first SHOW them the incorrect slide.
    I think what I need is a variable and then add an advanced action with a conditional statement.  However, I don't really know how to do that.  Here's the variable I created, but I don't know what value I should assign.  Here's the screen shot of the variable and conditional statement.  Could someone tell me how to do the variable and the conditional statement so that the learner when selecting OK WITHOUT selecting the checkbox first will be redirected the the error slide and if they select the checkbox FIRST, and then OK, they move on to the next screen?  Thanks,

    Thanks, you definitely got me started on the right track on variables and advanced action statements.  The screen shots helped.
    Here's how the actual fix went to make sure the OK button on the screen had a conditional statement attached to it, with
    an advanced action:
    I created parameters for the widget to link to the variable:
    I created a variable:
    Then I created an advanced action conditional statement for that variable which enabled the button to advance to the next slide when the clickbox was checked:
    Then where I finally realized my final mistake was not setting the button properties to execute advanced action:

  • Dynamic Action based on Interactive Report Select List Value

    I'd like to perform a Dynamic Action when a user selects one of 3 options from a Select List within an Interactive Report:
    select APEX_ITEM.SELECT_LIST(
    p_idx => 3,
    --p_value         =>   deptno,
    p_list_values => 'Copy;Copy,Delete;Delete,Export to PDF;Export to PDF',
    --p_attributes    =>   'style="color:red;"',
    p_show_null => 'YES',
    p_null_value => NULL,
    p_null_text => '--Select--',
    --p_item_id       =>   'f03_#ROWNUM#',
    p_item_id => 'P6_IR_SELECT_LIST',
    p_item_label => 'Label for f03_#ROWNUM#',
    p_show_extra => 'YES') "Actions"
    from dual;
    When building the Dynamic Action, I chose the following values from the Advanced wizard
    Event: Select
    Selection Type: DOM Object
    DOM Object: P6_IR_SELECT_LIST
    Condition: Equal to
    Value: "Delete"
    True Action: Execute Javascript Code: Alert('Here');
    Doesn't seem to be firing...can anyone help?
    Thanks in advance,
    John

    Hi,
    I am not sure if the "equal to" condition applies to a DOM object... after all, a DOM object can be anything (any HTML element) not only a field.
    Try using a javascript expression instead, like this:
    $v('P6_IR_SELECT_LIST')=='Delete'UPDATE: Sorry, I just tested and "equal to" condition works for DOM objects... should have tested before posting!
    Luis
    Edited by: Luis Cabral on Feb 29, 2012 4:45 PM

  • Text entry box actions based on value

    Hi there..
    I am currently working on a software simulator where users search for orders by typing an order number in a search field... In Captivate I have created a Text Entry box with "submit" button, what I am trying to achieve in is if the user type specific value (numbers) and click "submit" button it will take them to a specific slide in the project BUT if they type difference value (in the same text entry box) and click "submit" button it will take them to different slide in the project ?
    hope I have explained the question clearly.. btw I am using Captivate v5
    thanks

    OK, you know how to add the correct entries. Set attempts to infinite, and create this conditional action to trigger by Success for the TEB:
    I created a user variable to associate with the TEB instead of the generic one, it is labeled v_order.  I labeled the slides to jump to as well, makes it easier to use in an advanced action. Screenshots are from CP8, so will look bit different for you, but what you hneed is the same.

  • Different actions based on different drop down selection

    Hi,
    I am new to WebDynpro so still getting to used to the differences with what I am used to. My question is this:
    Is it possible to create a drop down list (by key) in a top view that allows the user to display one of three views in the bottom view? I know it is possible if I add a button, but I want it to look like one form so that the user is unaware of the difference. The "logical" way to me would be to have an action created for each option in the drop down list, but this does not seem possible. Any suggestions on how I could do this?
    Thanks,
    Helen

    As already explained by other posters, this is possible:
    Define an action with a parameter "selectedKey" of type string.
    Bind the DropDownByKey.onSelect event to this action.
    Map the event parameter "key" to the action parameter "selectedKey" by writing this line of code inside method wdDoModifyView():
    if (firstTime)
      IWDDropDownByKey dd = (IWDDropDownByKey) view.getElement("<ID of your drop-down>");
      dd.mappingOfOnSelect().addSourceMapping
        "key", /* event parameter name, see JavaDoc */
        "selectedKey" /* action parameter name */
    The effect of this mapping is that at runtime, the action handler parameter "selectedKey" contains the key that has been selected from the drop-down list.
    In the action handler, you can navigate to the view that corresponds to the selected key by calling the outbound-plug to this view. These firePlug* methods will be generated by the framework, if you have defined the corresponding navigation links in the view modeller.
    But: I would not use at all a drop-down list to switch views because this will not match most user's expectation. Links are more appropriate to indicate navigation to other views.
    Armin

Maybe you are looking for

  • You know ill never understand Verizon

    Over the lst few months i have been reading things online about users worried verizion may axe thier unlimted data plan for *using to much* also other users blaming users who use 50+ GB of data a month for why they are no longer offering unlimted dat

  • Local (IPC) db link vs local (TCP) db link - performance test conclusion

    Hi, I've done some test on AIX machine 9.2.0.8 EE DB . Was expecting performance improvement but observed almost no difference : IPC *** SESSION ID:(11.28) 2010-03-05 11:30:05.385 alter session set events '10046 trace name context forever, level 12'

  • Unicode vs. Non-Unicode with MI

    Hi all, We are looking at doing an installation of MI. We are currently Non-Unicode on our ERP system, although a Unicode conversion project is not too far away. According to the document: "How To Design a SAP NetWeaver Based System Landscape" (NW 7.

  • Sales Order not transferring business partner function to GTS

    We created a new Quality client and I am doing the necessary configuration to connect it with our GTS Quality client.  We are running GTS 7.2. To make it easier in the future I've decided to set up a Feeder System Group that we can add Quality client

  • Export Panel and Droplets

    After running a droplet through the Export Panel in Lightroom the action is not save to the image, whereas before the 'upgrade' it did, same action/droplet as before... Why is it not saving now?