Nested EL requirement

Hi ppl,
I have a managed/referenced bean declared in my faces-config file. Structure is like so:-
The " userProfile " bean contains a "menuMap" HashMap which in turn contains the "menuId" as a Key and a "menuDetail" Object as a value. Within the "menuDetail" object, i have a string/boolean value that i need to get hold of . Is it possible to get hold of this through EL within my faces-config file ?
Would something like #{  [b]( userProfile.menuMap['menuId'] ) . isAllowed}
work ?
Cheers
K

Hey Frank,
Im going ahead and giving it a test run , although a couple of doubts, i have the main bean which has a hashmap which in turn has some field values that i want to access ( isAllowed is a boolean value in my previous stated post) . Even if i were to resolve the menuMap object , would i have to declare another managed bean in the faces-config to identify the object that is held as a value in my HashMap, or would just setting this in the value class declaration of my HashMap suffice?
another query , i populate all these only once within a method called in my UserProfile at time of login. Should i independently declare these as managed beans , would their values actually get set ? ( i was under the impression that the managed-property tag is responsible for setting values on these ..)
thanks
K

Similar Messages

  • Nested Transaction required... workaround?

    We have a situation that would best be coded with a nested transaction. As J2EE does not support these, are there standard ways to work around this sort of problem? Our situation is:
    1. Get a msg from JMS
    2. Process the message- involves inserting data into multiple tables...
    - If successful- commit msg from queue; commit data.
    - If unsuccessful- move msg to error queue; rollback ALL table inserts.
    Our current proposed workaround involves around 4 sequential transactions, use of staging tables, etc. etc. I feel there ought to be a cleaner solution.
    Ideas most welcome...
    Gavin Griffith-Jones

    Hi Gavin,
    You can do the following:
    - If you are not using an EJB, then start a transaction using the Java Transaction API (JTA).
    - When obtaining a connection to the database for the inserts, use a transactional datasource.
    - Start the transaction within a try/catch block and perform the inserts sequentially. If an exception is thrown, rollback the transaction with the UserTransaction rollback method. This will rollback all the insertions.
    - If no exceptions were thrown, then call the tran.commit() method in the try/catch block.
    Since there is a lot to do, contain your code in different classes for a cleaner solution.
    Best of luck,
    Rich

  • Hi all, Got a doubt on Serialization..read on..quite interesting

    package package1;
    import java.io.*;
    public class Dog implements java.io.Serializable{
    transient private Collar theCollar; //Not serialiazable
    private int dogSize;
    public Dog(Collar collar,int size){
         theCollar=collar;
         dogSize=size;
    public Collar getCollar(){
         return theCollar;
    private void writeObject(ObjectOutputStream os){
         try{
              if(os!=null){
              os.defaultWriteObject();
              os.writeInt(theCollar.getCollarSize());
              else
                   System.out.println("null!!");
              os.flush();
              os.close();
         }catch(Exception e){
              e.printStackTrace();
    private void readObject(ObjectInputStream is){
         try{
              is.defaultReadObject();
              theCollar=new Collar(is.readInt());
              is.close();
         }catch(Exception e){
              e.printStackTrace();
    public static void main(String[] args){
         Collar c= new Collar(3);
         Dog d = new Dog(c,8);
         try{
         FileOutputStream fo = new FileOutputStream("test2341.ser");
         ObjectOutputStream oo = new ObjectOutputStream(fo);
         System.out.println(d.theCollar.getCollarSize());
         if(oo!=null){
         System.out.println("not null");
         d.writeObject(oo);
         else{
              System.out.println("stream is null!!!");
         oo.flush();
         oo.close();
         }catch(Exception e){
              e.printStackTrace();
    class Collar{
    private int collarSize;
    Collar(int size){
         collarSize=size;
    public int getCollarSize(){
         return collarSize;
    Ok..the following chunk of code compiles fine but during runtime throws a Java.IO.NotActiveException!!!
    Few points on this:
    1.Dog is serializable while collar is not(hence you see the transient spec in Dog class code for Collar reference)
    2.defaultWriteObject() is called inside writeObject() (Nested call requirement satisfied)
    3.ObjectOutputStream is not null(the if block(checks for not null)and executes in almost all methods)
    Then why am i getting NotActiveException ?? Any suggestions?

    the implementing the private read and write method is not wrong.You're two weeks late and you're wrong. Please read more carefully before your answer. Nobody said implementing private readObject() and writeObject() methods was wrong. Of course it isn't. It's defined in the Serialization Specification. How could it be wrong?
    What I said was that calling them yourself is wrong. You are supposed to call ObjectOutputStream.writeObject() and ObjectInputStream.readObject() from the outside. Inside, your writeObject method should call ObjectOutputStream.defaultWriteObject(), and your readObject method should call ObjectInputStream.defaultReadObject().
    using just the read and write is not sufficient to handle transient information that needs to be serializedOf course. But 'transient information that needs to be serialized' is really a contradiction in terms. If you're doing this you have a much bigger problem than just which methods to call when.

  • Bookmark Feature Needed

    When reviewing a document using bookmarks i m having issues with the following, when the actual bookmark needed is selected and the file (page) opens up the bookmark autmatically resets to the first bookmark. This is very cumbersome in that i have hundereds of bookmarks (many are nested) and requires that i remember which one i just selected. Is there any option and or plug-in that will allow the bookmark to remain (locked and/or highlighted) as well as displayed in the bookmark panel without needing to scroll down?

    I think the problem is the wording of your original post. You wrote: "when the actual bookmark needed is selected and the file (page) opens up..."
    Does the bookmark open a new file, or does it point to a page in the already opened file? If the former, then what you describe is normal behaviour.
    If the latter, then it's not.

  • Hum under TIFFs?

    I have a problem with the DVDs I'm burning. I exported PowerPoint slides to TIFFs to cut into my sequence. Everything looks and sounds fine in FCP. I then compress the sequence to MPEG-2 in Compressor and everything looks and sounds fine simulating the DVD in DVD Studio Pro.
    I then burn the DVD and when I'm playing it back through my DVD player there is a low hum whenever the slides come onto screen. If I pause the DVD player on a slide, the hum continues while it's paused. If I pause it over video there is no hum. What?????
    I don't understand this at all. Help is appreciated.
    Thanks you,
    Stef

    You'd probably be safe nesting and applying BSafe to the whole thing, but this will affect all additional shots.
    If you've got the time and inclination...placing on each clip would be best. Should be pretty quick and may take less render time (since you've likely already rendered the entire sequence already...the nest will require a full re-render.)
    Depending on how your timeline is set up, you should be able to 'search' for the offending PPt clips, or if they're on their own track, just hit the 't' key and click on that track (highlights all clips on that single track) and then drop the filter on them.
    K

  • "Nested and User Defined Exceptions" in Java...Theory and Code Required...?

    Can anyone provide theoretical information with example code for "Nested Exceptions" and "User Defined Exceptions"..? Or it would be equally good, if someone can provide links for further reading on the said topic.

    User Defined Exceptions are the same as exceptions in the JDK, but are defined by a "User"
    I suggest you look at the JDK for examples.
    A Nested Exception is an Exception with a different exception set as the cause.
    This pages covers more than you need to know with examples. [http://java.sun.com/javase/6/docs/api/java/lang/Throwable.html]

  • Warp stabilizer requires clip dimensions to match sequence ( fix by nesting) HOW

    I have a sequence with HDV files and MOV flles. when using warp stabilizer it  comes up with  ( clip dimensions to match sequence ) ( fix by nesting)   HOW

    After nesting the clip. Set the dimensions and frame rate of the nested clip to match the clip dimensions and frame rate. The nesting command can probably be found the sequence or clip menu.

  • Inability to added nested items or created nested test suites when pulling in requirements from TFS

    If you use the "Add Requirement" feature and pull in a requirement, there is no ability to create a test suite under that requirement. Also, you can't use the "Add Requirement" under the requirement you just brought in. It's useful
    to be able to pull in a user story that has agile tasks under and be able to pull those in the hierarchy they were created in in TFS. Anyone know a way around this?

    Hi,
    Yes, we can’t add a requirement or test suite to a requirement in the MTM.
    You may link the work item directly (e.g. link task to user story)
    You could submit this feedback to Microsoft Connect feedback portal:
    http://connect.microsoft.com, Microsoft engineers will evaluate them seriously. Thanks for your understanding. After you submit the feedback, you can post the link here which will be beneficial for other members with the similar issue.
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Require help on Array of Nested tables and Oracle Object type

    Hi All,
    I have a scenario where I have some millions of records received from a flat file and the record is stored in Table as below:
    Tablename: FILE_RECORD
    Rows:
    FILE_REG_ID = 1
    RECORD_NBR = 1     
    PROCESSED_IND = U
    RECORD= 00120130326006A
    FILE_REG_ID = 1
    RECORD_NBR = 2     
    PROCESSED_IND = U
    RECORD= 00120130326003
    1) I have to read these records at once and
    a) Split the RECORD column to get various other data Eg: Fld1=001, Fld2=20130326, Fld3 = 003
    b) send as an Array to Java.
    2) Java will format this into XML and sent to other application.
    3) The other application returns a response as Successful or Failure to Java in XML
    4) Java will send RECORD_NBR and the corresponding response as Success or Failure back to PLSQL
    5) PLSQL should match the RECORD_NBR and update the PROCESSED_IND = P.
    I 'm able to achieve this using SQL Table type by creating a TYPE for Each of the fields (Flds) however the problem is Java cannot Access the parameters as the TYPE are of COLUMN Types
    Eg: For RECORD_NBR
    SUBTYPE t_record_nbr IS FILE_RECORD.T010_RECORD_NBR%TYPE;
    Can you please let me know how I can achieve this to support Java, I know one way that is by creating an OBJECT TYPE and a TABLE of the OBJECT TYPE.
    Eg: T_FILE_RECORD_REC IS OBJECT
    FILE_REG_ID number(8), RECORD_NBR number (10), PROCESSED_IND varchar2(1), RECORD varchar(20)
    Create type T_FILE_RECORD_TAB IS TABLE OF T_FILE_RECORD_REC
    However I'm facing a problem to populate an Array of records, I know I'm missing something important. Hence please help.
    It would be helpful to provide some guidelines and suggestions or Pseudo or a Code to achieve this. Rest all I can take up further.
    Thanks in advance,

    I know once way that is creating a OBJECT TYPE and a TABLE of OBJECT TYPE, howeve I feel I'm missing something to achieve this.You're right, you need SQL object types created at the database level. Java doesn't know about locally defined PL/SQL types
    However you can do without all this by creating the XML directly in PL/SQL (steps 1+2) and passing the document to Java as XMLType or CLOB.
    Are you processing the records one at a time?

  • Build XML for Custom Nested Accordian (like Tree View Structure) for SharePoint List Data

    Expected output in Xml:
    <?xml version="1.0" encoding="utf-8" ?>
    - <TopRoot>
    - <Root id="1" Name="Department">
    - <Type id="2" Name="IT">
    - <SubType id="3" Name="Technology">
      <SubSubType id="4" Name="Sharepoint" />
      <SubSubType id="5" Name="ASP.NET" />
      <SubSubType id="6" Name="HTML 5" />
      </SubType>
      </Type>
    </Root>
    </TopRoot>
    List Details:
    list details for storing category / sub category data and code to build tree structure for the same.
    1.Create Custom List named “CategoryDetails”:
    2.Create Column “Category Name” of type single line of text. Make it as required field and check Yes for Enforce Unique values.
    3.Create column “Parent Category” of type lookup. under Additional Column Settings.
    Get information dropdown, select “CategoryDetails”.
    4.Choice column ["SRTypeName"] 1.Root,2.SRTYPE,3.SubSRTYPE, 4.SUBSUBSRTYPE
    In this column dropdown, select “Category Name”:  
    Referance:
    http://www.codeproject.com/Tips/627580/Build-Tree-View-Structure-for-SharePoint-List-Data    -fine but don't want tree view just generate xml string
    i just follwed above link it work perferfectly fine for building tree view but i don't want server control.
    Expected Result:
    My ultimate goal is to generate xml string like above format without building tree view.
    I want to generate xml using web service and using xml i could convert into nested Tree View Accordian in html.
    I developed some code but its not working to generate xml /string.
    My modified Code:
    public const string DYNAMIC_CAML_QUERY =
            "<Where><IsNull><FieldRef Name='{0}' /></IsNull></Where>";
            public const string DYNAMIC_CAML_QUERY_GET_CHILD_NODE =
            "<Where><Eq><FieldRef Name='{0}' /><Value Type='LookupMulti'>{1}</Value></Eq></Where>";
            protected void Page_Load(object sender, EventArgs e)
                if (!Page.IsPostBack)
                 string TreeViewStr= BuildTree();
                 Literal1.Text = TreeViewStr;
            StringBuilder sbRoot= new StringBuilder();
            protected string BuildTree()
                SPList TasksList;
                SPQuery objSPQuery;
                StringBuilder Query = new StringBuilder();
                SPListItemCollection objItems;
                string DisplayColumn = string.Empty;
                string Title = string.Empty;
                string[] valueArray = null;
                try
                    using (SPSite site = new SPSite(SPContext.Current.Web.Url))
                        using (SPWeb web = site.OpenWeb())
                            TasksList = SPContext.Current.Web.Lists["Service"];
                            if (TasksList != null)
                                objSPQuery = new SPQuery();
                                Query.Append(String.Format(DYNAMIC_CAML_QUERY, "Parent_x0020_Service_x0020_Id"));
                                objSPQuery.Query = Query.ToString();
                                objItems = TasksList.GetItems(objSPQuery);
                                if (objItems != null && objItems.Count > 0)
                                    foreach (SPListItem objItem in objItems)
                                        DisplayColumn = Convert.ToString(objItem["Title"]);
                                        Title = Convert.ToString(objItem["Title"]);
                                        int rootId=objItem["ID"].ToString();
                                        sbRoot.Append("<Root id="+rootId+"
    Name="+Title+">");
                                        string SRAndSUBSRTpe = CreateTree(Title, valueArray,
    null, DisplayColumn, objItem["ID"].ToString());
                                        sbRoot.Append(SRAndSUBSRTpe);
                                        SRType.Clear();//make SRType Empty
                                        strhtml.Clear();
                                    SRType.Append("</Root>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
             StringBuilder strhtml = new StringBuilder();
            private string CreateTree(string RootNode, string[] valueArray,
          List<SPListItem> objNodeCollection, string DisplayValue, string KeyValue)
                try
                    strhtml.Appends(GetSRType(KeyValue, valueArray, objNodeCollection);
                catch (Exception ex)
                    throw ex;
                return strhtml;
            StringBuilder SRType = new StringBuilder();
            private string GetSRType(string RootNode,
            string[] valueArray, List<SPListItem> objListItemColn)
                SPQuery objSPQuery;
                SPListItemCollection objItems = null;
                List<SPListItem> objNodeListItems = new List<SPListItem>();
                objSPQuery = new SPQuery();
                string objNodeTitle = string.Empty;
                string objLookupColumn = string.Empty;
                StringBuilder Query = new StringBuilder();
                SPList objTaskList;
                SPField spField;
                string objKeyColumn;
                string SrTypeCategory;
                try
                    objTaskList = SPContext.Current.Web.Lists["Service"];
                    objLookupColumn = "Parent_x0020_Service_x0020_Id";//objTreeViewControlField.ParentLookup;
                    Query.Append(String.Format
                    (DYNAMIC_CAML_QUERY_GET_CHILD_NODE, objLookupColumn, RootNode));
                    objSPQuery.Query = Query.ToString();
                    objItems = objTaskList.GetItems(objSPQuery);
                    foreach (SPListItem objItem in objItems)
                        objNodeListItems.Add(objItem);
                    if (objNodeListItems != null && objNodeListItems.Count > 0)
                        foreach (SPListItem objItem in objNodeListItems)
                            RootNode = Convert.ToString(objItem["Title"]);
                            objKeyColumn = Convert.ToString(objItem["ID"]);
                            objNodeTitle = Convert.ToString(objItem["Title"]);
                            SrTypeCategory= Convert.ToString(objItem["SRTypeName"]);
                           if(SrTypeCategory =="SRtYpe")
                              SRType.Append("<Type  id="+objKeyColumn+" Name="+RootNode+ ">");
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SRSubTYpe")
                              SRType.Append("<SRSubType  id="+objKeyColumn+" Name="+RootNode+
    ">");  
                             if (!String.IsNullOrEmpty(objNodeTitle))
                              SRType.Append(GetSRType(objKeyColumn, valueArray, objListItemColn));
                          if(SrTypeCategory =="SubSubTYpe")
                              SRType.Append("<SubSubType  id="+objKeyColumn+" Name="+RootNode +"
    ></SubSubType");  
                        SRType.Append("</SubType>");
                        SRType.Append("</Type>");
                catch (Exception ex)
                    throw ex;
                return SRType.ToString();
                // Call method again (recursion) to get the child items

    Hi,
    According to your post, my understanding is that you want to custom action for context menu in "Site Content and Structure" in SharePoint 2010.
    In "SiteManager.aspx", SharePoint use MenuItemTemplate class which represent a control that creates an item in a drop-down menu.
    For example, to create or delete the ECB menu for a list item in
    "Site Content and Structure", we can follow the steps below:
    To add the “My Like” menu, we can add the code below:      
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemLike"
    runat="server"
    Text="My Like"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickNavigateUrl="https://www.google.com.hk/"
    />
    To remove the “Delete” menu, we can comment the code below:
    <SharePoint:MenuItemTemplate
    UseShortId=false
    id="OLListItemDelete"
    runat="server"
    Text="<%$Resources:cms,SmtDelete%>"
    ImageUrl="/_layouts/images/DelItem.gif"
    ClientOnClickScript="%SmtObjectDeleteScript%"
    />            
    The result is as below:
    More information:
    MenuItemTemplate Class (Microsoft.SharePoint.WebControls)
    MenuItemTemplate.ClientOnClickScript property (Microsoft.SharePoint.WebControls)
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Nested IF statement in outline

    We're using 6.2 and I've built a formula into my outline. I have used IF statements before in the outline with no problem. But I'm now trying to use a nested IF statement. Is it possible? Has anyone had any success? I keep getting "unknown calculation type [0} during the dynamic calculation.     if(@ISCHILD ("MERCH DEPTS") and a40000>0);               "hrs - required"=a40000/"sales/hr";          else          if(d0044);               "hrs - required"=25;          else               "hrs - required"=50;                                   endif;                    endif;          TIARod

    I'm not sure if I completely understand what you are doing but I saw a few errors in you is statement. On your else if, you can make elseif but you don't have any function on the member name. I guesed that you need @ismbr, but it could be @isdesc or @ischild???. Take a look at the corrected calc script below. It might help youRegardsif(@ISCHILD ("MERCH DEPTS") and a40000>0);     "hrs - required"=a40000/"sales/hr"; elseif (@ismbr(d0044))     "hrs - required"=25; else           "hrs - required"=50; endif; Glenn S.Narratus Solutions Inc. [email protected]

  • Urgent HELP required on forming the Matrix of data using PL/SQL

    Hi All,
    I'm new to this thread and require your urgent help in this regard.
    I've got a requirement for building a 5000 X 5000 matrix using PL/SQL. My original data tables have 5000 rows each and I need to do a correlation analysis using this data and need to store in a physical table and not in-memory. Is this feat achievable using mere PL/SQL? I understand that Oracle DB has a limitation of 1000 columns(but not sure) and hence I'd like to know whether there is any work-around for such scenarios. If not, what are the other alternative method(s) to achieve this feat? Do I need to use any 3rd party tools to get this done? An early reply from the experts is highly appreciated.
    Thanking you all Gurus in advance.
    Rgds
    Sai

    Welcome to OTN!
    I'll get to your quesiton in a moment, but first some welcome information. Many OTN posters consider it impolite to mark threads as "urgent". We are volunteers and have jobs of our own to do without people we don't know making demands. You are brand new and deserve some patience but please understand this. It is very likely before I finish this post someone will complain about the word "urgent" in your subject.
    On to more interesting things :)
    You can do the matrix, but are out of luck with a 5000 x 5000 table because Oracle only allows 1000 columns per table. There are ways to work around this.
    How do do the matrix depends on what you want to do. You can do this different ways. You can create a table beforehand and use PL/SQL or simple SQL to populate it, or use the CREATE TABLE AS syntax to create and populate it in one step if you can get the underlying SQL to work the way you want, something like
    create table my_table as
      select a.*, b.*
        from table1 a, table2 bcan populate a matrix from 2 tables with an intentional cartesian join (the WHERE clause was left out intentionally, provided your data is already in the data base.
    If not you can use a PL/SQL routine to populate the data.
    There are a couple of ways to solve the 1000 column limit. The easiest way might be to have 5 collections of 1000 columns each. A more complicated but more elegant soltion would be to have nested collections, allowing 2 colliections that you can loop through - a collection of collections. Nested collections can be hard to work with. A third way would be to use nested tables in the database but I personally do not like them and the insert, update, and delete statements for nested tables are hard to use.
    I'm not going to give a code example because I am not sure which solution is best for you. If you have further questions post them.

  • How do I get an actor to wait for its nested actors to stop running before stopping itself?

    I'm developing a series of projects that are based on the Actor Framework and my actor dependency hierarchy is starting to get some depth. One of the issues I'm facing now is making sure that each actor will only stop running (and signal this via a Last Ack to a higher-level actor or via a notification to non-AF code that launches it) once all of its nested actors have stopped running.
    For instance, say I have a type of actor that handles communication with a microcontroller over USB - a USB Controller Actor. I might want to have an application-specific actor that launches USB Controller Actor to issue commands to the microcontroller. When shutting down, I want this top-level actor to send a Stop Msg to USB Controller Actor and then wait to receive a Last Ack back before sending a notification within a provided notifier to the non-AF application code, which can then finish shutting down completely.
    I'm sure that having actors wait for all nested actors to shutdown before shutting down themselves is an extremely common requirement and I'm confident National Instruments have made it possible to handle that in a simple, elegant manner. I'm just struggling to figure out what that is.
    The approaches I've experimented with are:
    Creating a pseudo "Stop" message for an actor that won't actually stop it running straight away, but instruct it to stop all nested actors, wait for their Last Acks and then shut itself down by sending Stop Msg to itself. This isn't elegant because it means the client will be forced to fire off these pseudo stop messages instead of Stop Msg to certain actors.
    Instantiating an internally-used notifier and overriding Stop Core.vi and Handle Last Ack Core.vi. The idea is that within Stop Core.vi, I send Stop Msg to each of the nested actors and then make it wait indefinitely on the internal notifier. Within Handle Last Ack Core.vi, I make it send a notification using this notifier which allows Stop Core.vi to continue and perform deinitialisation for the top-level actor itself. Figures 1 & 2 below show this approach. I wasn't confident that this would work since it assumed that it was possible for Stop Core.vi to execute and then Handle Last Ack Core.vi to concurrently execute some time after. These assumptions didn't hold and it didn't work. It would have been messy even if it had.
    Overriding Stop Core.vi, making it send Stop Msg to each nested actor and then waiting for an arbitrarily long period of time (100ms, 200ms, etc.). What if a nested actor takes only 10ms to shut down? What if takes 400ms?
    The figures below show how I implemented the second approach. Ignore the broken object wires - they only appear that way in the snippets.
    Figure 1 - Stop Core.vi from the second approach
    Figure 2 - Handle Last Ack Core.vi from the second approach

    tst wrote:
    It wasn't that hard to find - https://decibel.ni.com/content/thread/27138?tstart=0
    But with dozens of posts, I have no intention of rereading it now.
    Also, when crossposting, it's considered polite to add a link, so that people can see if the other thread has relevant replies.
    Thanks. I've only read the first page for now but I find this interesting (I'm not sure how to format non-reply quotes, sorry):
     "AristosQueue wrote:
    CaseyLamers1 wrote:
    I think that this would be a nice addition. I think how a program stops is just as important as how it starts.
    I think everyone who has worked on AF design agrees with this. Indeed, managing "Stop" was *the* thing that lead to the creation of the Actor Framework in the first place. The other issues (deadlock/hang avoidance and resource management) were secondary to just trying to get a clean shutdown.
    CaseyLamers1 wrote:
    I find the current code a bit lacking.
    My concern would be that the mixing of a verified stop and a regular stop could create confusion and lead to people having trouble during editting and testing with the project ending up locked (due to VIs left running which did not shutting down).
    Your concern is to some degree why no verified Stop exists in the AF already. We looked at each actor as an independent entity, and left it open to the programmer to add an additional managment layer for those applications that needed it. But over time, I have seen that particular management layer come up more often, which is why I am exploring the option."
    So that gives one of the reasons why this hasn't already been implemented but also points out that it's something quite a lot of people want.
    > Also, when crossposting, it's considered polite to add a link, so that people can see if the other thread has relevant replies.
    Noted. Here's the discussion: https://decibel.ni.com/content/message/104983#104983
    Edit: since there doesn't seem to be any NI-provided way of doing this yet, I suppose I'll try rolling my own at some point. The ideas posted in the discussion you linked seem pretty useful.

  • Performance with Nested Views

    Hello everyone, we are having a performance problem with oracle optimizing nested views. Some with outer joins. One of the guys just sent me the following statement and I'm wondering if anyone can tell me if it sounds correct. The query is about 300 lines long so I won't post it here, but hopefully someone can still help with sheding some light on the statement below.
    When Oracle executes a view it optimizes the query plan only for the columns of the view which are used and eliminates unnecessary joins, function calls, etc.. In this case the join is a LEFT OUTER i.e. optional and since the columns are not used I would hope Oracle would eliminate this from the plan but… it didn’t.
    Thanks for any help,
    Michael Cunningham

    Depending on the version of Oracle (this was introduced in 10.2), it is possible that Oracle can eliminate a join. The Oracle Optimizer group has a nice blog post that discusses the requirements for join elimination to happen. Basically, Oracle has to be sure that the additional columns aren't being used but also that the join does not change the number of rows that might be returned.
    Justin

  • Power view in SharePoint - Required fields not working!!!

    Hi,
    We have SharePoint 2013 and SQL Server 2014 and SSRS in SharePoint integrated mode.
    We have a "Microsoft BI Semantic Model for Power View"-data connection in a document library and by clicking it users can create their own Power View reports.
    We have in the document library defined a couple of columns as required.
    When a user saves their Power View report(File->Save as) to the document library, the required fields are left blank. They are not checked!!!
    WHY?
    Does Power View use REST when saving to the document library?
    This question should be in SQL Server/Power View/SharePoint -forumns, but MSDN forces you to select only one.
    How can we enforce the checking of required columns???

    It might be the result of nested script tags.
    <script type="text/javascript">
    <!--
    <!--
    Remote one of those opening tags and remove the closing tag in between the scripts.
    Also, I'm not sure if you are aware, but your site looks completely broken in Firefox. Edges are ragged and the text runs off the page in places. This is the result of using a graphics program to create your html. Image ready slices are fine for prototyping, but not suitable for production work because they create code that is fragile and too rigid.
    I also would not use the Flash header you have used just to display imges. I suggest using a more accessible method.

Maybe you are looking for

  • I cannot open PDF files on a tractor repair manual CD.  Do I need a program to be able to open the files?

    First I am not very tech savvy so bear with me.  I have a service repair manual for my New Holland tractor that is on a CD.  When I go to open the PDF files on the CD I get the following error message: "acrobat could not open "FILE NAME"  because it

  • Bit of a strange question regarding security and internet connection

    This is a bit of an odd question so bear with me for a moment. I sold my old G4 to someone I didn't know yesterday. While he was looking at it to make sure it was working I allowed him to plug my ethernet cable in (connected to both a netgear router

  • Exception handling PI - C# Service

    Hi all, I have the following scenario Scenario: Client                Middleware          Webservice ERP system -->       XI              --> C# webservice Everything works fine. But now I have one problem. In the C# webservice there are different ex

  • Satellite U200: I am not able to burn DVDs

    I have a problem with the burner of DVD : Since I formated (and then reinstall with recover CD that was with computer at beggining), I am not able to burn DVDs ! How can I do to recover that !! And also, that's weird, instead of showing one DVD playe

  • Copy w/ command - c on MacOS

    In the results window, attempting to copy multiple cells/rows with command - c results in a copy of the most recently highlighted cell. Is this expected behavior? It seems if you have a cell highlighted, just pressing command will make that cell acti