View events are firing multiple times after navigating views.
I made a basic app that has a Home View and a 2nd View and attached mxml events for activate and deactivate onto each of them. From the home view there is a button that pushes the 2nd view. If I suspend and reopen the app from the Home View, the deactivate and activate events fire once each. Then, if I go to the 2nd view and do the same thing, the activate/deactiate events from the Home View fire alongside the ones from the 2nd view. When I go back to the Home view and repeat the test, 3 sets of activate/deactivate events fire (2 from home, 1 from 2nd) and this keeps going. Why is this happening and how do I prevent it? Am I doing something wrong here?
I've tested this in Air 3.3-3.5 on an android 2.3 device and on the desktop tester.
If EBS then post in {forum:id=475}
Similar Messages
-
Issue with When Validate Trigger firing multiple times
Hi guys,
I have Designed a Form Personalization on a Form which Fires a concurrent Program (built in:execute Procedure) when a Record is Saved.
Below are the issues I am facing:
1.Concurrent Program is Firing Multiple Times after Saving the Record.
2.2 input Values to Concurrent Program are passed as NULL though I have Data but they are in Different Block of Form.
Note :I have When Validate trigger on 1 Block but i am trying to pass 2 Values on Another Block as input parameters for Concurrent program.But those values are getting as null when program fires.
Thanks.If EBS then post in {forum:id=475}
-
Problem with ActionListener firing multiple times
I have a GUI class, GUIView, with a no-arg constructor and a static getInstance() method.
The GUI class has a JButton called btnB1 with a method:
void addB1Listener(ActionListener al){
btnB1.addActionListener(al);
}The Controller class has an instance of the GUI and the Model.
The Controller has a constructor which assigns a new ActionListener to the JButton from the GUI.
private GUI m_gui;
FTController(GUIView view){
m_gui = view;
m_gui.addButtonListener(new AddButtonListener());
}The Controller has an inner class:
class AddButtonListener implements ActionListener{
@Override
public void actionPerformed(ActionEvent e) {
// do stuff
}The model has a constructor which accepts a GUIView.
My main method setups instances of the objects:
private GUIView view;
private Model model;
private Controller controller;
public static void main(String [] args){
view = GUIView.getInstance();
model = new Model(view);
controller = new Controller(view);
}This action listener for btnB1 is firing multiple times, but I don't understand why.
Edited by: user10199598 on Jan 9, 2012 2:56 PMHere is the actual Controller class
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import javax.swing.JOptionPane;
import com.esri.arcgis.carto.FeatureLayer;
import com.esri.arcgis.carto.IActiveView;
import com.esri.arcgis.carto.Map;
import com.esri.arcgis.interop.AutomationException;
public class FTController{
private FTView m_arraView;
private FTModel m_arraModel;
private Map m_map;
FTController(FTView view, FTModel model, Map map){
m_arraView = view;
m_arraModel = model;
m_map = map;
m_arraView.addPointListener(new AddPointListener());
m_arraView.addExitListener(new AddExitListener());
m_arraView.addResetListener(new AddResetListener());
public FTView getM_arraView() {
return m_arraView;
// Inner class used as the ActionListener for the btnAddPoint in FTView
class AddPointListener implements ActionListener {
@Override
public void actionPerformed(ActionEvent e) {
FeatureLayer fl = (FeatureLayer) m_arraModel.getLayerByName("arra_field_teams", m_map);
try {
// Start the process to add a new feature point
m_arraModel.addPoint(fl, (IActiveView) m_map.getActiveView());
// Reset and dispose of the ARRA Field Teams form.
m_arraView.getCboTeam().setSelectedIndex(0);
m_arraView.getCboAgency().setSelectedIndex(0);
m_arraView.getTxtLatitude().setText("");
m_arraView.getTxtLongitude().setText("");
m_arraView.getTxtGridL().setText("");
m_arraView.getTxtGridN().setText("");
m_arraView.getTxtQuadrant().setText("");
m_arraView.getFtf3IC().setText("0.002");
m_arraView.getFtf3FC().setText("0.002");
m_arraView.getFtf3IO().setText("0.002");
m_arraView.getFtf3FO().setText("0.002");
m_arraView.getFtfAgxCartridge().setText("0.000");
m_arraView.getFtfBGCM().setText("50.000");
m_arraView.getFtfBGURHR().setText("0.002");
m_arraView.getTxtTimeOfReading().setText("");
m_arraView.dispose();
// Refresh the map window
m_map.getActiveView().refresh();
} catch (AutomationException e1) {
e1.printStackTrace();
} catch (IOException e1) {
e1.printStackTrace();
} // end AddPointListener
// Inner class used as the ActionListener for the btnExit in FTView
class AddExitListener implements ActionListener{
@Override
public void actionPerformed(ActionEvent e) {
m_arraView.getCboTeam().setSelectedIndex(0);
m_arraView.getCboAgency().setSelectedIndex(0);
m_arraView.getTxtLatitude().setText("");
m_arraView.getTxtLongitude().setText("");
m_arraView.getTxtGridL().setText("");
m_arraView.getTxtGridN().setText("");
m_arraView.getTxtQuadrant().setText("");
m_arraView.getFtf3IC().setText("0.002");
m_arraView.getFtf3FC().setText("0.002");
m_arraView.getFtf3IO().setText("0.002");
m_arraView.getFtf3FO().setText("0.002");
m_arraView.getFtfAgxCartridge().setText("0.000");
m_arraView.getFtfBGCM().setText("50.000");
m_arraView.getFtfBGURHR().setText("0.002");
m_arraView.getTxtTimeOfReading().setText("");
m_arraView.dispose();
} // end AddExitListener
// Inner class used as the ActionListner for the btnReset in FTView
class AddResetListener implements ActionListener{
@Override
public void actionPerformed(ActionEvent e) {
FeatureLayer fl = (FeatureLayer) m_arraModel.getLayerByName("field_teams", m_map);
try {
// Actually, "Reset" is deleting all features from the shapefile, poor choice of labels.
m_arraModel.resetFeatures(fl, (IActiveView) m_map.getActiveView(), (Map) m_map);
// Refresh the map window
m_map.getActiveView().refresh();
} catch (AutomationException e1) {
e1.printStackTrace();
} catch (IOException e1) {
e1.printStackTrace();
}Here is where the application starts:
import java.awt.event.MouseEvent;
import java.io.IOException;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;
import com.esri.arcgis.addins.desktop.Tool;
import com.esri.arcgis.arcmap.Application;
import com.esri.arcgis.arcmapui.IMxDocument;
import com.esri.arcgis.arcmapui.MxDocument;
import com.esri.arcgis.carto.IActiveView;
import com.esri.arcgis.carto.IFeatureLayer;
import com.esri.arcgis.carto.Map;
import com.esri.arcgis.framework.IApplication;
import com.esri.arcgis.geodatabase.Feature;
import com.esri.arcgis.geodatabase.IFeatureClass;
import com.esri.arcgis.geometry.Point;
import com.esri.arcgis.interop.AutomationException;
public class FTTool extends Tool {
private IApplication app;
private IActiveView av;
private IMxDocument mxDocument;
private Map map;
private FTView arraView;
private FTModel model;
private FTController controller;
private int left;
private int top;
* Called when the tool is activated by clicking it.
* @exception java.io.IOException if there are interop problems.
* @exception com.esri.arcgis.interop.AutomationException if the component throws an ArcObjects exception.
@Override
public void activate() throws IOException, AutomationException {
@Override
public void init(IApplication app) throws IOException, AutomationException {
this.app = app;
try {
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InstantiationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (UnsupportedLookAndFeelException e) {
// TODO Auto-generated catch block
e.printStackTrace();
// Initialize our map document, map and active view
mxDocument = (IMxDocument)app.getDocument();
av = mxDocument.getActiveView();
map = (Map)mxDocument.getMaps().getItem(0);
// Get an instance of the ARRAView JFrame, and setup the model and controller for this tool add-in
arraView = FTView.getInstance();
// arraView.addWindowListener(arraView);
// Set up the model and controller objects
model = new FTModel(arraView);
controller = new FTController(arraView, model, map);
} catch (AutomationException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
@Override
public void mousePressed(MouseEvent mouseEvent) {
super.mousePressed(mouseEvent);
// Cast IMxDocument into MxDocument so we can get the Parent which returns an Application
MxDocument mxd = (MxDocument)mxDocument;
Application application;
// Create an Application object so we can get the left and top properties of the window
// so we can position the Field Teams GUI.
try {
application = new Application(mxd.getParent());
left = application.getLeft() + 75;
top = application.getTop() + 105;
} catch (IOException e2) {
e2.printStackTrace();
try {
// Call the model to convert the screen coordinates to map coordinates and project the point to WGS_1984
Point p1 = new Point();
p1.putCoords((double)mouseEvent.getX(), (double)mouseEvent.getY());
Point p2 = (Point) model.getMapCoordinatesFromScreenCoordinates(p1, av);
Point point = (Point)model.handleToolMouseEvent(mouseEvent, av);
// Format the decimal degrees to six decimal places
DecimalFormat df = new DecimalFormat("#.######");
// Assign the point2 values to double
double x = point.getX();
double y = point.getY();
// Set the text of the lat/long fields.
arraView.getTxtLatitude().setText(df.format(y));
arraView.getTxtLongitude().setText(df.format(x));
// Set the Time of Reading text field
Date now = new Date();
SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
arraView.getTxtTimeOfReading().setText(sdf.format(now).toString());
// Determine whether the mouse click point intersects the arra_grid_quad.
// If so, iterate over that feature cursor to update the gridl, gridn and quadrant fields...
IFeatureLayer featLayer = (IFeatureLayer) model.getLayerByName("arra_grid_quads", map);
IFeatureClass featClass = featLayer.getFeatureClass();
Feature iFeat = (Feature) model.queryArraGridQuads(featClass, p2);
if(iFeat != null){
// Fill in the grid and quadrant values if there are any.
String gridl = (String) iFeat.getValue(iFeat.getFields().findField("GRID_L"));
String gridn = (String) iFeat.getValue(iFeat.getFields().findField("GRID_N"));
String quadrant = (String) iFeat.getValue(iFeat.getFields().findField("QUADRANT"));
arraView.getTxtGridL().setText(gridl);
arraView.getTxtGridN().setText(gridn);
arraView.getTxtQuadrant().setText(quadrant);
} else {
// Revert values back to empty string after clicking in the grid, then outside of the grid.
arraView.getTxtGridL().setText("");
arraView.getTxtGridN().setText("");
arraView.getTxtQuadrant().setText("");
// Set the Field Team Readings form to visible, or redisplay it if it is already visible
arraView.setBounds(left, top, 325, 675);
arraView.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
@Override
public boolean deactivate() throws IOException, AutomationException {
return super.deactivate();
@Override
public boolean isChecked() throws IOException, AutomationException {
return super.isChecked();
public FTView getArraView() {
return arraView;
public IApplication getApp() {
return app;
public Map getMap() {
return map;
public FTModel getModel() {
return model;
}Is this enough?
Edited by: user10199598 on Jan 9, 2012 3:20 PM -
Trigger is firing multiple times
Hi
we have a table in database , which has multiple triggers defined by Vendor. I have created our own custom trigger on this table also , which fires last. Goal of this custom trigger is to send an email, when ever update happens on table. But somehow
trigger is firing multiple times for same update, so it is sending multiple email for same update also
Any advice?
thanks
DrewALTER trigger [dbo].[AB_TABLEXXX_IUD_TR]
on [dbo].[TABLEXXX]
after insert,update,delete
as
begin
set nocount on
declare @sub varchar(1024)
declare @tmpstr nvarchar(max)
DECLARE @action as char(1);
declare @id as int
declare @send as int
SET @action = 'I'; -- Set Action to Insert by default.
declare @insCount int
declare @delCount int
DECLARE @newLineChar AS CHAR(2) = CHAR(13) + CHAR(10)
DECLARE @tab as CHAR(1)=char(9)
declare @vendorId char(30)
declare @detailmsg varchar(500)
declare @ovname varchar(30),@nvname varchar(100)
declare @ovchkname varchar(100),@nvchkname varchar(100)
declare @oaddress1 varchar(100),@naddress1 varchar(100)
declare @oaddress2 varchar(100),@naddress2 varchar(100)
declare @oaddress3 varchar(100),@naddress3 varchar(100)
declare @ouserdef1 varchar(100),@nuserdef1 varchar(100)
declare @ovndclsid varchar(11),@nvndclsid varchar(11)
select @tmpstr=''
select @insCount = count(*) from INSERTED
select @delCount = count(*) from DELETED
if(@insCount > 0 or @delCount > 0)--if something was actually affected, otherwise do nothing
Begin
if(@insCount = @delCount)
set @action = 'U'--is update
else if(@insCount > 0)
set @action = 'I' --is insert
else
set @action = 'D' --is delete
End
else
select @action='X'
if(@action='X') RETURN
select @sub='Not Found'
set @send=0
if (@action='I')
begin
select top 1 @vendorId=rtrim(VENDORID),@nvname=rtrim(VENDNAME),@nvchkname=rtrim(VNDCHKNM), @naddress1=rtrim(ADDRESS1) ,
@naddress2=rtrim(ADDRESS2),@naddress3=rtrim(ADDRESS3),@nuserdef1=rtrim(USERDEF1),@nvndclsid=rtrim(VNDCLSID) from inserted
select @sub=ORIGINAL_LOGIN()+' : '+'Data inserted in table ''TABLEXXX'''
select @send=1
select @sub=ORIGINAL_LOGIN()+' : '+'New Vendor
'''+@nvname+''' is added'
select @tmpstr=@sub
select @tmpstr =@tmpstr+@newLineChar +'Inserted On: '+ Convert(varchar(50),sysdatetime())+@newLineChar
select @tmpstr=@tmpstr+@newLineChar+'Vendor ID:
'+@vendorId
select @tmpstr=@tmpstr+@newLineChar+'Vendor Name:
'+@nvname
select @tmpstr=@tmpstr+@newLineChar+'Check Name:
'+@nvchkname
select @tmpstr=@tmpstr+@newLineChar+'Address1:
'+@naddress1
select @tmpstr=@tmpstr+@newLineChar+'Address2:
'+@naddress2
select @tmpstr=@tmpstr+@newLineChar+'Address3:
'+@naddress3
select @tmpstr=@tmpstr+@newLineChar+'User Def:
'+@nuserdef1
select @tmpstr=@tmpstr+@newLineChar+'Class ID:
'+@nvndclsid
end
if (@action='U')
begin
select @sub=ORIGINAL_LOGIN()+':''Data Updated in table ''TABLEXXX'''
declare @iTotal int
select @iTotal =0
select @detailmsg=''
create table #new_values(
VENDORID varchar(100) NULL,
processed char(1) NULL
insert into #new_values
select distinct VENDORID,NULL from inserted
while ((select count(*) from #new_values where processed is null)>0 and @iTotal<=50)
begin
--PRINT 'UPDATE Entered ' +@action
select @iTotal=@iTotal+1
select top 1 @vendorId=VENDORID from #new_values where processed is null
update #new_values set processed='Y' where
VENDORID=@vendorId and processed is null
select @detailmsg=''
select
top 1
@ovname=o.VENDNAME, @nvname=n.VENDNAME,
@ovchkname=o.VNDCHKNM,@nvchkname=n.VNDCHKNM,
@oaddress1=o.ADDRESS1,@naddress1=n.ADDRESS1,
@oaddress2=o.ADDRESS2,@naddress2=n.ADDRESS2,
@oaddress3=o.ADDRESS3,@naddress3=n.ADDRESS3,
@ouserdef1=o.USERDEF1,@nuserdef1=n.USERDEF1,
@ovndclsid=o.VNDCLSID,@nvndclsid=n.VNDCLSID
from inserted n,deleted o
where n.VENDORID=o.VENDORID and n.VENDORID
=@vendorId
if (update(VENDNAME) and @ovname<>@nvname) select @detailmsg
=@detailmsg+ @newLineChar
+@tab+'Vendor Name: '+rtrim(@ovname)+' => '+rtrim(@nvname)
if (update(VNDCHKNM) and @ovchkname<>@nvchkname) select @detailmsg
=@detailmsg+ @newLineChar
+@tab+'Check Name: '+rtrim(@ovchkname)+' => '+rtrim(@nvchkname)
if (update(ADDRESS1) and @oaddress1<>@naddress1) select @detailmsg
=@detailmsg+ @newLineChar
+@tab+'Address1: '+rtrim(@oaddress1)+' => '+rtrim(@naddress1)
if (update(ADDRESS2) and @oaddress2<>@naddress2) select @detailmsg
=@detailmsg+ @newLineChar
+@tab+'Address2: '+rtrim(@oaddress2)+' => '+rtrim(@naddress2)
if (update(ADDRESS3) and @oaddress3<>@naddress3) select @detailmsg
=@detailmsg+ @newLineChar
+@tab+'Address3: '+rtrim(@oaddress3)+' => '+rtrim(@naddress3)
if (update(USERDEF1) and @ouserdef1<>@nuserdef1) select @detailmsg
=@detailmsg+ @newLineChar
+@tab+'User Def: '+rtrim(@ouserdef1)+' => '+rtrim(@nuserdef1)
if (update(VNDCLSID) and @ovndclsid<>@nvndclsid) select @detailmsg
=@detailmsg+ @newLineChar
+@tab+'Class ID: '+rtrim(@ovndclsid)+' => '+rtrim(@nvndclsid)
if(len(@detailmsg)>0)
begin
select @send=1
if (len(@tmpstr)<=0)
begin
select @sub=ORIGINAL_LOGIN()+' : '+'Vendor '''+rtrim(@ovname)+''' Updated in table TABLEXXX'
select @tmpstr='Vendor '''+rtrim(@ovname)+''' Updated'
select @tmpstr
=@tmpstr+@newLineChar +@tab+'Updated On: '+ Convert(varchar(50),sysdatetime())+@newLineChar
select @tmpstr
=@tmpstr+@newLineChar +@tab+'Vendor ID: '+rtrim(@vendorId)
end
select @tmpstr=@tmpstr +@detailmsg
end
end
end
if (@action='D')
begin
select top 1 @vendorId=rtrim(VENDORID),@nvname=rtrim(VENDNAME),@nvchkname=rtrim(VNDCHKNM), @naddress1=rtrim(ADDRESS1) ,
@naddress2=rtrim(ADDRESS2),@naddress3=rtrim(ADDRESS3),@nuserdef1=rtrim(USERDEF1),@nvndclsid=rtrim(VNDCLSID) from deleted
select @send=1
select @sub=ORIGINAL_LOGIN()+' : '+'Vendor
'''+@nvname+''' is DELETED'
select @tmpstr=@sub
select @tmpstr =@tmpstr+@newLineChar +'Deleted On: '+ Convert(varchar(50),sysdatetime())+@newLineChar
select @tmpstr=@tmpstr+@newLineChar+'Vendor ID:
'+@vendorId
select @tmpstr=@tmpstr+@newLineChar+'Vendor Name:
'+@nvname
select @tmpstr=@tmpstr+@newLineChar+'Check Name:
'+@nvchkname
select @tmpstr=@tmpstr+@newLineChar+'Address1:
'+@naddress1
select @tmpstr=@tmpstr+@newLineChar+'Address2:
'+@naddress2
select @tmpstr=@tmpstr+@newLineChar+'Address3:
'+@naddress3
select @tmpstr=@tmpstr+@newLineChar+'User Def:
'+@nuserdef1
select @tmpstr=@tmpstr+@newLineChar+'Class ID:
'+@nvndclsid
end
if (@action<>'X' and @send=1)
begin
Exec msdb.dbo.sp_send_dbmail
@profile_name='default',
@recipients='[email protected]',
@subject= @sub,
@body=@tmpstr
end
end
Drew -
When I sync my Iphoe 5 & Ipad Air with my outlook calender in Itunes, the events are duplicated every time I re-sync. This should not happen.
Hi tampabay1,
Thanks for visiting Apple Support Communities.
You can use the steps in this article to troubleshoot the duplicated calendar:
iCloud: Resolving duplicate calendars after setting up your calendar application for iCloud Calendar
http://support.apple.com/kb/ts4118
Regards,
Jeremy -
Sorry this will appear pretty basic stuff. I have ripped all my Cds into iTunes, but in starting to make playlists it is apparent that some artists are listed multiple times as they appear with different bands, and others do not appear at all. I have tried searching different categories, compilations etc, and Finder box does not bring them up.
My questions are:-
Do I need additional software to manipulate my tunes in iTunes?
If so what is suggested?
or if not:-
How can I re arrange the tunes so that they appear only under one artist?
How do I make my "lost" artists tunes appear?
Thanks for any advice.I am not really following what the problem is here. Artists are listed in the Artist field. I guess you could stick individual artists in a band in a field such as comments, but then you would have to include searching the comments field in your search. In which fields are these names located?
How are you making these playlists? Are these smart playlists or are you just dragging tracks to a playlist?
Are you doing this search with Finder's find or with iTunes' search?
If I knew exactly what it was you were trying to do I could tell you if you need addditional software. In reality though there isn't "additional software" for iTunes. There's Applescript plugins but I don't see how the ones with which I am familiar would have anything to do with searching for artist names.
How can I re arrange the tunes so that they appear only under one artist?
Steve MacGuire aka turingtest2 - iTunes & iPod Hints & Tips - Grouping Tracks Into Albums - http://www.samsoft.org.uk/iTunes/grouping.asp (older post on Apple Discussions http://discussions.apple.com/message.jspa?messageID=9910895)
Quick answer: Select all the tracks on the album, File > get info, and either give them all a single "album artist", or check the "compilation" flag (as in https://discussions.apple.com/message/17670085).
If these are from multiple-CD sets you may also need to enter the appropriate information in the disc number fields. -
Lines are showing multiple times on Invoice Report
Hi,
If Payment Terms are Installments then lines are showing multiple times on Invoice Report.
Suppose Payment Terms are 10 Installments then (Item, Description, Qty, Unit Price and Extended price) lines are showing 10 times.But I need to display only one time line data (Item, Description, Qty, Unit Price and Extended price).
Please help me to achieve this.
Thanks,
Subbarao.Hi,
Thank you very much for your reply.
I used following ways:
1) <?xdosxlt:distinct_values(LINE_NUMBER)?>
2) <?if:position()=1?><?LINE_NUMBER?><?end if?>
But no luck to achieve the requirement.
I too thought like your Idea (like displaying multiple) but client wants me to display the only one line data.
Thanks,
Subbarao. -
Event firing multiple times (et_Got_Focus)
Hi,
I just noticed while debugging my Add On code that the et_Got_Focus event which I have added to my event filters is triggered 64 times when I change a field value and then move to a different field. This not only happens in the matrix when changing field values and tabbing through but also in the header fields.
This has got to be a bug and it is not only slowing down the A/P Invoice form but it is potentially very dangerous to have an event firing 64 times when it should only be fired once.
To test this all one needs to do is add the et_Got_Focus event to the event filter with the A/P Invoice form, then add a debug statement to write out the itemvalue properties and you will see once you edit a value and tab you will get 64 statements that are the et_Got_Focus event, BeforeAction false for the same field or column when it should only occur once.
I have a very digrunted client that is very frustrated due to the amount this slows down data entry in the A/P Invoice. I cannot get rid of this event because there is a particular field I am monitoring for the got focus event so I can stop it under certain circumstances.
If anyone else has experienced this or knows how to resolve this please let me know. I guess if I don't find out why this is happening I will post a CSN to SAP.
Thanks very much,
David Wall
Here is a sample of my debug output messages for one update of a single field and then tabbing out:
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - False
et_GOT_FOCUS - - FalseHi David,
We at Self Informatique France have the same problem of getfocus firing many times at one of our customers in Algeria although wae are not using formated search.Any solution ?
Best Rgds.
Antoine Egeileh
President
Self Informatique
[email protected] -
JPane ancestorResized event fired multiple times
Hi,
I have a JPane which in turn contains some more controls. I'm handling "ancestorResized" event for the JPane. But, when I resize the form once, the "ancestorResized" event for the JPane is called 3 times. where as the "this_componentResized" event is called only once.
I am doing a lot of control relocation and resizing in the "ancestorResized" event handler. Since it is fired 3 times, it is making my application slow.
Can some body tell me how to come over this.
Regards.Hi David,
We at Self Informatique France have the same problem of getfocus firing many times at one of our customers in Algeria although wae are not using formated search.Any solution ?
Best Rgds.
Antoine Egeileh
President
Self Informatique
[email protected] -
Validation Event getting called multiple times
I am saving an eform after entering a wrong percentage in it.On opening the same eform it gives the validate message "Percentage not valid" pop up .This popup should come only once but its coming around 25-26 times.I checked and find that the validate event is getting called multiple times for the same field.Can someone tell why this is happening and how to resolve this
Hi rupali Sri,
Our forum here is for questions related to the LiveCycle Collaboration Service product.
You might want to post your question to the Livecycle Forms forum:
http://forums.adobe.com/community/livecycle/livecycle_es/forms_es
If that's not the correct forum, start from here:
http://forums.adobe.com/index.jspa?view=overview
Hope this helps.
Good luck,
Julien
LCCS Quality Engineering -
Simple Event being Displayed Multiple Times
I have a simple event from the past that is being displayed multiple times. There are no other UIDs that are the same in iCal and no other event has the same SUMMARY name.
This particular event shows up 9 times. I can also reproduce the result from Automator by searching the specific calendar and looking for events in the date range.
The event is as follows:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Apple Inc.//iCal 3.0//EN
CALSCALE:GREGORIAN
BEGIN:VEVENT
SEQUENCE:5
TRANSP:OPAQUE
UID:EC6F5DBC-9BCC-4007-87F2-4A9C796C8551
DTSTART:20070330T000000
DTSTAMP:20071206T205550Z
SUMMARY:Babysit Paul
CREATED:20080919T173959Z
DTEND:20070401T120000
END:VEVENT
END:VCALENDAR
I am not very familiar with the format but it looks pretty straight forward.
The calendar is being synched via Mobile Me and is shared by another two computers. Not sure why this should be relevant since the entry on the computer and on Mobile Me both show this duplication of the event.
The reason I was looking at all was because of the hangs in iCal since I set the sync to automatic.
Any ideas welcome,
RichardPost Author: foghat
CA Forum: Data Connectivity and SQL
If all the records you are displaying in your report
truly are duplicated, you could try check off 'select distinct records'
from the File --> Report Options menu. While this may solve the problem for you, it would be worthwhile to determine if you are actually joining your tables correctly.
likely the records aren't an exact duplicate and the problem is with your join criteria. To verify this you can: start by removing table b from the database expert altogether. does
that solve your problem of multiple rows? If it does, you are not joining to table b correctlyIf you still have
multiple rows, loan_id on its own must not make a record unique. Is
loan_id duplicated in either of your tables? Just because loan_id is a
primary key does not necessarily mean it is unique - often a record
will have 2 or more primary keys and only when all primary keys are
used is the record unique. If you display all of the columns
from both tables, you will hopefully see some (maybe just one) columns
where the value is different between your seemingly duplicate data.
You may need to join on this value as well.as for the type of join you are using (inner, not enforced) you should be fine. Good luck -
IPhone 4 on ios 5 - recurring events show up multiple times
I updated my iPhone 4 to ios 5, and ever since, recurring events are showing up multiple times on the same day. When I sync, it seems that another copy is added to my iPhone's calendar (only one event is in iCal). I originally had a custom event that repeated every Tuesday and Wednesday. I tried to change this into two events - one for each day - and it still has the issue of multiple events on the same day.
Notes I add to these events do not sync back to my computer, either.
I have tried wiping the calendars from the phone and syncing with what is on my computer, but I continue to have the same problems.
Any help/advice out there? It's more of an annoyance than anything!At least one of them is only using the cellular data or wi-fi at the moment. His computer is on the fritz and he has not been able to sync with itunes for a while because of it. I am not sure about the other colleague as she is out fo the office at the moment.
-
Alert is Firing multiple Times
Hi,
I designed an alert for one of my requirement, for this i build i a sql statement
and my sql statement is returning 20 records and i check the same in Application, the records are matching and till now every thing works fine for me.
When i start my alert, My alert is firing 20 times and i am receiving 20 mails, but my requirement is i need to consolidated all the records and need to send a mail.
Do i need to do some setup for this, please help me on this.
Thanks for all for your continuous help and guidance.
NazHello,
When you created your alert action to create the notification, what did you set the action level to? Sound like you want it to be Summary but you have it set at Detail. Create another notification at Summary level and see if you get the results you are looking for.
HTH,
--Johnnie -
Event Executing Itself Multiple Times
Hello Experts,
I have created a validation in the Sales Order Form for checking the Item Gross Profit greater than 0 .
When user press tab from the UnitPrice column this checking is done but system is executing the event multiple time
rather than once .It makes the checking very slow each time this check occurs event occur mulitple times.
Please suggest what to do .
Thanks & Regards,
AmitHi,
Please ensure that u r given necessary conditions before doing validation
1. pval.BeforeAction = False
2.Pval.ColumUID = "UrId"
3.Pval.ItemUId = "UrMatId"
4.pVal.InnerEvent
By
Firos C -
MouseClicked firing multiple times
Greetings,
I have a GUI Java application with a few buttons that do different things. Sometimes, my mouseClicked event seems to get fired several times instead of the once I've actually clicked it.
Example:
BTN_Launch.setText("Upload File(s)");
BTN_Launch.setPreferredSize(new Dimension(140,40));
BTN_Launch.setMinimumSize(new Dimension(140,40));
BTN_Launch.setToolTipText("Run Upload Process");
BTN_Launch.setFont(Font_Bold);
BTN_Launch.setEnabled(false);
BTN_Launch.addMouseListener(new launchClicked());
class launchClicked extends MouseAdapter {
public synchronized void mousePressed(MouseEvent e) { }
public synchronized void mouseReleased(MouseEvent e) { }
public synchronized void mouseClicked(MouseEvent e) {
String foundErrors = "0";
int errCount = 0;
if( uploadFileDirectory.equals("") ) { foundErrors += ":1"; errCount++; }
if( uploadFiles.length == 0 ) { foundErrors += ":2"; errCount++; }
if( selectedVendor.equals("") ) { foundErrors += ":3"; errCount++; }
if( qdocUsername.getText() != null && qdocUsername.getText().equals("") == false) {
QDoc_UserName = qdocUsername.getText();
} else {
foundErrors += ":4";
errCount++;
if( qdocPassword.getPassword() != null && qdocPassword.getPassword().length > 0) {
QDoc_Password = new String(qdocPassword.getPassword());
} else {
foundErrors += ":5";
errCount++;
if( foundErrors.equals("0") == false ) {
int index = 0;
String[] errString = new String[errCount + 2];
errString[index] = ERR_HEAD;
if( foundErrors.indexOf("1") >= 0 ) { errString[++index] = MSG1; }
if( foundErrors.indexOf("2") >= 0 ) { errString[++index] = MSG2; }
if( foundErrors.indexOf("3") >= 0 ) { errString[++index] = MSG3; }
if( foundErrors.indexOf("4") >= 0 ) { errString[++index] = MSG4; }
if( foundErrors.indexOf("5") >= 0 ) { errString[++index] = MSG5; }
errString[++index] = ERR_FOOT;
JOptionPane.showMessageDialog(Main, errString,
"Validation Error",
JOptionPane.ERROR_MESSAGE);
} else {
if( emailRecipients.contains(QDoc_UserName) == false ) {
emailRecipients.addElement(QDoc_UserName);
for( int x=1; x<VENDORS.length; x++ ) {
emailRecipients.remove(vendorEmails.get(VENDORS[x]));
emailRecipients.addElement(vendorEmails.get(selectedVendor));
System.out.println("Start upload...");
System.out.print("Files: ");
for( int x=0; x<uploadFiles.length; x++ ) {
System.out.print("\"" + uploadFiles[x] + "\" ");
System.out.println();
System.out.println("Dir: \"" + uploadFileDirectory + "\"");
System.out.println("Vendor: \"" + selectedVendor + "\"");
System.out.println("User: \"" + QDoc_UserName + "\"");
System.out.println("Pwd: \"" + QDoc_Password + "\"");
System.out.println("Publish: \"" + publishFiles + "\"");
System.out.println("EMail: \"" + emailRecipients.toString() + "\"");
The code in launchClicked.mouseClicked(e) method is getting executed more than once in many situations. What seems to be wrong here?Greetings,
I have a GUI Java application with a few buttons that do different things. Sometimes, my mouseClicked event seems to get fired several times instead of the once I've actually clicked it.
Example:
BTN_Launch.setText("Upload File(s)");
BTN_Launch.setPreferredSize(new Dimension(140,40));
BTN_Launch.setMinimumSize(new Dimension(140,40));
BTN_Launch.setToolTipText("Run Upload Process");
BTN_Launch.setFont(Font_Bold);
BTN_Launch.setEnabled(false);
BTN_Launch.addMouseListener(new launchClicked());
class launchClicked extends MouseAdapter {
public synchronized void mousePressed(MouseEvent e) { }
public synchronized void mouseReleased(MouseEvent e) { }
public synchronized void mouseClicked(MouseEvent e) {
String foundErrors = "0";
int errCount = 0;
if( uploadFileDirectory.equals("") ) { foundErrors += ":1"; errCount++; }
if( uploadFiles.length == 0 ) { foundErrors += ":2"; errCount++; }
if( selectedVendor.equals("") ) { foundErrors += ":3"; errCount++; }
if( qdocUsername.getText() != null && qdocUsername.getText().equals("") == false) {
QDoc_UserName = qdocUsername.getText();
} else {
foundErrors += ":4";
errCount++;
if( qdocPassword.getPassword() != null && qdocPassword.getPassword().length > 0) {
QDoc_Password = new String(qdocPassword.getPassword());
} else {
foundErrors += ":5";
errCount++;
if( foundErrors.equals("0") == false ) {
int index = 0;
String[] errString = new String[errCount + 2];
errString[index] = ERR_HEAD;
if( foundErrors.indexOf("1") >= 0 ) { errString[++index] = MSG1; }
if( foundErrors.indexOf("2") >= 0 ) { errString[++index] = MSG2; }
if( foundErrors.indexOf("3") >= 0 ) { errString[++index] = MSG3; }
if( foundErrors.indexOf("4") >= 0 ) { errString[++index] = MSG4; }
if( foundErrors.indexOf("5") >= 0 ) { errString[++index] = MSG5; }
errString[++index] = ERR_FOOT;
JOptionPane.showMessageDialog(Main, errString,
"Validation Error",
JOptionPane.ERROR_MESSAGE);
} else {
if( emailRecipients.contains(QDoc_UserName) == false ) {
emailRecipients.addElement(QDoc_UserName);
for( int x=1; x<VENDORS.length; x++ ) {
emailRecipients.remove(vendorEmails.get(VENDORS[x]));
emailRecipients.addElement(vendorEmails.get(selectedVendor));
System.out.println("Start upload...");
System.out.print("Files: ");
for( int x=0; x<uploadFiles.length; x++ ) {
System.out.print("\"" + uploadFiles[x] + "\" ");
System.out.println();
System.out.println("Dir: \"" + uploadFileDirectory + "\"");
System.out.println("Vendor: \"" + selectedVendor + "\"");
System.out.println("User: \"" + QDoc_UserName + "\"");
System.out.println("Pwd: \"" + QDoc_Password + "\"");
System.out.println("Publish: \"" + publishFiles + "\"");
System.out.println("EMail: \"" + emailRecipients.toString() + "\"");
The code in launchClicked.mouseClicked(e) method is getting executed more than once in many situations. What seems to be wrong here?
Maybe you are looking for
-
If the Free Good and Actual Sales of Regular Goods have different Profit Center. There seems to be an issue that one profit center (A) gets all the revenue (6,750) while the other profit center (B) do not receive any revenue ( 0) for the sales. What
-
To show all employees in Napesco Staff Ledger
hi when the report Napesco staff ledger olap report is run in erp simultaneously Napesco Staff Ledger Details Report(exec file name is 'NPSTALEDDTLS') is also run Both are PL/SQL Stored Procedures when i checked the pl/sql stored procedure i found th
-
What is the email address to report a problem with purchases?
I need to contact billing dept to dispute charges, can't seem to find how and where I do that.
-
Hi there, I need to activate a timeline event on a symbol with a button press on another object, then when the button is pressed again, reverse the timeline event. This will have something sliding in and out of the stage. If the animation is placed r
-
M-Audio Firewire 1814 troubles
Hi, Although I am not new to Logic, I just recently (5 months ago) switched to a Mac and Logic Pro 7.2. I use an M-Audio FireWire 1814 as my interface adn up till now never had any real problems. But since yesterday, it seems that my interface is hav