Filter Tree-view display source xml

I have a treeview that displays an xml structure.
I converted the xml to an XMLListCollection, and ran a filter
but this only filters the parent node, I need to filter children
from the treeview display.
I can make a new xml from the original only containing the
data I need, however I need the xml data information for another
display window when selected. I just don't want it as a tree node.
any ideas
Thanks

"flashharry!" <[email protected]> wrote in
message
news:gbrt5l$rf$[email protected]..
> Thinks for the input, I understand to make a copy of the
xml, the filter
> function does not work as it only looks at the parents
of the xml and not
> the
> children.
>
> Here's my issue, I want display in my treeview, 3 levels
parent-children
> of
> xml. There are 4th and 5th levels of the xml. I don't
want them to appear
> in
> the treeview, however when a user selects one of the
parent nodes in the
> tree,
> I need to get the details from the 4th and 5th level.
>
> If I make copy of the xml, that grabs everything except
the 4th and 5th
> level
> of the xml, when a user select one of the nodes, how do
I get the data
> that was
> in level 4 and 5.
>
> I hope that makes sense.
I think you can create your own data definition for a tree

Similar Messages

  • How to filter data from a source XML? Please help!

    Hi Experts,
       I have a source XML as shown below:
        <Inventory>
         <InventoryItem>
           <ItemCode>InTransit</ItemCode>
           <Quantity>1000</Quantity>
         </InventoryItem>
         <InventoryItem>
           <ItemCode>Available</ItemCode>
           <Quantity>1500</Quantity>
         </InventoryItem>
         <InventoryItem>
           <ItemCode>Restricted</ItemCode>
           <Quantity>2500</Quantity>
         </InventoryItem>
        </Inventory>
    My Target XML is as below
        <Inventory>
          <stock>1500</stock>
        </Inventory>
    The stock element contains Quantity value where ItemCode is 'Available'.
    But note that there are 3 InventoryItem nodes.
    So how to get the desired target XML in XI mapping? Basically I have to filter data from source XML based on value of an element. What is the best approach to handle this?
    Kindly help
    Thanks
    Gopal

    Hi venkat,
              Your solution does'nt work fine. But why are you using collapsecontext and splitbyvalue before putting the value into stock element?
               Kindly explain your concept.
    My target message is:
    <?xml version="1.0" encoding="UTF-8"?>
    <Inventory>
       <InventoryItem>
          <ItemCode>InTransit</ItemCode>
          <Quantity>1500</Quantity>
       </InventoryItem>
       <InventoryItem>
          <ItemCode>Available</ItemCode>
          <Quantity>1000</Quantity>
       </InventoryItem>
       <InventoryItem>
          <ItemCode>UnRestricted</ItemCode>
          <Quantity>2000</Quantity>
       </InventoryItem>
       <InventoryItem>
          <ItemCode>Available</ItemCode>
          <Quantity>2500</Quantity>
       </InventoryItem>
    </Inventory>
    I am getting the output even though stock is unbounded and I have used collapsecontext and splitbyvalue as:
    <InvStock>
      <Stock>1000</Stock>
    </InvStock>
    I should get:
    <InvStock>
      <Stock>1000</Stock>
      <Stock>2500</Stock>
    </InvStock>
    Thanks
    Gopal
    Message was edited by:
            gopalkrishna baliga

  • Tree view display along with icons

    Hi all
           Anybody please give me the complete code to display the tree view which takes input from selection screen.I also need to display icons in the tree view.please help its urgent.
    Thank you.
    Regards
    Giri

    Hi giri ,
      Chk this program SAPSIMPLE_TREE_CONTROL_DEMO
      Displaying icon in tree view

  • Tree view display with ztable data

    Hello...
    I have seen this post.................
    Tree View
    My requirement is to create a Tree view .... looked around a lot but no detailed explanation to this topic. along  with this forums detials i looked into the standard BSP Component CRM_THTMLB_COMP for tree view help. I am new to MVC so lost at some point.
    Accordingy to this explanation i was able to achive the tree structure in the value node...
    But how to display data in tree? what codes need to be put in the get ...set methods..
    Actually i created  a table view and the value node is refereing to my ztable....so all the get and set methods are in this impl class. and the new impl class to tree structure does not have these methods...should i create all of them again ...or can i refer to the value node impl class get and set methods.....what code needs to be called in the get and set methods.
    if anyone can give me some help on this............
    Jaya.

    this wiki will help you.
    http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebUI--DynamictabletypeContext+nodes
    Regards,
    Harshit

  • 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

  • Need to create tree-view page.

    I'm trying to create a tree-view display using Oracle JDeveloper 10g Release 3, ADF and JSF.
    I need to show a tree (folder names) and on a click of the last level folder to show table with File names that are related to the selected folder.
    Data is stored in two tables:
    1. contains Folder names and hierarchy relations;
    2. contains File names.
    These tables related by folder ID.
    Using ADF Faces Component, I created a 3 level Tree that expends and collapses each level of Folder names but I don't know how to populate the View part (table with File names). Basically, I need to take an ID of the selected row in the Tree and pass it as a parameter to the View table query where clause.

    Since this is not a hibernate forum i suggest you ask your question about hibernate somewhere else.

  • Tree view in the Web UI

    Hi Experts,
    Can anyone of you give me the steps to create an TREE View in WebUI and also an standard component which has already implemented this logic.

    Take a look at the following blog: /people/poonam.assudani/blog/2009/06/24/create-a-tree-view-display-in-crm-web-ui
    There you will find out the necessary steps and the example of it.
    Hope this helps.

  • Facing problems while creating tree view

    Hi gurus,
    I am facing problems while crating the tree view can please explain me what are the basic requirements for creating tree view and explain me  which are the methods i need to redefine.
    any answer is appreciated.
    Regards,
    Chetan Agali

    Hi Chetan,
    Maybe Poonam Assudani weblog may help you a little more. Check it's location here:
    /people/poonam.assudani/blog/2009/06/24/create-a-tree-view-display-in-crm-web-ui
    Kind regards,
    Garcia

  • ENHANCEMENT:  Mark posts as Read in Tree View

    As suggested by Host Kady, we are now extracting Bugs and Enhancements from our consolidation threads, and re-posting them individually.
    Reported by Da Gopha:
    When using Tree View, it is not possible to mark all posts in a thread as having been read.
    Whilst Thread View and Flat View automatically display all messages and assume that you have read everything when you leave, Tree View does not have this ability.
    It would be useful to have a button to say "mark all messages as Read" in the Tree View display.
    Kind regards,
    Gopha

    JDee,
    Good suggestion. We have put it on the tracker.
    Thank you,
    Mark W.
    Apple Discussions

  • How to display an xml file contents in jsp as tree view

    hi,
    Iam trying to read an xml file and display the structure in jsp as tree view, can any one help me

    Use a [XML or DOM parser|http://java-source.net/open-source/xml-parsers] to read a XML file into a tree structure of Java objects.
    Use the [Collections API|http://java.sun.com/docs/books/tutorial/collections/index.html] to get hold of the relevant elements in a tree structure.
    Use JSTL´s [c:forEach|http://java.sun.com/javaee/5/docs/tutorial/doc/bnakh.html] tag to iterate over a Collection in JSP.
    Use HTML´s [<ul>/<li>|http://www.w3.org/TR/REC-html40/struct/lists.html#h-10.2] or [<dl>/<dt>/<dd>|http://www.w3.org/TR/REC-html40/struct/lists.html#h-10.3] tags to represent a tree in HTML.

  • Unable to display tree view; Error when parsing an XML document (Premature end of file.)

    Hi folks,
    I am using a cascaded mapping in my OM. I have a graphical mapping followed by the Java mapping. It is a flat file to IDOC mapping. Everything works fine in Dev but when I transport the same objects to QA, the Operation mapping though it doesn't fail in ESR testing tool, gives the following message and there is no output generated for the same payload which is successfully tested in DEV. Please advise on what could be the possible reasons.
    Unable to display tree view; Error when parsing an XML document (Premature end of file.)

    kalyan,
    There seems to be an invalid xml payload which causes this error in ESR not generating the tree view. Please find the similar error screenshot and rectify the payload.
    Mutti

  • Tree view not displaying labels

    Hi,
    I am trying to use the Tree component, the tree view part is
    fine I can click on a folder and it expands click on the icon and
    it runs the preloader (component) and displays to pic fine. What it
    doesn’t do is display the text next to the folder or icon it
    is just blank. I have even tried copying the gallery_tree.fla (from
    \Flash 8\Samples and Tutorials\Samples\ActionScript\Galleries) and
    putting it in to my project with the same problem. So below are the
    xml file and the action script.
    Any help is appreciated
    BP
    Note: I am trying to use this in _root.blank_mc.menu3 (which
    is a movie clip)
    XML file
    <?xml version="1.0"?>
    <tree>
    <node label='Gallery 1'>
    <node label='DCP_0730' src="images/DCP_0730.jpg" />
    <node label='DCP_0731' src="images/DCP_0731.jpg" />
    <node label="DCP_0732" src="images/DCP_0732.jpg" />
    <node label="DCP_0733" src="images/DCP_0733.jpg" />
    <node label="DCP_0734" src="images/DCP_0734.jpg" />
    <node label="DCP_0735" src="images/DCP_0735.jpg" />
    <node label="DCP_0736" src="images/DCP_0736.jpg" />
    <node label="DCP_0737" src="images/DCP_0737.jpg" />
    <node label="DCP_0738" src="images/DCP_0738.jpg" />
    <node label="DCP_0739" src="images/DCP_0739.jpg" />
    <node label="DCP_0740" src="images/DCP_0740.jpg" />
    <node label="DCP_0741" src="images/DCP_0741.jpg" />
    <node label="DCP_0742" src="images/DCP_0742.jpg" />
    <node label="DCP_0743" src="images/DCP_0743.jpg" />
    <node label="DCP_0744" src="images/DCP_0744.jpg" />
    <node label="DCP_0745" src="images/DCP_0745.jpg" />
    <node label="DCP_0746" src="images/DCP_0746.jpg" />
    <node label="DCP_0747" src="images/DCP_0747.jpg" />
    </node>
    </tree>
    Action script

    anyone out there with any sugestions? the problem is in the
    action script because it works on the mail time line but not in
    _root.blank_mc.menu3 which is were I need it.
    Action script below
    var my_pb:mx.controls.ProgressBar;
    var my_ldr:mx.controls.Loader;
    var my_tree:mx.controls.Tree;
    my_pb._visible = false;
    my_pb.indeterminate = true;
    my_pb.setSize(160, 30);
    my_pb.source = my_ldr;
    my_pb.mode = "polled";
    var pbListener
    bject = new Object();
    pbListener.complete = function(evt
    bject) {
    evt.target._visible = false;
    my_pb.addEventListener("complete", pbListener);
    var treeDP_xml:XML = new XML();
    treeDP_xml.ignoreWhite = true;
    treeDP_xml.onLoad = function(success:Boolean) {
    if (success) {
    my_tree.dataProvider = this.firstChild;
    treeDP_xml.load("gallery_tree.xml");
    var treeListener
    bject = new Object();
    treeListener.change = function(evt
    bject) {
    var treeNode:XMLNode = evt.target.selectedItem;
    if (treeNode.attributes.src != undefined) {
    my_pb._visible = true;
    my_ldr.load(treeNode.attributes.src);
    my_tree.addEventListener("change",treeListener);
    stop();

  • JavaMapping in PI 7.1 Error:Unable to display tree view; Error when parsing

    hi,
    i get by testing in PI 7.1 (operation mapping) this ERROR:
    "Unable to display tree view; Error when parsing an XML document (Content is not allowed in prolog.)"
    this is my java-programm-code:
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import com.sap.aii.mapping.api.StreamTransformation;
    import java.io.*;
    import java.util.Map;
    import javax.xml.parsers.*;
    import org.xml.sax.*;
    import org.xml.sax.helpers.*;
    /*IMPORT statement imports the specified classes and its methods into the program */
    /Every Java mapping program must implement the interface StreamTransformation and its methods execute() and setParameter() and extend the class DefaultHandler./
    public class Mapping extends DefaultHandler implements StreamTransformation {
    Below is the declaration for all the variables we are going to use in the
    subsequent methods.
         private Map map;
         private OutputStream out;
         private boolean input1 = false;
         private boolean input2 = false;
         private int number1;
         private int number2;
         private int addvalue;
         private int mulvalue;
         private int subvalue;
         String lineEnd = System.getProperty("line.separator");
    setParamater() method is used to store the mapping object in the variable
    "map"
         public void setParameter(Map param) {
              map = param;
         public void execute(InputStream in, OutputStream out)
                   throws com.sap.aii.mapping.api.StreamTransformationException {
              DefaultHandler handler = this;
              SAXParserFactory factory = SAXParserFactory.newInstance();
              try {
                   SAXParser saxParser = factory.newSAXParser();
                   this.out = out;
                   saxParser.parse(in, handler);
              } catch (Throwable t) {
                   t.printStackTrace();
    As seen above execute() method has two parameters "in" of type
    InputStream and "out" of type OutputStream. First we get a new instance
    of SAXParserFactory and from this one we create a new Instance of
    SAXParser. To the Parse Method of SaxParser, we pass two parameters,
    inputstream "in" and the class variable "handler".
    Method "write" is a user defined method, which is used to write the
    string "s" to the outpurstream "out".
         private void write(String s) throws SAXException {
              try {
                   out.write(s.getBytes());
                   out.flush();
              } catch (IOException e) {
                   throw new SAXException("I/O error", e);
         public void startDocument() throws SAXException {
              write("");
              write(lineEnd);
              write("");
              write(lineEnd);
         public void endDocument() throws SAXException {
              write("");
              try {
                   out.flush();
              } catch (IOException e) {
                   throw new SAXException("I/O error", e);
         public void startElement(String namespaceURI, String sName, String qName,
                   Attributes attrs) throws SAXException {
              String eName = sName;
              if ("".equals(eName))
                   eName = qName;
              if (eName.equals("NUMBER1"))
                   input1 = true;
              if (eName.equals("NUMBER2"))
                   input2 = true;
         public void endElement(String namespaceURI, String sName, String qName)
                   throws SAXException {
              String eName = sName;
              if ("".equals(eName))
                   eName = qName;
              if (eName.equals("NUMBER1"))
                   input1 = false;
              if (eName.equals("NUMBER2"))
                   input2 = false;
         public void characters(char[] chars, int startIndex, int endIndex)
                   throws SAXException {
              String dataString = new String(chars, startIndex, endIndex).trim();
              if (input1) {
                   try {
                        number1 = Integer.parseInt(dataString);
                   } catch (NumberFormatException nfe) {
              if (input2) {
                   number2 = Integer.parseInt(dataString);
              if (input2 == true) {
                   addvalue = number1 + number2;
                   mulvalue = number1 * number2;
                   subvalue = number1 - number2;
                   write("" + addvalue + "");
                   write(lineEnd);
                   write("" + mulvalue + "");
                   write(lineEnd);
                   write("" + subvalue + "");
                   write(lineEnd);
    in developer studio 7.1 i dont get error.
    this happens by testing the mapping-programm in ESR.
    can somebody help me please?

    Make sure that the xml created out after the java mapping is a valid xml with only one root node.
    Regards,
    Prateek

  • Tree View Second level is not displaying bind parameter

    Studio Edition Version 11.1.2.2.0appears this problem is addressed in
    http://dailydevfixes.blogspot.com/2011/07/setting-bind-parameters-on-hierarchy-of.html
    unfortunately I must be missing something.
    as a test using the hr schema
    I was doing a tree view with hire date as the first level then the employee id, last name and first name as the second level.
    I hard coded employee id of 187 on a bean called by a button.
    the first level is updated unfortunately the second level is not (employee id 107 should not show up)
    --1999-02-07
    ----- 187 Cabrio Anthony
    ----- 107 Lorentz Dianahere is my bean the first level is updated but the second level is not not quite sure what I am missing
        public void ButtonClick(ActionEvent actionEvent) {
            BindingContext bindingctx = BindingContext.getCurrent();
            BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
            DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
            DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("ParentVO1Iterator");
            ViewObject Parentvo =dciter.getViewObject();
            Parentvo.setNamedWhereClauseParam("empid",187);
            Parentvo.executeQuery();
            AttributeDef attrDef = Parentvo.findAttributeDef("ChildVO");
            ViewObject childvo = attrDef.getAccessorVO(Parentvo);
            childvo.setNamedWhereClauseParam("empid",187);
            childvo.executeQuery();
            AdfFacesContext adfFCtx = AdfFacesContext.getCurrentInstance();
           adfFCtx.addPartialTarget(treeupdate);
        }here is the query for the parent view object.
    select trunc(hire_date) hire_dt
    from employees
    where :empid is null or employee_id = :empid
    group by trunc(hire_date)here is the query for the child view object
    select trunc(hire_date) hire_dt, employee_id, employee_id||' '||last_name||' '||first_name nm
    from employees
    where :empid is null or employee_id = :empid
    order by trunc(hire_date)here is the view link
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewLink SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewLink
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="ParentToChildViewLink"
      Version="11.1.2.61.83">
      <Properties>
        <SchemaBasedProperties>
          <LABEL
            ResId="model.view.link.ParentToChildViewLink_LABEL"/>
        </SchemaBasedProperties>
      </Properties>
      <ViewLinkDefEnd
        Name="ParentVO"
        Cardinality="1"
        Source="true"
        Owner="model.view.ParentVO">
        <DesignTime>
          <Attr Name="_accessor" Value="true"/>
          <Attr Name="_finderName" Value="ParentVO"/>
          <Attr Name="_isUpdateable" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="model.view.ParentVO.HireDt"/>
        </AttrArray>
      </ViewLinkDefEnd>
      <ViewLinkDefEnd
        Name="ChildVO"
        Cardinality="-1"
        Owner="model.view.ChildVO">
        <DesignTime>
          <Attr Name="_finderName" Value="ChildVO"/>
          <Attr Name="_isUpdateable" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="model.view.ChildVO.HireDt"/>
        </AttrArray>
      </ViewLinkDefEnd>
      <ResourceBundle>
        <PropertiesBundle
          PropertiesFile="model.ModelBundle"/>
      </ResourceBundle>
    </ViewLink>and here is the tree
        <af:tree value="#{bindings.ParentVO1.treeModel}" var="node"
                                 selectionListener="#{bindings.ParentVO1.treeModel.makeCurrent}" rowSelection="single"
                                 id="t1" binding="#{myBean.treeupdate}">
                            <f:facet name="nodeStamp">
                                <af:outputText value="#{node}" id="ot1"/>
                            </f:facet>
                        </af:tree>

    thanks I am working through that example unfortunately I ran into a problem
    previously (in my real application) I was using bind parameters and my query had the following where clause.
    ( I did this to turn a comma separated list into an in statement)
      WHERE    :Bind_Batch_NM_Comma_Sep_List IS NULL
             OR batch_nm IN
                   (    SELECT REGEXP_SUBSTR (:Bind_Batch_NM_Comma_Sep_List,
                                              '[^,]+',
                                              1,
                                              LEVEL)
                                  batch_nm
                          FROM DUAL
                    CONNECT BY LEVEL <=
                                    REGEXP_COUNT (:Bind_Batch_NM_Comma_Sep_List,
                                  + 1)however in the example presented you are to create view criteria and there is a panel on the right called view object where clause but I can not figure out how to type into it directly
    and I find it unlikely I can recreate this where clause using the add item button.
    is there a way to manually type the where clause in the view object where clause box?

  • Display data as a tree view on IE5

    I want to display data which is parsered by .xsql and use .xsl transfrom to HTML as a tree view(using javascript).
    Is there any sample or suggestion will eb grateful.
    Regards,
    Kelly

    Thanks for the backup :-)
    A new version of the Tree Tag will be out some time this summer, by the way. It features:
    1) The possibility to attach an object to a tree node (getObject(), setObject(...)).
    This means you can display more information in the tree than just what is available
    on the tree node itself. The information in this attached object can also be displayed.
    This attached object can for instance be rendered by Struts's <bean:write ...> tags
    2) Client side event listeners.
    A new tag will be added that will only evaluate it's body when a node is expanded, collapsed,
    selected or unselected. This way you can have a small bit of javascript sent along with the tree html to the browser, when a node is expanded/collapsed or selected/unselected, that for instance reloads the page in another frame in the browser
    3) The <tree:tree...> tag will be able to detect selected/unselected nodes by itself, if the select request is sent to the page containing the <tree:tree tag>. In the current version only expands/collapses are detected automatically. This new feature is implemented to support the client side event listeners.
    4) Someone asked for no-arg contructors of the TreeNode for use with reflection. They will be added to.
    A larger, more detailed manual will probably also be available for a small fee, in addition to the free basic user guide and the free web app. example.
    Look out for it ;-)
    Jakob Jenkov
    http://www.jenkov.com

Maybe you are looking for

  • Can I set up a Skype to go number for myself?

    Can I set up a Skype To Go number in Canada for myself and then give it to friends, family, clients etc. to call me? I just learned Skype doesn't have any Canadian numbers. I'm a Skype video conference subscriber. I probably wouldn't have signed with

  • Open the good application, is it possible?

    Hi everybody, I have a java class which can insert a BLOB into DB2 mainframe and a java class which can select a BLOB from DB2 mainframe. When I select my BLOB, I write it into a file. I would like after write my file, open it with the good applicati

  • Saving & Renaming a Fillable PDF

    Is there a way to save and rename a fillable PDF form on a Samsung Galaxy Tab 7 using Android version 4.0.4  I creadted a fillable form from Adobe Pro XI for my techs to use while servicing a A/C system. Jim

  • FileVault 2 guest account is greyed out

    Yesterday I performed a clean install of OS X Lion for my MBP (early 2011) had some kernel panics recently and I was told that it could be a software related problem. Anyway I installed all of the updates, switched on File Vault, Back to my Mac and e

  • Where is Rdb ODBC v2.latest ?

    I've searched online for the latest Rdb v2.x ODBC, and all I can find is the download for the v3.x ODBC. I've tried the v3 ODBC, but my application and it don't get along. I'm currently running v2.10.13, and would like to get the latest (I've seen a