Calendar of the ADF: Drag and Drop

Dear all,

I tried to add the drag and drop functionality provided by Oracle ADF to a calendar that displays events from the database.

< af:calendar id = 'c4' value = ' #{bindings. " CalendarView1.calendarModel}.

calendarActivityListener = "#{CalendarBean.activityListener}" > "

< af:calendarDropTarget dropListener = "#{CalendarBean.handleDrop}" action = "MOVE" / > "

< / af:calendar >

The "CalendarBean" code is that provided in the Oracle ADF Faces "DemoCalendarBean.java" demo application

Unfortunately, the following error occurs "oracle.adfinternal.view.faces.model.binding.FacesCtrlCalendarBinding$ AdfmCalendarActivity cannot be cast to oracle.adfdemo.view.calendar.rich.model.DemoCalendarActivity.

Can anyone advise a solution

Thanks in advance

Concerning

Hello

Start with the calendar using Oracle demonstrations certainly seem convoluted - I did the same thing. I had to interpret what the demo was trying more of in the java code in general, and then write my own code. Below, I have the code that works for my clients.

1.) tag add calendar Drop target within your calendar.

2.) create your listener to drop in a managed bean (make sure that your method is mapped into the target calendar Drop). Note the areas where I've "updated HERE". I had fun with the data conversions that you see

Updated - this must go in your bean example. You can of course do this dynamic, but for now, it should work.

currTimeZone private zone is TimeZone.getTimeZone (' America/Detroit');.

This card to your target calendar drop tag

public DnDAction handleDrop (DropEvent dropEvent) {}

Method to handle the Drag and Drop feature calendar

Return _handleDrop (dropEvent, false);

}

public DnDAction _handleDrop (DropEvent dropEvent, showPopup boolean) {}

Drag and drop (mailable)

Transferable transferable = dropEvent.getTransferable ();

CalendarDropSite dropSite = (CalendarDropSite) dropEvent.getDropSite ();

DropSiteDate date = dropSite.getDate ();

CalendarActivity.TimeType timeType = dropSite.getTimeType ();

Civil activity

Activity CalendarActivity = (CalendarActivity) transferable.getData (DataFlavor.getDataFlavor (CalendarActivity.class));

If (activity! = null) {}

_handleCalendarActivityDrop (dropEvent, dropSiteDate, activity, showPopup);

Return dropEvent.getProposedAction ();

}

Return DnDAction.NONE;

}

private _handleCalendarActivityDrop Sub (DropEvent dropEvent, dropSiteDate Date, CalendarActivity activity, boolean showPopup) {}

Current start date Info get an activity

Date startDate;

startDate = activity.getStartDate (currTimeZone);

Calendar startCal = Calendar.getInstance (currTimeZone);

startCal.setTime (startDate);

Obtain the primary key of the calendar item as we move

String rowPK = activity.getId (m:System.NET.SocketAddress.ToString ());

int startDayOfYear = startCal.get (Calendar.DAY_OF_YEAR);

int startHour = startCal.get (Calendar.HOUR_OF_DAY);

int startMin = startCal.get (Calendar.MINUTE);

int startYear = startCal.get (Calendar.YEAR);

Get current Info from Date of end of the activity

Date endDate;

endDate = activity.getEndDate (currTimeZone);

Calendar endCal = Calendar.getInstance (currTimeZone);

endCal.setTime (endDate);

int endDayOfYear = endCal.get (Calendar.DAY_OF_YEAR);

int endHour = endCal.get (Calendar.HOUR_OF_DAY);

int endMin = endCal.get (Calendar.MINUTE);

int endYear = endCal.get (Calendar.YEAR);

Download New Start Date object dropSiteDate Info

Calendar dropCal = Calendar.getInstance (currTimeZone);

dropCal.setTime (dropSiteDate);

int dropDayOfYear = dropCal.get (Calendar.DAY_OF_YEAR);

int dropHour = dropCal.get (Calendar.HOUR_OF_DAY);

int dropMint = dropCal.get (Calendar.MINUTE);

int dropYear = dropCal.get (Calendar.YEAR);

calculation variables

long eventDelta = 0;

int newEndDayOfYear = 0;

Check if there is any change with the start date new old vs.

If (startDayOfYear! = dropDayOfYear) {}

