Skip to Content
avatar image
Former Member

UI Element Tree

Hi,

I am using a Tree UI Element

Customer(Tree Node type)

- Order (Tree Node type)

Item (Tree Item type)

- Purchase Order (Tree Node type)

Purchase Item (Tree Item type)

I have this in a Viewset on the left side of the screen. When I click on Item (Tree Item type) value I trigger an Action to Call a view on the left side of the viewset.

I get the following error:

<b>you can access the singleton child node 'Item' only via lead selection</b>

I am new to Webdynpro, and am not aware whether I can trigger an action to call another view in a viewset.

Please advice as to what I may be doing wrong.

Thank you.

NAC

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 30, 2005 at 01:30 PM

    Thanks for all the help guys. I channged the properties for node singleton to false and it worked.

    NAC

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 30, 2005 at 02:56 AM

    Any thoughts guys....

    NAC

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 30, 2005 at 04:14 AM

    Hi,

    In your context, your nodes have one property called "Singlton". You need to make this property to false.

    Try with this and let me know.

    Regards,

    Bhavik

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 30, 2005 at 04:29 AM

    Hi,

    Are you putting your value attribute in a value node.

    If so you can bind them to ur UI element and select the value attribute variable through the lead selection.Make the singleton property false in ur context node.

    Jus chk it.

    You can call a view from the action in the viwset coz viewset is nothing but a collection of view which internally has UI element.You have to use inbound and outbound plug for the same.

    Hope it helps.

    Rdgs,

    Guru

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Can you please give the code where you access the item?

      Either change it to non-singleton(change the singleton property to false) or use wdcontext.getChildNode(<NodeName>,IWDNode.LEAD_SELECTION);

      check this.

  • avatar image
    Former Member
    Aug 30, 2005 at 07:02 AM

    Hi Neville,

    It is a bit difficult to understand exactly the design of the application. Are you sure that your tree UI elements are actually connected to a tree-type structure in the context (i.e. recursive nodes?). Send me your project if you wish, and then I will be able to better advise you.

    Add comment
    10|10000 characters needed characters exceeded