Drag&Drop using Repeater

Does anyone know how to do drag & drop using a Repeater
component?
Sample?
Thanks,

It does a bit, but be forewarned: this is a great way to get
yourself into
serious trouble, and to do so very easily. DW is not for
those who are
unwilling or uninterested in learning HTML and CSS.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"GoodTherapy.org" <[email protected]> wrote
in message
news:fthq3f$1up$[email protected]..
> Does Dreamweaver allow for drag & drop web desig? I
have an employee
> needing
> something more sphisticated than Contribute and less
complicated then
> dreamweaver to work on our site www.goodtherapy.org. if
not Adobe, i'm
> open to
> other brands. Thanks!
>

Similar Messages

  • Drag/Drop Question

    I have implemented drag & drop using a datagrid and a list control. The items that need to be dragged are a simple value object that conatin data. Everything works as far as the drag/drop operations, however, I need to be able to know which item has been dropped. It's probably simple, but I can't find it. Can anyone help?

    Just give each item an id
    and listen to the
    <s:List id="destList"
         dragDrop="destList_dragDropHandler(event)"

  • Effect on Sprite breaks drag&drop mechanics

    Hello,
    I've a problem with applying effects to a number of SpriteVisualElements.
    I had set up a grid of said sprites and could drag and drop them around using the startDrag() and stopDrag() methods.
    I then decided to use effects to somehow animate these sprites when I click or drag them, and chose to play the effects in the handler of the MouseEvent.MOUSE_UP event.
    Things still work, but.... some effects break the drag&drop operation.
    The first time I drag or click the sprites everything works fine, but when I try to drag them again after the effect has been played once they won't drop. I can see the sprites move along with the mouse cursor as i drag them, but when I release the mouse button the sprites jump back to their starting position instead of dropping where I've just dragged them.
    This happens only on individual sprites once the effect has been played on them a first time. After that the effect still plays each time (meaning that the MOUSE_UP event is dispatched), but they won't drop.
    I'm also tracking the coordinates of the sprites as they are dragged, using a label I update through the MOUSE_MOVE event. The sprites' coordinates update normally the first time I drag&drop them, but then, after the effect is played for the first time, the coordinates won't update either.
    This only happens with effects that affect the sprites' appearance: s:Animate (scaleX, scaleY), s:Rotate, s:Scale.
    The only one that seems to work without causing any problem is s:Move. Don't understand why.
    Does anyone have any idea?
    Thanks a lot

    Oh, I see. Thanks.
    So... i should use the "normal" flex drag&drop.
    There is just a problem, the documentation says:
    The following Flex features are not supported in mobile applications:
    No support for drag-and-drop operations
    http://help.adobe.com/en_US/flex/mobileapps/WSf3db6597adcd110e19124fcb12ab3a1c319-8000.htm l#WSca1097f1363f276f-8bfd51512ba1a8112c-8000
    I had to work my way around this limitation one time in the past. I assumed that those lines referred to list-based controls only and I figured that maybe I could manually implement drag&drop with my custom components, which I did. It worked quite well, but unfortunately it also made the mouse cursor appear beneath my fingertip. It was very annoying and I couldn't find a way to get rid of it.
    I also thought about implementing the "flex" drag&drop using TouchEvents instead of MouseEvents (maybe that was the cause of the problem, I thought), but the DragManager.doDrag() method requires a MouseEvent as argument.... and that's when I decided to switch to the more basic .startTouchDrag() and stopTouchDrag() methods.
    Now, is there something else I could try?
    How do other people (more experienced than me) implement their drag&drop mechanics, for starters?
    Thank you :-)

  • How do you drag and drop using mac laptop?

    how do you drag and drop using mac laptop?

      As said above, you can click down, ons use the other finger to drag the object.  I had turned on the setting to use three-finger drag, so you can drag objects with three fingers.  To change gesture settings, go to the system preferences>trackpad.  Here you can also see all of the gestures of Mac OS X.

  • Drag and Drop using Components[

    Hi,
    As anyone used Drag and Drop for components? I mean, allowing the user to drag and drop a component around a container? Just curious, so far from what I've seen, the only things that can be dragged/dropped are properties of a given object, such as 'text" from a JLabel.
    thanks

    IMHO, you don't need fancy drag and drop features to do that. Implementing MouseInputListener and listening for mouseDragged is a good start. Then setting the component's bounds depending on the location of the mouse at the mouseReleased event (wrt the starting offset) could be a good idea (if you're using absolute positioning, of course).
    From there, it all depends on what you want it to look like during the "transfer". You could, for instance paint the component in a BufferedImage at the start of the D&D and then paint the image with transparency as the mouse is moving.
    Camickr had an interesting post that might help you :
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=492100

  • WPF DataGridComboboxColumn selction fails if Drag&Drop is used

    I've got a Usercontrol with TabControl including Datagrid for each tabItem. The Datagrid has 3 Columns, one as a combobox column.
    Now I've implemented some Drag&Drop function for moving rows using PreviewMouseLeftButtonDown and Drop event. With that the Drag&Drop
    is working fine. But I can't select from the combobox any more, the box opens and I can see the content but if I want to select an Item with the mouse it's selecting the datagridrow beneath the selectedItem of dropdown list. With the up/down key from the keyboard
    I can select.
    private void ConfigurationFileView_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
    DependencyObject source = e.OriginalSource as DependencyObject;
    while (source != null && !(source is System.Windows.Controls.ComboBox))
    source = VisualTreeHelper.GetParent(source);
    if (source != null)
    // don't know what to do here....
    else
    DataGrid dataGrid = (DataGrid)sender;
    rowIndex = GetCurrentRowIndex(dataGrid, e.GetPosition);
    if (rowIndex < 0)
    return;
    dataGrid.SelectedIndex = rowIndex;
    ParameterVM selectedEmp = dataGrid.Items[rowIndex] as ParameterVM;
    if (selectedEmp == null)
    return;
    DragDropEffects dragdropeffects = DragDropEffects.Move;
    if (DragDrop.DoDragDrop(dataGrid, selectedEmp, dragdropeffects) != DragDropEffects.None)
    dataGrid.SelectedItem = selectedEmp;
    private void ConfigurationFileView_Drop(object sender, DragEventArgs e)
    DataGrid dataGrid = (DataGrid)sender;
    int index = this.GetCurrentRowIndex(dataGrid, e.GetPosition);
    if (index < 0)
    return;
    if (rowIndex < 0)
    ParameterVM newParameter = e.Data.GetData(typeof(ParameterVM))as ParameterVM;
    if (null == newParameter)
    return;
    ObservableCollection<ParameterVM> parameters = dataGrid.ItemsSource as ObservableCollection<ParameterVM>;
    if (!parameters.Any(p => p.Name == newParameter.Name && p.Type == newParameter.Type))
    parameters.Insert(index, newParameter);
    else
    if (index == rowIndex)
    return;
    if (index == dataGrid.Items.Count - 1)
    MessageBox.Show("This row-index cannot be drop");
    return;
    ObservableCollection<ParameterVM> parameters = dataGrid.ItemsSource as ObservableCollection<ParameterVM>;
    ParameterVM changedParameter = parameters[rowIndex];
    parameters.Move(rowIndex, index);

    Drag and drop within a datagrid is rather an unusual thing to do.
    I would suggest your problem lies in choosing to do something which will cause complications.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • Use custom component when drag&drop a VO as form

    Hi,
    Actually if I drag&drop a VO as form, jdevelopper suggest me, for each field, "Component To Use" : "ADF Input Text w/Label", "ADF Input Text", "ADF Output Text w/Label"..... I would like to suggest my custom components too. Is it possible?

    Hi,
    I don't think you could do that in a easier way (atleast AFAIK). You would need to create an extension to the IDE to achieve it.
    -Arun

  • How to Rearrange components using Drag Drop functionality

    Hi,
    Is it possible to re-arrange the components inside the form using drag drop functionality in RCF?
    There are 3/4 section headers in my screen, user can re-arrange them.
    But as per the RCF document it says, "Drag Drop functionality allows users to drag the value of one component and drop it on to another". It dosent say any thing about component drag-drop.

    Hi,
    there is a componentDragSource element that you use for this. However, persisting the change of location is not handled automatically. I didn't try this, but I assume that using the component drag option gives you access to the UI component itself so you can nest it in another container
    Frank
    Ps.: the drag event always givey you access to the component. This componentDragSource however shows the component when dragging, which is a slightly better indicator if you plan to re-arrange items

  • Add file contents using drag drop method

    I want to add file contents to a text view by drag drop method. How i can do that in cocoa using objective c? Can anybody help me. I am using following code in my appCotroller file to do the same but can't get the desired out put. Insted of getting file contents, i m getting the file URL (Path) in the text view.

    shaktirsg wrote:
    As you said i have to open that file in my performDragOperation function, I want to know where to write this function. bcoz i have written this function in my appCotroller class but that code does'n get executed. Can you help me on this.
    It is very hard to debug code I haven't seen. If you are getting the URL in your text view, you must be handling the drag operation correctly. Instead of putting the pasteboard data into the text view, get the file's contents and put that into the text view.
    Also can you give me a sample code on how to open files in coccoa, how to read the contents of that file?
    Look at NSString's "stringWithContentsOfFile:encoding:error:"

  • DRAG & DROP IN SQL CALENDAR USING TIMESTAMP COLUMN

    Hi there,
    I'm having a difficulty with the drag & drop process in my sql calendar. The defalult code has been mentioned before as:
    declare
    l_date_value varchar2(32767) := apex_application.g_x01;
    l_primary_key_value varchar2(32767) := apex_application.g_x02;
    begin
    update EMP set HIREDATE = to_date(l_date_value,'YYYYMMDD HH24MISS')
    where ROWID = l_primary_key_value;
    end;
    My sql calendar query though, has not a simple date column, but a TIMESTAMP column used in the Date value attribute.The APPOINTMENTID is my primary key column of APPOINTMENTS table as you can see and of course the APP_TIMESTAMP column as my Date Column (which in my database schema is created by the "merging" of my APP_DATE & APP_TIME columns ):
    SELECT APPOINTMENTID,DECODE(APP_STATUS,'0','#005C09','1','#EF5800','2','#000099','3','purple')COLOR,
    (TO_CHAR(APP_TIMESTAMP,'HH24:MI')||' / '||(SELECT LAST_NAME||' '||FIRST_NAME
    FROM PATIENTS C
    WHERE C.PAT_ID = A.PAT_ID)||' / '||UPPER(APP_DESCR)||' / '||APP_TEL_NO) APP_ROW,
    APP_TIMESTAMP
    FROM APPOINTMENTS A, PATIENTS C
    WHERE C.PAT_ID(+) = A.PAT_ID
    So far, in my on demand process i have written the code shown below and the result is just the dragging functionality:
    declare
    l_date_value varchar2(32767) := apex_application.g_x01;
    l_primary_key_value varchar2(32767) := apex_application.g_x02;
    begin
    update APPOINTMENTS
    set APP_TIMESTAMP = to_date(l_date_value,'DD/MM/RRRR HH24MI')
    where APPOINTMENTID = l_primary_key_value;
    end;
    Any suggestion is welcome,
    Thanks

    Hi,
    I just found a solution. I implemented for each column an own event-handler. Therefore I can assign the excercise to the right column.
    Has anybody else a better solution?
    Best regards
    Max

  • Quality differences between "Export Using Compressor..." and Drag & Drop

    There are quite a few people out there discussing the 24p workflow for the new Canon HV20 (on hv20.com, dvinfo.net, etc.). The HV20 can shoot 24 progressive frames/sec, but stores them as 29.97 interlaced HDV on tape, with an arbitrary cadence.
    One of the better workflows is to capture into FCP using HDV over Firewire, and use Compressor to extract the progressive frames from the interlaced. Its Reverse Telecine seems to automatically figure out the cadence. I've been testing this using the "Other Workflows > Apple Codecs > Apple ProRes 422 for Progressive material (HQ)" preset, with the following modifications, Frame Controls: On, Deinterlace: Reverse Telecine, Frame Size: 1920x1080.
    That's just background.
    The problem is this. If I export the HDV clip from FCP, "Export > Using Compressor...", the resulting 24p footage is extremely high quality. However, if I drag & drop the HDV clip directly into Compressor, or set up a Compressor droplet (arguably more straightforward for batch conversions), the resulting footage has obvious resizing artifacts (jaggies).
    Obviously, I'm keeping everything consistent setting-wise, and have thoroughly examined the resulting .movs. The only difference is the actual image quality.
    Anyone seen anything like this?
    I'm less concerned about this specific workflow than I am about Compressor producing non-identical results from identical footage with the same settings, dependent on your chosen workflow...
      Mac OS X (10.4.10)  

    What I need to know if it is a dramatic different in quality that I should use DVD Pro instead of iDVD.
    If you want a DRAMATIC improvement in quality, shoot sharp, high quality content like Hollywood (usually on film) and have it compressed by high quality hardware encoders.
    There is a good reason Hollywood DVDs look better than iDVD/DVD Studio Pro DVDs.
    F Shippey

  • How can I get quiz scripts to pull properly.... Using CP 6 with Infosemantics Drag & Drop Widget

    I'm modifying a course which is composed of 4 mini-quizzes with each section having a results slide which gives you your cummulative score. This course was created by my predecessor. The course was previously published, loaded to our LMS, and used by new hires to test their knowledge and abitliy to locate information. In it's original state the course works and the Results slides score and coaching messages display as they should.
    Now that I need to update the course, I've discovered that the first section was built using a Drag&Drop widget. I didn't make any changes to the section built using the widget. Unfortunately, the Results slide for this mini-quiz section has become a problem when the user gets a score of 0 or 10 points. Instead of getting a message that reads, "Keep Trying!" (0 points) or "You're Doing OK!" (10 Points) they get a "Perfect Score!" message.
    Notice the scoring is correct for the section it's the messaging that's wrong. Since this is only happening with this one part of the quiz I'm assuming that there could be something wrong with the widegt.
    Any input would be appreciated.

    Rod Ward was very helpful in aiding in the fixing widgets that outdated due to a version update. However, this fix does note resovle my original problem. In short, the widget Drag/Drop was never the problem with the scoring/scripting issue. Can anyone give me insight as to why a course that has used by our learner population previously would stop functioning properly.
    Reminder:
    1. I made minor edits to the course in question. none of my edits impacted the section that is not functioning properly.
    2. Currently, learners would get a "Perfect Score" script if they scored 0, 10, or 30 points. "Perfect Score", in this first section should only display at 30 points while 0 points should yield "Keep Trying" and 10 points should yield "You're Doing Ok" responses.
    Any Thoughts!

  • Can't use drag&drop

    Hello, I'm using MacBook Pro (retina, 15", late 2013, 2,3 GHz Intel core i7) and after using for a while happened smh strange. I can't use drag&drop, so I can't select the object and drag it. What is wrong?

    Hello!
    I wonder, does the issue persist even after a simple restart of OS X?
    If so, please start Disk Utility (it's in your Applications>Utilities folder), click on your harddrive and select [repair disk permissions]

  • I deleted the "desktop" in tiger, can't "alias", "copy" or "drag & drop" anything to it now, I get a message that "desktop can not be changed"

    I was trying to make an alias of "SAFARI" icon to have on the desktop & in the dock as well, I managed to make the safari icon appear on the desktop, but when I wanted to switch from firefox to safari it wouldn't open / start safari, so OK, no big deal, I moved it the trash, ( by rt. click,>move to trash>click ) the horror starts here, everything on the desktop disappeared into the trash !!!!! ......
      So I have tried to "drag & drop", "alias", "copy", "duplicate" to get things back out of the trash, but every attempt is met with a message "the desktop con not be changed",   and whatever I try to bring anything out of the trash window, it gets a "minus - sign" added to it when it crosses over the edge of the trash window, and of course it jumps right back into the trash when the mouse button is released.
    I think (barely) I will need the do a "clean install", or a "restore" from the install DVD to restore / get the desktop back.
    And while the only thing on the desktop now is the HDD icon, clicking it open does not show the desktop in the Lf. column of the window where it should be, or any OS X folders when clicking on anything, but the OS is is running for this post and yahoo, etc., and there is a upward facing arrow next to the "network" name in the left column, that doesn't go away, like after installing some software, this is weird !!
    Any solid ideas welcomed, and Thanks for reading my driveling post,  .....  wayne146  .........
    this is happening on my back-up machine, a G4 400mhz PCI, OS X TIGER 10.4.11 & 9.2.2 in classic ( all the 9.2.2 stuff does still show in the hdd when clicked )
    I am having bigger troubles with my QS 800 dp, so I need this one to stay online, Please help !!!

    to safari it wouldn't open / start safari, so OK, no big deal, I moved it the trash, ( by rt. click,>move to trash>click ) the horror starts here, everything on the desktop disappeared into the trash !!!!!
    I am confused by what you did.
    open / start safari
    What did you do?  This looks like a terminal command.
    Or, did you click on the safari icon then right click on the safari icon then click on open? 
    I do not understand how you that moving to the trash would be helpful.
    I suspect disk corruptions.
    I run disk utility verify the file system on your starup disk.  See below.
    verify & repair your startup drive
    To verify & repair you file system on the startup drive, you will need to run disk utility from you installation DVD.
    This article  will tell you how to get to disk utility.  Once in a disk utility, you can go and attempt to recover the disk.
    http://support.apple.com/kb/TS1417
    To repair your startup drive, you will need to run disk utility from your startup DVD.
    Mac OS X 10.4: About the utilities available on the Mac OS X 10.4 Install DVD
    http://support.apple.com/kb/HT2055
    How to run disk utility from your startup DVD.
    Insert your  startup DVD  into your reader.  Power down your machine.  Hold down to the c key.  Power on your machine.  This will bootup your startup DVD.
    This will bring you to a panel asking you for your language.  Pick your language.
    You you come to the Install Mac OS panel.  Do not install.
    Click on Utilities menu item.  This will give you a pulldown list of utilities.
    Click on the disk utility.
    You are now in disk utility.  Pick your disk.  Click on repair it should be on the lower right of the panel.
    Once the repair completes successfully, you should update your permissions.
    Verify a disk
    As an alternative, you can verify that the filesystem on the disk is correct. You will not be able to repair the file system.
    I suggest that you use disk utility to verify that your startup disk is OK.  Macintosh-HD -> Applications -> Utilities -> Disk Utility  Start up disk utility.  On the left pane view, you will see a list of all your disks.   click on your startup disk.  Click on the First Aid  Tab.  Click on verify.   Hopefully your disk will verify.  If not, you have to boot from your installation DVD and run Disk First Aid from there to attempt to repair your file-system.

  • Can open Topics by drag & drop, but not by double-clicking in the DITA map

    Hi,
    evidently I made an error somewhere in my structure app, the result is that I cannot open DITA topics by double clicking them in the DITA map anymore (Framemaker does simpy nothing). I can, however, open them by dragging the xml files onto the Framemaker window.  If I use the standard DITA 1.2 application everything works fine so I guess the problem is in my mapping.
    Here is what I tried to achieve:
    We need certain variations of the normal 'topic' type topic. The DTD should be identical, however different structures should be auto-inserted when creating a topic and the topic should have certain attribute values predefined.
    The idea is that the author can select one of these topic types when creating a topic, but when opening an existing topic simply edit it with the standard topic temple.
    Here is what I did:
    I duplicated the topic.template.fm, renaming it say "topic_a.template.fm", "topic_b.template.fm" etc. (just an example).
    I made adjustments to the EDD of these templates, changing the auto-insertions and the default values of some attributes.
    In the structapps.fm file I added XML applications for these new topic types, mapping each application to one of the new templates, but to the original topic DTD and r/w rules. E.g. the application "DITA_1.2_topic_a" is mapped to the "topic_a.template.fm" template, and to the original "topic.dtd" and "topic.rules.txt" files.
    In Framemaker I then created corresponding application mappings in the DITA options. E.g. the topic type "A" (which defines the visible text in the "New topic" menu) is maped to the XML application "DITA_1.2_topic_a".
    The result:
    It works as intended in every way when creating topics. The topics are saved with the standard doctype 'topic'. However for when I try to open topics from the DTD by double-clicking then nothing happens. Opening topics by drag & drop works fine though and they are opened with the normal (general) "topic.template.fm" template as desired.
    Any ideas? Was this confusing or am I completely off somewhere?
    Robert

    Hi Robert...
    When you say that you need "variations" from the normal topic type .. are those structural variations or just formatting? FM associates structure apps with XML files based on the doctype (root element). If your files all have the same root element, then they will all open with the same structure application (unless you specify a different one when opening the file or by importing a new EDD). It sounds like you really should be creating a specialization for each alternate topic type. If you don't, you'll end up getting the wrong "model" assigned to the wrong file.
    Multiple EDDs (structure apps) can share the same DTD, and one EDD (structure app) can support multiple models. This is how the "ditabase" app works. There are lots of ways to set this up, but I think what you've done is probably not quite right.
    The default structure app setup in FM11 and FM12 is very complicated to work with. I recommend creating a single app that supports many models. This isn't always possible, but it sounds like in your case it should be. I've set up one app that supports 13 different specialized topic models and it works fine.
    Note that even though you've added structure apps for each model, if you end up opening the files using the default template, you are no longer using those modified models.
    Sorry, but this is a bit more than can be dealt with appropriately in a forum post. If you'd like more help with this, feel free to contact me off list.
    Cheers,
    …scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

Maybe you are looking for