How to make selected and active a child row of a treeTable?

Hello,
I am inserting a new child row into a af:treeTable, disclosing it, but I can't figure out how to make it selected and active so the focus of the user to go on it.
Jdeveloper version 11.1.2.3.0
This is how I am inserting the child node:
public void createLocation(RowIterator ri, Key selectedNodeKey) {
        final String locationCategoryViewDef = "model.views.LocationCategoryView";
        if (ri != null && selectedNodeKey != null) {
            Row[] found = ri.findByKey(selectedNodeKey, 1);
            if (found != null && found.length == 1) {
                Row foundRow = found[0];
                String nodeDefname = foundRow.getStructureDef().getDefFullName();
                RowSet parents = (RowSet)foundRow.getAttribute("LocationView");
                Row childrow = parents.createRow();
                //hardcoded locationId
                childrow.setAttribute("LocationId", 434558);
                parents.insertRow(childrow);
}  And this is the treeTable:
<af:treeTable value="#{bindings.LocationCategoryView2.treeModel}" var="node" varStatus="vaarr"
              partialTriggers="gaga gag4a ga4a"
              selectionListener="#{bindings.LocationCategoryView2.treeModel.makeCurrent}"
              displayRow="selected" rowSelection="single" id="tt1" editingMode="clickToEdit"
              horizontalGridVisible="true" binding="#{pageFlowScope.treeTableBean.sampleTreeTable}">
    <f:facet name="nodeStamp">
        <af:column id="c5" width="15">
            <af:outputText value="#{node}" inlineStyle="display:none" id="ot1"/>
        </af:column>
    </f:facet>
    <f:facet name="pathStamp">
        <af:inputText value="#{node}" id="ot2"/>
    </f:facet>
    <af:column id="c2" headerText="Location CategoryName">
        <af:inputText value="#{node.LocationCategoryName}" inlineStyle="font-weight:900" id="ot45"/>
    </af:column>
    <af:column id="c6" headerText="Location CATID">
        <af:inputText value="#{node.LocationCategoryId}" inlineStyle="font-weight:900" id="ot6"/>
    </af:column>
    <af:column id="cgg2" headerText="Var INDEx">
        <af:outputText value="#{vaarr.index}"/>
    </af:column>
    <af:column id="c1" headerText="Location Name">
        <af:inputText value="#{node.LocationName}" id="ot3"/>
    </af:column>
    <af:column>
        <af:panelGroupLayout layout="vertical">
            <af:commandLink id="gaga" text="addLocation" inlineStyle="color:red"
                            action="#{pageFlowScope.treeTableBean.createChildren}"
                            rendered="#{node.LocationId == null}" partialSubmit="true"/>
            <af:commandLink id="gag4a" text="delete category" inlineStyle="color:blue"
                            partialSubmit="true" rendered="#{node.LocationId == null}"
                            action="#{pageFlowScope.treeTableBean.deleteChildRow}"/>
            <af:commandLink id="ga4a" text="delete location" inlineStyle="color:green"
                            partialSubmit="true" rendered="#{node.LocationId != null}"
                            action="#{pageFlowScope.treeTableBean.deleteChildRow}"/>
        </af:panelGroupLayout>
    </af:column>
</af:treeTable>

Yes I did now but nothing changes. The current, selected and active row is still the parent node...
Even I am adding AdfFacesContext.getCurrentInstance().addPartialTarget(this.sampleTreeTable); for just in case..

Similar Messages

  • How can I select and delete the fill color (white background) of a live trace (B&W) with in an actio

    How can I select and delete the fill color (white background) of a live trace (B&W) with in an action set?
    Illustrator CS4 in windows XP.

    Maybe Li[ve trace] is not t]he way[ to go
    I have some suggestion one leave it as is and use a blending mode of multiply to give it a color background like this
    leave it as is make it a grayscale tiff import int Illustrator and color it it in Illustrator like this
    Or trace over it with the brush tool aand then give it a color ground.
    Or do the original over and do a cleaner job with no tone or a minimum of tone. Then Live trace.

  • How to make reifications and  query to obtain them

    Hello;
    If the option expressed in the previous thread is unavailable the other option is make reifications over the triple.
    There is no documentation about how to make reifications and how is expressed in a SDO_RDF_MATCH query
    Can you help me ?
    Regards
    Isidro

    Example: if you want to express the fact that :John :fatherOf :Matt is recorded in the document :birthCertificate, it could be done using reification as follows:
    INSERT INTO family_rdf_data values(100,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#type',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement'));
    INSERT INTO family_rdf_data values(101,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#subject',
    'http://www.example.org/family/John'));
    INSERT INTO family_rdf_data values(102,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate',
    'http://www.example.org/family/fatherOf'));
    INSERT INTO family_rdf_data values(103,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.w3.org/1999/02/22-rdf-syntax-ns#object',
    'http:/www.example.org/family/Matt'));
    INSERT INTO family_rdf_data values(104,
    SDO_RDF_TRIPLE_S('family',
    'http://www.example.org/family/stmt1',
    'http://www.example.org/family/recordedIn',
    'http://www.example.org/family/document/birthCertificate'));
    A sample query involving such reified statements:
    SELECT s, p, o
    FROM TABLE(SDO_RDF_MATCH(
    '(?stmt rdf:subject ?p) (?stmt rdf:predicate :fatherOf)
    (?stmt rdf:object ?o)(?stmt :recordedIn ?s)',
    SDO_RDF_Models('family'),
    null,
    ....

  • How to make OC4J and IIS on diffrent machines ?

    Hi,
    How to make OC4J and IIS running diffrent machines. following document tells use "standalone ONS daemon",Can anybody tell what standalone ONS daemon means and steps to be done to make IIS working on diffrent machine
    http://download-west.oracle.com/docs/cd/B25221_03/web.1013/b25211/oc4jplugin.htm#i638738
    Thanks & Regards
    Vino joy

    sender,
    the quantize menu is in the top info box in the arrange.
    if you double click on it, an extended parameter box appears with a lot of quantizing options. also RTFM about this bit.
    in the sample editor, there is an audio quantize feature.
    but it is old, and probably hasn't been updated in ten years........try it, you
    'll prolly hate it.
    there is also a quantize audio/groove plug, in the special menu.
    it works....sorta.
    if you're talkin' drums, on seperate tracks, like kik on one, and snr on the next, etc., try strip silence to cut the loop/file up, then select same in the arrange trk and quantize this, as above. (info box).
    this does work well provided you know just where you want the feel to be.
    you could also try making a groove template of the original clip/loop and use this as a timing reference.
    this also works well if you can get a clean footprint of the audio.
    best,
    DR9

  • How do you select and move more than one bookmark at a time? Shift+Click does not select multiple items that are next to one another in a list because the item

    How do you select and move more than one bookmark at a time?
    Shift+Click does not select multiple items that are next to one another in a list because the items open in firefox before this happens.

    Use the bookmarks library. You may use Shift +Click, and Ctrl + Click to create groupings of selected bookmarks to drag and drop.
    * one method of opening the bookmarks library is keyboard shortcut <br /> Ctrl+Shift+B (Windows)
    *see also [[How to use bookmarks to save and organize your favorite websites]]
    *and [[Use bookmark folders to organize your bookmarks]]

  • How do I select and email a whole lot of photos on my iPad from my iPad emails? It seems I have to go into Email and then insert one photo at a time? Isn't there a way to select all in the photos and then email the batch.?

    How do I select and email a whole lot of photos on my iPad from my iPad emails? It seems I have to go into Email and then insert one photo at a time? Isn't there a way to select all in the photos and then email the batch.?

    Actually, you can email up to 5 at a time from the Photos app. Select any more and the email share option will not appear.
    If you explain why you need to email large numbers of photos, we might be able to offer an alternative.

  • HT5796 I was on a a different Apple ID and I logged out because they didn't want me on there anymore so I figured out how to make one and now it's not letting me upgrade or download anything. I rebooted my iPhone 5, iOS 7.0.4 multiple times nothing fixed

    I was on a a different Apple ID and I logged out because they didn't want me on there anymore so I figured out how to make one and now it's not letting me upgrade or download anything. I rebooted my iPhone 5, iOS 7.0.4 multiple times nothing fixed my problem.

    I was on a a different Apple ID and I logged out because they didn't want me on there anymore so I figured out how to make one and now it's not letting me upgrade or download anything. I rebooted my iPhone 5, iOS 7.0.4 multiple times nothing fixed my problem.

  • How to make fonts and photos bigger?

    how to make font and phpt bigger?  Bigger web pages, not narrow pictures in the middle

    The easiest method is to type Command + and that will make make the image larger. However you can also go to System Preferences - Displays and adjust the display resolution too. Finally, you can use Mavericks zoom capabilities as explained in:
    http://support.apple.com/kb/PH14358

  • How do I select and de or unselect groups of songs in my library

    How do I select and de or unselect groups of songs in my library

    In your iTunes Library?
    You can click on the songs individually while you are holding down the Command.
    Or
    If you hold down Shift and click on the first one, and while continuing to hold Shift you click on the last one. Everything in between will be highlighted.

  • How to make Buyer and Planner fields in Master Items Form Required without

    How to make Buyer and Planner fields in Master Items Form Required without using personalization?
    1) Steps to Reproduce
    Under Application Developer Common Modules responsibility,
    1) Query Region MTL_SYSTEM_ITEMS
    2) Click on Region Items
    3) Add Buyer Id and Planner Code attributes with Required checkbox checked.
    4) Bounce iAS server and JVM and clear java cache
    5) Changes not taking effect
    Current Application Release: 11.5.10.2 (3460000)
    Current INV Rollup: INV.J RUP22 (9878808)
    Current WMS Rollup: WMS RUP19 (9951502)
    Product Installation List :
    Product Installation: 11i.BOM.J: Installed
    Product Installation: 11i.EGO.E: Installed
    Product Installation: 11i.ENG.I: Installed
    Product Installation: 11i.INV.J: Installed
    Product Installation: 11i.PO.I: Installed
    Product Installation: 11i.WMS.G: Installed
    client needs to make the Buyer and Planner fields under Inventory->master Items form to be required.
    He tried using the Application Developer Common Modules responsibility, to find the Master Items Region and added the Buyer Id and Planner Code attributes with the Required check-box set to Yes. He bounced the iAS server and cleared java cache, but the changes do not take effect.
    client does not want to use form personalization.
    Can you please provide more assistance for using Application Developer Common Modules responsibility?
    Edited by: jemar98 on Aug 9, 2011 1:44 PM

    A forms developer could make those fields required with a CUSTOM.pll extension if you didn't want to use forms personalization. Both are considered customizations to standard functionality and may or may not require rework after patching or upgrades.

  • How to make uiactionsheet and uidatepickerview compatible both ios 7 and ios 8 ?

    how to make uiactionsheet and uidatepickerview compatible both ios 7 and ios 8 ?

    I do not know actually why there is no option "dock transparency". That is strange that Apple is proudly speaking about Retina display and now covers it by such big and untransparent stripe of something. I also like the display and I am strongly dissapointed seening it painted in such blurred colors. And I do not care about algorithms that are behind it and how complicated there are. It is not working for me and happy to see for most of the community. That definitively is not a dock. I would like to make it full transparent this would be more iOS7 light style. At the dock there are icons which stay all the time at the same place, why do we need something to emphasize their meaning?

  • How to Plot number and string in one row (data logger counter) ?

    hi all i made data log quantity using Digital Counter via modbus to monitoring quantity and reject that has and Name Operator, Machine and Part Number.
    i have problem about plot the number & string in one row, as shown on the picture below :
    how to move that string on one row ? i attach my vi.
    Thanks~
    Attachments:
    MODBUS LIB Counter.vi ‏39 KB

    Duplicate and answered - http://forums.ni.com/t5/LabVIEW/How-to-Plot-number-and-string-in-one-row-data-logger-counter-via/m-p...

  • How to make select as variable for Export-csv?

    Hello, 
    I'm trying to get the script to work which can iterate over topics and make predefined selection based on current active topic on iteration. It seems that the problem is simple, but I can't find the solution.
     The source file is the following:
    topic=interface_bridge ruleaction=add name=vlan10
    topic=interface_bridge ruleaction=add name=vlan13
    topic=interface_bridge ruleaction=add name=vlan14
    topic=interface_bridge ruleaction=add name=vlan20
    topic=interface_ethernet set=0 comment=DMZ
    topic=interface_ethernet set=1 comment=DMZ
    topic=interface_ethernet set=2 comment=Servers
    topic=interface_ethernet set=4 comment=WKS
    topic=interface_ethernet set=5 comment=VMWARE
    topic=interface_ethernet set=6 comment=WKS
    topic=interface_ethernet set=10 comment=External
    The current script is the following:
    $file="c:\scripts\mk.txt"
    #selections
    $interface_ethernet='comment','name','set','switch','master-port'
    $interface_bridge='comment','name','protocol-mode'
    #topics
    $topics1=@($interface_ethernet, $interface_bridge)
    $topic_int_bridge='interface_bridge'
    $topic_int_ethernet='interface_ethernet'
    $topics=@($topic_Int_bridge, $topic_int_ethernet)
    foreach ($topic in $topics)
    $match='^topic='+$topic+'\s+'
    $result_File = 'config_'+$topic+'.txt'
    $select = '$'+$topic
    $interface_ethernet='comment','name','set','switch','master-port'
    $interface_bridge='comment','name','protocol-mode'
    $topics1=@($interface_ethernet,$interface_bridge)
    $select1=invoke-expression ('$'+$topic)
    $results = Get-Content mk.txt | Where-Object { $_ -Match $match }| foreach { new-object PSObject -Property $($_ -replace '^' -replace ' ',"`n" | convertfrom-stringdata) }
    $results | select $select1
    I'm hang on the following: when I run the script it only takes first selection ($interface_bridge) gives the result about first topic (bridge), and for second (ethernet) - only comments.
    comment name protocol-mode
    vlan10
    vlan13
    vlan14
    vlan20
    DMZ
    DMZ
    Servers
    WKS
    VMWARE
    WKS
    External
    There can be many topics, so write If expression for each it's not the case.
    Question:
    How to modify the script that the result is printed for each topic with adequate section:
    1) when looping over topics, when the topic interface_ethernet is processed select and print results for variable $interface_ethernet
    (selected items 'comment','name','set','switch','master-port')
    2) when looping over topics, when the topic interface_bridge is processed select and print results for variable $interface_bridge
    (selected items 'comment','name','protocol-mode')
    3) etc...
    Each topic should be on separated iteration block because for each will be generated csv file with each own header. 
    Thanks.

    Hello!
    I'm trying to understand why the script does not work. The question is:
    Is it correct way of using the "invoke-epression" on code?
    $select1=invoke-expression ('$'+$topic)

  • How to make English and Chinese pdf files searchable?

    I have scanned many A4 English and Chinese print-outs into pdf format.  How to make these files searchable ? People mention about the OCR issue. Will the installation of Adobe make life easy and manageable?

    I know Acrobat does Japanese OCR very well; I can only assume that it works for Chinese as well.
    P.S. I just checked: Chinese (Simplified) and Chinese (Traditional) are both language selection options for OCR.

  • How to make select list as read only

    Hi All.
    when i m loading a page ...how to make value of select list as read only ..
    i tried doing this ....
    i added readonly attribute to the select list's element attibute ...it is showing as read only field by darkening the select list field but ... the select list is editable even now... its allowing to choose from drag and drop ...
    Thanks & Regard ,
    Nandini

    I have the same requirment..
    I have a select list on a editable form and i want to make that one read only.
    When I use read only property it doent do anything. (But this is working for text items well).
    When I use "disabled' option it works fine. But then that value does not post when use POST the form. So making select list disabled is not a solution.
    Any Idea..
    Thanks
    mc

