Navigation Lib - Fixes for pending waypoint navigation events

Hi there,
So devs, who's most familiar with the Navigation lib?  I debuged some problems I was having yesterday and found a couple code issues related to deferred waypoint creation and pending navigation events.  I want to share a couple small tweaks to the following files which have solved my problems:
WaypointHandler - add 1 line, remove 1 line
DestinationRegistry - change 1 line
EnterAndExitInvoker - change 1 line
Send me a message and we can chat via e-mail or IMs.  Or I can just dump everything here in the forums if you'd prefer.
Thanks.

Sounds Great! I've send you a private message with contact details. Let's connect.

Similar Messages

  • [svn:fx-trunk] 12962: Fix for ASDoc not saving event type for [Bindable] metadata tag

    Revision: 12962
    Revision: 12962
    Author:   [email protected]
    Date:     2009-12-15 10:32:23 -0800 (Tue, 15 Dec 2009)
    Log Message:
    Fix for ASDoc not saving event type for metadata tag
    QE notes: None.
    Doc notes: None
    Bugs: SDK-24706
    Reviewed By:Corey
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24706
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/TopLevelClassesGenerator.ja va

    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
    Subdevices: 1/1
    Subdevice #0: subdevice #0
    Which correspondents fine with the
    device "hw:0,3"
    in my mpd.conf alsa section.
    Also sound worked fine withh this config before I started installing ffmpeg-svn and alikes
    hokasch:
    I tried changing the mixer to "Master" but that did not change much.

  • Fix for PENDING in javax.swing.text.html.ParagraphView line #131

    Investigating source of HTMLEditorKit I found many PENDING things. That's fix for one of them - proper minimal necessary span detecting in table cells.
    Hope it will help to somebody else.
    import javax.swing.*;
    import javax.swing.text.html.*;
    import javax.swing.text.html.ParagraphView;
    import javax.swing.text.*;
    import java.awt.*;
    import java.text.*;
    import java.util.ArrayList;
    public class App extends JFrame {
        public static String htmlString="<html>\n" +
                "<body>\n" +
                "<p>The following table is used to illustrate the PENDING in javax.swing.text.html.ParagraphView line #131 fix.</p>\n" +
                "<table cellspacing=\"0\" border=\"1\" width=\"50%\" cellpadding=\"3\">\n" +
                "<tr>\n" +
                "<td>\n" +
                "<p>111111111111111111111111111111111<b>bold</b>22222222222222222222222222222</p>\n" +
                "</td>\n" +
                "<td>\n" +
                "<p>-</p>\n" +
                "</td>\n" +
                "</tr>\n" +
                "</table>\n" +
                "<p></p>\n" +
                "</body>\n" +
                "</html>";
        JEditorPane editor=new JEditorPane();
        JEditorPane editor2=new JEditorPane();
        public static void main(String[] args) {
            App app = new App();
            app.setVisible(true);
        public App() {
            super("HTML span fix example");
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            JSplitPane split=new JSplitPane(JSplitPane.VERTICAL_SPLIT, createFixedPanel(), createOriginalPanel());
            getContentPane().add(split);
            setSize(700, 500);
            split.setDividerLocation(240);
            setLocationRelativeTo(null);
        JComponent createOriginalPanel() {
            JPanel p=new JPanel(new BorderLayout());
            p.add(new JLabel("Original HTMLEditorKit"), BorderLayout.NORTH);
            HTMLEditorKit kit=new HTMLEditorKit();
            editor2.setEditorKit(kit);
            editor2.setContentType("text/html");
            editor2.setText(htmlString);
            p.add(new JScrollPane(editor2), BorderLayout.CENTER);
            return p;
        JComponent createFixedPanel() {
            JPanel p=new JPanel(new BorderLayout());
            p.add(new JLabel("Fixed HTMLEditorKit"), BorderLayout.NORTH);
            HTMLEditorKit kit=new MyHTMLEditorKit();
            editor.setEditorKit(kit);
            editor.setContentType("text/html");
            editor.setText(htmlString);
            p.add(new JScrollPane(editor), BorderLayout.CENTER);
            return p;
    class MyHTMLEditorKit extends HTMLEditorKit {
        ViewFactory defaultFactory=new MyHTMLFactory();
        public ViewFactory getViewFactory() {
            return defaultFactory;
    class MyHTMLFactory extends HTMLEditorKit.HTMLFactory {
        public View create(Element elem) {
            View v=super.create(elem);
            if (v instanceof ParagraphView) {
                v=new MyParagraphView(elem);
            return v;
    class MyParagraphView extends ParagraphView {
        public MyParagraphView(Element elem) {
            super(elem);
        protected SizeRequirements calculateMinorAxisRequirements(int axis, SizeRequirements r) {
            r = super.calculateMinorAxisRequirements(axis, r);
            float min=getLongestWordSpan();
            r.minimum = Math.max(r.minimum, (int) min);
            return r;
        public float getLongestWordSpan() {
            if (getContainer()!=null && getContainer() instanceof JTextComponent) {
                try {
                    int offs=0;
                    JTextComponent c=(JTextComponent)getContainer();
                    Document doc=getDocument();
                    int start=getStartOffset();
                    int end=getEndOffset()-1; //don't need the last \n
                    String text=doc.getText(start, end - start);
                    if(text.length() > 1) {
                        BreakIterator words = BreakIterator.getWordInstance(c.getLocale());
                        words.setText(text);
                        ArrayList<Integer> wordBounds=new ArrayList<Integer>();
                        wordBounds.add(offs);
                        int count=1;
                        while (offs<text.length() && words.isBoundary(offs)) {
                            offs=words.next(count);
                            wordBounds.add(offs);
                        float max=0;
                        for (int i=1; i<wordBounds.size(); i++) {
                            int wStart=wordBounds.get(i-1)+start;
                            int wEnd=wordBounds.get(i)+start;
                            float span=getLayoutSpan(wStart,wEnd);
                            if (span>max) {
                                max=span;
                        return max;
                } catch (BadLocationException e) {
                    e.printStackTrace();
            return 0;
        public float getLayoutSpan(int startOffset, int endOffset) {
            float res=0;
            try {
                Rectangle r=new Rectangle(Short.MAX_VALUE, Short.MAX_VALUE);
                int startIndex= layoutPool.getViewIndex(startOffset,Position.Bias.Forward);
                int endIndex= layoutPool.getViewIndex(endOffset,Position.Bias.Forward);
                View startView=layoutPool.getView(startIndex);
                View endView=layoutPool.getView(endIndex);
                int x1=startView.modelToView(startOffset,r,Position.Bias.Forward).getBounds().x;
                int x2=endView.modelToView(endOffset,r,Position.Bias.Forward).getBounds().x;
                res=startView.getPreferredSpan(View.X_AXIS)-x1;
                for (int i=startIndex+1; i<endIndex; i++) {
                    res+=layoutPool.getView(i).getPreferredSpan(View.X_AXIS);
                res+=x2;
            } catch (BadLocationException e) {
                e.printStackTrace();
            return res;
    }Regards,
    Stas

    I'm changing the foreground color with
    MutableAttributeSet attr = new SimpleAttributeSet();
    StyleConstants.setForeground(attr, newColor);
    int start=MyJTextPane..getSelectionStart();
    int end=MyJTextPane.getSelectionEnd();
    if (start != end) {
    htmlDoc.setCharacterAttributes(start, end, attr, false);
    else {
    MutableAttributeSet inputAttributes =htmlEditorKit.getInputAttributes();
    inputAttributes.addAttributes(attr);   

  • Permanent fix for MSExchange Search Indexer event ID 107

    Running Exchange 2010 SP2 2 node CAS, 2 node DAG.  On one database I continue to get the MSExchange Search Indexer event ID 107 errors.  I run ResetSearchIndex.ps1 every day to fix it, but it keeps coming back. 
    Is there a better way to fix it?

    Running Exchange 2010 SP2 2 node CAS, 2 node DAG.  On one database I continue to get the MSExchange Search Indexer event ID 107 errors.  I run ResetSearchIndex.ps1 every day to fix it, but it keeps coming back. 
    Is there a better way to fix it?
    Do you get the same error on both of you DAG Members?
    I suggest that activate your other copy and then seed the content index on the new passive copy.
    Example: Update-MailboxDatabaseCopy Database\SERVERNAME -CatalogOnly
    Update-MailboxDatabaseCopy
    http://technet.microsoft.com/en-us/library/dd335201.aspx
    Martina Miskovic

  • Is there a fix for seeing bolded dates in navigation calendars for shared calendars (when appts have been made on certain dates) as was the case in Office 2003?

    Is there a fix for seeing bolded dates in navigation calendars for shared calendars (when appts have been made on certain dates) as was the case in Office 2003?
    Looks like in 2011 someone posted on the forum that it was being looked into, but has there been a fix?  It's now two years later?
    Thank you!!

    Hi,
    According to your description, it seems that the issue is related to Outlook 2003. This forum focus on Exchange 2013. Additionally, Outlook 2003 is no longer supported in Exchange 2013.
    I suggest we can ask this question in Outlook forums for more professional answers:
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=outlook
    Thanks,
    Winnie Liang
    TechNet Community Support

  • [svn:fx-trunk] 5408: Fix for - Compiler error using Reparent in a Halo Navigator.

    Revision: 5408
    Author: [email protected]
    Date: 2009-03-18 20:57:19 -0700 (Wed, 18 Mar 2009)
    Log Message:
    Fix for - Compiler error using Reparent in a Halo Navigator.
    QE Notes: None.
    Doc Notes: None.
    Reviewer: Paul, please review.
    Bugs: SDK-20099
    tests: checkintests
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-20099
    Modified Paths:
    flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.jav a

  • Capturing navigation event

    Hi
    Im using webdynpro to create a help application/iview.
    The help should be page sensitive for example, if i have iview1 and the help iview on a page, the user chooses to navigate to page 2 of iview1 using those navigation buttons of an iview, then the help page should change/refresh to the help of iview1 page2.
    I hope this makes sense
    I want to raise an event when user chooses navigation button and send a page number parameter. So the help iview will subscribe to the event and refesh accordingly.
    How do I capture the navigation event ?
    Any help is appreciated.
    Thanx

    Hi,
    Create an event handler for the on enter event of the navigation button and pass the required parameter through the Url
    WDDeployableObjectPart deployableObjectPart=WDDeployableObject.getDeployableObjectPart(deployableObjectName,<TargetApplication name>,WDDeployableObjectPartType.APPLICATION);
             String urlToTarget=WDURLGenerator.getApplicationURL(deployableObjectPart);
    append the parameter to the urlToTarget
    Hope this would help
    Do revert for clarifications
    Regards
    Noufal

  • [svn:osmf:] 16270: Recommitted fix for FM-857: VAST and MAST impressions and tracking events are broken.

    Revision: 16270
    Revision: 16270
    Author:   [email protected]
    Date:     2010-05-20 19:19:57 -0700 (Thu, 20 May 2010)
    Log Message:
    Recommitted fix for FM-857: VAST and MAST impressions and tracking events are broken.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-857
    Modified Paths:
        osmf/trunk/libs/samples/VAST/org/osmf/vast/media/VASTImpressionProxyElement.as
        osmf/trunk/libs/samples/VAST/org/osmf/vast/media/VASTTrackingProxyElement.as
        osmf/trunk/libs/samples/VASTTest/org/osmf/vast/media/TestVASTImpressionProxyElement.as
        osmf/trunk/libs/samples/VASTTest/org/osmf/vast/media/TestVASTTrackingProxyElement.as

  • JURowSetListener navigation event -  calling first dosnt fire event ?

    if i call :
    panelBinding.addRowSetListener(departmentsListener);
    panelBinding.refreshControl();
    panelBinding.findIteratorBinding("DepartmentsViewIter").getRowSetIterator().first();
    No event is fired ? and if i look for the current record ---
    System.out.println(panelBinding.findIteratorBinding("DepartmentsViewIter").getCurrentRow());
    the record is current . Can someone explain what is happening here?
    thanks

    Hi,
    tested the same code and it works in a later version of JDeveloper. So in TP3 (expected for December) this problem should no longer reproduce.
    Didn't try JDeveloper 11 TP2 though. The code I used was added to a panel that uses a table to navigate rows
    jTable2.setModel((TableModel)panelBinding.bindUIControl("DepartmentsView11",jTable2));
            panelBinding.addRowSetListener(new MyRowListener());
           class MyRowListener implements JUPanelRowSetListener{
            public void navigated(JUIteratorBinding iter, NavigationEvent event){
            System.out.println("listener navigated event ...");
            public void rangeRefreshed(JUIteratorBinding iter, RangeRefreshEvent event){};
            public void rangeScrolled(JUIteratorBinding iter, ScrollEvent event){};
            public void rowDeleted(JUIteratorBinding iter, DeleteEvent event){};
            public void rowInserted(JUIteratorBinding iter, InsertEvent event){};
            public void rowUpdated(JUIteratorBinding iter, UpdateEvent event){};
        }Frank

  • JClient, Problem with Navigated event

    When I add or delete a Row (in a 3-tier model) Adf runs Navigated Event(in my iterator) after this operation. I can't invoke any method(from RowImpl and ViewObjectImpl class, for which I have access by some Interface ) on a Row, wchich is in Event Object.
    I do something like that:
    public void navigated(NavigationEvent obj)
    boolean test;
    test=((SomeTypeRow)obj.getRow()).checkSomething();
    I get ClassCastException. Because it receives value, which is not boolean type, but something like svc_method...
    When navigatedEvent is invoked after find/execute/move operation, everything is ok.

    Hi,
    can you explain what the basic usecase is that you try to achieve?
    Frank

  • EP6: Dynamic Navigation - Eventing

    Hi everybody,
    I want to navigate to the same page/iView from my dynamic navigation nodes (which implement INavigationConnectorNode). The dynamic navigation shows a list of customers. Clicking on one of them should show the same page/iView, obviously for different customer ids.
    Trying the simple approach to append the parameters ("....?customerid=4711") to the launchURL does not work.
    I assume the whole concept works differently: do I have to implement getPRTEvent() (or maybe getJScript() or ..) to parameterize my navigation event ?
    I cannot find any info on that subject, so I'd be really grateful for ideas and hints.
    Cheers,
    Heiko

    Hi Altafin,
    thanks for your reply, unfortunately this does not work: you assume that I build an iView and thus can control the HTML output. What I do, though, is to dynamically build a navigation structure (not in an iView but in a Navigation Connector). There I only have a couple of fields I can set, most notably the "launchURL". The standard Portal Navigation Service takes my data structure, merges it and forwards it to the (standard) detail navigation iView.
    In the meantime I have been able to solve it (actually thanks to Sven Kannengiesser): I put the following into my launchURL:
    "/irj/servlet/prt/portal/prtroot/<escaped pcd url>?myparam=4711"
    where the escaped pcd url looks something like
    "pcd!3aportal_content!2fmyfolder!2f .... !2fmypage"
    That works fine.
    Cheers,
    Heiko

  • Get Navigation event

    Hi friend
      Can we track navigation event.
    In user setting form. i need a validation after navigation. when change user i need to check whether values exist in the specified user.
    If any one have a solution for this please reply
    Thanks

    hi Muna,
    for this you use the MenuEvent handler
    c# how i would catch the right & left button:
    public void MenuEvent(ref SAPbouiCOM.MenuEvent pVal, out bool BubbleEvent)
        if ((pVal.MenuUID = "1288" || pVal.MenuUID = "1289") && pVal.BeforeAction = true && globals.SBO_Application.Forms.ActiveForm.Type = 20700)
               // run your code
    lg David

  • [svn:osmf:] 15000: Fix for FM-447 : Adding CuePoint in TemporalFacet event listeners doesn't work

    Revision: 15000
    Revision: 15000
    Author:   [email protected]
    Date:     2010-03-24 14:01:02 -0700 (Wed, 24 Mar 2010)
    Log Message:
    Fix for FM-447 : Adding CuePoint in TemporalFacet event listeners doesn't work
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-447
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/metadata/TimelineMetadata.as

  • [svn:osmf:] 14975: Fix for FM-447 : Adding CuePoint in TemporalFacet event listeners doesn't work

    Revision: 14975
    Revision: 14975
    Author:   [email protected]
    Date:     2010-03-23 17:04:43 -0700 (Tue, 23 Mar 2010)
    Log Message:
    Fix for FM-447 : Adding CuePoint in TemporalFacet event listeners doesn't work
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-447
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/metadata/TimelineMetadata.as

  • [svn:osmf:] 14007: Partial fix for FM-383: ProxyElement needs to dispatch traitRemove/ traitAdd event pairs when the proxy adds or removes a trait that also exists on the proxied element .

    Revision: 14007
    Revision: 14007
    Author:   [email protected]
    Date:     2010-02-05 11:54:43 -0800 (Fri, 05 Feb 2010)
    Log Message:
    Partial fix for FM-383:  ProxyElement needs to dispatch traitRemove/traitAdd event pairs when the proxy adds or removes a trait that also exists on the proxied element.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-383
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/media/MediaElement.as
        osmf/trunk/framework/OSMF/org/osmf/proxies/ProxyElement.as
        osmf/trunk/framework/OSMFTest/org/osmf/proxies/TestProxyElementAsDynamicProxy.as

Maybe you are looking for

  • Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parse

    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/xml/parser/v2/ XSLException Hi I have downloaded XDK and was trying to use the XSU feature.. I unzipped the XDK file, I ran the following query on SQL plus select * from emp. It displa

  • Problem with getting podcasts-help!

    the button for downloading podcasts in itunes wont work. nothing happens when i click on "get episode". the button is grey so it looks like its either broken or unavailable, but its the same with all the podcasts. have a look; http://img160.imageshac

  • OTN RSS feed problem

    I am having trouble with OTN's RSS feed. The URL given for individual items cannot be recognized. For example, for the item "Download Openworld 2003 presentation...", the URL given is "blank/ow2003/". My RSS reader fails to recognize the URL. I suspe

  • Cannot set my headphones as default playback device.

    I own the Pavillion g6 and ever since I've gotten it, I've had audio driver problems. This is a recent one. I'm not able to set my Communication Headphones as the default device. When I try to do so, It does nothing. Nothing at all. The reason I want

  • How do I drag an image icon or image from one panel to another panel?

    Please help. I know to need how to drag an image icon from one panel to the other. For example, the first panel would shows the image files that is inside my folder. How can i code it so that I can drag the image that appear on the first panel into t