How to add event hadling to Accept Call button
Hi
In the home screen of interaction screen,i had one button named accept call button
so now we dont have any event for that button click
so now i have to implement the event for that button.so after pressing that button i need to initiate the interaction record event..
pls help me in this regard
What ur trying to do is stnadard delivered functionality...Pl post this message in IC forum.
Raj
Similar Messages
-
How to add event to calendar?
how to add event to calendar? No plus sign at top of window.
See the user guide: http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
-
How to add Change Layout, savelayout, select layout Button to ALV Toolba
How to add Change Layout, savelayout, select layout Button to ALV Toolbar?
Moderator message: please (re)search yourself before asking.
[Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
locked by: Thomas Zloch on Sep 10, 2010 10:57 AMVariant
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = gs_variant
i_save = c_save
it_default_fieldcat =
IMPORTING
e_exit = gf_exit
es_variant = gs_variant
EXCEPTIONS
not_found = 2.
IF sy-subrc = 2.
MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
IF gf_exit = space.
cf_varia = gs_variant-variant.
ENDIF.
ENDIF.
CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
EXPORTING
i_save = c_save
CHANGING
cs_variant = gs_variant
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4.
IF sy-subrc NE 0.
cf_subrc = sy-subrc.
ENDIF.
Change Layout, savelayout, select layout Button pass the value which is in BOLD
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = gd_repid
i_callback_user_command = 'U_COMMAND'
i_callback_top_of_page = 'TOP-OF-PAGE'
is_layout = fld_lay
it_fieldcat = fieldcatalog[]
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT = it_sort[]
i_default = 'X'
i_save = 'A'
is_variant = gs_variant
it_events = it_event[]
TABLES
t_outtab = it_sales
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
Annasaheb -
How to add the BexAnalyser as standard radio button to the add-ins?
HI All,
how to add the BexAnalyser as standard radio button to the add-ins.
Thanks
VasuWhat do you want to do? Pls give some more details.
-
How to add a PDF to the Help button of the Application? Do we need a Robohelp to generate this?
Thank you for your reply, William.
Well, we just want the PDF to open when we click on the “Help” link of the Application.
Also, we have the PDF ready.
Is it a job of a UI Developer? Do we need to tell him to link this PDF to the Help button or link of the Application? -
How to add events in JTable fields
Hello friends i m working with file transfer client server project in my college.In my client part i have used JTable with AbstractTableModel.
In my JTable it list the current directory files and directories under current directory .
now how can i add events to the the directories that it shows on JTable so that when i click on directory it displays files under that selected directory.
can anyone help me in that.
I will send you my code for that project if anyone can help me.
please help me to do thatYou can handle row selections with selection listener but if you want to handle double clicks you can use something similar to this:
table.addMouseListener(new MouseAdapter() {
public void mouseClicked(MouseEvent e)
int column = table.columnAtPoint(e.getPoint());
int row = table.rowAtPoint(e.getPoint());
Object cellValue = table.getValueAt(row, column);
// Insert files below clicked row
});Please, be more patient in the future -you would probably get an answer if you just posted to any of these two forums. -
How to add event listener?
i want to add event listener when i click on a button in mxml, the event listener should be added in the action script file, how to do this?
can anyone help? urgent!!!Hi Lakshmi,
You can do this just put all the script in the mxml block in seperate AS file as shown below... Observe that I have included an AS file named Script.as and removed the script block form mxml and moved to this Script.as file. Place the Script.as file in your src folder ....
// Main mxml file....
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="onCreationComplete()">
<mx:Script source="Script.as"/>
<mx:TextArea id="textArea" width="300" height="100" />
<mx:Button id="myButton" label="Click ME"/>
</mx:Application>
//Script.as file
import mx.controls.Alert;
private function onCreationComplete():void
myButton.addEventListener(MouseEvent.CLICK, onButtonClick);
private function onButtonClick(event:MouseEvent):void
Alert.show("Button is Clicked");
Thanks,
Bhasker -
How to add event in Date type bean
Hi,
I have created two date items - start date and end date.
now I want to add event in these items?
how can I add event in date type bean?
Pls help..
Thanks
AmitHi Swati,
Yes, I have two OAMessageTextInput bean of Type Date.
How can I set event by --StartDateBean.setEnterClientAction(ClientAction);
I am unable to pass parameter of type "ClientAction" in .setEnterClientAction.
how can I do this. If I declare by
ClientAction DateEvent = null;
then
StartDateBean.setEnterClientAction(DateEvent);
then it doesn't gives me any error but I am unable to initialize the value in "ClientAction" except null.
How can I do this?
Pls Help?
Thanks
Amit -
How to add events to a ordinary html tag
How can i add a event to ordinary tag
Ex:
public void encodeBegin(FacesContext context) throws IOException {
ResponseWriter writer = context.getResponseWriter();
writer.startElement("div", this);
writer.writeAttribute("id", getClientId(context), null);
String width = (String)getAttributes().get("width");
String height = (String)getAttributes().get("height");
String style = (String)getAttributes().get("style");
style= (style!=null) ? style + ";" : "";
if (width != null) style += "width:" + width + ";";
if (height != null) style += "height:" + height+ ";";
writer.writeAttribute("style", style, null);
String styleClass = (String)getAttributes().get("styleClass");
if (styleClass!=null)
writer.writeAttribute("class", styleClass, null);
String title = (String)getAttributes().get("title");
if (title!=null)
writer.writeAttribute("title", title, null);
public void encodeEnd(FacesContext context) throws IOException {
ResponseWriter writer = context.getResponseWriter();
writer.write("<input type=\"button\" name=\"but\"/>");
writer.endElement("div");
i want to add event and bean for the <<< writer.write("<input type=\"button\" name=\"but\"/>"); >>>line of code, which is nothing but a button. I can added using JSF concept. but the requirement is like this. I have to add normal html tag for which i have to use bean and events as well.
Can anyone give suggestion for thisI will give a clear example
writer.write("<h:outputText id=\"txt\" value=\"Just a Display\" />");
writer.write("div");
this 2 lines is in endcodeEnd method. The output text wont display the msg.
even i am writing before the end tag
Here is the full code
================
public void encodeBegin(FacesContext context) throws IOException {
ResponseWriter writer = context.getResponseWriter();
writer.startElement("div", this);
writer.writeAttribute("id", getClientId(context), null);
String width = (String)getAttributes().get("width");
String height = (String)getAttributes().get("height");
String style = (String)getAttributes().get("style");
style= (style!=null) ? style + ";" : "";
if (width != null) style += "width:" + width + ";";
if (height != null) style += "height:" + height+ ";";
writer.writeAttribute("style", style, null);
String styleClass = (String)getAttributes().get("styleClass");
if (styleClass!=null)
writer.writeAttribute("class", styleClass, null);
String title = (String)getAttributes().get("title");
if (title!=null)
writer.writeAttribute("title", title, null);
public void encodeEnd(FacesContext context) throws IOException {
ResponseWriter writer = context.getResponseWriter();
writer.write("<h:outputText id=\"txt\" value=\"Just a message\" />");
writer.endElement("div");
writer.write("<h:outputText id=\"txt\" value=\"Just a message\" />");
This line is not executing
kindly reply me..
my mail id is [email protected] -
How to add someone to a conference call half way in another call on a Mac?
Hi Skype Community, I have been using Skype on a Windows machine and it's very easy to add someone to a conference call while on a call. I am having trouble figuring out how to do so on a Mac. Understand that you have to create a Group with the intended people, then initiate the call at the same time. However, I would like to be on a call with Person A first, then add Person B and/or Person C. Is there any way to do so on a Mac? Many thanks in advance. pklai
Hi:
Thank you for reply to my question.
I have tried your codes and apply them the following the form. However, I always got the following error:
Error: (WWV-00000)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
My codes is:
declare
request_no number;
blk varchar2(30) := 'DEFAULT';
l_url varchar2(4000);
begin
request_no := p_session.get_value_as_NuMBER(
p_block_name => blk,
p_attribute_name => 'A_WORK_REQUEST_ID');
l_url := 'portal30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=11880470335&p_arg_names=_sessionid&p_arg_values=&p_arg_names=work_request_id&p_arg_values='||request_no;
portal30.wwa_app_module.set_target(l_url,'call');
end;
then,
I created another form which has two fields and the dattype of pk is varchar2 and change manually put the pk's p_arg_value into the url.
e.g.
l_url:='PORTAL30.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=9029417810&p_arg_names=WORK_AREA_CD&p_arg_values=APP';
portal30.wwa_app_module.set_target(l_url,'call');
However, I still get the error message as below:
Error: (WWV-00000)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
No conversion performed for type INTEGER, value . (WWC-49102)
Your help would be highly appreciated.
Wei Ye -
I used to be able to add events on my calendar and now I can't. Please help! Thank you
If there is no + sign to add events - go to Settings>iCloud>Calendar>On. Toggle the setting on and off.
-
Urgent: How to add event listeners to a null object?
I have an object that is lazy loaded, and therefore starts out null.
How can I add an event listener onto this null object, so that it fires whenever the object is instantiated?
WHY does arrayCollection.addEventListener(CollectionEvent.COLLECTION_CHANGED, function) not work??
Thanks!
CC,
the answer to your question "WHY does arrayCollection.addEventListener(CollectionEvent.COLLECTION_CHANGED, function) not work??" is that addEventListener is not a static method, ie it has to be attached to an actual instance. I agree that in your situation it would be handy to have it as static, something like ArrayCollection.addEventListener(etc) but I'm not at all sure that is a good plan in general, as usually we want events to fire from an actual instance of the class, not generically. A quick look through the adobe docs has convinced me there are not many static methods at all, and none that appear to help you.
I take it from your description that you don't know exactly when the collection is instantiated? But presumably though you do have a point where new is called? Or something equivalent like populating it from something else?
Richard -
How to add event handling for a menu?
hi,
I have created a menu and few mneu items.
for eachmenu itme , i did event handling and it is workign fine.
it was like this
menuItem = new JMenuItem("Exit",KeyEvent.VK_X);
menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.ALT_MASK));
menuItem.addActionListener(this);
menu.add(menuItem);
public void actionPerformed(ActionEvent e)
JMenuItem source = (JMenuItem)(e.getSource());
String s = "Action event detected. Event source: " + source.getText();
System.out.println(s);
public void itemStateChanged(ItemEvent e)
JMenuItem source = (JMenuItem)(e.getSource());
String s = "Item event detected. Event source: " + source.getText();
System.out.println(s);
now int he second menu i don't have any menu item and i want to do the event handling for the menu itself. any ideas how to do it. following is the code for the menu
//Build the second menu.
menu2 = new JMenu("Options");
menu2.setMnemonic(KeyEvent.VK_O);
menuBar.add(menu2);
menu2.addActionListener(this); //this does nto workYou were on the right track. However, selecting a menu is different from selecting a menu item. MenuItem chucks an ActionEvent and Menu will send an ItemEvent.
If you pile all action output to one actionPerformed method then be careful of your assumptions on what the source type will be. If by any chance the Menu has sent an ActinoEvent then your code will have caused a ClassCastException.
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class MenuTest implements ActionListener, ItemListener {
JMenuItem menuItem;
JMenu menu1, menu2;
JMenuBar menubar;
JFrame frame;
public MenuTest() {
frame = new JFrame("MenuTest");
frame.setDefaultCloseOperation(frame.EXIT_ON_CLOSE);
menubar = new JMenuBar();
frame.setJMenuBar(menubar);
menu1 = new JMenu("File");
menu1.setMnemonic(KeyEvent.VK_F);
menuItem = new JMenuItem("Exit",KeyEvent.VK_X);
menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_X, ActionEvent.ALT_MASK));
menuItem.addActionListener(this);
menu1.addItemListener(this);
menu1.add(menuItem);
menubar.add(menu1);
//Build the second menu.
menu2 = new JMenu("Options");
menu2.setMnemonic(KeyEvent.VK_O);
menu2.addActionListener(this); //this does not work
menu2.addItemListener(this); // use this instead
menubar.add(menu2);
JPanel panel = new JPanel();
panel.setPreferredSize(new Dimension(100,100));
frame.getContentPane().add(panel);
frame.pack();
frame.show();
public void actionPerformed(ActionEvent e)
String s = "Action event detected. Event source: " + e.getSource();
System.out.println(s);
public void itemStateChanged(ItemEvent e)
String s = "Item event detected. Event source: " + e.getSource();
System.out.println(s);
public static void main(String[] args) {
new MenuTest();
} -
How to add event handler for outlook build in control through programmatically
Hi,<o:p></o:p>
There is requirement in my plug in where i need to intercept outlook native attach file method.If user attach more than specified
exchange limit , i need to perform some operatoin. I found that there is way to add "Onaction" method for built in control like this " <command idMso="AttachFile" onAction="CatchExchangeWarning"/> ".
I have to do the same thing via programmatically .I need to attach this event handler through programmatically since my add is not developed by xml file.
<o:p>Thanks</o:p>Hello,
It looks like you are interested in the
BeforeAttachmentAdd event of Outlook items. It is fired before an attachment is added to an instance of the parent object. So, you can analyze the attachment object passed as a parameter and set then Cancel argument - set
it to true to cancel the operation; otherwise, set to false to allow the Attachment to
be added.
Also the Outlook object model provides the
AttachmentAdd event for Outlook items. It is fired when an attachment has been added to an instance of the parent object. You can also analyze the attachment object passed as a parameter to the event handler. You will not be able to
cancel the action in that case. -
How to add events to the Calendar on iPhone in iOS5
I've got a 3Gs and upgraded to iOS 5 this morning.
When I access my calendar on the iphone (iCal) I can't add any activities/events to a particular date (in month view). There used to be a + sign when you clicked a date, which is gone now. I tried tapping, double tapping on the date itself, but also at the bottom where it says 'no activities' on a no-activity day.
I also tried rebooting, but with no result.
Anyone any ideas?I somehow managed to get it to work again.
I connected the iphone again with itunes and chose to synch the calendar with the ical on my macbook. This imported all calendars from the ical on my macbook to my iphone. And suddenly the + button was back again.
Also, the tapping on a date to add an event works now. Not sure what or why went wrong the first time, but fortunately it's working now.
Maybe you are looking for
-
I'm having problems with iPhoto and the facebook set-up. Every time I attempt to do so it says an error has occured and try again later. I have not seen a solution posted. Therefore, how does one contact Apple to solve the problem? I'm new to the
-
Show selected value from multi-selected parameter in crystal report
Dear Experts! i would like to ask how to catch selected value from multi-selected parameter to show in report header section. Thanks in advance.
-
Send selected photos over network to MacAir iPhoto Library?
Could someone provide me with the procedure for copying selected photos in my iPhoto library (on iMac) to my iPhoto library (on Macbook Air)? Both Macs share the same wireless network. Basically, I require an education on sharing files over a network
-
Web Service Counter Current Connections
SCOM sends a warning each time web service current connections value crosses a threshold value. What exactly current connection denotes? Is it the number of users accessing the site What could be the possible solutions of reducing the number of warn
-
I got this error prompt while trying to update my ipad 2: Ipad software update server could not be contacted or is temporarily unavailable