Many times dynamic generate UIElement  at Runtime ???

Hello Everyone,
I wanna generate a UIElement (InputField) at runtime. When man click a button "Add InputField", then a UIElement (InputField) is dynamic generated. Man can generate many times UIElement"InputField" with this button.
I have tried the Webdynpro Tutorial 17. But not yet any idea.
Plx give me some suggestions and code.
Thanks in advance
best regards
Yaning

hi
for this create 2 int variables <b>act</b> and a <b>counter</b>
//@@begin others
  static int act,counter=0;
  //@@end
<b>in Doinit set act to 0.</b>
public void wdDoInit()
    //@@begin wdDoInit()
    act=0;
    //@@end
<b>create an action(onActionCreate_Element) and assign it to the button ui element</b>
public void onActionCreate_Element(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
    //@@begin onActionCreate_Element(ServerEvent)
    act = 1;
    //@@end
<b>in wdDoModifyView</b>
public static void wdDoModifyView(IPrivateDynamicView wdThis, IPrivateDynamicView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
    //@@begin wdDoModifyView
    if( act== 1)
         IWDTransparentContainer con= (IWDTransparentContainer)view.getElement("RootUIElementContainer");
         IWDInputField input = (IWDInputField)view.createElement(IWDInputField.class,"input1"+counter);
         IWDAttributeInfo test = wdContext.getNodeInfo().addAttribute("name"+counter,"ddic:com.sap.dictionary.string");
         input.bindValue(test);
         input.setVisible(WDVisibility.VISIBLE);
         counter++;
         con.addChild(input);
                act = 0;
    //@@end

Similar Messages

  • Dynamically generate HTML at runtime

    I've tried looking for an existing project that does this or something similar already, but the closest I got was an eclipse plug-in by IBM, which wont really help me since it wont work at runtime.
    Basically I want to be able to generate a HTML form dynamically, based on the XML in a WSDL. Anyone got any ideas?

    Wow, no one? Damn, must be harder than I thought.No, it's really not hard at all. At least generating HTML isn't hard. What IS hard is answering your question. You have already rejected some alternatives, but you don't tell us what they were or why you rejected them. So I could suggest you use XSLT, but I might be wasting my time because you already rejected that. Or you might have had a completely bogus reason for rejecting it, but I can't tell.
    So basically that's why you didn't get any answers. Not enough information to base an answer on, and enough information to decide not to answer.

  • Dynamic Tray creation at runtime

    hi experts,
    we have a requirement where we are showing employee details in the tray UI element.
    we have 1 tray at design time showing employee details obtained from a Bapi.
    Now we need to display spouse details(if available) and children details(their number can be any~known at runtime) in seperate trays. eg each tray for 1 person..so if there are 6 children, there are 8 trays including one for employee and spouse...
    Now what I need is the source code  or method to dynamically generate tray at runtime along with the labels and textviews they contain..
    thanks in advance

    HI,
    solved the problem....
    i was doing some search here and there and finally got the code to do it. when i came back to the thread i found Ramesh suggested the same stuff which i had used.
    thanks gurus.
    I am writing my code here for other people looking for the same thing:
    IWDTransparentContainer container =(IWDTransparentContainer)view.getElement("RootUIElementContainer");
         wdContext.currentContextElement().setIpvalue("Demo Name");   //this is my context attribute.
    for(int i=1;i<3;i++)
         IWDTray tray=(IWDTray)view.createElement(IWDTray.class,null);
                   tray.setExpanded(false);
                   tray.setWidth("700px");
                   IWDLabel label=(IWDLabel)view.createElement(IWDLabel.class,null);
                   label.setText("your name is");
              IWDTextView textview1=(IWDTextView)view.createElement(IWDTextView.class,null);
              textview1.setText(wdContext.currentContextElement().getIpvalue());
              IWDLabel label1=(IWDLabel)view.createElement(IWDLabel.class,null);
              label1.setText("Employee age");
         IWDCaption caption =(IWDCaption)view.createElement(IWDCaption.class,null);
         caption.setText("WElcome to employee information");
                   tray.setHeader(caption);
         IWDLayout layout=(IWDLayout)tray.createLayout(IWDMatrixLayout.class); //setting tray layout to matrix
         IWDLayoutData layout1=(IWDLayoutData)label1.createLayoutData(IWDMatrixHeadData.class);
         tray.addChild(label);
         tray.addChild(textview1);
         tray.addChild(label1);
                   container.addChild(tray);
    P.S. Awarding points to Ramesh.

  • Does anyone know what this error code means?My itunes will not open, no matter how many times i downlaod and restore it??? "The procedure entry point xmlITexTextReaderName could not be located in the dynamic link library libxml2.dlll."

    Does anyone know what this error code means?My itunes will not even open, no matter how many times i downlaod and restore it??? "The procedure entry point xmlITexTextReaderName could not be located in the dynamic link library libxml2.dlll." Please let me know if your know anything! It is greatly apprecitated!

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (Although the procedure is for Vista and 7 and you've got XP, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever since I did that my itunes won't open any more.  Itunes starts but before anything loads a

  • Getting "the procedure entry point CGImageRelease could not be located in the dynamic link library CoreGraphics.dll" error when starting Itunes. Haved reloaded many times and still the error.

    Getting "the procedure entry point CGImageRelease could not be located in the dynamic link library CoreGraphics.dll" error when starting Itunes. Haved reloaded many times and still the error.

    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Now head into your Uninstall a program control panel, select "Apple Application Support" and then click "Repair".
    Does iTunes launch properly now?
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post:
    Re: I recently updated to vista service pack 2 and I updated to itunes

  • Applescript: how to record and return how many times a number appears when using a random number generator

    I create one rng and repeat another rng that many times like so:
    set x to (random number from 0 to 250)
    repeat x times
      set rn to (random number from 1 to 10)
    end repeat
    now what i would like to do is record and return how many times 'rn' comes up with one particular number. Any ideas?

    You could set up a list and increment the contents of a particular index each time it comes up, for example:
    set how_many to {0, 0, 0, 0, 0, 0, 0, 0, 0, 0} -- 1 thru 10
    set x to (random number from 0 to 250)
    repeat x times
      set rn to (random number from 1 to 10)
      set item rn of how_many to (item rn of how_many) + 1
    end repeat
    return how_many

  • Play a sound many times in a short time

    Hi,
    i am using JMF 2.1.1e, and i wondered if there was some trick to play a sound many times in a short time.
    The first method i used was:
         private static Thread t     = null;
         private static URL url;
         private static Player player;
         public static void playSound(String name)
              File mp3 = new File("./sounds/level5/"+name+".mp3");
              try { url = mp3.toURL(); } catch (MalformedURLException e) {e.printStackTrace();}
              // to prevent from multiple sounds playing at the same time
              if(t != null && !t.isInterrupted()) t.interrupt();
              t = new Thread()
                   public void run()
                        try
                             MediaLocator ml = new MediaLocator(url);
                             player = Manager.createPlayer(ml);
                             player.addControllerListener(
                                       new ControllerListener()
                                            public void controllerUpdate(ControllerEvent event)
                                                 if (event instanceof EndOfMediaEvent)
                                                      player.stop();
                                                      player.close();
                             player.realize();
                             player.start();
                        catch (Exception e) { System.out.println("Exception encountered!");}     
              t.start();
    I wasn't really satisfied with such a method, since it often took two or three seconds before the sound start playing (maybe because my pc is slow, and the method takes too much memory) so i came up with another idea : storing the sound , calling the "start" method each time i need them, and re-preparing them for the next call short after the call to start; it gives :
    static Player[] sounds = new Player[15];
    // first initialization of a sound
    sounds[0] = new Splay().generate("fac");
    // call to the sound, the sound plays nearly immediately
    sounds[0].start();
    // reinitialization of the sounds, in order to prepare him for the next call
    Splay.scheduleInit(0,"fac");
    // methods used:
    public static void scheduleInit(final int index, final String name) {
    new java.util.Timer ().schedule (new TimerTask () { public void run () {
         Screen.sounds[index] = new Splay().generate(name);
    }},500);
    // and
         public Player generate(String name) {
              Player p = null;
              File mp3 = new File("./sounds/level5/"+name+".mp3");
              try { url = mp3.toURL(); } catch (MalformedURLException e) {e.printStackTrace();}
              try {
                   MediaLocator ml = new MediaLocator(url);
                   p = Manager.createPlayer(ml);
                   p.realize();
              } catch (Exception e) { System.out.println("Exception !");}     
              return p;
    it works better than the first one, but it's still not perfect ;
    To resume, i need a code that easily allow to :
    - Launch tracks fast
    - Don't play many sounds in the same time (means that stops the currently played track before loading the new one)
    - A player that handle MP3 would be really better compared to a wav player
    Will be great if you have something like that
    Thank you very much ^^
    Message was edited by:
    calvino_ind

    You can follow the below steps to easily play a sound at runtime - like on mouseover.
    1. Make sure your audio is imported in library and has a linkage name specified.
    2. Open Windows Menu -> Code Snippets panel and expand HTML5 Canvas -> Event Handlers section.
    3. Select your button on Stage and apply the MouseOver Event from Code Snippets to it.
    4. In the MouseOverHandler function add the below line and test movie:
              playSound('audio_linkage_name');
    If you still face problems let me know.
    Also, you might want to go through the SoundJS documentation for more control with Audio in HTML5.

  • How can I sort a dynamically generated table

    I am dynamically populating the columns in a table every time my page is loaded. (see code below)
    This is all working fine, and I am also able to use the built in pagination.
    However, I run into problems as soon as I click on a column header to try sort the table.
    I assume that because the columns are not defined in the JSP (because they are added dynamically), the sort criteria is referring to non-existant columns once the page reloads.
    I get an exception as follows
    Exception Details:  org.apache.jasper.JasperException
      #{currentRow.value['categories.category_id']}Can anyone suggest a solution so that I can sort the data for my dynamically generated table?
    Cheers,
    Ian
    //NOTE: I call populateTable(tableRowGroup1,dynamicRowSetDataProvider) in my prerender code.
    //tableRowGroup1 is defined as an empty (ie no children) row group in the JSP
    private void populateTable(TableRowGroup rowGroup, DataProvider dp) {
        rowGroup.setSourceVar("currentRow");
        try {
            FieldKey[] columnNames = dp.getFieldKeys();    
            for(int i=0; i < columnNames.length; i++) {
                String columnName = columnNames.getFieldId();
    info(i+": columnName");
    rowGroup.getChildren().add(
    createStaticTextColumn(columnName, "#{currentRow.value['"+columnName+"']}")
    } catch (Exception ex) {
    log("Error Description", ex);
    info("Error Description : " + ex);
    return;
    private TableColumn createStaticTextColumn(String heading, String dataField) {
    TableColumn tableColumn = new TableColumn();
    tableColumn.setHeaderText(heading);
    tableColumn.setSort(dataField);
    TextField staticText = new TextField();
    ValueBinding vb = getApplication().createValueBinding(dataField);
    staticText.setValueBinding("text", vb);
    tableColumn.getChildren().add(staticText);
    return tableColumn;

    I'm also having this problem, and I'm sure many more are too. It seems that no one has a solution, but perhaps that makes it even more value able for a sun dev to figure it out. It's surprising that it's so difficult to make dynamically generated tables with JSC.

  • Mid 2010 mac book pro crashing too many times!!!

    HELP! I'm basically fed up with my mac book pro crashing so many times in a day. I'm not doing anything tedious, just basic web surfing and music and some microsoft word/excel. I've read that someone recommended to run EtreCheck and paste the result here so anyone that knows how to read them can help me figure out what's happening!
    Problem description:
    My Mac book pro have been crashing lately. I’ve max out my RAM to 8gb. And the frequency seems to increased to few times in a day. I’ve uninstalled a software that I suspect to be causing the problem but it didn’t help.
    EtreCheck version: 2.1.8 (121)
    Report generated March 15, 2015 at 8:15:02 PM CDT
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2010) (Technical Specifications)
        MacBook Pro - model: MacBookPro6,2
        1 2.4 GHz Intel Core i5 CPU: 2-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1067 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1067 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 585
    Video Information: ℹ️
        Intel HD Graphics - VRAM: 288 MB
        NVIDIA GeForce GT 330M - VRAM: 256 MB
            Color LCD 1680 x 1050
    System Software: ℹ️
        OS X 10.10.2 (14C1510) - Time since boot: 0:12:8
    Disk Information: ℹ️
        Hitachi HTS545032B9SA02 disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) / : 318.84 GB (162.02 GB free)
                Encrypted AES-XTS Unlocked
                Core Storage: disk0s2 319.21 GB Online
        HL-DT-ST DVDRW  GS23N 
    USB Information: ℹ️
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Internal Memory Card Reader
        Apple Inc. Built-in iSight
        Apple Computer, Inc. IR Receiver
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/VMware Horizon Client.app
        [not loaded]    com.vmware.kext.vmioplug.12.2.7 (12.2.7) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.devguru.driver.SamsungComposite (1.4.20 - SDK 10.6) [Click for support]
            /System/Library/Extensions/ssuddrv.kext/Contents/PlugIns
        [not loaded]    com.devguru.driver.SamsungACMControl (1.4.20 - SDK 10.6) [Click for support]
        [not loaded]    com.devguru.driver.SamsungACMData (1.4.20 - SDK 10.6) [Click for support]
        [not loaded]    com.devguru.driver.SamsungMTP (1.4.20 - SDK 10.5) [Click for support]
        [not loaded]    com.devguru.driver.SamsungSerial (1.4.20 - SDK 10.6) [Click for support]
    Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [running]    com.rosettastone.rosettastonedaemon.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist [Click for details]
    User Login Items: ℹ️
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        Dropbox    Application  (/Applications/Dropbox.app)
        AdobeResourceSynchronizer    Application Hidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
        Google Chrome    Application Hidden (/Applications/Google Chrome.app)
        fuspredownloader    Application Hidden (/Users/[redacted]/Library/Application Support/.FUS/fuspredownloader.app)
        KiesAgent    Application Hidden (/Applications/Kies.app/Contents/MacOS/KiesAgent.app)
    Internet Plug-ins: ℹ️
        QuickTime Plugin: Version: 7.7.3
        AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
        AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        SharePointBrowserPlugin: Version: 14.4.8 - SDK 10.6 [Click for support]
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
    Safari Extensions: ℹ️
        Open in Internet Explorer
    3rd Party Preference Panes: ℹ️
        MacFUSE  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
             8%    Google Chrome
             7%    WindowServer
             3%    Activity Monitor
             1%    sysmond
             1%    hidd
    Top Processes by Memory: ℹ️
        180 MB    Google Chrome
        172 MB    spindump
        129 MB    Google Chrome Helper
        112 MB    mds_stores
        103 MB    ocspd
    Virtual Memory Information: ℹ️
        3.93 GB    Free RAM
        2.82 GB    Active RAM
        739 MB    Inactive RAM
        1.10 GB    Wired RAM
        1.56 GB    Page-ins
        0 B    Page-outs
    Diagnostics Information: ℹ️
        Mar 15, 2015, 08:02:45 PM    /Library/Logs/DiagnosticReports/com.apple.AmbientDisplayAgent_2015-03-15-200245 _[redacted].crash
        Mar 15, 2015, 08:01:10 PM    /Library/Logs/DiagnosticReports/Kernel_2015-03-15-200110_[redacted].panic [Click for details]
        Mar 15, 2015, 08:00:44 PM    Self test - passed
        Mar 14, 2015, 08:37:13 PM    /Library/Logs/DiagnosticReports/Kernel_2015-03-14-203713_[redacted].panic [Click for details]
        Mar 14, 2015, 08:04:08 PM    /Library/Logs/DiagnosticReports/Kernel_2015-03-14-200408_[redacted].panic [Click for details]
        Mar 14, 2015, 04:19:20 PM    /Library/Logs/DiagnosticReports/Kernel_2015-03-14-161920_[redacted].panic [Click for details]
        Mar 14, 2015, 12:55:25 PM    /Library/Logs/DiagnosticReports/Kernel_2015-03-14-125525_[redacted].panic [Click for details]
        Mar 1, 2015, 01:25:17 PM    /Library/Logs/DiagnosticReports/Kernel_2015-03-01-132517_[redacted].panic [Click for details]
        Feb 27, 2015, 10:34:50 PM    /Library/Logs/DiagnosticReports/Kernel_2015-02-27-223450_[redacted].panic [Click for details]
        Feb 25, 2015, 09:20:17 PM    /Library/Logs/DiagnosticReports/Kernel_2015-02-25-212017_[redacted].panic [Click for details]
        Feb 17, 2015, 09:47:52 AM    /Library/Logs/DiagnosticReports/Kernel_2015-02-17-094752_[redacted].panic [Click for details]
        Feb 16, 2015, 09:55:58 PM    /Library/Logs/DiagnosticReports/Kernel_2015-02-16-215558_[redacted].panic [Click for details]
        Feb 15, 2015, 10:22:46 PM    /Library/Logs/DiagnosticReports/Kernel_2015-02-15-222246_[redacted].panic [Click for details]

    I found the panic file.
    Anonymous UUID:       BAD5C7EC-C960-AF52-5446-DBE5524FD2B5
    Sun Mar 15 20:01:06 2015
    *** Panic Report ***
    panic(cpu 1 caller 0xffffff7f992cef63): "GPU Panic: [<None>] 3 3 7f 0 0 0 0 3 : NVRM[0/1:0:0]: Read Error 0x00000100: CFG 0xffffffff 0xffffffff 0xffffffff, BAR0 0xc0000000 0xffffff813311f000 0x0a5480a2, D0, P2/4\n"@/SourceCache/AppleGraphicsControl/AppleGraphicsControl-3.8.6/src/AppleM uxControl/kext/GPUPanic.cpp:127
    Backtrace (CPU 1), Frame : Return Address
    0xffffff811fee30b0 : 0xffffff801652fe41
    0xffffff811fee3130 : 0xffffff7f992cef63
    0xffffff811fee3210 : 0xffffff7f972ecb9f
    0xffffff811fee32d0 : 0xffffff7f973b618e
    0xffffff811fee3310 : 0xffffff7f973b61fe
    0xffffff811fee3380 : 0xffffff7f97635056
    0xffffff811fee34b0 : 0xffffff7f973d982d
    0xffffff811fee34d0 : 0xffffff7f972f35f1
    0xffffff811fee3580 : 0xffffff7f972f10fc
    0xffffff811fee3780 : 0xffffff7f972f2a4b
    0xffffff811fee3850 : 0xffffff7f988ae018
    0xffffff811fee3970 : 0xffffff7f988ad237
    0xffffff811fee39a0 : 0xffffff7f988a4c8d
    0xffffff811fee39e0 : 0xffffff7f988a545a
    0xffffff811fee3ab0 : 0xffffff7f988a0129
    0xffffff811fee3ae0 : 0xffffff7f988833a4
    0xffffff811fee3b30 : 0xffffff8016b00652
    0xffffff811fee3b60 : 0xffffff8016b01249
    0xffffff811fee3bc0 : 0xffffff8016afe9c3
    0xffffff811fee3d00 : 0xffffff80165e4a87
    0xffffff811fee3e10 : 0xffffff8016533f8c
    0xffffff811fee3e40 : 0xffffff8016518a93
    0xffffff811fee3e90 : 0xffffff80165293bd
    0xffffff811fee3f10 : 0xffffff80166059fa
    0xffffff811fee3fb0 : 0xffffff8016636ea6
          Kernel Extensions in backtrace:
             com.apple.driver.AppleMuxControl(3.8.6)[BE610379-FAEA-3E8F-B6AF-F92B70B3C5CD]@0 xffffff7f992c0000->0xffffff7f992d3fff
                dependency: com.apple.driver.AppleGraphicsControl(3.8.6)[76B001B1-30F1-3D72-B264-85D77B254C 2F]@0xffffff7f992b8000
                dependency: com.apple.iokit.IOACPIFamily(1.4)[70E2B65E-A91A-3522-A1A0-79FD63EABB4C]@0xfffff f7f970d2000
                dependency: com.apple.iokit.IOPCIFamily(2.9)[56AD16B5-4F29-3F74-93E7-D492B3966DE2]@0xffffff 7f96d24000
                dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[619F6C9F-0461-3BA1-A75F-53BB0F87ACD3]@0 xffffff7f97245000
                dependency: com.apple.driver.AppleBacklightExpert(1.1.0)[42706EB3-1447-3931-A668-FBAC58AAAA 7A]@0xffffff7f992bb000
             com.apple.nvidia.classic.NVDAResmanTesla(10.0)[796AE430-39FB-3255-8161-D52AFA28 EE2B]@0xffffff7f9729c000->0xffffff7f97505fff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[56AD16B5-4F29-3F74-93E7-D492B3966DE2]@0xffffff 7f96d24000
                dependency: com.apple.iokit.IONDRVSupport(2.4.1)[E5A48E71-70F5-3B01-81D3-C2B037BBE80A]@0xff ffff7f9728c000
                dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[619F6C9F-0461-3BA1-A75F-53BB0F87ACD3]@0 xffffff7f97245000
             com.apple.GeForceTesla(10.0)[3EA67900-B4A9-30BB-964D-0904DA5421CC]@0xffffff7f98 846000->0xffffff7f98913fff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[56AD16B5-4F29-3F74-93E7-D492B3966DE2]@0xffffff 7f96d24000
                dependency: com.apple.iokit.IONDRVSupport(2.4.1)[E5A48E71-70F5-3B01-81D3-C2B037BBE80A]@0xff ffff7f9728c000
                dependency: com.apple.iokit.IOGraphicsFamily(2.4.1)[619F6C9F-0461-3BA1-A75F-53BB0F87ACD3]@0 xffffff7f97245000
                dependency: com.apple.nvidia.classic.NVDAResmanTesla(10.0.0)[796AE430-39FB-3255-8161-D52AFA 28EE2B]@0xffffff7f9729c000
             com.apple.nvidia.classic.NVDANV50HalTesla(10.0)[7FE40648-F15F-3E18-91E2-FDDDF4C DA355]@0xffffff7f97510000->0xffffff7f977b9fff
                dependency: com.apple.nvidia.classic.NVDAResmanTesla(10.0.0)[796AE430-39FB-3255-8161-D52AFA 28EE2B]@0xffffff7f9729c000
                dependency: com.apple.iokit.IOPCIFamily(2.9)[56AD16B5-4F29-3F74-93E7-D492B3966DE2]@0xffffff 7f96d24000
    BSD process name corresponding to current thread: Google Chrome He
    Mac OS version:
    14C1510
    Kernel version:
    Darwin Kernel Version 14.1.0: Thu Feb 26 19:26:47 PST 2015; root:xnu-2782.10.73~1/RELEASE_X86_64
    Kernel UUID: 270413F7-3B44-3602-894F-AC0D392FCF8E
    Kernel slide:     0x0000000016200000
    Kernel text base: 0xffffff8016400000
    __HIB  text base: 0xffffff8016300000
    System model name: MacBookPro6,2 (Mac-F22586C8)
    System uptime in nanoseconds: 17132101765913
    last loaded kext at 8002721604154: com.apple.filesystems.smbfs 3.0.0 (addr 0xffffff7f993b2000, size 389120)
    last unloaded kext at 153961282405: com.apple.driver.AppleUSBUHCI 656.4.1 (addr 0xffffff7f97a32000, size 65536)
    loaded kexts:
    com.apple.filesystems.smbfs 3.0.0
    com.apple.driver.AudioAUUC 1.70
    com.apple.driver.AppleHWSensor 1.9.5d0
    com.apple.driver.AGPM 100.15.5
    com.apple.filesystems.autofs 3.0
    com.apple.iokit.IOBluetoothSerialManager 4.3.2f6
    com.apple.driver.AppleOSXWatchdog 1
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleMikeyDriver 269.25
    com.apple.driver.AppleSMCLMU 2.0.7d0
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.3.2f6
    com.apple.driver.AppleLPC 1.7.3
    com.apple.driver.AppleHDA 269.25
    com.apple.GeForceTesla 10.0.0
    com.apple.driver.AppleUpstreamUserClient 3.6.1
    com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
    com.apple.driver.AppleIntelHDGraphics 10.0.0
    com.apple.driver.AppleIntelHDGraphicsFB 10.0.0
    com.apple.iokit.IOUserEthernet 1.0.1
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.driver.AppleHWAccess 1
    com.apple.driver.AppleHV 1
    com.apple.driver.AppleMuxControl 3.8.6
    com.apple.driver.AppleMCCSControl 1.2.11
    com.apple.driver.AppleSMCPDRC 1.0.0
    com.apple.driver.SMCMotionSensor 3.0.4d1
    com.apple.driver.AppleUSBTCButtons 240.2
    com.apple.driver.AppleUSBTCKeyboard 240.2
    com.apple.driver.AppleUSBCardReader 3.5.1
    com.apple.driver.AppleIRController 327.5
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 35
    com.apple.iokit.SCSITaskUserClient 3.7.3
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage 2.7.0
    com.apple.driver.AirPort.Brcm4331 800.20.24
    com.apple.driver.AppleUSBHub 705.4.2
    com.apple.driver.AppleFWOHCI 5.5.2
    com.apple.driver.AppleAHCIPort 3.1.0
    com.apple.iokit.AppleBCM5701Ethernet 10.1.3
    com.apple.driver.AppleUSBEHCI 705.4.14
    com.apple.driver.AppleSmartBatteryManager 161.0.0
    com.apple.driver.AppleACPIButtons 3.1
    com.apple.driver.AppleRTC 2.0
    com.apple.driver.AppleHPET 1.8
    com.apple.driver.AppleSMBIOS 2.1
    com.apple.driver.AppleACPIEC 3.1
    com.apple.driver.AppleAPIC 1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient 218.0.0
    com.apple.nke.applicationfirewall 161
    com.apple.security.quarantine 3
    com.apple.security.TMSafetyNet 8
    com.apple.driver.AppleIntelCPUPowerManagement 218.0.0
    com.apple.AppleGraphicsDeviceControl 3.8.6
    com.apple.kext.triggers 1.0
    com.apple.iokit.IOSerialFamily 11
    com.apple.nvidia.classic.NVDANV50HalTesla 10.0.0
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.3.2f6
    com.apple.driver.DspFuncLib 269.25
    com.apple.kext.OSvKernDSPLib 1.15
    com.apple.iokit.IOFireWireIP 2.2.6
    com.apple.nvidia.classic.NVDAResmanTesla 10.0.0
    com.apple.driver.IOPlatformPluginLegacy 1.0.0
    com.apple.iokit.IOUSBUserClient 705.4.0
    com.apple.iokit.IOSurface 97
    com.apple.iokit.IOBluetoothFamily 4.3.2f6
    com.apple.driver.AppleGraphicsControl 3.8.6
    com.apple.driver.AppleBacklightExpert 1.1.0
    com.apple.driver.AppleSMBusController 1.0.13d1
    com.apple.driver.IOPlatformPluginFamily 5.8.1d38
    com.apple.driver.AppleHDAController 269.25
    com.apple.iokit.IOHDAFamily 269.25
    com.apple.iokit.IOAudioFamily 203.3
    com.apple.vecLib.kext 1.2.0
    com.apple.driver.AppleSMBusPCI 1.0.12d1
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.driver.AppleSMC 3.1.9
    com.apple.driver.AppleUSBMultitouch 245.2
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.7.3
    com.apple.iokit.IOUSBMassStorageClass 3.7.1
    com.apple.iokit.IOUSBHIDDriver 705.4.0
    com.apple.driver.CoreStorage 471.10.6
    com.apple.driver.AppleUSBMergeNub 705.4.0
    com.apple.driver.AppleUSBComposite 705.4.9
    com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.7.3
    com.apple.iokit.IOBDStorageFamily 1.7
    com.apple.iokit.IODVDStorageFamily 1.7.1
    com.apple.iokit.IOCDStorageFamily 1.7.1
    com.apple.iokit.IOAHCISerialATAPI 2.6.1
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.7.3
    com.apple.iokit.IO80211Family 710.55
    com.apple.iokit.IOFireWireFamily 4.5.6
    com.apple.iokit.IOAHCIFamily 2.7.5
    com.apple.iokit.IOEthernetAVBController 1.0.3b3
    com.apple.driver.mDNSOffloadUserClient 1.0.1b8
    com.apple.iokit.IONetworkingFamily 3.2
    com.apple.iokit.IOUSBFamily 710.4.14
    com.apple.driver.AppleEFINVRAM 2.0
    com.apple.driver.AppleEFIRuntime 2.0
    com.apple.iokit.IOHIDFamily 2.0.0
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.sandbox 300.0
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.driver.AppleKeyStore 2
    com.apple.driver.AppleMobileFileIntegrity 1.0.5
    com.apple.driver.AppleCredentialManager 1.0
    com.apple.driver.DiskImages 396
    com.apple.iokit.IOStorageFamily 2.0
    com.apple.iokit.IOReportFamily 31
    com.apple.driver.AppleFDEKeyStore 28.30
    com.apple.driver.AppleACPIPlatform 3.1
    com.apple.iokit.IOPCIFamily 2.9
    com.apple.iokit.IOACPIFamily 1.4
    com.apple.kec.Libm 1
    com.apple.kec.pthread 1
    com.apple.kec.corecrypto 1.0
    And my hardward profile
    Hardware Overview:
      Model Name: MacBook Pro
      Model Identifier: MacBookPro6,2
      Processor Name: Intel Core i5
      Processor Speed: 2.4 GHz
      Number of Processors: 1
      Total Number of Cores: 2
      L2 Cache (per Core): 256 KB
      L3 Cache: 3 MB
      Memory: 8 GB
      Processor Interconnect Speed: 4.8 GT/s
      Boot ROM Version: MBP61.0057.B0C
      SMC Version (system): 1.58f17
      Serial Number (system): W81040MUAGX
      Hardware UUID: AE13C868-E4BF-5C1C-9DBD-D1D6AF1B5C47
      Sudden Motion Sensor:
      State: Enabled

  • Playback speed in Sample Editor window many, many times faster than track (at correct speed) in arrange area. How do I sync Sample Editor playback speed to correct speed/tempo in arrange area? Track is spoken word.

    Playback speed in Sample Editor window many, many times faster than track (at correct speed) in arrange area. How do I sync Sample Editor playback speed to correct speed/tempo in arrange area? Track is spoken word. Sample Editor playback sounds like Alvin on a meth binge. Spoken phrase is generated from Textspeech. Textspeech can export files as WAV files or MP3 files. Perhaps a clue?:   When exported Textspeech WAV file is dragged and dropped into track in arrange area of new project, it exhibits same supersonic speed. When Textspeech file is exported as MP3 file and dragged and dropped in arrange area track, it plays at correct speed.

    Thanks Erik,
    If nothing else, this huge list of updates and fixes, shows clearly that the Logic Dev team is working hard on fixing and improving LPX to a major degree.... and from the list of fixes done.. show they do read the bug reports submitted!
    As an aside....
    I recall how all the 'naysayers' prior to LPX (and in some cases, since...)  were proclaiming how Logic was dead, the team was being disbanded, we won't see any further development, the Dev team doesn't listen or care... and so on....... I wonder where those people are now?

  • How many times can i call the start()

    Hi All:
    I would like to know how many time you can actually call the start(),
    cuz my app is doing some really strange things,
    here is a fragament of my code:
    private void spawnThreads()
    ListIterator it = _vWorker.listIterator();
    while ( it.hasNext() ) {
    ClientWorker client_worker = (ClientWorker) it.next();
    client_worker.start();
    ClientWorker is another Thread, and in the run() of the ClientWorker, I have
    public void run() {
    Runtime rt = Runtime.getRuntime();
         try {
         // Start the timer
         Process child = rt.exec(_fileName);
         // gobble any error or output streams
    StreamGobbler errorGobbler = new
    StreamGobbler(child.getErrorStream(), "ERROR");
    StreamGobbler outputGobbler = new
    StreamGobbler(child.getInputStream(), "OUTPUT");
    errorGobbler.start();
    outputGobbler.start();
    child.waitFor();
                                            } catch (IOException e) {
                   System.err.println("IOException starting process!");
              } catch (InterruptedException e) {
                   System.err.println("Interrupted waiting for process!");
    I have a couple of cmd files to execute, so This spawnThreads() will be called a couple of times,and the funny thing is , it will execute the first cmd files, and that is it, it won't execute the 2nd or the 3rd cmd files, it will start the thread, but then the run()won't actually gets invoked,,,so I am just wondering if anyone of you has encountered this problem, perhaps you could lend me some insight on this?
    thanks,

    Yes, you can run the start() of a Thread more than once,
    here is my Test App,
    public static void main(String[] args) throws Exception {
    Vector vec = new Vector();
    for (int i=0;i<4;i++){
    ClientThread ct = new ClientThread();
    vec.add(ct);
    ListIterator it = vec.listIterator();
    while(it.hasNext()){
    ClientThread ct = (ClientThread)it.next();
    ct.start();
    and as you have already guessed it the run() of ClientThread simply does system.out.println()
    and here is the output
    run started
    run started
    run started
    run started
    so..yeah..I don't really have any idea what is happening to my app and why it is not executing any cmd files after executing the very first cmd file

  • How to dynamically resize JPanel at runtime??

    Hello Sir:
    I met a problem, I need to resize a small JPanel called panel within a main Control JPanel (with null Layout) if I click the mouse then I can Drag and Resize this small JPanel Border to the size I need at runtime, I know I can use panel.setSize() or panel.setPreferredSize() methods at design time,
    But I have no idea how to do it even I search this famous fourm,
    How to dynamically resize JPanel at runtime??
    Can any guru throw some light or good example??
    Thanks

    Why are you using a null layout? Wouldn't having a layout manager help you in this situation?

  • Finding query access frequency or how many times a query has been executed?

    Dear Experts
    I need to find the total number of access frequency of individual queries that are requested by the users say at a particular time.
    Say there are 20 distinct queries requested in the time difference of 3 hours. All of the 20 queries or some of the queries may be requested for more than 2/3 times at that time by other users. By the way say query Q1 is requested 5 times at that so its query access frequency or how many times this query is executed is 5.
    From where and how can I can find this counting of query access frequency or how many times a query has been executed at particular time or a session?
    Normally we know the there SQL history dynamic performance views or if it can be possible to query the Shared pool library cache for SQL area it may be possible to find the total number of execution time for a query. But how to find that if anyone knows, please help me about this.
    Regards-
    Engr. A.N.M. Bazlur Rashid
    OCP DBA

    That's one of the stats reported by statspack - assuming that your query does sufficient work to meet the thresholds for the standard report. Executions is of course one of the columns of v$sql so you might just wish to sample that yourself. Finally if you are on 11g and the sql you are interested is relatively low resource intensive and you are licensed for AWR then you can use the slightly madly named "colored sql" feature that ensures that a specific statement will always be sampled for AWR.
    Niall Litchfield
    http://www.orawin.info/

  • Issue with emailing dynamically generated PDF (InteractiveForm UI element)

    Hi Experts ,
    I have a requirement according to which i need to generate PDF dynamically using webdynpro java and email the dynamically generated PDF.
    I am facing issue while emailing the dynamically genarated pdf.
    It gives me an exception :
    nested exception is: javax.mail.MessagingException: IOException while sending message;  nested exception is: java.io.IOException: no data
    This is because its unable to get the binary data (byte array) of the dynamically generated PDF which is required to send mail.
    Could some one suggest me how to fetch the binary data of the dynamically generated PDF.
    For dynamic PDF generation i am using dynamic generation of UI element   InteractiveForm UI Element 
    In case of static PDF (i.e. the PDF genarated by inserting the InteractiveFrom Ui element on the view using the insert child option) we do set the pdf source property of Interactive Form UI element to a context variable attribute of type binary but  my problem is ,how to set the PDF source of a dynamically generated Interactive form UI element to a context variable attribute of type binary ..
    Any help would be highly appreciated.
    Regards ,
    Navya

    Hi Frank ,
    the code to generate PDF dynamically is written in the WdDoModifyView section of the view as the PDF need to be generated dynamically., i.e. by adding InteractiveForm UI elements at  runtime.
    I tried the code suggested by you  but i gave mean exception.
    errorjava.io.FileNotFoundException:
    (The system cannot find the path specified)
    Kindly let me know where i am going wrong .
    Below is the code that i  had written in a separate method m_mail().
    This would take as input the name of the dynamically generated data node and is called from the wdDoModifyView section of the view
    public void m_mail( java.lang.String p_dynamicnodeName )
                   ByteArrayOutputStream templateSourceOutputStream = new ByteArrayOutputStream();
              //        This would need to have the Templatefile in the Mimes-Directory of the Webdynpro-Component
                   String templateUrl = WDURLGenerator.getResourcePath(wdComponentAPI.getDeployableObjectPart(), "AdobeView1_InteractiveForm.xdp");
                   InputStream templateSourceInputStream = new FileInputStream(templateUrl);
                   IOUtil.write(templateSourceInputStream, templateSourceOutputStream);
                   IWDPDFDocumentCreationContext pdfContext = WDPDFDocumentFactory.getDocumentHandler().getDocumentCreationContext();
                   pdfContext.setData(WDInteractiveFormHelper.getContextDataAsStream(wdContext
                   .nodeCtx_vn_dynmcnd()
                   .getChildNode(p_dynamicnodeName, IWDNode.NO_SELECTION)));
                   pdfContext.setTemplate(templateSourceOutputStream);
                   pdfContext.setInteractive(false);
                   IWDPDFDocument pdf = pdfContext.execute();
                   if (pdf != null) {
                    pdfArray = pdf.getPDF();
    Kindly let me know where am i going wrong.
    Regards ,
    Navya

  • Handling dynamically generated Images

    Hello,
    I have a WDJ application that generates Images dynamically based on certain criterion. The dynamically generated images are put to the server using the code
      BufferedImage image = <rendered image ...>
      File outFile = new File( "Output.jpg") ;
      ImageIO.write( image, "jpg", outFile);
      /** Resource path is not set during the file creation 
       * as ImageIO throws IllegalArgumentException
    It gets saved to the folder <i><drive>\usr\sap\<SID>\JC<InstNo>\j2ee\cluster\server0\output.jpg </i> by default.
    Now, how to show up this dynamically generated image in a Image UI element? I have tried setting the output file name to the attribute that is bound to the "Source" property of the Image UI element but it doosn't show up as WD runtime is doing a look-up in the folder <i>../../../resources/com.test/<projectName>/Components/com.test.<componentName>/</i>
    Any pointers in this regard are highly appreciated.
    Bala

    Hi
    Try this
    Create the alias for the folder (C:\usr\sap\P13\JC00\j2ee\cluster\server0.)
    1.Goto Visual Administrator->Http Provider->Aliases in the Runtime Tab.
    2.Give the Alias Name and Path for the Folder.
    3.The Image sorce like http://<Server>:<Port>/<Alias>/<image>.<ext>
    Kind Regards
    Mukesh

Maybe you are looking for