Get the value of delta beginning-enddate

eventDelta = endCal.getTime () .getTime () - startCal.getTime () .getTime ();

Info set start date (Leaving time infact info)

startCal.set (Calendar.DAY_OF_YEAR, dropDayOfYear);

startCal.set (Calendar.YEAR, dropCal.get (Calendar.YEAR));

startCal.set (Calendar.MONTH, dropCal.get (Calendar.MONTH));

calculate the new endDate

Day newEndDate = new Date (startCal.getTime () .getTime () + eventDelta);

endCal.setTime (newEndDate);

reformat the start date, just in case.

Trainer SimpleDateFormat;

Formatter = new SimpleDateFormat ("yyyy-MM-DD hh: mm:." "") « « S ») ;

Date newStartDate;

newStartDate = new Date (startCal.getTime () .getTime ());

Formatter.format (newStartDate);

Take the iterator that is used for the calendar

DCBindingContainer dcbindings = (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();

UPDATE HERE - the name of your iterator binding your view calendar object

Iterator DCIteratorBinding = dcbindings.findIteratorBinding ("NameOfYourViewObjectIterator");

Get lines of database that uses the iterator

Line lines [] = iterator.getAllRowsInRange ();

Line currentRow = iterator.getCurrentRow ();

Must make sure that we have the iterator on the right line

If (rows.length > 0) {}

for (int i = 0; i)< rows.length;="" i++)="">

Updated HERE - this is a primary key for your view object

If (rows [i].getAttribute("Id").toString () .equals (rowPK)) {}

We found the line, now exit loop and move forward

currentRow = lines [i];

break;

}

}

}

If (currentRow! = null) {}

Get the binding of operations

CHECK to make sure that you have a validation link on your Page Def

OperationBinding commitBinding = dcbindings.getOperationBinding ("Commit");

/ Date start and end Date for the line that we are changing the value

* We need to create an oracle.jbo.domain.Timestamp because the view entity object using oracle.jbo.domain.Date

* oracle.jbo.domain.Date does not accept that the oracle.jbo.domain.Timestamp, which stamp accepts java.util.Date

*/

Start date of new game

Timestamp newStartDateTs;

newStartDateTs = new Timestamp (newStartDate.getTime ());

UPDATE HERE - launched date field

currentRow.setAttribute ("Startdate", newStartDateTs);

New defined end date

Timestamp newEndDateTs;

newEndDateTs = new Timestamp (newEndDate.getTime ());

UPDATE HERE - launched date field

currentRow.setAttribute ("Enddate", newEndDateTs);

Perform field validation against currently modified line

try {}

currentRow.validate ();

} catch (Exception e) {}

System.out.println (e);

Restore all changes so there is no garbage data is entered into the database

currentRow.refresh (Row.REFRESH_UNDO_CHANGES);

return;

}

Run the validation on the database operation

commitBinding.execute ();

Look for errors during validation: If no errors, then update calendar

If (commitBinding.getErrors () .isEmpty ()) {}

Refresh the calendar client in order to reflect the new changes

RequestContext adfContext = RequestContext.getCurrentInstance ();

adfContext.addPartialTarget (getCalendarComponent ());

} else {}

currentRow.refresh (Row.REFRESH_UNDO_CHANGES);

}

} else {}

Nothing to do here.

}

}

}

protected RichCalendar getCalendarComponent() {}

FacesContext context = FacesContext.getCurrentInstance ();

UIComponent root = context.getViewRoot ();

Hard-coded id for the moment, but that can be loaded dynamically.

UPDATE your schedule component JSPX HERE - id

return (RichCalendar) root.findComponent ("c1");

}

(3.) If can't remember off hand imports, if you have a problem let me know, I'll send a list of what I have.

I hope this helps. Good luck!

Gavin

Tags: Java