Maybe you are looking for

  • Time machine dropping old backups after migrating

    I recently changed from an iMac to a retina Macbook Pro. I read that I could continue my time machine after migrating my mac. My new macbook keeps trying to create a brand new backup. I enter time machine and go back to find all my old dates but it d

  • Hosting a SaaS PHP/MySQL web application

    Hi I am building a PHP web application ( to be used by about 5 customers ) with MySQL database using partitionning strategy for scalabilty purpose. Customers list can grow up to 100, so I pre allocated 100 partitions for the MySQL database. Can I hos

  • E- Recruitment transaction PFAL transfer of data

    Hi I hope someone can be of help.   We have ECC6 and Erec 603 and need advice on running transaction PFAL.  We have set up the necessary links and ensured employees have infotype 105 for erecruitment.  We need to bring the data over to erec.  I have

  • I replaced my Firefox3.6 with version 4 which won't run on my computer. How can I reinstall Firefox 3.6?

    I replaced Firefox 3.6 with version 4 which won't run on my computer. How can I reinstall Firefox 3.6?

  • Vibe X S960 - 3G in the UK

    Hi there. I really want to purchase a Vibe X S960 as my next handset. Unfortunately I have not been able to confirm with any certainty if it will work on my network (tmobile uk) 3G frequency. Can anyone confirm this eitherway? Thanks. Solved! Go to S