Af:train current node

hi all,
I have some problem with train component.
lets say there are three node with train component.
assume that current node is third node then click on first.
on that point of action, how do i know user click on first one?
With Regards,
Wai Phyo

Hi ,
thanks for ur reply. it is really helpful.
but in my case, it is not just next/previous. it jumps back.
actually i have actionlistener in my commandNavigationItem which need to find out which train stage user click.
i try all of these , none of them reply what i want.
TaskFlowTrainStopModel currentStop = taskFlowTrainModel.getCurrentStop();
TaskFlowTrainStopModel prevStop = taskFlowTrainModel.getPreviousStop(currentStop);
TaskFlowTrainStopModel nextStop = taskFlowTrainModel.getNextStop(currentStop);
With Regards,
Wai Phyo

Similar Messages

  • How to get the current node element by its value?

    e.g,:
    wdContext.current<b>Deal</b>Element().setAttributeValue("<i>deal_id</i>","<i>aaaaaaa</i>");
    above code can get the result i wanna.
    but now i wanna in terms of its node'name to  set attribute vaue of itself. in other words,i have no idea about how to get the current node element by its name"<b>Deal</b>".

    Hi Wing,
    The answer is there in your question itself.
    wdContext.currentDealElement()
    will give you the current node element by its name"Deal" or you could use
    wdContext.nodeDeal().getCurrentElement()
    or you could use
    wdContext.nodeDeal().getElementAt(wdContext.nodeDeal().getLeadSelection())
    Regards,
    Sudeep

  • How do I calculate/retrieve the depth of a current node in XSLT?

    I mean the number of parent nodes a particular node has, hard coded something like:
    <root>
    <child depth="1">
    <another_child depth="2">
    I do not want to hard code these levels, so i am searching for a way to do it in XSLT. I could not find a function/element for this purpose.
    Who knows the solution????
    tnx

    You count the nodes in the ancestor axis: something like count(ancestor:*). Adjust by +/-1 if you need to include/exclude the root or the current node.

  • How to get the parent node of the current node?

    Hi all,
    i want to get the parent node of the current node and the not the parent of the parent node.
    thank you very much

    Hi,
    the parent node of <subnode1-2>29.99</subnode1-2> is (node1), how can do to get <node1> throw <subnode1-2>29.99</subnode1-2> the sub node of <node1>.
    As per my understanding the parent node of <subnode1-2>29.99</subnode1-2> is book not the node1.
    If you want node 1 as a parent of subnode1-2 than your xml will look like this.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <bookstore>
    <book>
    <fathernode>Harry Potter</fathernode>
    <node1>
           <subnode1>29.99</subnode1>
           <subnode2>29.99</subnode2>
    </node1>
    <node2>
           <subnode1>19.99</subnode1>
           <subnode2>19.99</subnode2>
    </node2>
    </book>
    </bookstore>
    and also if you want tom retrive float data than refer following XPATH.
    "//book[[price='1000']]/price/text()"
    Regards,
    Manoj Bilthare

  • Search with "Current Node + All Subfolders" not functioning correctly

    Hi,
    We are having an issue with the search function of SCCM 2012 Admin Console. We have built multi-level folder structure to SCCM which matches our organizational unit structure in AD.
    The issue occurs when trying to search with "Current Node + All Subfolders" option in a folder to get listing of all collections nested in the structure. As a result we get incomplete list of collections and majority of them are not showing
    up. Sometimes the console even crashes when trying to do this kind of search. Note that this behaviour only occurs when searching inside a folder, not in the device collections root node.
    We managed to trace the SQL query in the above situation from SMSProv.log, and it is as follows:
    select  all SMS_Collection.SiteID,SMS_Collection.CollectionType,SMS_Collection.CollectionVariablesCount,SMS_Collection.CollectionComment,SMS_Collection.CurrentStatus,SMS_Collection.HasProvisionedMember,SMS_Collection.IncludeExcludeCollectionsCount,SMS_Collection.IsBuiltIn,SMS_Collection.IsReferenceCollection,SMS_Collection.LastChangeTime,SMS_Collection.LastMemberChangeTime,SMS_Collection.LastRefreshTime,SMS_Collection.LimitToCollectionID,SMS_Collection.LimitToCollectionName,SMS_Collection.LocalMemberCount,SMS_Collection.ResultClassName,SMS_Collection.MemberCount,SMS_Collection.MonitoringFlags,SMS_Collection.CollectionName,SMS_Collection.PowerConfigsCount,SMS_Collection.RefreshType,SMS_Collection.ServiceWindowsCount from vCollections AS SMS_Collection  where (SMS_Collection.SiteID
    in (select  all Folder##Alias##810314.InstanceKey from vFolderMembers AS Folder##Alias##810314 
    where (Folder##Alias##810314.ObjectTypeName = N'SMS_Collection_Device'
    AND Folder##Alias##810314.ContainerNodeID in
    (16777237,16777374,16777384,16777385,16777375,16777376,16777377,16777378)))
    AND SMS_Collection.CollectionType = 2) order by SMS_Collection.CollectionName
    From this we noticed that not all ContainerNodeIDs are searched, but a list of only 8 ContainerNodeIDs. These ContainerNodeIDs remain the same if the search is done again in the same folder. The same behaviour repeats also in other folders with a different
    list of ContainerNodeIDs.
    For clarification I'll attach a picture which shows our folder structure with ContainerNodeIDs and ParentContainerIDs. We have also marked the containers which were present in SQL statement. From this you can clearly see there should have been far more ContainerNodeIDs
    than listed in the SQL query. Is this a bug in the admin console or could this be a problem with our site database? Is anyone else experiencing similar issues? We have written a custom
    powershell script that reads containers from SMS_ObjectContainerNode WMI-class recursively and is able to return complete list of folders and their subfolders, so we assume that our site database and WMI on site server is functioning correctly.
    We noticed this on CU2 (could have been present also earlier) and updating to CU3 did not fix the problem. Currently we are running SCCM 2012 SP1 CU3 with one primary site. All components besides distribution point is running on the site server. Distrubution
    point is running on a separate server. Our SQL server is running on the site server.
    Best Regards,
    Juha-Matti

    Sorry for the very long delay. I created the ticket in the autumn of last year and just received the final verdict to this issue.
    Microsoft support said they were able to reproduce the problem and that they contacted the product group about this issue. It turns out that this behaviour is by design (wait, what?) and since it is by design there is nothing they
    can/will do about it.
    So the only choice is to request a tailored customization for SCCM2012, which probably in this case (as it is by design) would cost.
    I feel a bit puzzled: how can it be by design if it clearly does not work?

  • Current node tree with tooltip_text

    Hello,
    How can i display a tooltip_text for the current node from a tree ?
    I tried with
    :Ctrl.Node_Selected     := Ftree.Get_Tree_Node_Property('BL_TREE.MENU',
    :SYSTEM.TRIGGER_NODE,
    Ftree.NODE_VALUE);
    set_item_property('BL_TREE.MENU',
    tooltip_text,
    :Ctrl.Node_Selected);
    I didn't find something with the build_in set_Tree_Node_Property
    There is a possibility to display an icon for each node ? I build the tree with a record group. How can I do it ?
    Thanks
    Bye

    hi,
    you can set the tooltip-text of the whole treebean according to the currently selected "active" node.
    Try to use the code you already used in a WHEN-TREE-NODE-SELECTED-Trigger.
    It's not possible to have a tooltip-text for each node separately.
    Yes, you can assign an icon to each node. Whn you use a recordgroup to fill the tree, one of the columns of the recordgroup has to be the name of the icon
    If i remember correctly the columns are
    NODE_STATE
    NODE_DEPTH
    NODE_LABEL
    NODE_ICON
    NODE_VALUE

  • How to get current node element for recursive node.

    Hello Xperts,
    I have a requirement where I need to find the current node element of the recursive node.
    I was trying following code for the same
    Data:
    selected_elem type ref to if_wd_context_element.
    selected_elem  = WDEVENT->GET_CONTEXT_ELEMENT( NAME = 'CONTEXT_ELEMENT' ).
    selected_elem  ->get_static_attributes(
        IMPORTING
          static_attributes = sel_attri ).
    But it does not work for me and I always get 1st node value.
    Please help me in this issue.
    -Ashutosh

    Hello ,
             If you implementing a simple tree ( not table tree )  and you want the selected element for
    OnLoadChildren event  .
    Then create an importing parameter CONTEXT_ELEMENT  of type IF_WD_CONTEXT_ELEMENT
    in the event handler of onLoadChildren .
    Webdynpro framework automatically filled up the context element with the current node in the tree .
    I tried it , It really worked for me .
    If you have a table tree then you need to create an importing parameter PATH  of type String in tha event handler .
    Webdynpro frame automatically fills the PATH .
    the use can use the following method to get the element from the PATH .
    wd_context->path_get_element( path ).
    I tried it , It also  worked for me .
    Regards
    Vivek
    PS : please provide the points if answer is helpful .

  • Display the icon when current node selected in af:tree

    Hi !! Gud Mrg !!
    I am using jdeveloper 11.1.1.5
    I had created an af:tree., I need to display the icon when my user clicks the current node!!
    Could any one pls provide me solution to fix this !!

    Sorry jhon and Frank !!
    I will explain what i had did and my scenario!!
    What i had did
    I had dragged and dropped my ApplBusFun as a af:tree
    Such that it doesnot have parent and child My tree would look like this
    Request for quotation
    Supplier Documents
    Suppliers
    Purcahse Order
    My Scenario
    My scenario is when my user clicks the current row ., Consider if my user clicks Request for quotaiton an arrow symbol must be appeared before Request for Quotation such that my output must looks like this
    ==>Request for quotation
    Supplier Documents
    Suppliers
    Purcahse Order==> This is the icon which appeared before Request For Quotation and this icon must appear whenever user clicks any node Suppose if my user going to click Supplier Document means
    My output must look like this
    Request for quotation
    ==>Supplier Documents
    Suppliers
    Purcahse OrderHope i had explained my scenario clearly!! Appologise if i didnt explained properly!!

  • The xquery cannot have an unbound current node

    Hi,
    am getting this error
    •[RouteNode1, Routing Table action] XQuery expression validation failed: The xquery cannot have an unbound current node.

    unbound current node error comes when you use a variable in xquery expression without the $ symbol. Check for the symbol in various variables in xquery expression.
    Cheers,
    Durga

  • Setting current node to nil

    Has anyone noticed, when setting the current node in a list view to nil
    the blue highlight is replaced by a gray highlight? The only way I have
    found to completely deselect an item in the list is to repopulate, has
    anyone found another way?
    Brian Milinazzo
    Consultant
    MSF&W Information Systems Consulting
    3445 Liberty Drive
    Springfield, IL 62704-6521
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    This is a known bug in Forte and is reported as being fixed in Version
    J.
    I do not know any other way to remove the highlight bar in previous
    versions of Forte.
    Ja.
    -----Original Message-----
    From: Brian Milinazzo [SMTP:[email protected]]
    Sent: Wednesday, 6 January 1999 17:49
    To: [email protected]
    Subject: setting current node to nil
    Has anyone noticed, when setting the current node in a list view to
    nil
    the blue highlight is replaced by a gray highlight? The only way I
    have
    found to completely deselect an item in the list is to repopulate, has
    anyone found another way?
    Brian Milinazzo
    Consultant
    MSF&W Information Systems Consulting
    3445 Liberty Drive
    Springfield, IL 62704-6521
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive
    <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Error "PortalSiteMapProvider was unable to fetch current node"

    I have a publishing site collection. (SP2010)
    Whenever I activate one of my solutions, I get the error “PortalSiteMapProvider was unable to fetch current node, request URL: /_layouts/ManageFeatures.aspx, message: Specified method is not supported., stack trace:   
    at Microsoft.SharePoint.SPChange.get_InternalListId()” In the ULS log.
    When debugging the feature activation, the error shows after all the code is done.
    Anyone has a clue what the issue is?.
    Ofer Gal

    Hi Ofer,
    Would you please check out the following link, it described a similar issue:
    http://buddhian.blogspot.com/2011/09/portalsitemapprovider-was-unable-to.html
    "Resolution
    There could be multiple reasons for this, one possible reason is that your application pool account does not have full permissions to read the complete site collection.
    Identify your web apps' app pool account using inetmgr
    Login to central site administration
    Go to Application management > Policy for web application
    Choose the web application where the inaccessible site collection exists
    Add a full control policy for the app pool account
    Possible cause
    Derived from resolution :) this could be because portal site map provider uses elevated privileges within its code and when you use elevate privileges it is always the app pool account that is used internally (you may see it as system account on the ui)."
    Thanks,
    Lhan Han

  • Fragment menu -how to pass the current nod to a function

    How can I pass the current node to a function I tried this but it
    didn't work.please advice
    <script language="javascript">
    nvh_mainnavigation_display(g_navNode_Path, Node ,
    "<!--$HttpRelativeFragmentsRoot-->AlfarisMainNavigation", false);
    </script>
    Note:
    I'm trying to create a menu that shows the subnodes of the current
    section or node that im standing on.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Juan Oropeza ([email protected]):
    http://technet.oracle.com:89/ubb/Forum2/HTML/006279.html <HR></BLOCKQUOTE>
    null

  • Current Node - OutlineField

    I have an OutlineField that I'm using to display some information & am
    having troubles getting it to highlight the current node. When I change
    nodes, I keep track of the one that I'm on, the current one. The users can
    refresh the list of information or delete a node from the list. If I just
    hit the refresh button after selecting a different node, I can see in the
    debugger that I have the correct node to be highlighted, but yet when my
    window is refreshed, the node isn't highlighted? I've looked at the
    currentnode from the outlinefield right after I set it & it's NIL, even
    though I know I have a valid node?? Same thing when I delete a node &
    refresh the list, the focus goes back to the first item in the list, rather
    than the next node after the one that was deleted.
    I've tried numerous things & none of them seem to work. Any help would be
    greatly appreciated!! Thanks!!
    Doug Scurr
    HealthPartners
    8100 34th Avenue South
    9th Floor
    Minneapolis, MN 55440-1309
    (612)883-7317

    Try <outlineField>.UpdateFieldFromData(). That should
    do the trick.
    Good Luck!
    Ajith Kallambella M.
    Forte Consultant.
    I have an OutlineField that I'm using to display some information & > am
    having troubles getting it to highlight the current node. When I > change
    nodes, I keep track of the one that I'm on, the current one. > The users
    can refresh the list of information or delete a node from > the list. If I
    just hit the refresh button after selecting a different node, I can see in
    the debugger that I have the correct node to be highlighted, but yet when
    my window is refreshed, the node isn't highlighted? I've looked at the
    currentnode from the outlinefield right after I set it & it's NIL, even
    though I know I have a valid node?? Same thing when I delete a node > &
    refresh the list, the focus goes back to the first item in the list, rather
    than the next node after the one that was deleted.
    I've tried numerous things & none of them seem to work. Any help would be
    greatly appreciated!! Thanks!!Doug Scurr
    HealthPartners
    8100 34th Avenue South
    9th Floor
    Minneapolis, MN 55440-1309
    (612)883-7317
    - att1.unk
    Get Free Email and Do More On The Web. Visit http://www.msn.com
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Access current node in XPathFunction implementation

    Hello,
    When implementing an XPathFunction, is there a way to access current node?
    For example,
    "//*[local-name()='test123']"
    in the above example, the built-in function, local-name, take current node as its argument.
    However, from the API of XPathFunction:
    public Object evaluate(List args) throws XPathFunctionException
    It is not apparent how to access the current node.
    I've tried:
    "//*[myFunction()=1]"
    the input arg length is zero.
    Looking forward to any suggestions!
    Thanks!

    Thanks for the reply.
    Allow me to further clarify my problem with the following example:
    //*[local-name()='foo']/*[local-name()='bar']As shown in the above example, in the second call to the "local-name" function, the implementation
    of the function should unavoidably require the reference of currently navigated xml node (a "foo" node in
    the above example).
    However, it does not seem obvious how to achieve the same functionality with XPathFunction interface.
    So, what is the proper strategy if we want to implement our customized local-name-like functions?
    Thanks!
    Looking forward to suggestions.

  • Finding current node

    How do I find my current node is when the template is being processeed? Is there some way to print the node names?

    You can get the node name using name(node).
    For current node use <?name(.)?>
    Is this what you want?

Maybe you are looking for