How to capture "Click" or "MouseOver" actions of SelectOneChoice.

Hi All,
I want to show a popup with some text + hyperlink when user either clicks or mouseover the selectOneChoice.
I can't use ShortDesc because the tooltip contains a hyperlink as well.So i created a method in managed bean and raising a popup using that.
Right now i used below.But it's triggers only if there is a value selected and that too if there is a change in value.
But i wanted it whenever we just click on SelectOneChoice and need not necessarily select anything.
<af:selectOneChoice label="Testing" id="soc1" autoSubmit="true" valueChangeListener="#{RamaBean.test}">
Thanks,
Sid.

Hi,
I am new to ADF Faces,May be i am not getting your solution.
The selectOneChoice is not allowing to place the ServerLsitener inside it.So coded as below.
It's not working.Can you take a look.
JSPX_
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:resource type="javascript">
function showPopupFromAction(event) {
var source = event.getSource();
AdfCustomEvent.queue(source,"slPopup", {}, true);
</af:resource>
<af:messages id="m1"/>
<af:form id="f1">
<af:selectOneChoice label="Testing" id="soc1">
<af:selectItem label="Test" value="Test" id="si1"/>
<af:selectItem label="Test1" value="Test1" id="si2"/>
<af:clientListener method="showPopupFromAction" type="focus"/>
</af:selectOneChoice>
<af:serverListener type="slPopup" method="#{RamaBean.serverListener}"/>
<!-- <af:commandButton text="commandButton 1" id="cb1"
action="#{RamaBean.cb1_action}"/> -->
<af:popup id="popup" binding="#{RamaBean.popup}">
<af:panelWindow title="Business Type" id="btid2">
<af:outputText id="btot7" value="Please consult the "/>
<af:goLink id="gl21" text="Catalogue of Standard Parts" destination="http://lifelink.corp.life/docs/DOC-76129"/>
<af:outputText id="btot41" value=" prior to creating a new lower-level instrument-related SKU"/>
</af:panelWindow>
</af:popup>
</af:form>
</af:document>
</f:view>
<!--oracle-jdev-comment:preferred-managed-bean-name:RamaBean-->
</jsp:root>
Managed Bean_
public class Rama {
private RichPopup popup;
public Rama() {
public void setPopup(RichPopup popup) {
this.popup = popup;
public RichPopup getPopup() {
return popup;
public void serverListener(ClientEvent clientEvent) {
// Add event code here...
RichPopup.PopupHints ph = new RichPopup.PopupHints();
popup.show(ph);
Where am i missing.?
Thanks,
Sid.

Similar Messages

  • How to catch clicking a radiobutton action?

    Hello!
    I want to disable some components within a screen after I click a radiobutton, but I don't know how to catch the clicking radiobutton action (or event?). Could anyboby give me some ideas? Thanks in advance!
    kt

    Have you tried adding ItemListener? this should work....
    <CODE>
    jpanel extends JPanel implements ItemListener
    private JRadioButton;
    public jpaenl()
    rad = new JRadioButton("myradiobtn");
    add( rad )
    rad.addItemListener( this );
    public void itemStateChanged( ItemEvent e )
    if( e.getItemSelectable() == rad )
    //todo code here

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • Flex 3 : How  to capture   right click on DataGrid ??

    I am using Flex 3 . I have some data inside a DataGrid .
    Now when we the user right clicks on Datagrid Item , i want to show an Alert ??How  to capture 
    right click on DataGrid ??
    Please suggest ,thanks

    Thanks for the resonse , I did not understand what is context menu and how it it associated with Datagrid's right click , could you please elobrate ?? Thanks .

  • How to change images based on action.Even clicking changed images should ?

    how to change images based on action.
    Even clicking changed images should do respective actions.
    and while displaying only one image at a time sholud get displayed.
    I am using three images for a single column of a table in Jsp.
    Any clues.
    Any link for any good javascript html jsp site where i can find some good solution.
    vijendra

    In broad way if i say i have multiple situations in mutiple tables where i need such a logic to operate in for all tables.
    lets say in first time load of page by default one image will be displayed (one with sorted order for first column rest all non sorted)Now after every click to any image respective sort should get called.along with all images should get changed.Here with every function one/two images will get effect at least.
    As in first if i say sort by desc then this image will change rest all will remain in unsort form.
    when i move to other column and click on new image the previos will convert to unsort and new one will convert to sort by ascending. rest all will be in unsort form as it is.
    Now it seems like same logic is required with two three conditions.
    even for everyaction different parametrs has to be passed at differnt situations.
    Any good idea if someone can suggest.
    I will be very greatful for him.
    thanks
    vijendra

  • Click event on Autosuggest Listbox. How to capture it ?

    Hello.
    I'm trying without much success to understand how to capture
    the click event on the listbox associated with the Spry Autosuggest
    Widget.
    At this address:
    http://labs.adobe.com/technologies/spry/samples/autosuggest/SuggestSample.html
    it is described how to use the widget. For an istance when
    you type 'Ado' in the first textbox of the page, the listbox (or
    what looks like a listbox) appears with all the possible Adobe
    products beginning with 'Ado'. As the user clicks on a product,
    let's say 'Adobe Acrobat Professional', its description is passed
    to the textbox.
    Fact is, I would like to capture the event of the clicking on
    the Listbox item. Is there a way to obtain that ?
    I would really like to be able to call a JS function when an
    item is selected there...
    I would appreciate any help to solve the problem.
    Regards,
    Newcomsas

    Hi, adding an onClick event handler ist quite easy. my code
    looks like this:
    <div id="VKundenAS" spry:region="dsKunden">
    <div onclick="updateVKundenUUID('{f_uuid}');"
    spry:repeat="dsKunden"
    spry:suggest="{f_name}">{f_name}</div>
    </div>
    Just add the event handler to the corresponding list element
    (here it is a DIV-tag).
    Unfortunately this only works with mouse interaction
    (onClick), if you navigate with the keyboard, no custom JS is
    called. So you have to disable keyboard selection on the
    autosuggest widget, in order to make sure the JS gets called.
    Best wishes,
    Nils

  • How to capture previously clicked button(previous event)?

    Hi guyz,
    I have frame in which i have different panels. I would like to capture the last clicked button. My objective is to bring a pop-up box(dialog) when anything other than a specific button is clicked in one of the panels. So, i would like to know if i can see what button was clicked previously. Does anyone know?

    How to capture previously clicked button(previous event)?Store it somewhere and then you can use it later:
    ActionListener previousActionEvent;
    JButton b = new JButton();
    b.addActionListener(new ActionListener(){
       public void actionPerformed(ActionEvent evt){
          previousActionEvent = evt;
    });

  • I'm wanting to use the "Actions" in Photoshop Elements 11.  But when I get the Actions box up, it is only showing a small list of effects to use.  And no side bar to go any further.  When I click on the little arrow at top and then click on "load actions"

    I'm wanting to use the "Actions" in Photoshop Elements 11. But when I get the actions box up, it is only showing a small list of effects to use. And no side bar. So I can't go any further.  When I click on the little arrow at top and click on "load actions", I am only getting a box with empty space saying "No items match your search".  The folder at the top does say "Actions".  How do I get more effects?  The tutorials that I've checked into all show a long list of effects in their box.  Can anyone help? 

    To use the existing actions, try the following:
    1. Open one of the Action Sets, in this example Special Effects is the Action Set, by pressing the small arrow beside the set name.
    2. Then click on the name of the Action, in this example Faded Ink is the Action name.
    3. Then press the Play button to run the action.

  • How to capture a parameter value in SQL QUERY of scale marker using GO URL

    Hi,
    Can any one please tell me how to capture the parameter value from go url inside Where clause of Scale Marker.
    I am trying to sift the position of scale marker based on SQL Query.
    Thanks-Bhaskar Gouda.
    Edited by: 961171 on Sep 25, 2012 12:33 AM

    Since this is a synchronous interface, where source is a soap(proxy) call and target is JDBC in the first mapping both of them are request scenarios.
    Source Structure:
    RootNode
        Request             1...unbounded
           No_of_Days   1.1 String
    Target Structure:
    RootNode
       Statement
         TableName
             Action mapped to SQL_QUERY
            Access -  SELECT DISTINCT AL.EC_NO,DP.DATE_TO_FORMAL FROM T_APPLICATION_LIST AL,(SELECT DE.EC_NO AS "EC_NO", DE.PACKAGE_NO AS "PACKAGE_NO",PC.DATE_TO_FORMAL AS "DATE_TO_FORMAL" FROM DAICYO_ECNO DE,PACKAGECTL PC WHERE DE.PACKAGE_NO = PC.PACKAGE_NO AND PC.DATE_TO_FORMAL > (TRUNC(SYSDATE) - to_number('$No_Of_DAYS$'))) DP WHERE AL.EC_NO IN  (SELECT EC_NO FROM DAICYO_ECNO WHERE PACKAGE_NO IN (SELECT PACKAGE_NO FROM PACKAGECTL WHERE DATE_TO_FORMAL > (TRUNC(SYSDATE) - to_number('$No_Of_DAYS$')))) AND (AL.FAMILY = ''  or  '' is null and AL.FAMILY is not null ) and DP.EC_NO = AL.EC_NO ORDER BY DATE_TO_FORMAL
         Key
          No_Of_Days   1..1 String
    In Return I am expecting a JDBC response from the Oracle Database as:
    Source Structure:
    RootNode
      STATEMENT_response   1...unbounded
         row                               0...undbounded
           EC_NO                        1..1   String
    Target Structure:
    RootNode
      RESPONSE
        row
         EC_NO                     1..1     String

  • How to capture the Logout time in xMII

    Hi Friends,
    How to capture the logout time in xMII when the user clicks on Logout link
    Thanks

    Srikanth,
    It would be better to use a database table(s) to store your audit trail information than an xml file, which could grow beyond a manageable size and then require housekeeping efforts and file rolling, etc.  It would also be much easier to query user related information out of the logs, pareto charts for failed vs. successful login attempts, etc. if the data was stored in a database.
    Have you considered modifying the Relogin.jsp page link in the portal's sub-menu bar?  How about making your own version of this web page and changing the link pointer?  Keep in mind that whatever result you come up with here will need a significant update for NetWeaver UME compatibility in version 12.0.
    Regards,
    Jeremy

  • How to capture the change in the update mode (for Inventory) in a transport

    Hi all,
    I recently changed the update mode for Inventory Controlling  from Unserialized V3 Update to Queued delta in R/3 DEV environment. When I was doing the change it did not prompt for a transport request. Now I have to somehow capture this in a transport and move it to R/3 Quality environment. How do I capture this change in a transport.
    Thanks in advance,
    Ram Kumar.

    there are 2 options
    1) try changing back and forth and see if it prompts for a request
    2) Create a customizing request and add the following entry into the request
    Program ID - R3TR; Object type - TABU; Object name -  TMCEXUPD
    and make the entry ...How ?? Click on the key that you see under the column 'Function'
    client/application component.. if client is 100 and application component is 11
    then the table entry should be 10011
    Assign points if it helps
    P.S:if you check the table TMCEXUPD shows you the update mode
    Edited by: KK on May 28, 2008 1:52 PM

  • How to Capture the Objects in Object Library in Openscript tool?

    Hi All,
    I am new to OATS and i was trying to explore the Object Library in Opencript tool.
    Can anyone please advise me how to capture the Oracle forms Object in Object Library or Object Repository using OpenScript Tool?
    It would be grateful,If you can provide me the step to follow for the above.
    Thanks
    Ajith

    Hi Ajith,
    Create one Object Library. In OpenScript click File -> New -> Select Object Library under Script Assets.
    Then mention name of your library and save it.
    Add this library to script assets of your script. Select Script -> Script Properties... -> Script Assets -> Object Library -> Add(button) -> select your Object Library.
    Then save  your script and start recording. After recording you can see xpath of all objects you interacted with during your script recording.
    If you want to apply this to your script, select Script -> Apply Object Library.. -> then select your Object Library. If you want to revert it, then select Script --> Revert All Navigation To Recorded
    Hope this will help you...
    Regards,
    Deepu M

  • How to capture the parameter in webdynpro application?

    Hi ,
    We have a requirement like this :
    the scenario is :
    user will get a mail to  inbox(here mail is coming from SAP Workflow) saying that :"proposal is waiting for your approval".for details please click on the below link:
    once user clicks on the link it has to open up the webdynpro application and has to display the details of the particular proposal no.
    how to pass the proposal no to the webdynpro application URL and how to capture the proposalno in webdynpro java?
    Thanks in advance.
    Regards,
    Pavani

    From the workflow when you create the link, also add the proposal number as an url parameter.
    For example if the url for requesting WD application is <WD_URL>, then URL with parameter would be
    <WD_URL>?PROPOSAL_NO=<actual_proposal_number>
    In the webdynpro, you can access this parameter with the following piece of code(ideally in wdDoInit of component controller).
    String proposalNo = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("PROPOSAL_NO");
    Regards
    kk..

  • How to capture the row  value in Advanced Table on OAF ?

    Hi:
    I was wondering, if anyone has any idea as to how to capture a row value on an advanced table on a OAF Page.
    I am currently trying to capture the Expense Report Number ( first column) on the Track Expenses Reports table on the page /oracle/apps/ap/oie/webui/HomePG.
    Any idea would be helpful ?
    Thank You

    Hi,
    856070 wrote:
    This is what I am looking for :
    Default Functionality
    On the expenses home page there is a table for the Submitted expenses Table ( advanced table) with multiple Expense Number rows , which has a link associated with every expense number. When the user clicks the expense number link , EBS takes you to a more detail information page. ---As per default functionality :::whene ever user clicks on link it will takes u to details info page based expense no right.
    ---Check the property of the Destination URL of the ExpensionNumber column.
    ---In this property u can find the page path and paramam ex:pexpencenumber.
    Customized functionality
    I would like to capture the Expense number on the detailed page to call another application based on the expense number. The expense number on the
    detailed page is not available on the request-parameter or on the VO.
    I was thinking of capturing the ExpenseNumber when the user clicks it and save the expense number on a >transientvalue to retrieve it on the detaile dpage..but unable to do so.---Here get the paramereter pexpencenumber and pass it to another appilcation.
    Regards
    Meher Irk

  • When  click the Payment Action "Format " gets the error

    Dear all:
    When do the AP payment click the Payment Action "Format " gets the error as follow , how can I solved the problem?
    =========================================================================
    LOGFILE :
    Oracle 應付帳款管理系統: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    C050_CAPPBFOR_HS module: C050 HS HKD Check Payment Format
    目前的系統時間是 07-01-2010 12:04:30
    +-----------------------------
    | 正在啟動並行程式的執行...
    +-----------------------------
    引數
    P_PAYMENT_BATCH='快速付款: 識別碼=1031163'
    APPLLCSP Environment Variable set to :
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    TRADITIONAL CHINESE_AMERICA.UTF8
    MSG-00001: After SRWINIT
    MSG-00002: After Get_Company_Name
    MSG-00003: After Get_NLS_Strings
    MSG-00004: After Get_Base_Curr_Data
    MSG-00800: Getting Payment Batch details....
    MSG-00900: Payment Batch does not exist.
    MSG-00955: Deleting AP_CHECKRUN_CONC_PROCESSES record....
    REP-1419: 'beforereport': PL/SQL 程式異常中止.
    Report Builder: Release 6.0.8.20.2 - Production on 1 01 7 12:04:29 2010
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    輸入使用者名稱:
    Plsql 程式的日誌訊息開始
    PlSql 程式日誌訊息的結束
    程式 以狀態 1 結束
    為並行請求 4280108 執行 Oracle*Report 時, '並行管理程式' 發生錯誤.
    有關詳細資訊, 請查閱並行請求日誌檔及/或輸出檔.
    正在執行請求完成選項...
    已完成請求完成選項的執行.
    並行請求已完成
    目前的系統時間是 07-01-2010 12:04:30
    APPSTAND : 11.5.33
    APXINWKB : 11.5.564.11592.22
    APXPAWKB : 11.5.319.1159.21
    FNDCPVWR : 11.5.15
    FNDRSRUN : 11.5.129
    FNDSCSGN : 11.5.111
    ==========================================================
    Regards
    Edited by: Terry Chen on 2010/1/6 下午 8:20

    Hi terry;
    Please follow below and see its helpful for your issue:
    JEDEREFD Errors With Msg-00900: Payment Batch Does Not Exist. [ID 438680.1]
    Error When Creating A Quick Payment Through The Invoice Workbench - Pay In Full APXPBFEL [ID 566027.1]
    JEPTBFOR Errors With REP-1419, MSG-00901 [ID 433323.1]
    APXPBFOR - Format Payments : Program Aborted With Error REP-1419 When Run From NLS Responsibility [ID 257075.1]
    Regard
    Helios

Maybe you are looking for

  • Problem with importing a show

    I'm very new to using iMovie. I've read some instructions and guides but nothing seems to explain it. I want to import a show that I downloaded, it is .avi. It's about 22 minutes long. It finished importing but came out white, completely blank. Am I

  • IMac does not turn on

    When I press the start button I only hear a drive sound, no chime and have no video. Apple info was useless. Thank you in advance.

  • Print tabloid size document on several letter size papers (tiling)

    officejet pro 8600 on Mac 10.6.8 Can't seem to find the option to tile print.

  • Connecting to SQL

    I downloaded Oracle from the Web and using it to do homework. I dont need to connect to any server but I dont know how to log in to SQL to create and modify a table. I have Windows ME, Office 2000 pro which include MS Access Please help me to get sta

  • Activación macromedia studio mx 2004

    He formateado mi equipo y tras instalar el Macromedia Studio MX 2004, cuando intento activarlo me dice que hay un problema en red. Sin embargo, tengo red. ¿Cómo podría solucionar este incidente? También he intentado activarlo por teléfono pero el tel