Problem in linux with flex

Hi,
             I'm new to linux with flex,am using Eclipse 3.5 flex builder 3 installing perfectly but when i'am  creating flex application it is showin Assertion failed error.
org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed:
    at org.eclipse.jface.util.Assert.isTrue(Assert.java:179)
    at org.eclipse.jface.util.Assert.isTrue(Assert.java:164)
    at com.adobe.flexbuilder.editors.derived.editor.FlexMultiPageEditorPart.setActivePage(FlexMu ltiPageEditorPart.java:569)
    at com.adobe.flexbuilder.editors.common.editor.CodeAndDesignEditor.setActivePage(CodeAndDesi gnEditor.java:647)
    at com.adobe.flexbuilder.editors.mxml.MXMLEditor.setActivePage(MXMLEditor.java:487)
    at com.adobe.flexbuilder.editors.derived.editor.FlexMultiPageEditorPart.createPartControl(Fl exMultiPageEditorPart.java:235)
    at com.adobe.flexbuilder.editors.common.editor.CodeAndDesignEditor.createPartControl(CodeAnd DesignEditor.java:162)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180 )
    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFo lder.java:270)
    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder .java:65)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStack Presentation.java:473)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
    at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
    at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
    at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
    at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:99)
    at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:99)
    at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:133)
    at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:330)
    at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:787)
    at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:499)
    at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHel per.java:48)
    at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:842)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
    at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:840)
    at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1101)
    at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1205)
    at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)
    at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3493)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3112)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
am unable understand this error

Mario,
Open Source drivers for our DAQ products are developed by the Comedi project. It should be noted that these drivers may not contain the full functionality of the NI-DAQ driver available for E Series devices under the various Windows and Mac operating systems.
For information regarding the Comedi Project please see http://stm.lbl.gov/comedi. Support for the Comedi drivers is available through the Comedi mailing list. Please contact the Comedi mailing list for questions regarding this Open Source driver.
For more information on National Instruments Measurement and Automation products for linux, see http://www.ni.com/linux.
Regards,
Justin Britten
Applications Engineer
National Instruments

