Dnd - prevent drops on the source component
I need to be able to prevent the drops onto the source component. Currently I can do this by passing the source component in the transferable, get it in TransferHandler#canImport using a special sourceComponentFlavor and do the trick.
However, this way of doing things does not seem to be along the lines of the dnd support, the source component is not really data to be transported.
Any other ideas? Even better if the no drop cursor would appear while over the source component.
Cheers
We`ve opened an incident to SAP and they helped to solve the issue.
The decision is in following:
The incorrect SQL-statement (with missing quotation marks) occurs when
the SLT system tries to calculate access plans with a generated
function module (e.g. /1CADMC/ACS_001000000000073 in source system). The
function module is generated in the SLT system when the runtime
objects are generated. There is an error in the generation of runtime
modules that causes the wrong SQL statement.
Please ensure that the master job of the configuration TEST2 is
stopped (transaction LTRC in the SLT system, tab 'Administartion
Data', button 'Stop Configuration'), then implement the OSS notes
1990054 and 1992138 in the SLT system.
After you have implemented the notes, use transaction LTRC again and
restart the master job. Then go to tab 'Table Overview', click on
button 'Data Provisioning' and stop the load/replication of the tables
/BI0/AAPO_DS0500, /BI0/AAPO_DS0540, /BIC/AZC_MV_MT00.
When the three tables do not occur in the table overview anymore,
click again on button 'Data Provisioning' and (re)start the
replication of the three tables. The system will generate the runtime
objects again (this time without the incorrect SQL statement), and the
error should not occur anymore when the acces plan is calculated
Similar Messages
-
How do I Pass a parameter to a SQL Component Task where the source SQL statement is also a variable
Hi,
I have been tasked with making a complex package more generic.
To achieve this I need to pass a parameter to a SQL Component Task where the source SQL statement is also a variable.
So to help articulate my question further I have create a package and database as follows; -
USE [KWPlay]
GO
/****** Object: Table [dbo].[tblTest] Script Date: 05/14/2014 17:08:02 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TABLE [dbo].[tblTest](
[ID] [bigint] IDENTITY(1,1) NOT NULL,
[Description] [nvarchar](50) NULL,
CONSTRAINT [PK_tblTest] PRIMARY KEY CLUSTERED
[ID] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]
GO
I populated this table with a single record.
I unit tested the SQL within SSMS as follows;
SELECT * FROM dbo.tblTest
Result; -
ID
Description
1
Happy
DECLARE @myParam NVARCHAR(100)
SET @myParam = 'Sad'
UPDATE dbo.tblTest SET [Description] = @myParam FROM dbo.tblTest WHERE ID = 1
SELECT * FROM dbo.tblTest
Result; -
ID
Description
1
Sad
Within the package I created two variables as follows; -
Name: strSQL
Scope: Package
Data Type: String
Value: UPDATE dbo.tblTest SET [Description] = @myParam FROM dbo.tblTest WHERE ID = 1
Name: strStatus
Scope: Package
Data Type: String
Value: Happy
I then created a single ‘Execute SQL Task’ component within the control flow as follows; -
However when I run the above package I get the following error; -
SSIS package "Package.dtsx" starting.
Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "UPDATE dbo.tblTest SET [Description] = @myParam FR..." failed with the following error:
"Parameter name is unrecognized.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
Task failed: Execute SQL Task
Warning: 0x80019002 at Package: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.
The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the
errors.
SSIS package "Package.dtsx" finished: Failure.
I also tried; -
Name: strSQL
Scope: Package
Data Type: String
Value: UPDATE dbo.tblTest SET [Description] = ? FROM dbo.tblTest WHERE ID = 1
However I received the error; -
SSIS package "Package.dtsx" starting.
Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "UPDATE dbo.tblTest SET [Description] = ? FROM dbo...." failed with the following error: "Parameter name is unrecognized.". Possible failure reasons: Problems with
the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
Task failed: Execute SQL Task
Warning: 0x80019002 at Package: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (1) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches
the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
SSIS package "Package.dtsx" finished: Failure.
Kind Regards,
Kieran.
Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/Tried; -
Name: strSQL
Scope: Package
Data Type: String
Value: UPDATE dbo.tblTest SET [Description] = ? FROM dbo.tblTest WHERE ID = 1
and; -
Result; -
SSIS package "Package.dtsx" starting.
SSIS package "Package.dtsx" finished: Success.
Therefore the answer was to put the parameter number rather than the parameter name under the parameter mapping tab-> parameter name column.
Kieran Patrick Wood http://www.innovativebusinessintelligence.com http://uk.linkedin.com/in/kieranpatrickwood http://kieranwood.wordpress.com/ -
How to find the Web Dnpro component from the Source code ?
Hi Gurus,
Please help me to find out the WD Component Name from the Source Code?
Regards
AnilHi Thomos,
When i right clik on the screen i see the following line by line.
-Back
-forward
-save background as
-set as background
-copy background
-set as desktop item
-select all
-Paste
-create shotcut
-add to favorites
-view source
-encoding
-print
-refresh
-export to microsoft excel
-properties
I have mentioned every thing i see when ever i right click on the screen.
--Anil -
Not able to select the source in hold filter component
Hi Experts,
I am using live office connection in Xcelsius 2008 Enterprise sp 3 .
I am using a hold Filter component . When ever I select rows upto 100- 150 in the source that is selected and works fine.
But when I try to select more than this limit , the selction is retained in the pop up area but does not reflect in the area , where source is written in the Xcelsius. And also , the data is not reflected as it should.
Is there any limit for the selection?
If yes then , is there any work around I can select all the rows in the source?
Regards,
Anamika.Hi,
R u loading the data from flatfile or from source system. U can change in trasfer structure if the load is from flat file. U have to change in R3 side in RSA6 just by cliking on change mode of the datasource. U have select selection option in the extract strcture maintanance in R3.
Khaja -
How to view the source code of JavaFx component ?
Hi everybody,
I just want to know if it's possible to view the source code of the component Button (from JavaFx) and how to do it ?
In fact, I don't really understand if JavaFx is entirely open source ?
Thanks.I lack time right now to experiment, but I think you can get your goal just with CSS.
Here are the variables I found for Button:
Button
borderFill: class javafx.scene.paint.Paint = (null)
button: class javafx.scene.control.Button = Button
colorBrightness: Float = 0.8156863
cornerRadius: Float = 7.0
fill: class javafx.scene.paint.Paint = (null)
focusFill: class javafx.scene.paint.Paint = javafx.scene.paint.Color[red=0,green=147,blue=255,opacity=1.0]
focusSize: Float = 1.4
highlightFill: class javafx.scene.paint.Paint = (null)
label: class javafx.scene.control.Label = LabeledImpl [id=-Label]
paddingBottom: Float = 4.0
paddingLeft: Float = 10.0
paddingRight: Float = 10.0
paddingTop: Float = 4.0
shadowFill: class javafx.scene.paint.Paint = (null)
textFill: class javafx.scene.paint.Paint = (null)
textFont: class javafx.scene.text.Font = Font[name=Verdana, family=Verdana, style=, size=11.0]Try changing cornerRadius and focusFill/highlightFill, etc. Note that some discovered properties are not affected by CSS... Perhaps that's why there isn't an official doc about CSS styling currently. -
I created my clip from 3 PPT slides (as movies, one of the options) and it imports into the event browser fine. I am using the theme Forever is never long enough and it has little boxes where you are supposed to drop your clips. When I drop them in, the clip only plays for the destination duration time. If it is .5 sec but the source is 13 seconds, it won't let me adjust it to play the full 13 seconds. Anybody know how to adjust them?
It appears that you are using a Trailer (as distinct from a Theme). These are templates designed to give you a quick preview, similar to trailers you see at the movies. The clip lengths and music are all preset so that the video works perfectly in sync with the audio soundtrack. They are intended to be short, sharp and shiny - hence the very brief snippets of video employed, together with the accompanying matching music.
A Trailer template can't be altered unless you convert it to a standard project. To do this conversion, firstly, it's a good idea to duplicate the Trailer. In Project Library view (where all your projects are listed) click on the name of your project then from the menu select File>Duplicate Project. Now click on the duplicate and from the menu select File>Convert to Project. Now you can edit the converted duplicate Trailer just like a normal project - but bear in mind that changing the clip durations will cause the video to go out of sync with the supplied soundtrack.
Unless you are doing a highlights reel, your best option is to create a normal project from scratch, rather than using a Trailer template. When you create a new project you are given options as to whether you want to use a Theme or No Theme. Themes are quite different from Trailers and serve a different purpose. They help to spice up your video by introducing snazzy titles and transitions. You have complete flexibility as to clip lengths, transition styles, added music tracks and so forth.
Hope this helps to clear up any misunderstanding you may have regarding Trailers versus Themes.
John -
Here are the environmental details:
SQLDeveloper 32-bit Version 3.2.20.09 (Build MAIN-09.87)
Oracle Database: 12C single instance (no RAC)
Oracle client: 12C 32 bit
Windows 64 bit desktop
I am attempting to migrate an MS Access application to Oracle. I pick the ‘Migrate’ selection from the ‘Tools’ Menu SQL Developer. This puts me into the Migration Wizard. When I get to the ‘Source Database’ step of the migration wizard, the ‘Choose the Third Party database from which you are migrating’ drop-down box is not being populated with the current available connections. It is empty. If I type a valid connection name into the box, SQL Developer takes it on this screen but does not keep it for the next screen/step. It has no persistence. I even tried to make sure that each connection was open/connected before beginning the migration process.
Due to the fact that I am attempting to migrate an MSAccess application, I am mixing 32-bit and 64 bit software. This may be the issue as to why the drop down is losing addressability. I have not applied any patches to this version of SQL Developer.Hi,
If you need easy way to migrate Microsoft Access to Oracle probably it is more reasonable to review some tools specially designed to this purpose. For example:
Access to Oracle converter by Intelligent Converters
Access to Oracle converter by SpectralCore
Access to Oracle converter by Interface Computers
Hope, this will help.
Sincerely,
Vlad -
Access the source code from an HTML component
Is there a method to access the source code of a page in the HTML component?
I can't use URLLoader or HTTPService because of cross domain policies, so I need to use the HTML component to load the page, then access the source.Is there a method to access the source code of a page in the HTML component?
I can't use URLLoader or HTTPService because of cross domain policies, so I need to use the HTML component to load the page, then access the source. -
Any sources for styling \ skinning the Slider component?
Any sources for styling \ skinning the Slider component?
ie setting the background invisible or using another graphic in place of the line/rectangle graphic. using another graphic for the thumb. replacing the current graphic thumb has restrictions in dimensions,: http://flash.sikotiko.com/2009/05/05/as3-skinning-slider-component/
-
Revision: 21050
Revision: 21050
Author: [email protected]
Date: 2011-04-09 16:22:58 -0700 (Sat, 09 Apr 2011)
Log Message:
Popup: The default behavior when an Event.CLOSE is dispatched through the popup component should be preventable
https://bugs.adobe.com/jira/browse/CGM-59
Popup: The write-only behaviors property can not be used with states
https://bugs.adobe.com/jira/browse/CGM-55
Ticket Links:
http://bugs.adobe.com/jira/browse/CGM-59
http://bugs.adobe.com/jira/browse/CGM-55
Modified Paths:
cairngorm3/trunk/libraries/Popup/src/com/adobe/cairngorm/popup/PopUpBase.as
cairngorm3/trunk/libraries/Popup/test/com/adobe/cairngorm/popup/PopUpBaseTest.as
cairngorm3/trunk/libraries/PopupTest/.actionScriptProperties
Added Paths:
cairngorm3/trunk/libraries/PopupTest/html-template/
cairngorm3/trunk/libraries/PopupTest/html-template/index.template.html
cairngorm3/trunk/libraries/PopupTest/html-template/playerProductInstall.swf
cairngorm3/trunk/libraries/PopupTest/html-template/swfobject.jsHi Shweta,
as i discussed with you to update the script code
<html><script> function closeWindow( ){ top.close( ); } </script><body><form> The application was logged off successfully. <br><input type="button" value="close window" onclick="closeWindow( );" /></ form></body></html>
in sicf transaction for your component.
it will work (close the window).
dont forget to give me points
all the best...
Rgds,
Mahesh.Gattu -
How can we prevent viewing the source code of JSP by the user
Dear sirs,
how can we prevent viewing the source code by the user ( from the browser for the Viwe Sorce option) for a JSP file that use struts frame work.
infact i don't wan the user to view the javascript that in incorporated in the JSP for various purpose...
thanks and regards...
Sudheesh K S
INDIADear sirs,
how can we prevent viewing the source code by the
user ( from the browser for the Viwe Sorce option)
for a JSP file that use struts frame work.
infact i don't wan the user to view the javascript
that in incorporated in the JSP for various
purpose...
thanks and regards...
Sudheesh K S
INDIAJSP and Servlets are programs/scripts that run on the server. The user/clients only sees the HTML output generated by the server. If you want to hide JavaScript from casual users then you can put the JavaScript code in a seperate file. This file can however be read from the Cache. -
What does 'file was dropped from the Add to Source Control Operation" message mean
Yesterday I upgraded to LabView 8.5.1 and moved a project from my office desktop onto the test system computer in the vault. I wanted to use the source code control integration capability with this project. I went through the process of configuring source control (I am using Serena Version Manager). All appeared to be well. LabView saw the source control software an can bring up the client. I selected all of the files in my project and selected "Add to source control". I received a message popup with a message like:
FILENAME was dropped from the Add to Source Control Operation
for each of the files in my project. I got the same message when I tried the operation on a single file. This did not appear to be an error or warning message, just informational. I could find no information in the help to tell me what this message really means. Any ideas?
Mike EatonUsually LabVIEW creates one dialog (with a tree-control, and an option to keep files checked out and a comment box).
All other dialogs are from the SCC. Maybe you can configure Serena to go silent?
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Are there any events to script a component when dragged and dropped into the parsys area?
are there any events to script a component when dragged and dropped into the parsys area?
The cq:listeners node of a component's cq:EditConfig has a number of events that fire with relation to the edit mode drag'n'drop stuff. You would probably want to hook one or more of the insert ones (beforeinsert, beforechildinsert, afterinsert, afterchildinsert).
-
How to know the source document for pasted page items
Hi,
I want to perform some actions on items before they are pasted (look at persistent data stored on the, if a conflict ask the user and either update or reject).
Believe I'm OK with the paste (document observer, in kBeforeDoMessageBoss where the change is kPasteCmdBoss, set global error code to kCancel to prevent the drop)
But... I can't think of any way to find the source document since the paste is from the scrap db. I've tried kCopyCmdBoss in the observer but that isn't hit (maybe I need to observe the scrap?).
Hope someone can help.
TIA IanI'm afraid there is no silver bullet.
Again: Copy - Paste is actually a two-step copy, from source doc to scrap, then from scrap to destination doc. Only few (other) copy operations go straight from doc1 to doc2.
Just assume the special case that the source doc is already closed and purged for the second copy, your data should by then already be decoupled and self-contained. Besides the user might never actually invoke Paste.
Until CS2 or CS3 there used to be a subject at the scrap root boss, then it was optimized away, so you can't use observers.
As already mentioned above, if you have to translate UIDs especially of your own custom boss class, you can use a reference converter to look up the equivalent object in the target db (by name or other criteria) or eventually create it, then provide the replacement UID.
There might be other means for special objects (text / PasteData, owned item) but I'd have to investigate them myself if I run into the need. -
Hello,
One of my Lync 2013 standard front-end servers is frequently logging this error:
Log Name: Lync Server
Source: LS Data Collection
Date: 28/12/2012 10:04:05
Event ID: 56208
Task Category: (2271)
Level: Warning
Keywords: Classic
User: N/A
Computer: LYNC-FE2.mydomain.local
Description:
Insertion of an error report was throttled to prevent flooding of the Call Detail Recording (CDR) database.
Component: CDR Adaptor
Cause: This is an expected condition if too many error reports of the same type were reported at the same time.
Resolution:
No action is needed. A large enough number of error reports of this type have already been inserted into the database and can be used for troubleshooting and reporting. Additional errors are not inserted to avoid flooding of the database with redundant information.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="LS Data Collection" />
<EventID Qualifiers="35039">56208</EventID>
<Level>3</Level>
<Task>2271</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-12-28T10:04:05.000000000Z" />
<EventRecordID>10745</EventRecordID>
<Channel>Lync Server</Channel>
<Computer>LYNC-FE2.mydomain.local</Computer>
<Security />
</System>
<EventData>
<Data>CDR Adaptor</Data>
</EventData>
</Event>
I don't appear to have any problems or issues with Lync at all. Full Enterprise Voice is in use at this site.
Anyone know why this may be occuring?
Thanks,
BenDid you check any additional errors? I'm seeing the same issue and linked it to this actual error message that seems to point towards a broken data model or bugged type casting/checking in the interface:
Failed to execute a stored procedure on the back-end.
Component: CDR Adaptor
Stored Procedure: RtcReportError
Error: System.Data.SqlClient.SqlException (0x80131904): Error converting data type varchar to float.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Rtc.Common.Data.DBCore.Execute(SprocContext sprocContext, SqlConnection sqlConnection, SqlTransaction sqlTransaction)
ClientConnectionId:xxxxxxxxxxxxx
Cause: Configuration issues, an unreachable back-end or an unexpected condition has resulted in the error.
Resolution:
Verify the back-end is up and this Lync Server has connectivity to it. If the problem persists, notify your organization's support team with the relevant details.
Maybe you are looking for
-
How to improve print quality from PSE9 on Mac?
Is there a combination of various options in the Photoshop Elements 9’ and the HP Photosmart (C7180) printer’s dialogue boxes (on a Mac, OS 16) that would result in acceptable photo prints? I’ve browsed around in both the corresponding HP and the Ado
-
V$system_event, timeouts and row lock contention
Hello everyone, What is the meaning of the total_timeouts column in the v$system_event view if it is related to the event "enq: TX - row lock contention"? How can we have a timeout since "query timeout" is a non existent concept on Oracle? Maybe I am
-
Set_thread_count not allowed in DB_CONFIG
The manual page for DB_ENV->set_thread_count() says that "set_thread_count" can be used in DB_CONFIG to set the thread count. However, using "set_thread_count" in DB_CONFIG causes a "DbEnv::open: Invalid argument" error.
-
Compaq proliant ML370 installation
we are triyng to install solaris 8 intel on compaq proliant ml370. when we are loading the firt software cd at the point when is loading the package SUNWnamow the system hang without any warning messages. we cannot complete the installation. we will
-
Regading provision of protection to VI while converting from 8.6 to 8.2
I am facing the following problem: I need to convert VI which is in LAB VIEW 8.6 to 8.2 as a read only VI for that 1). I selected the option from the Path " File >> VI Properties >> Protection >> Locked (no password)" i.e second option of Protection