Similar Questions

  • When we organize our emails/landing pages into folders, is there the capacity drag-and - drop?

    Sometimes it does not work always when I record my work and I want to keep my tidy Eloqua platform! I have

    Hi Nathalie,.

    You can drag and drop in the selector (so for example, under the E-mail section, click on "Open an existing email" and opens the selector). If you are looking for in the selector, you will not be able to drag and drop the results of research, but if you want and instead simply navigate through the selector by clicking, you can drag and drop assets into a folder.

    If you want to drag to 'up' in the hierarchy of folders, you can drag the item to the track "Breadcrumb" above the list of files (so if you are in a folder called work in progress, the "breadcrumb" will look like Test-> file Some-> other folder-> current folder), like this:

  • On the legend of rejection only appear not in the interaction drag and drop

    Hello

    I'm playing with drag and drop interaction to understand its functionality.

    I noticed that we can accept, reject and hint captions to individual moving targets. When I tested it, I Accept and indication of the legends as expected. But I don't get the legend to reject even when I place the wrong source on the target.

    What I am doing wrong?

    Anthony

    Hello

    Dismiss the legend appears when an unacceptable source fell on a target. To configure the "acceptance criteria", select a drop target, click on 'Accept' button, deselect the checkbox corresponding to the unacceptable source. (As shown below)

    Now each time the drop source user 'Unaccept' on top of the target, the legend of "Reject" will appear.

    Thank you

    VERALINE Sukumaran.

  • How to create the Table using the column Drag and Drop feature

    Hello:
    I'm new to Data Modeler tool Oracle SQL dev and would like to know if there is a way to create a new table by reusing existing columns or groups of columns. The idea is to maintain consistency and save time of table design. If the columns created previously can be reused and require, drag and drop column in the right pane, then only new columns must be created manually.

    Any thoughts on this will be appreciated.

    Thank you!

    Yes - just change the name of the model table in the script (t_name = "table_template") then save this new transformation for later use.

    I don't know how to apply only some of the tables. Seems like something you could do to a secondary view level?

    Perhaps someone else on the forum can advise how to change the script to work on a subview only instead of the whole model.

  • What browser supports the feature "Drag and Drop"?

    I would like to know what browser supports "Drag and Drop" function because I've tried IE, Opera and Chrome, and none of them worked.

    IE just opening the file when I do this, Opera asks if I want to download but when I click Yes, nothing happens and finally with chrome when I drop the file, nothing happens.

    Drag and drop works very well here in Chrome on Win XP and Win 7.

  • Create the action drag and drop layers of curve of one file to another?

    Good, everyone!

    I am recording a Photoshop Action that...

    1 open a source file

    2 selects the specific curve layers

    3 door the layers of curve in a destination file.

    I tried to simply drag / drop the selected layers from the source to the destination document, but the Action records only "select previous document" without actually transferring the curves.

    I can right click on the layers, I want to breed and select "in double layers...". "but she blocks the Action in a specific destination AND it will not allow the menu appears.

    I could look at it a different way, I save each as preset curves layer and has the Action simply create layers instead of dragging a file source. However, I have a prohibitive number of those darned layers and most of them have "Mix Ifs" on them as well, and that would take a lot of time to produce.

    Any suggestions?

    Thank you

    Bruce


    The function below copy a layer of the activeDocument (selected doc and layer) to the next open document. If only the two documents are open, it doesn't matter what order the documents are in. i.e. with only two following open documents and previous doc is the same doc.

    function copyLayerToNextDoc() {
        var desc = new ActionDescriptor();
            var ref = new ActionReference();
            ref.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
        desc.putReference( charIDToTypeID('null'), ref );
            var ref2= new ActionReference();
            ref2.putOffset( charIDToTypeID('Dcmn'), 1 );
        desc.putReference( charIDToTypeID('T   '), ref2 );
        desc.putInteger( charIDToTypeID('Vrsn'), 5 );
        executeAction( charIDToTypeID('Dplc'), desc, DialogModes.NO );
    };
    
  • Drag and drop into the structure of recursive tree using af: tree

    I use version 11.1.1.2.0 jdeveloper.

    I have a table of the following structure:

    groupVO.
    id   name    parent_id
    1   group1   -1
    2   group2   -1
    3   subgp1    1
    4   subgp2    1
    5   leaf1        3
    6   leaf2        4
    7   leaf3        3
    To implement this as a tree, I created a static vo, RootVO, with a row (root-1).
    This is defined as the parent of groupVO using a link from the view.
    Then, I created a viewlink groupVO to himself.
    Then, I created an af:tree with these your. The tree looks like this:
    Root
         ->group1
                      ->subgp1
                                   ->leaf1
                                   ->leaf3
                      ->subgp2
                                   ->leaf2
         ->group2
    Now how can I implement drag and drop in this case?
    What I have to do in drag - move, it's just update the component parent_id enjoy the ID of the node dropsite.

    Also, I need to display the details of the node selected in a form. I found that by dragging the child vo does not have the trick here. It shows only the first child node of the table.

    Published by: josetuttu on July 17, 2011 23:23

    Hello

    I have a similar case (non recursive tree) described here.

    http://www.gabrielsideras.com/2010/10/23/ADF-drag-and-drop-functionality-in-an-aftree-component/

    To implement the move I use model method instead of a method to support bean.

    Gabriel.

  • How can I change the size (HUGE 72 x 72) of my drag-and-drop icons?

    Is there a windows hotfix, the registry setting, utility tweak or SOMETHING that will give me an icon of normal size (small) when I drag-and - drop in Windows Explorer?  I am happy with the size of all other icons, but would be willing to change whatever it is to change the size of the drag-and-drop icon.  Windows Explorer is too difficult to use in the Details view when the icon drag-and - drop is that great.

    Hi redhawk463,

    When you use drag it and drop method the icon font size would be in the same size of the real size of this file.

    Let us know if the real size of the file is the same when you drag and drop the file in Windows Explorer.

    Work with files and folders
    http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-files-and-folders

    I hope this helps!

    Halima S - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Tip action to show only a previous button on a slide so the learner clicked on the button Submit on Drag and Drop

    I am a user of long date Captivate and have dabbled with advanced Actions and Variables, so know just enough to get me in trouble. Hoping someone can help me with what I hope is a simple tip action:

    I am currently using CP8 and created a training where learners click on a map of building to go to different "rooms" to complete an interaction drag-and - déposer a certain topic related HR. The problem is that some of my learners test forget what 'rooms' they have already read and will click on those they have already visited. I added a back button, so that they can return to the map if they made a mistake, but now they are able to leave the slide without completing the interaction drag and drop.

    Basically, I need to hide the back button unless the learner has already completed (for example, the user clicks on the button submit to) the Drag and Drop interaction, but I'm not sure how to set up. Can anyone help?

    Thank you!

    Hide the button back to begin with. A tip action can be triggered by an event the success and failure of the & slipped. I guess that you will need at least two commands:

    • View the "back" button
    • Go to the next slide.

    It seems the simplest solution. You can also ignore the slide D & D when they enter a second time, but then you will need a Boolean variable to be turned on/off by these same events and a conditional action on which checks this variable and immediately jumps to the next slide when it is set to 1.

  • The Drag and Drop 6.1 publish as HTML5?

    Is the new drag and drop features in Captivate 6 compatible HTML5 update?

    Hi SavyEd,

    Yes. Cp6.1 Drag and Drop functionality works well with the release of HTML5.

    Thank you

    VERALINE Sukumaran.

  • Cannot drag and drop into the bar of pages in Acrobat Pro XI for Mac?

    MAC OSX 10.7.5

    Acrobat Pro XI

    In adobe Acrobat XI for Mac, how do I drag the pages of thumbnails of Pages box in the finder and make a new PDF?

    In windows I can simply select the pages, drag and drop them in Solution Explorer and creates a new PDF pages that I dragged.  I've tried everything on my Mac and I can't extract this way.

    It is extremely slow and frustrating to have to manually right click Extract, select pages, open in a new window from adobe, and then save the file in the menu.

    On windows, I just select the page, drag to the folder and click Rename.

    The same question and found the solution, the wire https://forums.adobe.com/thread/1348512 try67in response

    To zoom back, so that the entire page is visible, then drag & drop works fine, well, at least, it worked fine with me.

    I admit, it is odd though.

    =

  • AF:tree Drag and Drop NPE problem

    Hello. I use JDeveloper 11.1.2.4.0.

    I have a tree composed of 4 levels (in a page template). I had an obligation of implementation of slip and fall on the shaft to allow movement of the nodes of level down a penultimate node to another. Looking around for suitable examples, I followed the example here - http://www.gabrielsideras.com/2010/10/23/adf-drag-and-drop-functionality-in-an-aftree-component/

    I had to introduce the penultimate node in the tree by adding a view accessor of additional link and makes appear only in the binding of the tree. The component af:tree itself is configured with a nodestamp containing a faceted af:switcher and child for the value of def relevant structure. Selected and disclosed RowKeys are maintained at the level of the session for the tree through controlled beans. Note that all objects referenced in the tree view have defined primary keys.

    When try to drag-and-drop, however, I get the following message appears in the console, immediately followed by a (below battery) Null pointer Exception:

    < UIXInclude > < _warnUnpoppedContextChanges > ADF_FACES-10021: during treatment of the include element, the change of context found does not match the component of the current. Should oracle.adf.view.rich.component.fragment.UIXInclude$ IncludeContextChange, but had UIXCollection.CollectionComponentChange [Component class: oracle.adf.view.rich.component.rich.data.RichTree, the component ID: pt_t2].

    < UIXInclude > < _warnUnpoppedContextChanges > ADF_FACES-10021: during treatment of the include element, the change of context found does not match the component of the current. Should oracle.adf.view.rich.component.fragment.UIXInclude$ IncludeContextChange, but had UIXCollection.CollectionComponentChange [Component class: oracle.adf.view.rich.component.rich.data.RichTree, the component ID: pt_t2].

    Then the stacktrace

    
    java.lang.NullPointerException
      at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.findChildNode(JUCtrlHierNodeBinding.java:879)
      at oracle.jbo.uicli.binding.JUCtrlHierBinding.bringNodeToRangeKeyPath(JUCtrlHierBinding.java:788)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding.bringNodeToRangeKeyPath(FacesCtrlHierBinding.java:111)
      at oracle.adfinternal.view.faces.model.binding.RowDataManager.setRowKey(RowDataManager.java:130)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.setRowKey(FacesCtrlHierBinding.java:830)
      at org.apache.myfaces.trinidad.component.UIXCollection.setRowKey(UIXCollection.java:513)
      at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1220)
      at oracle.adf.view.rich.component.rich.data.RichTree.invokeOnComponent(RichTree.java:439)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:161)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXDocument.invokeOnComponent(UIXDocument.java:106)
      at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1321)
      at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$DeliverDropTargetDropEvent.invokeContextCallback(LifecycleImpl.java:1711)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1735)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1215)
      at oracle.adf.view.rich.component.rich.data.RichTree.invokeOnComponent(RichTree.java:439)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:161)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1627)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1750)
      at org.apache.myfaces.trinidad.component.UIXDocument.invokeOnComponent(UIXDocument.java:106)
      at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:1321)
      at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:678)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeCustomEvents(LifecycleImpl.java:553)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:431)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:202)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:508)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at we  blogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at cognitmmon.helper.SessionTimeOutListener.doFilter(SessionTimeOutListener.java:85)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:173)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:125)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    
    

    Once the error has been handled, navigating to a page that contains the model shows that the displacement of the node successfully.

    Initially, I assumed that it's something to do with an inconsistency in the scope of the session RowKeySets. I removed this dependency, but also an attempt to refresh the nodes of tree programmatically (by running queries on the link accessors see) but none of this had no effect...

    I guess I'm not at all clear how ADF manages the change of key values when a node is moved between nodes parents in this way...?

    Any help would be much appreciated - as usual, I'm not 100% sure what level of detail should be described here then please let me know if there are some info.

    Thank you.

    A quick update. I solved the problem I've done myself...

    The dropListener code was not reset the currency of the line to the original in the tree rowKey when I finished to retrieve info from the drop site and drag the source (transferable).

    Thanks for your help anyway.

  • Drag and drop questions.

    Hi again,

    I work inScreen Shot 2016-04-25 at 1.07.25 PM.png

    On a Mac

    Screen Shot 2016-04-25 at 1.07.41 PM.png

    I have worked on this problem for a long time and can't find a solution. And it is a problem of multiplayer.

    Initially, I did my interaction drag-and - drop and it worked perfectly. Everything was exactly what I wanted. Then something happened and things are not working more. The problems I have are:

    (1) when the "Submit" button is clicked and the answers are just the right answer comes on for half a second and all then moves to the next slide. I've tried several things so he could stand it no longer, but nothing has had an effect. Click right and disappeared.

    (2) when the wrong answers are selected and as I hit the "Reset" button it will wait until the first item is lowered and then move to the next slide.

    Here is a screenshot of the Actions panel and the calendar

    Screen Shot 2016-04-25 at 1.12.46 PM.pngScreen Shot 2016-04-25 at 1.12.35 PM.png

    My interaction drag-and - drop is included in the scoring of quizzes. The notation always seems to be registered correctly according to the answers provided.

    Have you checked the break? Your actions are configured to go to the next slide, that is not what you wanted? Change to keep in place if you wish not so quickly go to the next slide.

    You have object actions?

    In regards to reboot, I'll create especially my own reset button. You can take a look at this blog post:

    & Slipped in 2016 with Captivate 9 - Captivate blog

  • Drag and drop, 1 share of different sur-succes drag Source, 4 Drop target, for each. Is this possible?

    Hello.

    I created an infographic of type board game and wants that the participant to be able to enter the game room, then drop it into different spaces on the Board, each holding to another slide. I need interaction drag - déposer so that they can pick up and drop the piece. Now, what I need is for each target to have a different action, but even if I add each one to a different group, if I change an action for one, that it applies the change to all drop targets.

    Is there a way to get around this?

    In addition, once / if possible, I would like to add a "back button" on each of these slides and would need when the participant returns to the boardgame slide, they can move the piece to a different drop target to read the following description. I think that the best way to do this would be to make all the "wrong" answers, while the game piece is not stuck once they have fell on a drop target "correct." Please correct me if I'm wrong.

    If I understand you correctly, I think that I thought about it.

    1. Create your Drag and Drop, as you would normally
    2. In the Panel of Drag and Drop, select the Options tab
    3. Click on the button set the correct answers
    4. The value of each drop target to have the source of displacement of the source (you must choose the sequence in the Type drop-down list)
    5. Create the slides that you want to display for each drop target
    6. Select one of the drop targets
    7. Go to the Format of the Panel Drag and Drop tab
    8. The Actions of the object... a button click
    9. In the action column, select go to slide, and then select the appropriate slide
    10. Repeat steps 6 through 9 for each target deposit
    11. Overview of the project

    I did a quick test and it seemed to work according to the settings you said earlier.

  • Clipboard - Drag and Drop

    Hello

    I would like to know if there is a way to be notified when a clipboard operation was triggered?

    (ex: paste it from the Clipboard - Drag and Drop of a file or data custom Explorer system files, Photoshop or other).

    I took a glance at AIClipboardSuite, but I'm a little lost.

    I don't know how to register a new Clipboard format Manager, how to remove it, how to analyze...

    But I could never be notified or to intercept messages when Clipboard operations are made.

    Any help would be appreciated!

    Thomas.

    Thanks for the tips!

    Anyway, I finally found an alternative solution to manage drag and drop operations between extensions to Illustrator.

    In fact, I did not use the Clipboard.

    I just put the purpose of data transfer at the start of drag. (extension).

    On the side of plugin, I had to be notified when the scene graph has changed.

    Finally, with a smart move, I was able to retrieve the abandoned item (text/plain with personalized information, uri, metedatas,...) and do whatever I wanted.

    (Create a group, add pictures, text,...)

    It's pretty simple and works great!

Maybe you are looking for

  • Extended battery for Portege R100 in the United Kingdom

    Hello I hope that the topic covers it pretty well things, but... I read that the R100 in America comes with a long battery life and I was wondering if it is possible to buy one in the United Kingdom. I can't find anything online. Also the Portege R10

  • Re: Satellite P750 - function keys do not work

    I use a Satellite P750. There is a row of 'Function buttons' between my keyboard and display. These buttons no longer work. The biggest problem is that I can't activate my wireless. When my net cable is not plugged into the ether, it usually detects

  • Drag a variable shared within a block diagran

    I use LV 8.5 with the DSC module. In a Project Explorer, I define a server OPC IO with a few tags and so I linked this tags to define the shared variables. If I drag and drop them directly on the front panel of a white VI, they work very well. If I d

  • Math in cmd set/a?

    just woundering but when I put / a 7338 * 564564666 I me am-1867921532 WTF that's going on here Thanks Noah simorjay

  • FRM-40815: variable does not exist

    Hi am in oracle 11 GR 2 when I run my forms got this errorFRM-40815: GLOBAL variable. ILS_MENU_HEAD will not endI'm looking for in the following triggera time new form instancepreformpost formThere is none of these elements the popup error when it is