Similar Messages

  • Oracle10g Installation problem on Linux with DHCP IP

    Hi,
    I am new to Oracle Products, I have tried to install Oracle 10G on Linux with DHCP IP.
    I got the following warning while installing even though I have loopback interface configured.
    Checking Network Configuration requirements ...
    Check complete. The overall result of this check is: Failed <<<<
    Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
    Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.
    Please help me in resolving this problem or Can I ignore this message?
    My Server Configurations:
    [root@SQAESMRH5 Oracle_Install_Errors]# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:12:3F:79:FA:2C
    inet addr:10.10.121.61 Bcast:10.10.121.2 Mask:255.255.255.0
    inet6 addr: fe80::212:3fff:fe79:fa2c/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:20751998 errors:0 dropped:0 overruns:0 frame:0
    TX packets:19278549 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:2150795393 (2.0 GiB) TX bytes:438232502 (417.9 MiB)
    Interrupt:177
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:12383146 errors:0 dropped:0 overruns:0 frame:0
    TX packets:12383146 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1965045834 (1.8 GiB) TX bytes:1965045834 (1.8 GiB)
    [root@SQAESMRH5 Oracle_Install_Errors]# cat /etc/hosts
    # Do not remove the following line, or various programs
    # that require network functionality will fail.
    #::1 localhost6.localdomain6 localhost6
    127.0.0.1 localhost.localdomain localhost
    #::1 localhost6.localdomain6 localhost6
    [root@SQAESMRH5 Oracle_Install_Errors]#

    This warning means it is not recommended to install Oracle 10g on a DHCP assigned IP address. It could work, but you won't be able to configure Enterprise Manager, since this tool requires a fixed IP address. If possible, have the IP address fixed.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Can't package native installer on Linux with Flex SDK 4.5 : Invalid AIR file

    Hi,
    We've moved our application to compile against the 4.5 SDK.
    We're compiling it with Flash Builder (on mac) into an air file and as our application is using NativeProcess API, we're packaging it on each platform into a native installer with the following command (linux example) : adt -package -target native app.deb app.air
    We think we fall into the same issue as http://forums.adobe.com/message/3271944#3271944 but for the 4.5 DSK.
    On Linux it used to work with the following environment (env1):
    - Ubuntu 10.10
    - Java Sun 1.6.0_24
    - Flex SDK 4.1.0.16076 + Adobe Air SDK 2.5.0
    It stops to work when we upgrade to the new Flex SDK (env2):
    - Ubuntu 10.10
    - Java Sun 1.6.0_24
    - Flex SDK 4.5.0.20967 (with the default embeded Adobe Air SDK 2.6)
    The faut message is "Invalid AIR file" and nothing is logged in the log file (/home/<username>/.appdata/Adobe/AIR/Logs/Install.log).
    1) The .air file is installing correctly on env2 (without the support of the NativeProcess as expected)
    2) We also tried to compile the project directly on env2 :
    amxml app.mxml
    adt -package -storetype pkcs12 -keystore cert.p12 app.air app-app.xml air.swf
    The .air file is installing fine but the packaging into a native process fails in the same way...
    3) We tried to package a native installer of our .air file on env1 and it works!!! (the installed application seems to work fine also on env2!!!)
    Are we missing something or does it seems to be a bug of the Flex SDK 4.5?
    Are there some restrictions to package a native installer with the Flex SDK 4.1 a air app build with the Flex SDK 4.5 ?
    Thanks in advance,
    Mich

    Hi,
    Finally we figure out how to solve the issue.
    The packaging into native .deb installer fails as explain above because with the hole Flex SDK 4.5 (adt -version told 2.6.0.1920).
    The packaging is successfull if only Air SDK 2.6 is install.
    What is strange that both adt seems to be the same "2.6.0.1920" (found with "adt -version").
    Can someone from the Adobe dev team explain it?
    I suppose as the Flex SDK is not available for the Linux platform, the download only contains the Air SDK for Windows and Mac OS as opposed to the specific download of the Air SDK for te Linux platform...
    Thanks,
    Mich

  • GridLayout problem in Linux with SashForm (SWT)

    I have tried an example using SashForm in Linux.
    Its displaying well if I use FillLayout for my Shell.
    but SashForm and its contents are not displayed if
    I use GridLayout for Shell.
    I have given my code below.
    Please help me in this issue.
    Thanks in advance
    import java.awt.BorderLayout;
    import java.awt.Frame;
    import java.awt.Panel;
    import org.apache.batik.swing.JSVGCanvas;
    import org.eclipse.swt.*;
    import org.eclipse.swt.awt.SWT_AWT;
    import org.eclipse.swt.custom.*;
    import org.eclipse.swt.layout.*;
    import org.eclipse.swt.widgets.*;
    public class SashTest {
    public static void main (String [] args) {
    final Display display = new Display ();
    Shell shell = new Shell(display);
    shell.setLayout (new GridLayout(1,true));
    GridData data = new GridData(GridData.FILL_BOTH);
    Composite comp = new Composite(shell, SWT.EMBEDDED|SWT.BORDER);
    comp.setLayout(new FillLayout());
    comp.setLayoutData(data);
    SashForm sashForm = new SashForm(comp,SWT.HORIZONTAL|SWT.EMBEDDED|SWT.BORDER);
    sashForm.setLayout(new FillLayout(SWT.HORIZONTAL));
    Composite ctreeComp= new Composite(sashForm,SWT.BORDER);
    ctreeComp.setLayout(new FillLayout());
    Tree cTree = new Tree(ctreeComp, SWT.SINGLE | SWT.BORDER);
    for(int i=0;i TreeItem items = new TreeItem(cTree, SWT.NULL);
    items.setText("Treeitem "+i);
    Composite cgComp = new Composite(sashForm, SWT.BORDER|SWT.EMBEDDED);
    cgComp.setLayout(new FillLayout());
    sashForm.setWeights(new int[]{20,80});
    //Setting up canvas for rendering process wise communication graphs
    Frame pcFrame = SWT_AWT.new_Frame(cgComp);
    Panel cPanel = new Panel(new BorderLayout());
    pcFrame.add(cPanel);
    cPanel.add(new JSVGCanvas());
    shell.open ();
    while (!shell.isDisposed ()) {
    if (!display.readAndDispatch ()) display.sleep ();
    display.dispose ();
    }

    Mario,
    Open Source drivers for our DAQ products are developed by the Comedi project. It should be noted that these drivers may not contain the full functionality of the NI-DAQ driver available for E Series devices under the various Windows and Mac operating systems.
    For information regarding the Comedi Project please see http://stm.lbl.gov/comedi. Support for the Comedi drivers is available through the Comedi mailing list. Please contact the Comedi mailing list for questions regarding this Open Source driver.
    For more information on National Instruments Measurement and Automation products for linux, see http://www.ni.com/linux.
    Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • Battery and ac-adaptor problem on LINUX with [b]Satellite L10-102[/b]

    Hi,
    However I installed Linux.I'm trying from at last month.
    I installed and tired some of linux type : Mandriva 10.1 OE, Mandriva LE 2005, Knoppix 3.8, kurumin 3.0,kurumin 4, kanotix (latest rel.), suse 9.1 , kubuntu 4.0...
    I installed a lot of linux applications : kacpi, toshutils, fnfx, acpi tools, laptop-mode, some kernel acpi patches...
    I complied some of kernels : 2.6.8-11mdk, 2.6.9,2.6.11, 2.6.12 ..
    However I can't get battery and ac-adaptor info-states on linux.
    What I can do ?

    Feliks,
    I was tried so at last month :
    first I writed it : L10 and what the answer is you know(*).
    second I writed it : L10-102 and what the answer is you know(*).
    (*) The same answer there is all of both :
    "Input error
    Please insert the Type without any extension like 'CDS' or 'DVD'.
    Only numbers and M,A,R,P or S on the first character are allowed!
    E.g. A30, 5200, M10, P10.
    Please do not use blanks. "
    Thanks...
    I tried Mepis 3.3.1-1 distro on satellite L10-102 at yesterday.It can't get battery and ac-adaptor status too.
    I'm waiting for yours help!
    Message was edited by: abagatir

  • Swc problem with flex from my custom fla

    I have an fla which has several library items with a class linkage to a GenericButton.as file. I am exporting this fla as an swc file, and linking that swc into flex.
    My problem is that when flex builds the code for GenericButton it gets undefined property for anything it tries to reference that is part of the library item.
    Example:
    GenericButton.as does libLabel.text = "something"; where libLabel is a textfield, instantiated in the library clip which is bound to GenericButton in it's class linkage.
    The field exists in the clip, but when I compile in Flex with the swc in there, it cant find it. It says libLabel doesnt exist, undefined property.
    What am I missing here? I want to allow the fla author to bind some of his items to low-level component classes like that, and it's his job to ensure that all the necessary items are part of it. So if he makes a new button, he must just ensure he has a libLabel textfield somewhere in the clip.
    Why cant flex see that the items it's trying to compile have a libLabel in there? Is there a work around?

    Thx for the reply Greg, but no, that's not the problem.  If you re-read my post you'll probably see my problem is a little more involved than that.
    I have symbols exported for actionscript and I can instantiate them in Flex, that's not a problem.  The problem is symbols that are exported for actionscript and bound to a base class that contains custom code.  That custom code, when it uses it to type-check in flex builder (during the swc link stage), causes undefined properties.
    For some reason Flex is not seeing that the exported library item has the things the .as file is looking for.
    Does that make sense?
    I could probalby put together a simple example project but I'd have to find somewhere to upload it so that others could see.
    This problem is hard to describe, you have to read what I'm saying very carefully.

  • Hey Guys, problem with Flex Time.

    Hey Guys,
    i have a problem with Flex Time. I was searching for a way to copy my 1-Tackt Timplin Beat to make 12 out of it, but there were always "wholes" between the new inserted regions. So i found Flex Time, but then when i choosed a Region, pressed the Flex Time button, nothing happend, except that the Header became a little bit bigger, as if there would been added a few more options, but there came only more free space .
    Would be great if somebody could help me!:)

    I would suggest Option dragging the bottom right edge of the Region so it fits precicely to the grid, then copy.  This is a quick way to time stretch...

  • Does anyone have a link to common bugs/problems encountered with flex 3?

    Hi,
    does anyone have a link to common bugs/problems encountered
    with flex 3, just so i can try and familarise myself before I go
    asking etc? thanks folks!!

    flex warnings:
    http://livedocs.macromedia.com/flex/2/langref/compilerWarnings.html
    flex errors
    http://livedocs.macromedia.com/flex/2/langref/compilerErrors.html

  • Problem installing Oracle9iDS Release 2 v9.0.2 on Debian 2.2r0 Linux with GLIBC 2.1

    After starting Installer of Oracle9iDS Release 2 v9.0.2 with ./runInstaller installation broke with message
    Oracle9iDS needs GLIBC 2.2
    Is there any way to install Oracle9iDS 9.0.2 on Linux without moving on glibc 2.2.
    Oracle 8.1.7 works very well on my Debian 22r0 - glibc2.1 kernel 2.4.7 (AMD K6 II 400+ 384MB RAM) and as I know 8.1.7 is precompiled on GLIBC 2.1 and do not work with GLIBC 2.2 so there is a problem:
    Database work with glibc 2.1 and DS with GLibc 2.2
    Is there any way to install DS on existing glibc 2.1
    Thanks

    Anthony,
    You can always check for compatibility and certification matrices on the Support site: http://metalink.oracle.com.
    Oracle9iDS Release 2 v9.0.2 on WinXP has no issues and is certified on the Professional edition of XP.
    Regards
    Sue

  • Problem with Flex Builder 3

    Hey Experts,
    I tried creating Flex Library Project in Flex Builder 3. No issues so far. Everything works fine. When the day ends, I close Flex Builder (without closing the project as it restores them during next launch). I had to close it...I can't keep the system running. Global warming you know...Next day when I launched Flex Builder, I could see my project there. However, when I open Project Properties dialog box, I get some errors while trying to open Flex Library Build Path or Flex Library Compiler pages. The error says "The currently displayed page contains invalid values."
    C'mon man you gotta be kidding me. Yesterday you didn't say anything. What's the matter with you today. By the way, I didn't change anything in properties. How could I? I am unable to open it...
    Does anyone understands Flex Builder's logic here?

    Mate the first thing I tried was this...
    If you want to see the problem, try crating a Flex Library Project in Flex Builder 3. Create couple of classes and close Flex Builder without closing the project. Re-launch Flex Builder and try to open Project -> Properties -> Flex Build Path or Project -> Properties -> Flex Compiler. You should be able to see the problem.

  • Ridiculous problem with Flex!!!

    Actually, just kidding :) I've had a few, the ridiculous part
    being my lack of understanding :). I just want to say I'm really
    enjoying working with Flex, I love the Apps I've created, and I
    couldn't have done any of it without all of the excellent help I've
    recieved on this forum. I'm getting to the point now where I can
    figure things out just using all of the (very many) online
    examples. I hope in the future I'll be able to help others as much
    as I've been helped.
    Thanks folks!
    M.

    Hi again,
    after research I found out that apparantly it's not easy to make the preloader appear instantly (maybe impossible actually) although the DownloadProgressBar has a method that checks the ratiobetween timing and bytes downloaded  (showDisplayForDownloading).
    I assume that you can change this ratio or logically make the return value always true by extending the class. But this didn't work for me.
    I did found another solution (actually kind of a hack but it works) where you set a timer.
    This did make the preloader load instantly and smoothly.
    G

  • Problem with localizing resources with flex 4

    Hi All,
    I’m trying to localize files with flex sdk 4 (10485) and all the swf are getting generated however when I try to run the app none of the captions are displayed. Everything was working fine with older release of sdk.
    I’m not sure if it is related but I was able to open old swf with WinRar new one say that the archive is broken. Looks like some major changes came with new build 10485 comparing to the previous build of flex 4
    Anyone encounter similar issue?
    thanks

    Shameless bump. Come on folks, I want to give away some points. ;)

  • Problem with "Building interactive maps with Flex" example

    I have been looking at the tutorial by Matt Sheehan Building interactive maps with Flex found at
    http://www.adobe.com/devnet/flex/articles/interactive_maps.edu.html
    I have downloaded  Flash Builder 4.6 trial version and followed the example. I have also copied the source code from the example and pasted that into the file mymodestmap.mxml.
    In both cases the application opens a new page in Google Chrome but does not display any map data.
    No errors or warnings are displayed when I run the code from Flash Builder.
    Although I have got plenty of experience of writing software, I am a total beginner when it comes to developing web applications!
    Any ideas as to what I am doing wrong, I have attached the source below.
    Cheers
    Steve
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx1="library://ns.adobe.com/flex/halo"
                                     minWidth="1024" minHeight="768" creationComplete="init()" viewSourceURL="srcview/index.html" xmlns:mx="library://ns.adobe.com/flex/mx">
              <fx:Script>
                        <![CDATA[
                                  import mx.core.UIComponent;
                                  import com.modestmaps.TweenMap;   
                                  import com.modestmaps.mapproviders.OpenStreetMapProvider;
                                  import com.modestmaps.geo.Location;
                                  import com.modestmaps.extras.ZoomSlider;
                                  import com.modestmaps.extras.HandCursor; 
                                  [Bindable]private var _map:TweenMap;       
                                  private var _mapUI:UIComponent;
                                  [Bindable]private var _initialLat:Number = 40.668903;
                                  [Bindable]private var _initialLong:Number = -111.680145;
                                  [Bindable]private var _initialZoom:Number = 6;
                                  private var _mouseWheelZoomCenter:Location;
                                  private var _mouseWheelZoom:int;     
                                  private function init():void
                                            _map = new TweenMap(mappanel.width, mappanel.height, true, new OpenStreetMapProvider());   
                                            _map.setCenterZoom(new Location(_initialLat, _initialLong), _initialZoom);
                                            mapCore();
                                  private function mapCore():void
                                            _map.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler);   
                                            _mapUI = new UIComponent();
                                            _mapUI.addChild(_map);    
                                            var zoomslider:ZoomSlider = new ZoomSlider(_map);
                                            zoomslider.x = mappanel.width - zoomslider.width*2;
                                            zoomslider.y = 30;
                                            _mapUI.addChild(zoomslider);   
                                            var handcursor:HandCursor = new HandCursor(_map);
                                            _mapUI.addChild(handcursor);
                                            mappanel.addElement(_mapUI);   
                                  private function mouseWheelHandler(e:MouseEvent):void {
                                            if (e.delta < 0) {
                                                      _map.zoomOut();
                                            else if (e.delta > 0) {
                                                      _map.zoomIn();
                                            _mouseWheelZoomCenter = _map.getCenter();
                                            _mouseWheelZoom = _map.getZoom();
                        ]]>
              </fx:Script>
              <s:BorderContainer id="mappanel" width="100%" height="97%"/>
    </s:Application>

    Technically, it's Javascript, not Java :) TOTALLY different beasts. I wish they'd never named it Javascript, it's ambiguous. So anyway, on to the point of the whole thing...
    If you want quotes in your values, you'll need to write a function to replace " with \", and pass the values through it. So instead of javascript:passBack('#ENAME#','#JOB#','#SAL#'); you would have javascript:passBack(addslashes('#ENAME#'),addslashes('#JOB#'),addslashes('#SAL#'));. That would mean that ABC"DEF"GH would be passed to the function as ABC\"DEF\"GH and your quotes would stay intact. Search around on the internet for more specifics as to how to pass double quotes in javascript by using backslashes.
    ~Jer

  • Keystore tampered with problems on Linux

    Hi,
    I am running a couple of java applications that communicate via HTTPS/SSL. When these applications are run under Win32, they run perfectly with no errors. However, if they are run under Linux, with the exact same certificate files that worked just fine under Windows, I get an exception error that states that the keystore has been tampered with or the password is incorrect. Has anyone seen this before?

    These are ascii files, are they not? (The ones with ---BEGIN CERTIFICATE---/---END CERTIFICATE--- lines?)
    If so, try stripping the DOS newlines (^Ms) from the file (if you have just copied the file over). Don't know if this has any effect.

  • Java running under linux with crontab

    I'm having a problem:
    i want to run a java program under linux with crontab.
    my classes are in a directory and aren't in a package. i run em by invoking ./start which is a small script that i wrote. The script is in the same dir as the classes and invokes java by "java Main >>logjava.txt " but this doesn't seem to work all i get is an empty logfile
    i need to run the program every day at 0800 so i inserted the following in crontab:
    0 8 * 1-5 /var/"path"/start > logjava (where path is the path to the classes dir)
    if i run the cmdline from anywhere on the prompt i get the result i want. I think it's because the cron runs it from the root dir thus making java unable to find the classes
    Any suggestions would be welcome. or can some1 tell me how to make linux executables from the java (i usually use jsmooth for the windows exe)

    You can execute several commands in the process started by cron. You separate them using semicolons.
    Have you tried a cron entry like this:
    0 8 * 1-5 cd /var/"path";pwd;echo $PATH; ./start > logjavaOr, you may need to make sure the process started by cron gets the same environment as your interactive shells do, by explicitly loading your setup or .login scripts:
    0 8 * 1-5 . $HOME/.setup;cd /var/"path";pwd;echo $PATH; ./start > logjava

Maybe you are looking for

  • Terminus 9pt font issue in Konsole after upgrade

    I have a slightly weird font issue in Konsole following a bunch of upgrades today. Basically, at the beginning of the command line and the beginning of subsequent words on that line, the very first character sort of flashes and gets truncated if it i

  • Batch Processing in java

    Hello Everybody I am working on Files in my project, and doing some IO operations on them. I am getting the file names from JFileChooser. Now i want to do batch processing on those files. Can any body help me out how to do batch processing, any sugge

  • Only the Admin can view the data in the Discoverer Reports

    Hello, Discoverer Version Info: OracleBI Discoverer 10g (10.1.2.3) Oracle Business Intelligence Discoverer Plus 10g (10.1.2.55.26) Discoverer Model - 10.1.2.55.26 Discoverer Server - 10.1.2.55.26 End User Layer - 5.1.1.0.0.0 End User Layer Library -

  • Densify straight line segments

    Hello All, I'm looking for a way to densify (add vertices at a specified interval) along a straight line segment. SDO_ARC_DENSIFY doesn't work as I need on straight line segments. Can anyone suggest a way to do this? I considered writing my own funct

  • Updating DB values

    Hi I'm trying to update records to allow for clocks going forward - main obstacle being that clockin_time is a varchar create table CLOCKS( ID Number (8), clockin_time VARCHAR (8) INSERT INTO CLOCKS VALUES (001, '07:50'); I've been playing around wit