How to invoke commandLink action?

Hi!
On my page i have commandLink defined like this:
<af:commandLink binding="#{regBean.cmdLink}" text="commandLink 1" action="#{regBean.startRegistration}"/>
i need to invoke its action automatically when the page is loaded (it is just "please wait" page") ... i have pagePhaseListener, my own afterPageLoad() method is invoked at right time.
System.out.println("afterPageLoad");
Object retVal = cmdLink.getAction().invoke(FacesContext.getCurrentInstance(),null);
System.out.println("afterPageLoad end- "+retVal);
But when i try invoke commandLink action from this method, it is not invoked, even debugging message after this call is not processed, no exception is thrown..
What am i doing wrong? thanks a lot for any help
Tomas

import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Test extends JFrame {
    public Test() {
     setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
     Container content = getContentPane();
     JButton jb = new JButton("DO NOT PRESS");
     jb.addActionListener(new ActionListener() {
         public void actionPerformed(ActionEvent ae) {
          doFirstThing();
          doSecondThing();
     content.add(jb, BorderLayout.SOUTH);
     setSize(200,200);
     show();
    private void doFirstThing() { System.out.println("I'm doin mah thing!"); }
    private void doSecondThing() { System.out.println("I wanna go first!"); }
    public static void main( String args[] ) { new Test(); }
}If you want something different from this, you are going to have to explain more.

Similar Messages

  • Adobe Configurator - how to invoke action or script from html widget?

    How to invoke action or script from html wiget in Adobe Configurator?
    Please help! I tried to make it about 5 hours!
    I need something like that:
    I click link or image
    ...and it runs action.
    Thanks!

    If you click on the question mark ( as shown below) on the right of Configurator  2 window
    the user guide installed on your computer within Configurator 2  will open
    Anyway once you have your action or script button  in your panel you must select it and configure it in the  inspector palette

  • CommandLink not invoking the action method

    Hi,
    I have commandLink that doesn't call the action method specified in the managed bean. I also have scope of the bean as session. I tried with commandButton also. Any thoughts on this? I am using myfaces1.1.4.
    The source code is as follows:
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <html>
    <f:subview id="itemdetails">
    <f:loadBundle basename="messages" var="msgs"/>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Item Details</title>
    <LINK REL=StyleSheet HREF="buttons.css" TYPE="text/css" />
    </head>
    <body bgcolor="#DEE7F7">
    <h:form>
    <h:commandLink action="#{ItemDetailsBean.addItems}" styleClass="label" value="Add" />
    <h:panelGrid id="panel" columns="4" border="0" styleClass="tableborder" style="text-align:left">
    <f:facet name="header">
                        <h:outputText value="Item Details" styleClass="title" />
              </f:facet>
              <h:outputLabel value="#{msgs.line}" styleClass="label"/>
              <h:panelGroup>
              <h:column>
              <h:inputText id="lineNumber" value="#{ItemDetailsBean.lineNumber}" required="false" />     
              <h:outputText escape="false" value="<br>"/>
    </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.elApplicationTypeJapan}" styleClass="label"/>
    <h:inputText id="elApplicationTypeJapan" value="#{ItemDetailsBean.elApplicationTypeJapan}" required="false" />     
              <h:outputLabel value="#{msgs.ro}" styleClass="label" />
              <h:panelGroup>
              <h:column>
              <h:inputText id="roNumber" value="#{ItemDetailsBean.roNumber}" required="false" />     
              <h:outputText escape="false" value="<br>" />
              </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.elApplicationTypeNotJapan}" styleClass="label"/>     
    <h:inputText id="elApplicationTypeNotJapan" value="#{ItemDetailsBean.elApplicationTypeNotJapan}" required="false" />     
              <h:outputLabel value="#{msgs.item}" styleClass="mandatory"/>
              <h:panelGroup>
              <h:column>
              <h:inputText id="itemNumber" value="#{ItemDetailsBean.itemNumber}" required="true" />     
              <h:graphicImage id="itemDescLov" value="#{msgs.imagesLov}" style="cursor:hand"/>
              <h:inputText id="itemDesc" value="#{ItemDetailsBean.itemDesc}" required="true" />     
              </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.elModelType}" styleClass="label"/>
    <h:inputText id="elModelType" value="#{ItemDetailsBean.elModelType}" required="false" />
              <h:outputLabel value="#{msgs.uom}" styleClass="mandatory"/>
              <h:panelGroup>
              <h:column>
              <h:inputText id="uomCode" value="#{ItemDetailsBean.uomCode}" required="true" />     
              <h:graphicImage id="uomCodeLov" value="#{msgs.imagesLov}" style="cursor:hand"/>
              <h:inputText id="uomDesc" value="#{ItemDetailsBean.uomDesc}" required="true" />
              </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.elApprovalNumber}" styleClass="label"/>
    <h:inputText id="elApprovalNumber" value="#{ItemDetailsBean.elApprovalNumber}" required="false" />     
              <h:outputLabel value="#{msgs.qty}" styleClass="mandatory"/>
              <h:panelGroup>
              <h:column>
              <h:inputText id="quantity" value="#{ItemDetailsBean.quantity}" required="true" />
              <h:outputText escape="false" value="<br>"/>
              </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.ordinanceCodeNo}" styleClass="label"/>
    <h:inputText id="ordinanceCode" value="#{ItemDetailsBean.ordinanceCode}" required="false" />
    <h:outputLabel value="#{msgs.qtyperunitprice}" styleClass="mandatory"/>
    <h:panelGroup>
              <h:column>
              <h:inputText id="quantityPerUnitPrice" value="#{ItemDetailsBean.quantityPerUnitPrice}" required="true" />
              <h:outputText escape="false" value="<br>"/>
              </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.ordinanceClassficationNumber}" styleClass="label"/>
    <h:inputText id="ordinanceClassficationNumber" value="#{ItemDetailsBean.ordinanceClassficationNumber}" required="false" />     
              <h:outputLabel value="#{msgs.unitprice}" styleClass="mandatory"/>
              <h:panelGroup>
              <h:column>
              <h:inputText id="unitPrice" value="#{ItemDetailsBean.unitPrice}" required="true" />
              <h:outputText escape="false" value="<br>"/>
              </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.smallSum}" styleClass="label"/>
    <h:inputText id="smallSum" value="#{ItemDetailsBean.smallSum}" required="false" />
    <h:outputLabel value="#{msgs.hsCode}" styleClass="mandatory" />
    <h:panelGroup>
              <h:column>
              <h:inputText id="hsCode" value="#{ItemDetailsBean.hsCode}" required="false" />
              <h:outputText escape="false" value="<br>"/>
              </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.secretCodeFlag}" styleClass="label"/>
    <h:inputText id="secretCodeFlag" value="#{ItemDetailsBean.secretCodeFlag}" required="false" />
    <h:outputLabel value="#{msgs.countryoforigin}" styleClass="label"/>
    <h:panelGroup>
              <h:column>
              <h:inputText id="countryOfOrigin" value="#{ItemDetailsBean.countryOfOrigin}" required="false" />     
              <h:graphicImage id="countryOfOriginLov" value="#{msgs.imagesLov}" style="cursor:hand"/>
              <h:inputText id="countryOfOriginDesc" value="#{ItemDetailsBean.countryOfOriginDesc}" required="false" />
              </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.comprehensivePreInspectionFlag}" styleClass="label"/>
    <h:inputText id="comprehensivePreInspectionFlag" value="#{ItemDetailsBean.comprehensivePreInspectionFlag}" required="false" />     
              <h:outputLabel value="#{msgs.countryofdiffusion}" styleClass="label"/>
              <h:panelGroup>
              <h:column>
              <h:inputText id="countryOfDiffusion" value="#{ItemDetailsBean.countryOfDiffusion}" required="false" />     
              <h:graphicImage id="countryOfDiffusionLov" value="#{msgs.imagesLov}" style="cursor:hand"/>
              <h:inputText id="countryOfDiffusionDesc" value="#{ItemDetailsBean.countryOfDiffusionDesc}" required="false" />     
              </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.ear}" styleClass="label"/>
    <h:inputText id="ear" value="#{ItemDetailsBean.ear}" required="false" />
    <h:outputLabel value="#{msgs.countryofassembly}" styleClass="label"/>
    <h:panelGroup>
              <h:column>
              <h:inputText id="countryOfAssembly" value="#{ItemDetailsBean.countryOfAssembly}" required="false" />     
              <h:graphicImage id="countryOfAssemblyLov" value="#{msgs.imagesLov}" style="cursor:hand"/>
              <h:inputText id="countryOfAssemblyDesc" value="#{ItemDetailsBean.countryOfAssemblyDesc}" required="false" />
              </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.tsca}" styleClass="label"/>
    <h:inputText id="tsca" value="#{ItemDetailsBean.tsca}" required="false" />     
    <h:outputLabel value="#{msgs.hazardousgoods}" styleClass="label"/>
    <h:panelGroup>
              <h:column>
              <h:selectBooleanCheckbox id="hazardousGoods" value="#{ItemDetailsBean.hazardousGoods}"/>
              <h:outputText escape="false" value="<br>"/>
              </h:column>
    </h:panelGroup>
    <h:outputLabel value="#{msgs.inspection}" styleClass="label"/>
    <h:inputText id="inspection" value="#{ItemDetailsBean.inspection}" required="false" />     
    <h:outputText escape="false" value="<br>"/>
    <h:outputText escape="false" value="<br>"/>
    <h:outputLabel value="#{msgs.ewarningGoods}" styleClass="label"/>
    <h:inputText id="warningGoods" value="#{ItemDetailsBean.warningGoods}" required="false" />
    </h:panelGrid>
    </h:form>
    </body>
    </f:subview>
    </html>

    I have a SummaryPage that has an outputlink. On clicking that link to goes to the following URL:
    http://localhost:8080/viewLayer/ExportInvoiceEdit.faces?invoiceId=INV-00035&orgId=PLGA
    The code snippet of this page is :
    <t:panelTabbedPane width="110%" activeTabStyleClass="RightTabForeCurveid704112siteid0" >
    <t:panelTab label="Invoice Header">
    <jsp:include flush="true" page="invoiceheader.jsp"></jsp:include>
    </t:panelTab>
    <t:panelTab label="Item Summary" >     
         <jsp:include flush="true" page="ItemSummary.jsp"></jsp:include>
    </t:panelTab>
    <t:panelTab label="Item Edit">
         <jsp:include flush="true" page="itemdetails.jsp"></jsp:include>
    </t:panelTab>
    <t:panelTab label="Item Specification">
         <jsp:include flush="true" page="itemspecification.jsp"></jsp:include>
    </t:panelTab>
    <t:panelTab label="Comments">
         <jsp:include flush="true" page="comments.jsp"></jsp:include>
    </t:panelTab>
    <t:panelTab label="Shipping Schedule">
         <jsp:include flush="true" page="ScheduleSummary.jsp"></jsp:include>
    </t:panelTab>
    <t:panelTab label="Add Shipping Schedule" >
         <jsp:include flush="true" page="seaschedule.jsp"></jsp:include>
    </t:panelTab>
    </t:panelTabbedPane>
    ===================
    In itemdetails.jsp, I have the commandlink. I don;t have any params configured in faces-config.xml since there is not managed bean for ExportInvoiceEdit.faces. However i have one managed bean for each included jsf page
    I need the invoiceid that has been passed in url in all the included jsf pages. Since on commandlink click, the page is getting refreshed without the param "�nvoiceid", my tabs that contain included jsf pages r getting displayed blank on refresh.
    Message was edited by:
    prashantp_4s

  • How to invoke a java webservices in flex

    hi people.I am new to ths flex.How to invoke java web service in flex .please reply .Thanks in advance.

    A good hands-on example to begin with web service calls..
    http://blog.flexexamples.com/wp-content/uploads/WebService_operation_send_test/bin/srcview /source/main.mxml.html
    Good Luck!
    Nith
    DISCLAIMER:
    ========================================================================
    "This communication is intended only for the named recipient and others authorized to receive it.
    It contains confidential or legally privileged information. If you are not the intended recipient, please notify us immediately, and note that any disclosure, copying, distribution or action you may take in reliance on this communication is strictly prohibited and may be unlawful. Unless indicated otherwise, this communication is not intended, nor should it be taken to create any legal and/or contractual relation or otherwise. Ministry of Finance (MOF) is neither liable for the proper and complete transmission of the communication, nor for any delay in its receipt.
    Whilst MOF undertakes all reasonable efforts to screen outgoing e-mails for viruses, it cannot be held liable for any viruses transmitted by this e-mail."

  • How to invoke a task flow on click of a button(CommandToolbarButton)

    hi All,
    I'm using JDev11g, ADF BC.
    Case Background: I'm designing a screen which has a summary and detail screen in same page. I'm displaying a table from which the user would select a row and click on a button to invoke an action through the Task Flow. In the Task flow i have two fragments one to view the record and other to edit the record. The form to view is read-only and the other is editable.
    Problem: I'm not able to invoke the task flow from click of the button, it just refreshes the page.
    I would like to know how to fix this issue.
    -Jyothi

    Hi,
    can i include page-fragments(.jsff) in the task-flow which is invoked by the select button in the page(.jspx). I would like to know if that could be a reason for the error.
    -Jyothi

  • How to invoke "j_security_check" in jsf page

    Hi,
    with ADF security configure in Jdeveloper11.1.1.2, it automatically generate login.html and error.html for form authentication.
    I found in login.html, the action for form is "j_security_check", and I try to customize login page with jsf page, but don't know how to invoke "j_security_check" in jsf page, there is no more action attribute within af:form and I cannot find the "j_security_check" in commandButton action Expression Build.
    Thanks in advanced.
    Best Regards,
    Bill

    Hi,
    you will have to add the login form to the JSf page wrapped in f:verbatim so it shows as part ofthe JSF page. In JSF 1.2 using f:verbatim shoucl not be require, but by experience, better is.
    If you develop and deploy on WLS, then chapter 30 of the Fusion Developer Guide has a god solution for you to build a login form in JSF completely
    http://download.oracle.com/docs/cd/E15523_01/web.1111/b31974/adding_security.htm#BABDEICH
    This does not require j_security_check at all
    Frank

  • How to invoke a Servlet on onClick event of CheckBox ?

    Hi,
    Can anybody provide me with the code - how to invoke a Servlet & then pass all form variables to the Servlet on onClick Event of CheckBox in a JSP Page.
    I guess it is possible with Javascript but i need the code...
    Pls Help !
    Thanx.

    <html>
    <head>
    <script language="JavaScript">
    <!--
    function submitMyForm(){      
    document.myform.submit();
    //-->
    </script>
    </head>
    <body>
    <form name="myform" method="POST" action="http://mywebserver/servlet/myServlet" target=_top>
    <input type="checkbox" name="mycheckbox" OnClick = "javascript:submitMyForm()">
    </form>
    </body>
    </html>
    Hope this helps...

  • Invoke adobe actions through IAC OR Invoke SaveAsOptimize

    Hello,
    My Requirement :
    We scan a lot of patient documents and need to optimize the same. I have Adobe Acrobat X Pro.
    I figured out a way to save a document as optimize and it works just fine and reduces the file size to a great extent.
    I also figured out to write action to make Pro point to a input folder optimize all pdfs in the folder and output the optimized files to the output folder.
    But now I want to automate this process to eliminate human effort.
    I have read many posts on the forum, but didn't get anser to my requirement.
    Question :
    1. How can I invoke the action written in Adobe? Be it through command prompt or programmatically using Adobe's IAC.
    2. Can I use Adobe SDK to save a pdf as optimized?
    Found similar threads on the forum, but neither is answered:
    http://forums.adobe.com/message/1161543#1161543
    http://forums.adobe.com/message/2197348#2197348
    http://forums.adobe.com/message/1157865#1157865
    Please advise.
    Thanks,
    Abhijit S RajeMane

    Hi Irosenth,
    thanks for your reply.
    Can I use the sdk in .net, can you please shed some more light on the same?
    Is there is any sample code to demonstrate pdf file optimization in .net?
    Thanks,
    Abhijit S RajeMane

  • How to invoke ant via java

    Hi.
    My application has a gui. Now, when a button in the gui is invoked, its action should invoke Ant build which is existing , so that the build.xml will
    do what is necessary.
    How can I do it? That is, how to call the Ant via java? can anybody help me
    Thanks in advance

    Search the ant documentation for a Launcher class.

  • Invoking ADF Actions from JS API

    Is there a way to invoke an action from a javascript function? Something that would perhaps mimic what this commandLink does:
    <af:commandLink text="Lights, Camera, Action!"
    id="chuckNorris" action="flyingKick"/>
    What I am looking for is the ability to invoke the action "flyingKick" from a javascript function.

    Thanks, I actually already saw this. What I need though is something that doesn't a serverListener though - a programmatic version of a commandLink with an action if you will.

  • Z-Button - How to call a Action Profile to Open a PDF-Doc. within an Event?

    Hi Experts,
    we have created a Z-Button that afterwards creates an event. In the coding for the event an Action Profile should be called and a PDF-Document should be opened. We have copied the coding from the standard button 'Print Preview' which is calling the standard event: EH_ONPRINT_PREVIEW.
    We have also defined a Z Action Profile which is a copie of SERVICE_CONFIRMATION. Our problem is we don't know how why our Z-Action Prodile is not called? What is the class lr_actioncontext (TYPE REF TO cl_crm_bol_entity)?
    DATA: lr_cn               TYPE REF TO cl_bsp_wd_context_node,
            lr_adminh           TYPE REF TO cl_crm_bol_entity,
            lr_actioncontext    TYPE REF TO cl_crm_bol_entity,
            lv_adminh_guid      TYPE string,
            lv_url              TYPE string,
            lc_head_context     TYPE REF TO cl_doc_context_crm_order,
            lt_item_context     TYPE ppftctxpos,
            iv_header_guid      TYPE crmt_object_guid,
            lif_decision_pop    TYPE REF TO if_bsp_wd_popup,
            lv_string           TYPE string.
      CHECK gv_print_preview_enabled = abap_true.
      lr_cn = me->get_context_node( gc_cn_btadminh ).
      CHECK lr_cn IS BOUND.
      lr_adminh ?= lr_cn->collection_wrapper->get_current( ).
      CHECK lr_adminh IS BOUND.
      lv_adminh_guid   =  lr_adminh->get_property_as_string( iv_attr_name = 'GUID' ).
      lr_actioncontext = lr_adminh->get_related_entity( iv_relation_name = 'BTHeaderAction' ). "#EC NOTEXT
      CLEAR gt_print_actions.
      CLEAR gr_action_popup.
      iv_header_guid = lv_adminh_guid.
      CALL METHOD cl_crm_uiu_actions_tools=>get_action_definition
        RECEIVING
          rv_action_def = lv_string.
      CALL METHOD cl_crm_uiu_actions_tools=>show_print_actions_popup
        EXPORTING
          ir_action_context       = lr_actioncontext
          ir_parent_node          = lr_adminh
          ir_view_controller      = me
          ir_component_controller = comp_controller
          iv_event_name           = gc_ev_print_preview_closed
          iv_for_preview          = abap_true
          iv_appl_guid            = lv_adminh_guid
        IMPORTING
          et_actions              = gt_print_actions
          ev_url                  = lv_url
        CHANGING
          cr_decision_popup       = gr_action_popup.
      IF lv_url IS NOT INITIAL.
        call_print_preview_popup( lv_url ).
      ENDIF.
    Best Regards

    Closed. No answers.

  • How to invoke a html file in a new browser

    how to invoke a new html file to be opened from an applet
    any help urgent

    hi,
    do the following
    URL url = null;
    try
         url = new URL("http://www.xyz.com");
    catch (MalformedURLException e)
          System.out.println("URL not correct " + e.toString());
    if (url != null)
           getAppletContext().showDocument(url,"_blank"); //shows the page in a new unnamed top level browser instance.
    }hope that helpz
    cheerz
    ynkrish

  • OSB : How can we copy  actions from one project folder to other projects?

    How can we copy actions from one project folder to other projects in OSB?
    For eg:
    I have a service call out action in Project1/proxySer1
    I want to copy this to Project2/proxySer2.
    Espicially, in our case error handling callout is common to all of our projects and we should be able to copy from one to another.
    Edited by: user10367892 on Aug 20, 2009 12:28 PM

    Thank you for the reply.
    It was my fault. I was on two different servers, while i was doing this and so didn't work. But copy /past action works as you suggested.
    Can I select multiple actions from one stage and paste to different proxy service? I have too many options to copy/paste and hence I have this question.
    Is there any other way of copying all selected actions in one stage to another, but not the complete stage itselft?

  • How can i set action on UITaBar and get event from that

    Hi All,
    I m doing one apps in which i have to add three UITabBarItem and this is UITabBarSystemItem.
    Now i cannot understand that how can i set action and get event from the?
    And how can i set various views on three tab bar item.
    I have to use UITabBar means i have to use UINavigationController+UITabBar
    My code id
    tabBar =[[UITabBar alloc] initWithFrame:CGRectMake(0,370,320,50)];
    tabBar.backgroundColor =[UIColor blackColor];
    UITabBarItem *search =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemSearch tag:0];
    UITabBarItem *recents =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemRecents tag:1];
    UITabBarItem *favorites =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemFavorit es tag:2];
    tabBar.items =[[NSArray arrayWithObjects:search,recents,favorites, nil] retain];
    tabBar.selectedItem = search;
    [myView addSubview:tabBar];
    [tabBar release];
    I add a action:
    UITabBarItem *search =[[UITabBarItem alloc] InitWithTabBarSystemItem:UITabBarSystemItemSearch tag:0 action:@selector(select:)];
    So it error: Warning -no'InitWithTabBarSystemItem:tag:action:' method fount
    So any can help me regarding it?

    Thanks RickMaddy very much.
    I read and do with sample at the View Controller Programming Guide . But when run it only view TabBar with title but haven't got any TabBarItem on it. I searched a few example about TabBar and i did, but i want do a form with a button then press on button it view a form with 2 TabBarItem on TabBar and press each TabBarItem will show correlative form page 1, page 2.
    UITabBarController *tabBarControl = [[[UITabBarController alloc] initWithNibName:nil bundle:nil] autorelease];
    tabBarControl.title = @"Tab bar";
    ViewControl1 *view1 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl1" bundle:nil] autorelease];
    ViewControl1 *view2 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl2" bundle:nil] autorelease];
    tabBarControl.viewControllers = [NSArray arrayWithObjects:view1,view2,nil];
    [self.navigationController pushViewController:tabBarControl animated:YES];

  • How to use same actions for differ pop-up

    Hi gurus,
    I am using 2 popup in a view.same popup's having same buttons 'Yes', 'No'.when i use 1st one i have to create an action for that Yes button where i put my code for that particular Action.
    But when i used 2nd one the action define for that is not acceptable with differ name.it takes only standard one.
    Now my Query is : How to use same actions for differ pop-up buttons with in a similar view?Where i put my code.
    Plz sugges me.
    <b>Points will be sured.</b>
    Sanket sethi

    Hi,
    Take one integer value attribute in the context of view
    when you r performing action on POP1 set it's value to 1
    when you r performing action on POP2 set it's value to 2
    create one method which receives integer argument, say diaplay(int a)
    In the action call display(wdContext.currentContextElement().get<intvariable>()) by passing the value in the context attribute
    in display() method, Check the value of integer variable..
    if it is 1 then perform action related to POP1
    if it is 2 then perform action related to POP2
    Regards
    LakshmiNarayana

