[Feature Request] Better support for new buttons in JUNavigationBar

In my project I use a home made sub-class of JUNavigationBar, which contains some new functionality apart from a new button as well. This button allows me to refresh the currently selected row.
However, since I added this button though a simple this.add(), some of the functionality in JUNavigationBar may get confused.
For example, when I have removed some of the standard buttons but left my own button in place (setHasXXX()), the component index (calculated in JToolBar) and the array index for the buttons in JUNavigationBar may not match. This occasionally causes an ArrayIndexOutOfBoundsException.
In short, what I'm asking for, is a better way to manage buttons on JUNavigationBar. Even making the array of buttons and related methods and such protected in stead of private (so that my sub-class could handle it) would be a good start.

Hi Arno,
I had a similar issue with trying to create a Nav bar with dynamic content. My solution was to leave all the standard buttons in place and to use setVisible(x) to make them appear or not as required.
BTW have you noticed that rollover behaviour isn't consistant ie works for FIRST/LAST etc but not for FIND/QUERY.
Regards
Andy

Similar Messages

  • Feature request:  keymapping support for basic GVIM style editing

    Maybe this isn't the right forum, but it seems to be the only mechanism for providing
    feedback. I'm getting used to the workshop environment and like a lot of the
    features it provides. Tab completion of methods, parameter info, import automation
    are all very nice modern features. I come from a Unix background and cut my teeth
    coding on VI and GVIM off the command prompt. A feature that would really sell
    me on an IDE and many that I know, would be some support for VI keymappings.
    Once you are used to an editor that doesn't make you run to the mouse or the arrow
    keys every time you need to move the cursor, anything less feels slow and taxing.
    If basic support for "VI like" operation could be added, I think you'd find more
    people like myself willing to spend time in the IDE for its other features. GVIM
    offers a rich set of features, of which about 10 would suffice for most of what
    I do.
    1. insert/navigate modes so you can use ijkl instead of arrow keys.
    2. support for '/' as a search prompt as well as 'n' and 'N' to jump between
    findings.
    3. support for regular expressions on the search line
    4. support for regular expressions via a VI style substitute command {range}:s/search/replace/
    5. :w for write or "save"
    6. :e to open a file
    7. 'A' to jump to the end of a line and enter insert mode.
    8. 'D' to delete beyond the cursor to the end of the line.
    9. :line-number to jump to a line number.
    10. 'x' to delete a character and 2x for two etc...
    Okay, my list goes beyond ten if I continue, but if I could perform basic editing
    without having to go to the arrows or the mouse or a separate window of gvim,
    I'd be a happy customer.
    Thanks,
    Morgan

    Morgan,
    The engg team has confirmed that its a goal to support this in the next
    version.
    Thanks for the suggestion. Keep them coming!
    -Anurag
    "Raj Alagumalai" <[email protected]> wrote in message
    news:[email protected]...
    Hello Morgan,
    I have forwarded the information to our engineering team for evaluation.
    Regards,
    Raj Alagumalai
    WebLogic Workshop Support
    PS: Wasn't sure if you had come across the kit available at
    http://dev2dev.bea.com/products/wlworkshop81/workshop_ext.jsp
    "Morgan Hall" <[email protected]> wrote in message
    news:[email protected]...
    Worth noting, I just found viPlugin for Eclipse on Sourceforge.net.
    From
    the looks
    of the documentation, it will act as a layer on top of any JDT editor oran editor
    that extends ITextEditor, which might be an Eclipse class. Hope thathelps your
    development team.
    "Raj Alagumalai" <[email protected]> wrote:
    Thanks for the feedback Morgan. I will make sure that this information
    is
    forwarded to our engineering team. We love to hear what our customers
    feel
    about the product.
    Regards,
    Raj Alagumalai
    WebLogic Workshop Support
    "Morgan Hall" <[email protected]> wrote in message
    news:[email protected]...
    Maybe this isn't the right forum, but it seems to be the only
    mechanism
    for providing
    feedback. I'm getting used to the workshop environment and like alot of
    the
    features it provides. Tab completion of methods, parameter info,
    import
    automation
    are all very nice modern features. I come from a Unix background andcut
    my teeth
    coding on VI and GVIM off the command prompt. A feature that wouldreally
    sell
    me on an IDE and many that I know, would be some support for VIkeymappings.
    Once you are used to an editor that doesn't make you run to the mouseor
    the arrow
    keys every time you need to move the cursor, anything less feels slowand
    taxing.
    If basic support for "VI like" operation could be added, I think
    you'd
    find more
    people like myself willing to spend time in the IDE for its otherfeatures. GVIM
    offers a rich set of features, of which about 10 would suffice formost of
    what
    I do.
    1. insert/navigate modes so you can use ijkl instead of arrow keys.
    2. support for '/' as a search prompt as well as 'n' and 'N' to jumpbetween
    findings.
    3. support for regular expressions on the search line
    4. support for regular expressions via a VI style substitute command{range}:s/search/replace/
    5. :w for write or "save"
    6. :e to open a file
    7. 'A' to jump to the end of a line and enter insert mode.
    8. 'D' to delete beyond the cursor to the end of the line.
    9. :line-number to jump to a line number.
    10. 'x' to delete a character and 2x for two etc...
    Okay, my list goes beyond ten if I continue, but if I could performbasic
    editing
    without having to go to the arrows or the mouse or a separate windowof
    gvim,
    I'd be a happy customer.
    Thanks,
    Morgan

  • Feature request: Better tool for organizing image files

    Hi all,
    I'm considering rearranging the directory structure of my photo library completely (for a number of reasons: new cameras, a new variety of tools on new PCs).
    I would like to reorganize my photos into a year\month directory structure and that will basically spread all my image files into new locations.
    I have searched quite a bit and the advices I have seen don't seem to work:
    (1) Moving the files outside LR is fairly easy (using exiftool) but I cannot make LR link to the files automatically in their new locations. And doing it manually with "Locate file" or "Find missing folder" is not practical due to the large number of files and large number of new locations.
    (2) Moving the files with LR tools is also not practical: Manually dragging the photos into the new directory structure will take forever, and the only automatic rename feature I know of is "Rename Files ..." cannot move the photos into new directories (it can, however, assign names from the file dates and other metadata).
    Now my feature suggestion: Either make it possible for LR to automatically relink files that have been scattered into a new directory structure or - better yet - make it possible for LR to perform such auto-organize operations.
    My mp3 manager (MediaMonkey) is a good example to follow: It can organize (move or copy) any number of music files into any directory structure built from the audio file's metadata (such as my standard audio directory structure: Music\<Artist>\<Album>\<Track#:2> - <Title>).
    Interestingly, the LR "Rename file" function can almost do it already; it just cannot move the file into a new directory.
    Or can this be done in a way I haven't discovered?

    Sorry if I might be stating the obvious (but at least I was such a *dummy* once that I needed this explicitely):
    In order to move the sequence of images per drag&drop in grid view you need to
    Put the sort order in the bottom toolbar to "user order" (toggle visibility with letter T if not displayed)
    Grab an image from within its thumbnail, not from its border-cell.
    When you move around you see a vertical black thick line wandering in between images where you would be able to drop it
    Put the images first into a collection in case they should be spread across multiple folders.
    This is the reason why most often from a filter result you cannot re-arrange.
    Still sometimes it does not work as I want, but can *be persuaded*, i.e. I repeat the same trial after first moving to another collection, then return back. I can't nail it down sufficiently to file a bug.
    For an automated sorting according to filename (chosse that setting finally in toolbar) you could rename the photos in place, without exporting & re-importing. Just select them and hit <F2> to bring up the renaming dialog like possible during import.
    +1 vote from me, as I am neither satisfied with the responsiveness of moving folders within LR e.g. from laptop hard disk to NAS.
    Apart from that I try not to build much on my folder structure, just break them into manageable quantities and have a quick "diary-overview" by using naming convention "YYYY-MM-DD description of event" (pictures of up to 4 cameras go inside, unique filenames for Canons achieved by renaming during import). For all the rest I prefer to build (smart) collections.

  • Feature request: Replaygain support for FLAC files

    Hi guys,
    When converting some of my mp3's to FLAC, I noticed that the REPLAY_GAIN_TRACK tags are not used by the Walkman app on my Z3C. It works perfectly for mp3 files though. This is a real obstacle for me as I do not like having to change the volume all the time when playing different kinds of music.
    So my request would be to extend the replaygain support to FLAC files. I think anyone who uses FLAC files would consider that a very welcome addition, and it should be really easy to do!

    No, the album art actually works for both mp3 and FLAC. What I'm referring to is the REPLAY_GAIN_TRACK tag that you can attach to your files (for mp3 you could use e.g. the program called mp3gain). This allows you to normalize the volume of each track to for instance 92dB. When you do this, you will find that each track plays at a pleasant loudness without having to change the volume all the time. Or to put it differently, if this tag is not supported (like for FLAC at the moment), then I'm listening to one track and when the next one starts it may be way louder or quieter, meaning I have to reach for my phone and change the volume. It really is a very nice feature to have, and since Sony has it working for mp3 it seems very easy to extend this support to FLAC as well.
    Are you having issues with album art though? Perhaps I could help you then.

  • Customer request: better support for Flash-heavy web sites!?  Feasible?

    The company I work for (a SUN partner) is currently engaged in a desktop virtualisation project at a customer who is in the health care sector. Of course Sun VDI isn't the only thing they have been looking at. But so far we've always come out on top.
    PanoLogic and their "Pano Cube" thin-clients were looked at but never really considered. The argument being "Nobody is using that!" and they don't want to play "Star Trek" and "boldly buy things nobody has bought before". So it was "Thank you and bye bye PanoLogic". However ... PanoLogic is on their radar now and they might still go back one day ...
    Next up was VMware View. They didn't like what they saw. So for now they will keep their ESX and vSphere servers but VMware View is out of the game for now.
    So right now there is still us with our Sun VDI / Sun SSGD offer and a competitor with their Citrix offerings. So far we've always managed to tip the balance in our favor.
    This Wednesday though we had a few of customer's managers visit us. They wanted to see a Sun VDI 3.1 live demo. All was fine, all was well, and we had the impression that they were so close to giving the "go ahead", when one of the pro-Citrix guys opened two web sites in his VDI demo session:
    http://www.adiacom.ch
    http://www.2advanced.com
    Both sites are extremely extremely Flash-heavy.
    And of course: The performance was sub-optimal. We were running this on a Sun Ray 2, 1600 x 1200 pixels. Even though the sound was tip top in both the Windows XP and in the Linux sessions (they admit that in all the other products they have tried so far the sound was choppy or there was even no sound at all .... ) the video was slightly out of sync. And the web site "2advanced.com" took too long to load.
    So now all of a sudden the ability to play these two web sites "tip top" on a Sun Ray 2 is THE killer argument for them. It doesn't even matter that all other solutions they have looked at can't show those two web sites at all, now it's all of a sudden that Sun Rays and Sun VDI just "aren't good enough" at playing those two web sites.
    Customer is king. Customer is always right.
    So ... anyone here from Sun have any suggestions how we might improve performance of those two web sites inside the VDI sessions? Is there anything we could tweak and tune inside VDI 3.1 to get the max performance out of our setup?
    Or are there any products in the pipeline like new Sun Ray clients with improved multimedia performance that I could tell them about so we could keep them interested in Sun's products ... ?
    Edited by: DJ. on Oct 30, 2009 6:22 AM -- typos corrected.

    Greetings oh Master :)
    We don't have flash acceleration for LinuxI know. And yet the "adiacom.ch" web site performed better on Firefox & Ubuntu than on Win XP-SP3 & MSIE 8.
    only XP and W2K3.I know
    Are you using the MS-RDP severSun VDI 3.1 ... I get the VDI login mask, I login, I pick a Windows XP desktop from the available pools, and Windows XP appears. The desktops are provided via VMware vSphere.
    viewing the site via IEUnder Windows XP, yes.
    and have the Flash acceleration bits installed?I remember installing various multimedia bits that can be found in the "Supplemental" sub-directory of the SRWC 2.2 ZIP file: "SunMMR" and "SunWinUSB". But now that I look at the web page you linked to I am a bit confused .... Did I install an old version? I will have to check that again and make sure this stuff is really really installed.
    Thanks for that link!

  • Feature request: better tools for commenting and editing text

    We currently use a comments-enabled Acrobat workflow with InDesign to track changes to our large catalog project. Was hoping to move our team over to CS Live, but currently the commenting tools are sub-par, and not accurate enough for extensive text editing. My request would be to imitate the text editing functionality of Acrobat:
    In CS Live online:
    - allow users to be able to copy selected text. (This is useful when a reviewer wants to be able to modify a sentence or paragraph. It's a headache now to have to retype the sentence prior to making modifications)
    - Ability to highlight text and hit "delete" to mark text as deleted, or highlight and type over to indicate replaced text
    - Ability to click to insert text, and have the comment appear with the inserted text designation (little blue carat like in Acrobat)
    - ability to highlight a section of text
    In InDesign:
    - ability to copy the text in a comment and NOT copy all the other extraneous meta data. (Currently, if you click "copy text", it will copy the comment along with all the details about the comment. For example, "- Amy Stewart [10.06.11 at 12:56 PM]"
    - ability to see in InDesign the EXACT part of the text that needs to be modified. Right now, the red box outlines the general area. The CS Review panel shows a tiny thumbnail with black highlight over the area of text that needs to be changed, but unfortunately, there's no way to zoom in on it, so you're stuck having to toggle between InDesign and the online review, where it's possible to zoom. (This diminishes the utility of the CS Review panel.)
    If you were able to incoroprate all the commenting functionality of Acrobat, I think you'll have a winner. But right now, we're going to have to stick with Acrobat as it's the only way to easily modify text.

    Sorry if I might be stating the obvious (but at least I was such a *dummy* once that I needed this explicitely):
    In order to move the sequence of images per drag&drop in grid view you need to
    Put the sort order in the bottom toolbar to "user order" (toggle visibility with letter T if not displayed)
    Grab an image from within its thumbnail, not from its border-cell.
    When you move around you see a vertical black thick line wandering in between images where you would be able to drop it
    Put the images first into a collection in case they should be spread across multiple folders.
    This is the reason why most often from a filter result you cannot re-arrange.
    Still sometimes it does not work as I want, but can *be persuaded*, i.e. I repeat the same trial after first moving to another collection, then return back. I can't nail it down sufficiently to file a bug.
    For an automated sorting according to filename (chosse that setting finally in toolbar) you could rename the photos in place, without exporting & re-importing. Just select them and hit <F2> to bring up the renaming dialog like possible during import.
    +1 vote from me, as I am neither satisfied with the responsiveness of moving folders within LR e.g. from laptop hard disk to NAS.
    Apart from that I try not to build much on my folder structure, just break them into manageable quantities and have a quick "diary-overview" by using naming convention "YYYY-MM-DD description of event" (pictures of up to 4 cameras go inside, unique filenames for Canons achieved by renaming during import). For all the rest I prefer to build (smart) collections.

  • Call upon even better support for Unicode

    Hello
    Following some messages I have posted regarding problems I encountered while developing a non-English web application, I would like to call upon an even better support for Unicode. Before I describe my call, I want to say that I consider Berkeley DBXML a superb product. Superb. It lets us develop very clean and maintainable applications. Maintainability is, in my view, the keyword in good software development practices.
    In this message I would like to remind you that the US-ASCII 8-bit set of characters only represents 0.4% of all characters in the world. It is also true to say that most of our software comes from efforts of American developers, for which I am of course very grateful.
    But problems with non US-ASCII characters are very very time consuming to solve. To start with, our operating systems need to be configured especially for unicode, our servers too, our development tools too, our source code too and, finally, our data too. That's a lot of configuring, isn't it? Believe me, as a Flemish french-speaking, danish-speaking developer who develops currently a new application in Portuguese, I know what I am talking about.
    Have you ever tried to write a Java class called Ação.java, that loads an xml instance called Ação.xml that contains something like <?xml version="1.0" charset="utf-8"?></ação variável="descrição"/>? It takes at least the double of time to have all this work right in a web application on a Linux server than it would take to write a Acao.java that loads Acao.xml containing <?xml version="1.0" charset="us-ascii"?></acao variavel="descricao"/> (which is clearly something we do not want in Portugal).
    I have experienced a problem while using the dbxml shell to load documents that have utf-8 encoded names. See difficulties retrieving documents with non ascii characters in name The work around is not to use the dbxml shell, with which I am of course not very happy.
    So, while trying not to be arrogant and while trying to express my very very great appreciation for this great product, I call upon even better support for Unicode. After all, when the rest of us, that use another 65279 characters in our software, will be able to use this great product without problems, will it not contribute to the success of Berkeley DBXML?
    Thank you
    Koen
    Edited by: koenheene on 29/Out/2009 3:09

    Hello John and thank you for replying,
    You are completely correct that it is a shell problem. I investigated and found solutions for running dbxml in a Linux shell. On Windows, as one could expect, no solution so far.
    Here is an overview of my investigation, which I hope will be useful for other developers which also presist writing code and xml in their language.
    difficulties retrieving documents with non ascii characters in name
    I was wondering though if it would not be possible to write the dbxml shell in such a way that it becomes independent from the encoding of the shell. Surely their must be, not? Rewrite dbxml in Java? Any candidates :-) ?
    Thanks again for the very good work,
    Koen

  • BIOS SUPPORT FOR NEW CPUS!!!!

      hello
    new post , i just got this board (6547 v1.0) board with a celeron 1.7 (clocked at 125mhz ) 2.14ghz and is total stable.
    v1.8 bios support up to a 1.8 cel, are they going to make a update to support a 2hz cel, OR  have they droped support for it.
    and where can you get beta bios for this and other board (msi-development site).... ?(  ;(
    MAKE A VOTE (HOW OLD IS YOU BOARD AND HAVE THEY DROPED SUPPORT FOR NEW CPU,S FOR YOU BOARD-POST?

    assuming its a 645 ultra by the bios numberlink

  • Feature Request: iTunes support CD drive letters A&B

    Not sure how to submit this feature request to Apple for iTunes for Windows enhancement so I figured I would start at the forum.
    I know in the "dark ages" drive letters A&B where pretty much reserved for floppy drives. Not sure how many computers are actually still in use running Windows XP and up that still have one of those drives.
    Therefore, for some time now these two drive letters have gone unused. C: in general was the first HD letter, and CD-Roms (or now DVD/Blu-Ray) drives started somewhere with D: and above depending on your computer configuration.
    I changed my setup a while ago and named my two DVD drives A & B since Windows supports it just fine, as do a lot of other programs, with the exception of iTunes :-(. For some reason, iTunes will not support reading CDs from drives A or B, even if Windows autorun feature is enabled asking if it should import the CD into iTunes. Apple, what's up with that? Why actual restrict reading music from CD drives assigned letters A & B? Is this an old piece of code still lingering around in iTunes?
    So, simple feature request for an upcoming iTunes release, please enable reading/important CD music from drives labeled A&B so that we can start using these letters again as well.
    Anybody else want to support this simple request that should be fairly easy for Apple to implement?

    We're a user-to-user community, so there's no guarantee that an Apple person will see your request. But you can make enhancement requests directly to the Apple folks if you like. Here's a link to the iTunes product feedback form:
    http://www.apple.com/feedback/itunesapp.html

  • Support for new Nvidia Quadro gpu?

    When support for new Nvidia Quadro gpu? For example Nvida Quadro K2200 and K4200
    Thk

    What do you mean when you say "support"? All of After Effects OpenGL features already work on those cards.
    The only thing that isn't supported on those cards is GPU acceleration of the ray-traced 3D renderer, which is an obsolete and almost entirely irrelevant feature. No more GPUs will ever be added to the list of cards supported for that feature.
    Details:
    GPU (CUDA, OpenGL) features in After Effects

  • How to add support for new file type.

    Using the ESDK, I would like to add support for new file type ( a new extension). this new extension will function like any other non visual code editor but will have specific syntax highlighting, code folding and explorer.
    I am trying ot figure out if I need to create a new editor or use existing JDeveloper code editor and add support for new file type. Does anyone have a high level outline on how to do this using the ESDK that is specifically targeted at adding new file type support for a text based code editor?
    I have looked at the Samples and keep going in multipe directions. It would be cool if there was an example that was how add syntax higlighting for new file type.
    Thank you

    Brian, thank you. I looked at this extension and it answered a lot of questions for me. I was going in the right direction but needed a little help and bost of confidence, this is just what I needed. I created the LanguageSupport, LanguageModel, Addin, Node and TextDocument that are specific to the new file type. I was getting hung up on how to hook this into the JDevelpoer editor. I keep thinking I have to create a custom editor but it looks like I don't have to and it looks like I can associate this file support with the editor framwork, for version 10.1.3.2, with the following in the Addin Initilize() method.
    Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
    CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
    LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    I have done this but still not able to recognize the new file type.
    At this point, I just want to be able to recognize the new file and display it's associated icon or display a messare to the message log. I put a System.out.println("test") in the Initilize() method of my addin. then I registered MyAddin in the extension.xml. JDeveloper sees this new extension and it is loaded but I have not been able to show the test message or display the new icon when I open the new file type.
    extension.xml
    <?xml version="1.0" encoding="windows-1252" ?>
    <extension xmlns="http://jcp.org/jsr/198/extension-manifest"
               id="teisaacs.jdev.myext.MyAddin" version="1.0.0" esdk-version="1.0"
               rsbundle-class="teisaacs.jdev.myext.resources.MyResBundle">
        <name rskey="EXTENSION_NAME">My Code Editor</name>
        <owner rskey="EXTENSION_OWNER">Me</owner>
        <dependencies>
            <import version="10.1.3">oracle.jdeveloper</import>
        </dependencies>
        <hooks>
            <jdeveloper-hook>
                <addins>
                    <addin>teisaacs.jdev.myext.MyEditorAddin</addin>
                </addins>
            </jdeveloper-hook>
            <feature-hook>
                <description>My Code Editor</description>
                <optional>true</optional>
            </feature-hook>
            <document-hook>
                <documents>
                    <by-suffix document-class="teisaacs.jdev.myext.model.MySourceDocument">
                        <suffix>my</suffix>
                        <suffix>MY</suffix>
                    </by-suffix>
                </documents>
            </document-hook>
            <editor-hook>
                <editors>
                    <editor editor-class="teisaacs.jdev.myext.editor.MyEditor">
                        <name rskey="EXTENSION_NAME">My Editor</name>
                    </editor>
                    <mappings>
                        <mapping document-class='teisaacs.jdev.myext.model.MySourceDocument">         
                            <open-with editor-class="teisaacs.jdev.myrext.editor.MyEditor"
                                       preferred="true"/>
                            <open-with editor-class="javax.ide.editor.CodeEditor"/>
                        </mapping>
                    </mappings>
                </editors>
            </editor-hook>
        </hooks>
    </extension>
    public class MyAddin implements Addin {
        public static final String MY_EXTENSION = "my";
        public void initialize() {
            System.out.println("MyEditor Constructor");
            new MyLanguageModule();
            Recognizer.mapExtensionToClass(MY_EXTENSION, MyNode.class);
            CodeEditor.registerNodeType(MyNode.class, MY_EXTENSION);
            LanguageModule.registerModuleForFileType(new MyLanguageModule(), MY_EXTENSION);
    }I have added and removed the editor hook along with many other modificaitons to the extension.xml but still not recognizing the new file extension.
    Todd

  • Selective XML Index feature is not supported for the current database version , SQL Server Extended Events , Optimizing Reading from XML column datatype

    Team , Thanks for looking into this  ..
    As a last resort on  optimizing my stored procedure ( Below ) i wanted to create a Selective XML index  ( Normal XML indexes doesn't seem to be improving performance as needed ) but i keep getting this error within my stored proc . Selective XML
    Index feature is not supported for the current database version.. How ever
    EXECUTE sys.sp_db_selective_xml_index; return 1 , stating Selective XML Indexes are enabled on my current database .
    Is there ANY alternative way i can optimize below stored proc ?
    Thanks in advance for your response(s) !
    /****** Object: StoredProcedure [dbo].[MN_Process_DDLSchema_Changes] Script Date: 3/11/2015 3:10:42 PM ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    -- EXEC [dbo].[MN_Process_DDLSchema_Changes]
    ALTER PROCEDURE [dbo].[MN_Process_DDLSchema_Changes]
    AS
    BEGIN
    SET NOCOUNT ON --Does'nt have impact ( May be this wont on SQL Server Extended events session's being created on Server(s) , DB's )
    SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
    select getdate() as getdate_0
    DECLARE @XML XML , @Prev_Insertion_time DATETIME
    -- Staging Previous Load time for filtering purpose ( Performance optimize while on insert )
    SET @Prev_Insertion_time = (SELECT MAX(EE_Time_Stamp) FROM dbo.MN_DDLSchema_Changes_log ) -- Perf Optimize
    -- PRINT '1'
    CREATE TABLE #Temp
    EventName VARCHAR(100),
    Time_Stamp_EE DATETIME,
    ObjectName VARCHAR(100),
    ObjectType VARCHAR(100),
    DbName VARCHAR(100),
    ddl_Phase VARCHAR(50),
    ClientAppName VARCHAR(2000),
    ClientHostName VARCHAR(100),
    server_instance_name VARCHAR(100),
    ServerPrincipalName VARCHAR(100),
    nt_username varchar(100),
    SqlText NVARCHAR(MAX)
    CREATE TABLE #XML_Hold
    ID INT NOT NULL IDENTITY(1,1) PRIMARY KEY , -- PK necessity for Indexing on XML Col
    BufferXml XML
    select getdate() as getdate_01
    INSERT INTO #XML_Hold (BufferXml)
    SELECT
    CAST(target_data AS XML) AS BufferXml -- Buffer Storage from SQL Extended Event(s) , Looks like there is a limitation with xml size ?? Need to re-search .
    FROM sys.dm_xe_session_targets xet
    INNER JOIN sys.dm_xe_sessions xes
    ON xes.address = xet.event_session_address
    WHERE xes.name = 'Capture DDL Schema Changes' --Ryelugu : 03/05/2015 Session being created withing SQL Server Extended Events
    --RETURN
    --SELECT * FROM #XML_Hold
    select getdate() as getdate_1
    -- 03/10/2015 RYelugu : Error while creating XML Index : Selective XML Index feature is not supported for the current database version
    CREATE SELECTIVE XML INDEX SXI_TimeStamp ON #XML_Hold(BufferXml)
    FOR
    PathTimeStamp ='/RingBufferTarget/event/timestamp' AS XQUERY 'node()'
    --RETURN
    --CREATE PRIMARY XML INDEX [IX_XML_Hold] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index
    --SELECT GETDATE() AS GETDATE_2
    -- RYelugu 03/10/2015 -Creating secondary XML index doesnt make significant improvement at Query Optimizer , Instead creation takes more time , Only primary should be good here
    --CREATE XML INDEX [IX_XML_Hold_values] ON #XML_Hold(BufferXml) -- Ryelugu 03/09/2015 - Primary Index , --There should exists a Primary for a secondary creation
    --USING XML INDEX [IX_XML_Hold]
    ---- FOR VALUE
    -- --FOR PROPERTY
    -- FOR PATH
    --SELECT GETDATE() AS GETDATE_3
    --PRINT '2'
    -- RETURN
    SELECT GETDATE() GETDATE_3
    INSERT INTO #Temp
    EventName ,
    Time_Stamp_EE ,
    ObjectName ,
    ObjectType,
    DbName ,
    ddl_Phase ,
    ClientAppName ,
    ClientHostName,
    server_instance_name,
    nt_username,
    ServerPrincipalName ,
    SqlText
    SELECT
    p.q.value('@name[1]','varchar(100)') AS eventname,
    p.q.value('@timestamp[1]','datetime') AS timestampvalue,
    p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') AS objectname,
    p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') AS ObjectType,
    p.q.value('(./action[@name="database_name"]/value)[1]','varchar(100)') AS databasename,
    p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') AS ddl_phase,
    p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') AS clientappname,
    p.q.value('(./action[@name="client_hostname"]/value)[1]','varchar(100)') AS clienthostname,
    p.q.value('(./action[@name="server_instance_name"]/value)[1]','varchar(100)') AS server_instance_name,
    p.q.value('(./action[@name="nt_username"]/value)[1]','varchar(100)') AS nt_username,
    p.q.value('(./action[@name="server_principal_name"]/value)[1]','varchar(100)') AS serverprincipalname,
    p.q.value('(./action[@name="sql_text"]/value)[1]','Nvarchar(max)') AS sqltext
    FROM #XML_Hold
    CROSS APPLY BufferXml.nodes('/RingBufferTarget/event')p(q)
    WHERE -- Ryelugu 03/05/2015 - Perf Optimize - Filtering the Buffered XML so as not to lookup at previoulsy loaded records into stage table
    p.q.value('@timestamp[1]','datetime') >= ISNULL(@Prev_Insertion_time ,p.q.value('@timestamp[1]','datetime'))
    AND p.q.value('(./data[@name="ddl_phase"]/text)[1]','varchar(100)') ='Commit' --Ryelugu 03/06/2015 - Every Event records a begin version and a commit version into Buffer ( XML ) we need the committed version
    AND p.q.value('(./data[@name="object_type"]/text)[1]','varchar(100)') <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND p.q.value('(./data[@name="object_name"]/value)[1]','varchar(100)') NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND p.q.value('(./action[@name="client_app_name"]/value)[1]','varchar(100)') <> 'Replication Monitor' --Ryelugu : 03/09/2015 We do not want any records being caprutred by Replication Monitor ??
    SELECT GETDATE() GETDATE_4
    -- SELECT * FROM #TEMP
    -- SELECT COUNT(*) FROM #TEMP
    -- SELECT GETDATE()
    -- RETURN
    -- PRINT '3'
    --RETURN
    INSERT INTO [dbo].[MN_DDLSchema_Changes_log]
    [UserName]
    ,[DbName]
    ,[ObjectName]
    ,[client_app_name]
    ,[ClientHostName]
    ,[ServerName]
    ,[SQL_TEXT]
    ,[EE_Time_Stamp]
    ,[Event_Name]
    SELECT
    CASE WHEN T.nt_username IS NULL OR LEN(T.nt_username) = 0 THEN t.ServerPrincipalName
    ELSE T.nt_username
    END
    ,T.DbName
    ,T.objectname
    ,T.clientappname
    ,t.ClientHostName
    ,T.server_instance_name
    ,T.sqltext
    ,T.Time_Stamp_EE
    ,T.eventname
    FROM
    #TEMP T
    /** -- RYelugu 03/06/2015 - Filters are now being applied directly while retrieving records from BUFFER or on XML
    -- Ryelugu 03/15/2015 - More filters are likely to be added on further testing
    WHERE ddl_Phase ='Commit'
    AND ObjectType <> 'STATISTICS' --Ryelugu 03/06/2015 - May be SQL Server Internally Creates Statistics for #Temp tables , we do not want Creation of STATISTICS Statement to be logged
    AND ObjectName NOT LIKE '%#%' -- Any stored proc which creates a temp table within it Extended Event does capture this creation statement SQL as well , we dont need it though
    AND T.Time_Stamp_EE >= @Prev_Insertion_time --Ryelugu 03/05/2015 - Performance Optimize
    AND NOT EXISTS ( SELECT 1 FROM [dbo].[MN_DDLSchema_Changes_log] MN
    WHERE MN.[ServerName] = T.server_instance_name -- Ryelugu Server Name needes to be added on to to xml ( Events in session )
    AND MN.[DbName] = T.DbName
    AND MN.[Event_Name] = T.EventName
    AND MN.[ObjectName]= T.ObjectName
    AND MN.[EE_Time_Stamp] = T.Time_Stamp_EE
    AND MN.[SQL_TEXT] =T.SqlText -- Ryelugu 03/05/2015 This is a comparision Metric as well , But needs to decide on
    -- Peformance Factor here , Will take advise from Lance if comparision on varchar(max) is a vital idea
    --SELECT GETDATE()
    --PRINT '4'
    --RETURN
    SELECT
    top 100
    [EE_Time_Stamp]
    ,[ServerName]
    ,[DbName]
    ,[Event_Name]
    ,[ObjectName]
    ,[UserName]
    ,[SQL_TEXT]
    ,[client_app_name]
    ,[Created_Date]
    ,[ClientHostName]
    FROM
    [dbo].[MN_DDLSchema_Changes_log]
    ORDER BY [EE_Time_Stamp] desc
    -- select getdate()
    -- ** DELETE EVENTS after logging into Physical table
    -- NEED TO Identify if this @XML can be updated into physical system table such that previously loaded events are left untoched
    -- SET @XML.modify('delete /event/class/.[@timestamp="2015-03-06T13:01:19.020Z"]')
    -- SELECT @XML
    SELECT GETDATE() GETDATE_5
    END
    GO
    Rajkumar Yelugu

    @@Version : ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Microsoft SQL Server 2012 - 11.0.5058.0 (X64)
        May 14 2014 18:34:29
        Copyright (c) Microsoft Corporation
        Developer Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor)
    (1 row(s) affected)
    Compatibility level is set to 110 .
    One of the limitation states - XML columns with a depth of more than 128 nested nodes
    How do i verify this ? Thanks .
    Rajkumar Yelugu

  • Feature Request - Better Multiple Monitor Support

    Lightroom's support for a second display has definitely helped my  workflow. I hope the team will consider adding more flexible multiple  monitor support in version 4. Here's why.
    I've recently  experimented with running one of my three screens in portrait mode. When  this screen hosts Lightroom's secondary display window in Loupe view,  my verticals finally get equal real estate for editing. While I've not  done hard statistics on my library, I know more than 50% of my imagery  is in portrait orientation.
    I'd like to see LR V4 support three or more screens so I could set up as follow:
    Screen 1 - main lightroom interface, would not need to be calibrated, for controls and navigation
    Screen  2 - Portrait orientation, loupe view - this would be a calibrated  display, all develop changes to verticals would be judged on this screen
    Screen  3 - Landscape orientation, loupe view - another calibrated display, all  develop changes to horizontals would be judged on this screen
    If  Adobe could make the app intelligent enough to route the image to the  correct screen based on orientation (recognizing and respecting cropping  that could change orientation) my edit sessions would certainly speed  up and I could maximize the productivity of multiple screens.
    I'd  be happy with this, but I'm also stymied by the need to switch back to  Library mode to tag images when my primary workflow has me in develop.  Ultimately everything depends on the quality of the image. Before I  invest in image-specific meta data, I have to process or at least  "test-process" an image. IMO the Quick Develop panel is useless, once  you become accustomed to the granular control of the develop sliders, it  just doesn't cut it.
    In the three monitor setup I described  above I'd love to be able to configure screen 1, with a combination of  panels from Library and Develop, so I could stay "develop centric" with  immediate access to keywording and meta. The two additional screens  would intelligently handle image display.
    I think this might  speed my workflow by 33% and having just returned from a Tour de France  project that generated 23,000 images I need all the productivity help I can  get.

    VeloDramatic wrote:
    Thanks for all those votes Rob. Now we just need to get the other 999,999 on board.
    Actually, this topic has come up a lot on this forum. At this point, I think we just need to get Adobe on board.
    VeloDramatic wrote:
     There may be another thread for this one additional thought. If Adobe does improve multiple monitor support, we should be able to optimize our previews for those screens. Even after prerendering 1:1 previews there are issues with DEVELOP doing its own thing (I believe) each time a new image is loaded. I make extensive use of the PREVIOUS button moving through my shoots and there's always a lag of one or two seconds while the develop preview loads before the button is active. In a desktop environment where multiple screens allow landscape and portrait images to be displayed full screen I'd argue that 100% of the host screen resolution would be the ideal preview. Hope that made sense.
    Yes, faster switching would be nice. I'm not sure what that would take. As it stands, there's like "9" previews generated when you do 1:1s - 100% down to tiny thumbnails. Still, one at exact monitor size that does not need to be resized at all does seem like it would be the fastest - I'm a bit on a limb though at this point.
    Rob

  • Support for new features in App-V 5.0 SP3

    Is there or will there be an upgrade to SCCM 2012 R2 to support the new features in App-V 5.0 SP3?  Specifically connection group functionality changes.
    Thank you.

    As far as I am aware there's no support as yet. I'd assume the next release has this.
    Cheers Paul |

  • Enh. request: shortcuts support for button labels

    Hi Apex team,
    it would be nice to enhance shortcuts support for button labels in the next release. There are a lot of standard buttons like 'Cancel', 'Apply Changes', 'Delete', etc. that require translation for each page they appear in global applications.
    Thanks.

    Hi Arno,
    I had a similar issue with trying to create a Nav bar with dynamic content. My solution was to leave all the standard buttons in place and to use setVisible(x) to make them appear or not as required.
    BTW have you noticed that rollover behaviour isn't consistant ie works for FIRST/LAST etc but not for FIND/QUERY.
    Regards
    Andy

Maybe you are looking for

  • In Version 7.1.1. Why is there a delay playing songs in iTunes?

    I am an older working musician. This is my 1st iPad (Ver.7.1.1) which I bought specifically to play MP3 drum tracks in my trio. I purchased NextSong and Go Button and am trying to use an AirTurn bluetooth foot pedal to trigger some of the songs. Next

  • How do I activate Acrobat on a second PC?

    I have Acrobat XI Pro and it runs fine on my PC. I am trying to install it on a second PC, but I keep getting an error message saying that the computer is offline and cannot access the internet. Email and browsers are working. Coould this be a firewa

  • Dynamically updating data in a webpage ..... help/suggestions please?

    Hi All, I have a simple delimited text file of current weather observations (less than 20 items) updated every 15 minutes, which I display via an embedded  Flash animation.  I would like to do away with the Flash approach, and display the data in tab

  • I just logged in to my itunes and theres an app purchase that I didn't make? What do I do?

    Hi, got some itunes gift cards for my birthday. I still had like $24 left when I opened up my itunes today it showed that and then outta nowhere it said I only has $2 and change left. I didn't spend any of it. Check my email and there was apparently

  • Multiple drop down menus in a row

    I am trying to create a bid sheet for my interior design business. For example in my first column(A) i would like to have a drop down menu with Demo, Plumbing, Electric, etc.... and if i would select Pluming in that drop down menu, next to it in colu