Drag and drop/duplicate warning issues
I am finding itunes extremely frustrating at the moment. For some reason its not telling me when I am about to add the same song to my library. I am cleaning up my folders to save space. I am pretty sure that in the past i have been able to selct an album, drag and drop it into my itunes library and if it was already there itunes would warn me. Then i could just delete the album in the knowledge that i have it in my itunes library. I have just drag and dropped the exact same song in to my library 3 times with no warning. Why? Is there a setting that I have missed? I am using itunes 11.1.5. Thank s in advance
Please provide more details and/or examples.
Ciao.
Similar Messages
-
Old Drag and Drop With Toast Issue:
I found this link to an old discussion, but it does not resolve my issue:
http://discussions.apple.com/message.jspa?messageID=9282890#9282890
I burnt two nice LightScribe labels, (nice because I cooked 'em twice for extra darkness, which takes time,) and then, after assuming that if I dragged and dropped my iTunes files to the desk top and then to Toast, as the above thread recommended, that since the files were accepted by toast doing things that way, that things were back to normal. I finished two beautiful CD's (I had a lot of work into the design of the labels,) by burning the music on to the disks. Well, my car cd player wouldn't play them, that is not normal, and I have two beautifully useless CD's which were the product of a lot of time and labor not to mention the cost of the disks... I've always been able to play back using the old process, (without the desktop drag and drop step,) - I'm running an iTunes version way beyond when this bug was supposed to be fixed. What do I do? How do I get back to being able to go directly from iTunes to Toast with successful playback? Thanks for your help with this!
Message was edited by: probassistTo anselmo Stiffan:
Which problem did you solve: the double click with one tap or three finger drag? I too have aluminum 2008 MacBook, and I found the preferences and accessibility section but seem to fail in finding the right combo of preferences I'm used to or like. Ok, so the three finger drag is good, but click or tab... drives me bonkers!!! Everything was fine for me even after updating to Mountin Lion back in July 2012, but then all of a sudden in October 'my trackpad doesn't work the same. I don't even want to get on the computer anymore, because I'm annoyed and I cannot click on my user account to login with plugging in a mouse or using keyboard shortcut functions. It's hit or miss with my trackpad working, it freezes after awhile, then I have to plug in the darn mouse. I checked my trackpad firmware, it said up to date....I may have to actually start a new discussion??? But to continue venting... Some menu's need one tap, some require double tap... I cannot use one click unless its set to left or right for alternate menu's. Its just bad in my carpel tunnel and frustrating... I've been searching discussions for similar issues and I saw this. I saw you had an older Mac? It's funny how I switched over 4 years to Mac and mine is almost obsolete? I'm afraid to take it in only to pay more money. I guess my real question besides double clicking option would be if other folks with "the older Aluminum" 2008 MacBook models are having similar problems? -
Drag and Drop Image Sequence Issue
Hello,
Im having trouble dragging and dropping an image sequence folder. The folder drags in perfectly and the window even highlights but nothing happens. However when I go through FILE and IMPORT i do have success bringing in the image sequence as comp.> Is there anyplace to go to find known bugs with the program incase something like this arises in the future?
We often post solutions to known issues on the Technical Support part of our site.
I'll go ahead and write up a quick list of known issues in After Effects CC (12.2) with workarounds.
Regarding the update that we thought we'd be releasing this week: We ran into a problem in which one of our fixes broke something else (which is why we do the testing), and we're having to redo some things. My current estimate is that the update will not come out this week but will come out some time within the next couple of weeks. Sorry for the delay, but we need to get this right more than we need to get it out fast.
I'll post a summary of workarounds tomorrow to bridge the time between now and when the update is released. -
Drag and Drop Multiple attachments issue
I'm having trouble with Mail - when I receive an email with multiple attachments, I like to drag and drop them into the folder short cuts that appear on the left of the finder windows. When I go to that folder later on the attachments aren't there, but their is a text file. The text file name is "yyyy". The number of "y" characters corresponds the number of attachments that I drag their. Has any one had this trouble before. I have done a total reinstall of the system on to a clean hard drive, and it is still happening. The G5 Dual 2.3 was new in Dec 05.
(this is my first posting, so please be patient if I'm not doing this correctly)
Cheers AndyAndy, the safer way would be to press the Save button that is in the header of your email and then select the folder where you want it saved.
-
Drag and Drop symbol action issue! Help!
Hi,
I am constructing a risk radar and am looking for an object to change state when put on the middle of a target. And once removed from the middle of the target, to change back to its original state, I so far have this code:
// insert code to be run when the symbol is created here
yepnope({nope:['jquery-ui-1.10.0.custom.min.js','jquery.ui.touch-punch.min.js'], complete: init});
function init(){
//Use the code! Draggable! Droppable!!
sym.$('risk1').draggable();
sym.$('risk2').draggable();
sym.$('risk3_orange').draggable();
sym.$('risk4').draggable();
sym.$('risk5').draggable();
sym.$('risk6').draggable();
sym.$('risk7').draggable();
sym.$('risk8').draggable();
sym.$('risk9').draggable();
sym.$('risk10').draggable();
//Droppable... on the target!
sym.$('Target').droppable({drop: function() {sym.getSymbol("risk3_orange").play();}});
However, when I remove the object from the middle of the target ('Target') it does not change back and then changes back and forth whenever moved from then on,
Can you help?Excellent, will give this a try in a sec, slightly running before i can walk, I now have 1 symbols for my target, and tried replicating the same code but chagning the name of the symbols for each one, however, it seems that the first symbol changes the colour of the second one? here is my code:
// insert code to be run when the symbol is created here
yepnope(
{nope:['js/jquery-ui-1.10.0.custom.min.js','js/jquery.ui.touch-punch.min.js', 'js/jquery-ui-1.10.4.custom.min.js'],
complete: init
function init(){
// apply the draggable JQuery UI plugin to the MyDraggableSymbol symbol on your stage
sym.$('risk3_orange').draggable({
start: function(e){},
drag: function(e,ui){sym.getSymbol("risk3_orange").stop("Initial");}
sym.getSymbol("Drop").$('Outer').droppable({
drop: function(event, ui)
sym.getSymbol("risk3_orange").stop("Green");
sym.getSymbol("Drop").$('Middle').droppable({
drop: function(event, ui)
sym.getSymbol("risk3_orange").stop("Blue");
sym.getSymbol("Drop").$('Target').droppable({
drop: function(event, ui)
sym.getSymbol("risk3_orange").stop("Red");
sym.$('Risk2').draggable({
start: function(e){},
drag: function(e,ui){sym.getSymbol("Risk2").stop("Initial2");}
sym.getSymbol("Drop").$('Outer').droppable({
drop: function(event, ui)
sym.getSymbol("Risk2").stop("Green2");
sym.getSymbol("Drop").$('Middle').droppable({
drop: function(event, ui)
sym.getSymbol("Risk2").stop("Blue2");
sym.getSymbol("Drop").$('Target').droppable({
drop: function(event, ui)
sym.getSymbol("Risk2").stop("Red2");
Can you help? -
I used to drag and drop music loaded from CD's from the Recently Added folder to a Playlist on my iPods Classic. Can't see how to do this with new iTunes version. Probably need to sync somehow but when I checked on Sync it warned me it would wipe out my iPod contents. Don 't know why Apple makes something that used to be simple so difficult. Can't even figure out how to display both my library and iPod contents on same screen.
Hey joshuafromisr,
If you resintall iTunes, it should fix the issue. The following document will go over how to remove iTunes fully and then reinstall. Depending on what version of Windows you're running you'll either follow the directions here:
Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
http://support.apple.com/kb/HT1925
or here:
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
http://support.apple.com/kb/HT1923
Best,
David -
Drag and drop not recognizing duplicates?
Everytime I drag and drop a pic off of like Facebook or anywhere else into iPhoto, about 5 pics (duplicates) appear and then it hangs on one and asks how I'd like to handle duplicates. I check do NOT import and handle all future duplicates similarly. It then proceeds to import from somewhere 75 duplicate pics (the same ones every time but from various events). Occasionally, iphoto adds a more recent pic to the list that it likes to duplicate. I didn't discover this was happening until I tried to sort faces and I discovered I literally had hundreds of the same pics. I deleted manually all but one set and now every time I drag in a pic, I have to manually delete 75 pics that are duplicates.
Any ideas?
Thanks in advance.Interesting. That option does appear in Safari, but not in Foxfire. Safari worked correctly both the way you told me to do it AND by dragging and dropping, so I guess it has something to do with Foxfire and the latest version of iPhoto. It started apparently about the time I upgraded the iLife package. Thank you.
Anyone have ideas or experiencing the same issue with Foxfire? -
Drag and drop issue, please help.
I can no longer drag and drop photos within photoshop elements 12. When working with a layer, I want to move it to a layer within another existing file, and no longer have the option. The only way I have fixed the issue in the past is uninstall and reinstall the program. I've read other forum posts and followed the instructions by resetting preferences and it does not work.
Does anyone have any solutions to this issue? Please help!With both files open, simplest to tile them side by side, you should be able to drag the layer from the source file onto the target file. So long as it shows the 'grasping hand' you can release the mouse and it should add the layer to the target.
So what is happening now on your system? When you drag the layer to the target what icon is shown - 'grasping hand', 'no entry', something else?
Cheers,
Neale
Insanity is hereditary, you get it from your children
If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks. -
Windows 8.1, PSE 11
I am having a number of issues including loss of import functionality from scanner, I can't drag and drop photos into the editor any more as well, or at least not after the first one. The crop function stops working after the first couple of photos. Then some freezing. A little added crashing. A plethora of other bizarre issues as well. This just stated happening a couple of days ago.
What I have tried:
Uninstall/Install.
Deleted preferences both before opening Editor (crontrol-alt-delete) and after opening it.
Kindly advise. Thanks!
Adobe Photoshop Elements Version: 11.0 (11.0 (20120830.r.32025)) x32
Operating System: Windows 8 64-bit
Version: 6.2
System architecture: Intel CPU Family:6, Model:10, Stepping:9 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2
Physical processor count: 8
Processor speed: 3500 MHz
Built-in memory: 8139 MB
Free memory: 5185 MB
Memory available to Photoshop Elements: 3255 MB
Memory used by Photoshop Elements: 70 %
Image tile size: 128K
Image cache levels: 6
Display: 1
Display Bounds:= top: 0, left: 0, bottom: 1440, right: 2560
Video Card Number: 1
Video Card: NVIDIA GeForce GTX 660 Ti
Driver Version: 9.18.13.3750
Driver Date: 20140327000000.000000-000
Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
Video Mode: 2560 x 1440 x 4294967296 colors
Video Card Caption: NVIDIA GeForce GTX 660 Ti
Video Card Memory: -2047 MB
Application folder: C:\Program Files (x86)\Adobe\Photoshop Elements 11\
Temporary file path: C:\Users\evan\AppData\Local\Temp\
Photoshop Elements scratch has async I/O enabled
Scratch volume(s):
Startup, 931.2G, 805.4G free
Required Plug-ins folder: C:\Program Files (x86)\Adobe\Photoshop Elements 11\Required\
Primary Plug-ins folder: C:\Program Files (x86)\Adobe\Photoshop Elements 11\Plug-Ins\
Additional Plug-ins folder: not set
Installed components:
ACE.dll ACE 2011/03/29-16:11:44 63.457850 63.457850
adbeape.dll Adobe APE 2011/01/17-12:03:36 64.452786 64.452786
AdobeLinguistic.dll Adobe Linguisitc Library 5.0.0
AdobeOwl.dll Adobe Owl 2012/06/20-18:39:56 4.1.9 78.509892
AdobeOwlCanvas.dll Adobe Owl Canvas 3.0.68 61.2954
AdobePDFL.dll PDFL 2011/03/29-16:11:44 63.378681 63.378681
AdobePIP.dll Adobe Product Improvement Program 6.0.0.1654
AdobeXMP.dll Adobe XMP Core 2010/10/12-08:45:30 63.139439 63.139439
AdobeXMPFiles.dll Adobe XMP Files 5.0 61.134777
adobe_caps.dll Adobe CAPS 4,0,42,0
Adobe_OOBE_Launcher.dll Adobe OOBE Launcher 2.2.0.4 (BuildVersion: 2.2; BuildDate: Wed Apr 27 2011 21:49:00) 1.000000
AGM.dll AGM 2011/03/29-16:11:44 63.457850 63.457850
ahclient.dll AdobeHelp Dynamic Link Library 1,7,0,56
aif_core.dll AIF 3.0 1.486530
aif_ogl.dll AIF 3.0 1.486530
amtlib.dll AMTLib 4.2.0.4 (BuildVersion: 4.2; BuildDate: Wed Apr 27 2011 21:49:00) 1.000000
amtservices.dll AMTServices 4.2.0.4 (BuildVersion: 4.2; BuildDate: Wed Apr 27 2011 21:49:00) 1.000000
ARE.dll ARE 2011/03/29-16:11:44 63.457850 63.457850
asneu.dll AsnEndUser Dynamic Link Library 1, 7, 0, 1
AXE8SharedExpat.dll AXE8SharedExpat 3.3 49.279053
AXEDOMCore.dll AXEDOMCore 3.3 49.279053
AXSLE.dll AXSLE 3.3 49.279053
Bib.dll BIB 2011/03/29-16:11:44 63.457850 63.457850
BIBUtils.dll BIBUtils 2011/03/29-16:11:44 63.457850 63.457850
boost_threads.dll DVA Product 5.0.0
cg.dll NVIDIA Cg Runtime 2.0.0015
cgGL.dll NVIDIA Cg Runtime 2.0.0015
CoolType.dll CoolType 2011/03/29-16:11:44 63.457850 63.457850
data_flow.dll AIF 3.0 1.486530
dvaadameve.dll DVA Product 5.0.0
dvacore.dll DVA Product 5.0.0
dvaui.dll DVA Product 5.0.0
ems.dll Elements Organizer 11.0
ExtendScript.dll ExtendScript 2010/03/05-08:21:15 61.423205 61.423205
FaceDetector.dll FaceDetector 0000/00/00-00:00:00 2.0.1.1 2.0.1.1
FileInfo.dll Adobe XMP FileInfo 5.0 61.134777
filter_graph.dll AIF 3.0 1.486530
hydra_filters.dll AIF 3.0 1.486530
icucnv36.dll International Components for Unicode 2009/06/17-13:21:03 Build gtlib_main.9896
icudt36.dll International Components for Unicode 2009/06/17-13:21:03 Build gtlib_main.9896
image_compiler.dll AIF 3.0 1.486530
image_flow.dll AIF 3.0 1.486530
image_runtime.dll AIF 3.0 1.486530
JP2KLib.dll JP2KLib 2011/03/29-16:11:44 63.196876 63.196876
libifcoremd.dll Intel(r) Visual Fortran Compiler 10.0 (Update A)
libmmd.dll Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler 10.0
LogSession.dll LogSession 2.1.2.1640
MPS.dll MPS 2011/05/24-09:45:42 63.464027 63.464027
MSVCP100.dll Microsoft® Visual Studio® 2010 10.00.30319.1
MSVCP71.dll Microsoft® Visual Studio .NET 7.10.3077.0
MSVCR100.dll Microsoft® Visual Studio® 2010 10.00.30319.1
MSVCR71.dll Microsoft® Visual Studio .NET 7.10.3052.4
pdfsettings.dll Adobe PDFSettings 1.04
Photoshop.dll Adobe Photoshop Elements Editor 11.0
platform.DLL Adobe Help System 1, 0, 0, 1
Plugin.dll Adobe Photoshop Elements Editor 11.0
PSArt.dll Adobe Photoshop Elements Editor 11.0
PSViews.dll Adobe Photoshop Elements Editor 11.0
ScCore.dll ScCore 2010/03/05-08:21:15 61.423205 61.423205
shfolder.dll Microsoft(R) Windows (R) 2000 Operating System 5.50.4027.300
Tbb.dll Intel(R) Threading Building Blocks for Windows 2, 2, 2009, 1011
updaternotifications.dll Adobe Updater Notifications Library 2.0.0.15 (BuildVersion: 1.0; BuildDate: BUILDDATETIME) 2.0.0.15
WRServices.dll WRServices Thursday January 21 2010 12:13:3 Build 0.11423 0.11423
Required plug-ins:
Accented Edges 12.0
ADM 3.11x01
Angled Strokes 12.0
Auto Divide 11.0.0.0 (11.0 (20120830.r.32025))
Average 12.0.2
Bas Relief 12.0
BMP 12.0.2
Camera Raw 7.4
Chalk & Charcoal 12.0
Charcoal 12.0
Chrome 12.0
Clouds 12.0.2
Color Halftone 12.0.2
Color Variations 12.0.4 (12.0.4x001)
Colored Pencil 12.0
Comic NO VERSION
CompuServe GIF 12.0.2
Conté Crayon 12.0
Correct Camera Distortion 12.0.2
Craquelure 12.0
Crop and Straighten Photos Filter 12.0.2
Crosshatch 12.0
Crystallize 12.0.2
Cutout 12.0
Dark Strokes 12.0
Difference Clouds 12.0.2
Diffuse Glow 12.0
Displace 12.0.2
Dry Brush 12.0
Extrude 12.0.2
FastCore Routines 12.0.4 (12.0.4x001)
Fibers 12.0.2
Film Grain 12.0
Filter Gallery 12.0
Fresco 12.0
Glass 12.0
Glowing Edges 12.0
Grain 12.0
Graphic Novel NO VERSION
Graphic Pen 12.0
Halftone Pattern 12.0
Ink Outlines 12.0
Lens Blur 12.0
Lens Flare 12.0.2
Lighting Effects 12.0.4 (12.0.4x001)
Liquify 12.0.1
Matlab Operation 12.0.4 (12.0.4x001)
Mezzotint 12.0.2
MMXCore Routines 12.0.4 (12.0.4x001)
Mosaic Tiles 12.0
Multiprocessor Support 12.0.4 (12.0.4x001)
Neon Glow 12.0
Note Paper 12.0
Ocean Ripple 12.0
OnEdge 1, 0, 0, 1
Paint Daubs 12.0
Palette Knife 12.0
Patchwork 12.0
Pen and Ink NO VERSION
Photocopy 12.0
Picture Package Filter 12.0.4 (12.0.4x001)
Pinch 12.0.2
Pixar 12.0.4 (12.0.4x001)
Plaster 12.0
Plastic Wrap 12.0
PNG 12.0.2
Pointillize 12.0.2
Polar Coordinates 12.0.2
Polar Coordinates 12.0.4 (12.0.4x001)
Poster Edges 12.0
Radial Blur 12.0.2
Read Watermark 4.0
Reticulation 12.0
Ripple 12.0.2
Rough Pastels 12.0
Save for Web & Devices 12.0
ScriptingSupport 12.0.4
Shear 12.0.2
Smart Blur 12.0.2
Smudge Stick 12.0
Solarize 12.0.2
Spatter 12.0
Spherize 12.0.2
Sponge 12.0
Sprayed Strokes 12.0
Stained Glass 12.0
Stamp 12.0
Straighten and Crop Image 12.0.4 (12.0.4x001)
Straighten Image 12.0.4 (12.0.4x001)
Sumi-e 12.0
Texture Fill 12.0.4 (12.0.4x001)
TextureSelect 12.0.4 (12.0.4x001)
Texturizer 12.0
Tiles 12.0.2
Torn Edges 12.0
Twirl 12.0.2
Underpainting 12.0
Water Paper 12.0
Watercolor 12.0
Wave 12.0.2
WIA Support 12.0.4 (12.0.4x001)
Wind 12.0.2
ZigZag 12.0.2
Optional and third party plug-ins:
Frame From Video 6.0
Magic Extractor 12.0.4 (12.0.4x001)
PhotomergeUI 12.0.4 (12.0.4x001)
Plug-ins that failed to load: NONE
Installed TWAIN devices: NONEFinal Update: ...god willing...
OK! Check it, like I said in previous posts I seemed to have narrowed it down to specific mp3s not converting and playing in their native sample rate which if paired with another sample would give you the "audio midi sync" error and basically screw up your clock! It appears mp3 files converting to mp3 using iTunes would not convert to the correct sample rate if set to something other than 44 in logic and cause this. A tad peculiar Apple iTunes won't work with Apple Logic. I was able to confirm this on two mac's via my friend in Florida. He's running Tiger and tried the same experiment and Booya! Mickey Mouse! It appears this insane week long adventure has came to an end (...god willing) with a super specific unlucky shot in the dark on my part finally revealed to be an perfectly normal function of Logic (obviously one i'm not fond of..) As far as the errors / crashes / system overloads / kernal panics I think I can sort those out to the mackie onyx satellite not being a good choice and trying to add and remove firewire devices in the middle of the sample rate mayhem. Wow! all I can say is, I'm glad it's over
Wish me a lot of luck in the future.. I'm sure i'll need it! -
Can't drag and drop attachments in mail. Major issue!
I have to restart the computer to drag and drop attachments to an email. If I want to do another drag and drop to another email I have to restart again to make it work. It is a real pain. Do any of you guys know if their is a file I can trash to make this work or I have to wait till apple has a update to fix this? Thanks.
When this happens can you drag and drop regular files and icons etc?
I did a clean install, setup several user accounts last night. Dragging and dropping was working in my main user account last night. This morning (computer on all night) I could not drag and drop anything in that particular user account including mail attachements. Other accounts worked fine. Thought it was a permissions issue but they were fine.
Ended up trashing the user account and resetting it up and everything back to normal. -
Reordering of rows - issue with drag and drop of editable columns in table
JDeveloper: 11.1.1.6.0
ADF Faces - Drag and Drop for reordering of rows within the same af:table
I have a requirement for reordering rows in a table using drag and drop. This table is loaded using a list and I am able to programmatically do the reordering of the rows based on the events of drag and drop by manipulating the list. Reordering of rows is working fine if all the columns are read only. For all the input text and input date columns the values are not getting reordered. Anyone has any idea on what the issue may be with reordering of the rows for editable columns/rows (af:inputText and af:inputDate) in af:table. Below is what Iam doing on drop event which is a collection drop target.
public DnDAction dropCollection(DropEvent dropEvent) {
try
Object dropSite = dropEvent.getDropSite();
Transferable transferable = dropEvent.getTransferable();
DataFlavor<RowKeySet> rowKeySetFlavor = DataFlavor.getDataFlavor(RowKeySet.class, "rowmove");
RowKeySet rowKeySet = transferable.getData(rowKeySetFlavor);
RichTable table = (RichTable) dropEvent.getDragComponent();
if (rowKeySet != null)
CollectionModel dragModel = transferable.getData(CollectionModel.class);
Object dragM = dragModel.getRowData(0);
Object currKey = rowKeySet.iterator().next();
dragModel.setRowKey(currKey);
table.setRowKey(currKey);
OrderData orderData = (OrderData)this.prodReportTableData.get(Integer.parseInt(currKey.toString()));
this.prodReportTableData.remove(Integer.parseInt(currKey.toString()));
this.prodReportTableData.add(Integer.parseInt(dropSite.toString()), orderData);
OrderData orderDataAdded = this.prodReportTableData.get(Integer.parseInt(dropSite.toString()));
JSFUtils.addPartialTarget(this.getProdReportTableBinding());
catch(Exception e)
e.printStackTrace();
return DnDAction.MOVE;
Code snippet from UI:
<af:table value="#{pageFlowScope.prodReportBackingBean.prodReportTableData}"
var="row" styleClass="AFStretchWidth" rowBandingInterval="0"
rows="40" emptyText="No data to display." id="t1"
partialTriggers=":::cb1" columnStretching="column:c3"
binding="#{pageFlowScope.prodReportBackingBean.prodReportTableBinding}" summary="PROD TABLE">
<af:dragSource actions="MOVE" defaultAction="MOVE"
discriminant="rowmove"
dragDropEndListener="#{pageFlowScope.prodReportBackingBean.afterDragAndDrop}"/>
<af:collectionDropTarget dropListener="#{pageFlowScope.prodReportBackingBean.dropCollection}"
actions="MOVE"
modelName="rowmove"/>Hi,
not sure its the reason but you have huge bummer in your configuration.
<af:table value="#{pageFlowScope.prodReportBackingBean.prodReportTableData}"
var="row" styleClass="AFStretchWidth" rowBandingInterval="0"
rows="40" emptyText="No data to display." id="t1"
partialTriggers=":::cb1" columnStretching="column:c3"
*binding="#{pageFlowScope.prodReportBackingBean.prodReportTableBinding}"* summary="PROD TABLE">
JSF component bindings should not be to beans in a scope larger than request to avoid stale component instances.
Frank -
Issue : drag and drop from list control to tree control
Hi,
I was trying a drag and drop from list control to tree control. I have used some sample data to populate list and tree controls .
It is working fine . except one problem ..
Prob : when i drag an item to tree control .. it gets added .. now tree contains (X+1) data in list .. say X is the inital number of nodes in a tree node.
now if i drag another item from list to last item in the tree node .. i.e at X+1 index. .. it throws null pointer exception.
I am considerably new in flex programming . looking for help from experts ..
Below is my code :
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="horizontal"
creationComplete="init()">
<mx:Script>
<![CDATA[
import mx.controls.listClasses.IListItemRenderer;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;
import mx.utils.ObjectUtil;
import mx.collections.ICollectionView;
import mx.core.UIComponent;
import mx.managers.DragManager;
import mx.events.DragEvent;
import mx.controls.Alert;
import mx.controls.Label;
import mx.events.CloseEvent;
private var homePath:String="/home/e311394/dndTest/";
private var destPath:String="/home/e311394/dndDest/";
private var eid:String="e311394";
private var actn:String;
[Bindable]
private var cm:ContextMenu;
private var cmi:ContextMenuItem;
[Bindable]
private var dp:ArrayCollection;
private function init():void
cmi=new ContextMenuItem("Remove");
cmi.enabled=true;
cmi.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, contextMenuItem_menuItemSelect);
cm=new ContextMenu();
cm.hideBuiltInItems();
cm.customItems=[cmi];
cm.addEventListener(ContextMenuEvent.MENU_SELECT, contextMenuItem_menuSelect);
list.contextMenu=cm;
private function contextMenuItem_menuSelect(evt:ContextMenuEvent):void
list.selectedIndex=lastRollOverIndex;
private function contextMenuItem_menuItemSelect(evt:ContextMenuEvent):void
var loclSelectedRow:Object=list.selectedItem;
var lostrSelectedMenuItem:String;
lostrSelectedMenuItem=evt.target.caption;
if (loclSelectedRow != null)
var obj:Object=new Object()
obj.label=loclSelectedRow.label as String;
//Alert.show(obj.label);
if (lostrSelectedMenuItem == "Remove")
if(loclSelectedRow!=null)
var pth:String=homePath.concat(loclSelectedRow.label);
//Alert.show(pth);
//FlexDnDRemoteService.process(eid,"delete",pth,"-");
var coll:ArrayCollection=list.dataProvider as ArrayCollection;
if (coll.contains(loclSelectedRow))
coll.removeItemAt(coll.getItemIndex(loclSelectedRow));
public function onTreeDragEnter(event:DragEvent):void
event.preventDefault();
DragManager.acceptDragDrop(event.target as UIComponent);
tree.showDropFeedback(event);
protected function onTreeDragOver(event:DragEvent):void
event.preventDefault();
event.currentTarget.hideDropFeedback(event);
try
var index:int=tree.calculateDropIndex(event);
catch (e:Error)
DragManager.showFeedback(DragManager.NONE);
return;
tree.selectedIndex=index;
var draggedOverItem:Object=tree.selectedItem;
public function onTreeDragExit(event:DragEvent):void
event.preventDefault();
tree.hideDropFeedback(event);
private function showAlert():void
Alert.yesLabel="Move";
Alert.noLabel="Copy";
Alert.buttonWidth=70;
Alert.show("Copy / Move ?", "Confirm", Alert.YES | Alert.NO | Alert.CANCEL, this, alertListener, null, Alert.OK);
private function alertListener(eventObj:CloseEvent):void
var result:Boolean=false;
if (eventObj.detail == Alert.CANCEL)
//Alert.show("CANCEL");
return;
if (eventObj.detail == Alert.YES)
//Alert.show("YES");
result=true;
else if (eventObj.detail == Alert.NO)
//Alert.show("NO");
result=false;
var index:int=tree.calculateDropIndex(treedropevt);
//Alert.show("Drop Pos" + index.toString());
/* var treeList:ArrayCollection=tree.dataProvider as ArrayCollection;
Alert.show(" index"+index+"Length "+treeList.length);
if(index > treeList.length)
Alert.show("Returning");
return;
var items:Array=new Array();
if (treedropevt.dragSource.hasFormat("items"))
items=items.concat(treedropevt.dragSource.dataForFormat("items") as Array);
var parentItem:Object;
parentItem=getObjectTarget();
/* if (tree.dataDescriptor.isBranch(tree.indexToItemRenderer(index).data))
parentItem=tree.indexToItemRenderer(index).data;
else
var dropParentPackage:Object = tree.mx_internal::_dropData.parent as Object;
Alert.show("HAck"+dropParentPackage.toString());
parentItem=tree.getParentItem(tree.indexToItemRenderer(index).data);
//Alert.show("Lenght "+ObjectUtil.getClassInfo(parentItem).properties.length);
//Alert.show("Lenght "+ObjectUtil.getClassInfo(parentItem).properties.length);
var position:int=0;
/* if(ObjectUtil.getClassInfo(parentItem).properties.length==0)
Alert.show("Returning");
return;
if (parentItem != null)
try
while (tree.indexToItemRenderer(index).data != parentItem)
//Alert.show(tree.indexToItemRenderer(index).data.toString());
if (index > 0)
index--;
//Alert.show("Insiade");
position++;
catch (e:Error)
Alert.show("Catch" + index.toString());
return;
for each (var item:Object in items)
var obj:Object=new Object()
obj.label=item.label as String;
if (parentItem != null)
//Alert.show("ADDED");
tree.dataDescriptor.addChildAt(parentItem, obj, position++);
else
//Alert.show("PARENT NULL");
tree.dataDescriptor.addChildAt(tree.selectedItem, obj, position++);
var spth:String=homePath.concat(item.label);
//Alert.show(spth);
var dpth:String=destPath.concat(item.label);
//Alert.show(dpth);
if (result == true)
removeItems();
//FlexDnDRemoteService.process(eid,"move",spth,dpth);
else
//FlexDnDRemoteService.process(eid,"copy",spth,dpth);
tree.validateNow();
public function getObjectTarget():Object
var dropData:Object=tree.mx_internal::_dropData as Object;
if (dropData.parent != null)
return dropData.parent;
else
// if there is not parent (root of the tree), I take the root directly
var renderer:IListItemRenderer=tree.indexToItemRenderer(0);
return renderer.data;
public function removeItems():void
//remove moved elements
var items:Array=treedropevt.dragSource.dataForFormat("items") as Array;
var coll:ArrayCollection=list.dataProvider as ArrayCollection;
for each (var item:Object in items)
if (coll.contains(item))
coll.removeItemAt(coll.getItemIndex(item));
private var treedropevt:DragEvent;
public function onTreeDragDrop(event:DragEvent):void
treedropevt=event;
showAlert();
event.preventDefault();
tree.hideDropFeedback(event);
public function resultHandler(event:ResultEvent):void
Alert.show("Success", "Status");
public function faultHandler(event:FaultEvent):void
Alert.show(event.fault.faultString, "Failure");
]]>
</mx:Script>
<mx:ArrayCollection id="listDP">
<mx:Object label="File1.dnd"/>
<mx:Object label="File2.dnd"/>
<mx:Object label="File3.dnd"/>
<mx:Object label="File4.dnd"/>
<mx:Object label="File5.dnd"/>
</mx:ArrayCollection>
<mx:Number id="lastRollOverIndex"/>
<!--
<mx:ArrayCollection id="treeDP">
<mx:Object label="/home">
<mx:children>
<mx:Object label="dummy1.ks"/>
<mx:Object label="dummy2.ks"/>
<mx:Object label="e493126">
<mx:children>
<mx:ArrayCollection>
<mx:Object label="/home/e493126/sample1.ks"/>
</mx:ArrayCollection>
</mx:children>
</mx:Object>
</mx:children>
</mx:Object>
</mx:ArrayCollection>
-->
<mx:ArrayCollection id="treeDP">
<mx:Object label="/dndDest">
<mx:children>
<mx:ArrayCollection>
<mx:Object label="sample1.ks"/>
<mx:Object label="sample2.ks"/>
<mx:Object label="sample3.ks"/>
<mx:Object label="sample4.ks"/>
<mx:Object label="sample5.ks"/>
<mx:Object label="sample6.ks"/>
</mx:ArrayCollection>
</mx:children>
</mx:Object>
</mx:ArrayCollection>
<mx:List id="list"
itemRollOver="lastRollOverIndex = event.rowIndex"
width="50%"
dragEnabled="true"
dataProvider="{listDP}"
labelField="label"
allowMultipleSelection="true"
dragMoveEnabled="false">
</mx:List>
<mx:Tree id="tree"
width="50%"
dragEnabled="true"
dataProvider="{treeDP}"
dragEnter="onTreeDragEnter(event)"
dragOver="onTreeDragOver(event)"
dragExit="onTreeDragExit(event)"
dragDrop="onTreeDragDrop(event)"
labelField="label"
liveScrolling="true">
</mx:Tree>
<mx:RemoteObject id="FlexDnDRemoteService"
showBusyCursor="true"
destination="FlexDnD">
<mx:method name="process"
result="resultHandler(event)"
fault="faultHandler(event)"/>
</mx:RemoteObject>
</mx:Application>
Thanks,
RajivYa , i have searched and have used the same code.
But needed to customize few things like:
stop dnd in same tree
drop some item into a folder ..( onto it ) etc
have achieved the same .. but this issue ..
i think the tree dataprovider (contents internally is not being updated .. only the UI)
any suggestions ?
- Rajiv -
Issue during drag and drop in vb
Hi Uwe,
I want an urgent help on the following scenario.
When i do a drag and drop anywhere on vb other than a link or spot.The screen freezes and when i try to do at lead selection on any of the FPM objects at the same time I get an assert condition violated dump.After my analysis I think its still possess the drop event when i try to do any other action on fpm at same time.This issue is happening for me in ie11 but for ie10 its working fine.
Please suggest some remedy!
Thanks
SijuHello Siju,
I am aware of multiple issues with drag and drop in the context of VB embedded in FPM/WD. In order to sort this out correctly and get the right solution I suggest to open a support ticket on BC-WD-CMP-FPM.
Best regards,
Uwe -
Hello, I'm making a game in which I have some drag and drop items that they can be multiplied as many as you want. This items have to stay in the scene and I also have a bin in the menu where If you drag them they have to disappear.The problem is that I tried with multiple coordinates and they disappear also in the scene in the moment that I'm dragging them out of the menu. So, my question is:What could be wrong? Is the issue in the code?
Thank you for taking the time to help me. It's my first game in AS3 so I'm not so familiar with the codes.
import flash.display.Sprite;
import flash.events.MouseEvent;
DDB1.addEventListener(MouseEvent.MOUSE_DOWN, createDDB1);
var _DDB1:Sprite;
function createDDB1(evt:MouseEvent){
_DDB1 = new DDB1MC();
_DDB1.x = evt.stageX;
_DDB1.y = evt.stageY;
_DDB1.rotation = evt.currentTarget.rotation;
_DDB1.transform.colorTransform = evt.currentTarget.transform.colorTransform
addChild(_DDB1);
_DDB1.startDrag(false);
_DDB1.addEventListener(MouseEvent.MOUSE_DOWN, dragDDB1);
stage.addEventListener(MouseEvent.MOUSE_UP, dropDDB1);
function dragDDB1(evt:MouseEvent){
evt.stopPropagation();
_DDB1 = evt.currentTarget as Sprite;
_DDB1.startDrag(false);
stage.addEventListener(MouseEvent.MOUSE_UP, dropDDB1);
function dropDDB1(e:MouseEvent):void {
_DDB1.stopDrag();
stage.removeEventListener(MouseEvent.MOUSE_UP,dropDDB1);
if (_DDB1.x>700 || _DDB1.x < 755 || _DDB1.y < 240 || _DDB1.y > 155) {
_DDB1.removeEventListener(MouseEvent.MOUSE_DOWN, dragDDB1);
_DDB1.parent.removeChild(_DDB1);
_DDB1 = null;Chances are that the problem lies in the following line:
if (_DDB1.x>700 || _DDB1.x < 755 || _DDB1.y < 240 || _DDB1.y > 155) {
That line essentially says if(the object is anywhere) due to using the OR ( || ) operator. If any one of those things is true then the condition is satisfied, which becxause they overlap will always be true for at least two of them. If that is supposed to be restricting the object to within an area you likely want to all of those conditions to be satsified. So in that case you need to use the AND operator ( && ). -
I am preparing a drag and drop and everything works fine except that one of the item disappears when I drop it at the drop area.
I have recreated the wizard multiple times and am at loss what to do here or what is the problem?Hi
Thank you for using
Microsoft Office for IT Professionals Forums.
From your description, we can follow these Method to troubleshoot.
Method A
Start outlook in Safe Mode, Press and hold the
CTRL key, and then click Outlook program
If the problem does not occur in the safe mode, this issue might be related to some third-party add-ins in the Outlook program, we can try to disable
them.
Method B
We can try to create a new profile in Microsoft Office Outlook 2010 to test the issue, follow these steps:
1.
Exit Outlook.
2.
Go to Start > Control Panel, click or double-click Mail.
3.
Click Show Profiles. Choose Prompt for a profile to be used.
4.
Click Add.
5.
Type a name for the profile, and then click OK.
6.
Highlight the profile, and choose Properties. Then Email Accounts..., add your email account in the profile.
7.
Start Outlook, and choose this new profile.
If this problem does not occur in the new Outlook profile, the old Outlook profile is corrupted. We can delete that and use a new Outlook profile.
More information you can refer to this KB article:
http://support.microsoft.com/kb/829918
Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything is unclear or if there is anything
I can do for you, please feel free to let me know.
Best Regards,
William Zhou
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for
TechNet Subscriber Support, contact
[email protected]
Maybe you are looking for
-
Podcasts are downloaded to the wrong folder
I've moved my library to a network drive (Y:). However, new podcasts are still being downloaded to My Documents/My Music/iTunes/Podcasts The Media folder location has been changed to Y:\Shared Music in the preferences, and there doesn't appear to be
-
How to add records or how to maintain list in stored Procedure
Hi, I am facing an issue in the addition of record in the type create or replace TYPE "PROD_SEARCH_COUNT_TBL" AS TABLE OF PROD_SEARCH_COUNT_OBJ; create or replace TYPE "PROD_SEARCH_
-
Period closing to be automated
Hi All, Can anyone help me with this error? I am getting error in goods receipt as posting not possible for specific month. u201CPosting only possible in periods 2009/01 and 2009/01 in company code 4070u201D How to solve this and any way to automate
-
Default compose/reply Text or HTML
We are running into the same problem that has plagued other installations in regards to Outlook and Messenger Express. This has been our experience with the problem: There is a problem we have seen where a person using Microsoft Outlook (not Outlook
-
I installed Adobe Reader 9.20. Docs have lines with black blocks. Help?
I am not sure what to do. I upgraded to the 9.20 and have had problems ever since. I tried uninstalling all adobe products and reinstalling and am having the same problem. Large portions of text in the documents are "blocked out" with a black