Maybe you are looking for

  • Complex Mapping Question

    Hi, i have a xml structur like that: <root>      <header>           <nr>00010</nr>      </header>      <header>           <nr>00102</nr>      </header>      <item>           <nr>00010</nr>           <value>20</value>           <wight>60</wight>      

  • Saving Report output to File

    Hello, I remember Portal(first version and WebDB prior to that) perfectly saving a Report as File even if the Report output spans multiple pages. Now I am using the latest version of Portal and I am unable to save the Report to file when the Report o

  • Services stopped responding to requests after several updates

    This week all services on a G5 dual 1.8Mhz tower stopped responding. Unfortunately, I cannot find a trigger event for this though perhaps it is related to recent updates. The services that stopped responding include bonjour, ssh, remote desktop/manag

  • Update to 7.7 or 8.0 doesn't show up in available upgrades

    Hi all As far as i like to upgrade my four S370 Websecurity appliances running on version 7.5.2-303 to Version 8.0 i couldn't see any available upgrades on the list. Before that, I could do/see every update on version 7.5.xy but no further images fro

  • Mirror my I-pad ?

    Just hooked up Apple tv, I was under the understanding I could mirror my I - pad. I am trying to view my many photos on my television , stored on photo stream.  It shows about 69 photos, I have almost 2000.      Are they supposed to be controlled fro