Skip to Content
author's profile photo Former Member
Former Member

Multiple Rows

Hi ,

I have a requirement where I have multiple rows in Value node.

I need to send all the rows from the Value node to the Model node.

Say if I have 3 records I need to send all the records to the Model Node.

<b>Rightnow I am able to send only the last record to the Model Node as many times as the number of records in the Value node.</b>

Can someone tell me how we can do that?

Please help.

Points assured.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2007 at 11:04 AM

    Hello

    I hope this helps you

    //binding the input

    Zabc_Input input = new Zabc_Input();

    for(int i = 0; i < wdContext.nodeCtx_vn_ABC().size();i++)

    {

    //Zpbook is the table parameter

    Zpbook node = new Zpbook();

    node.setD_Id(wdContext.currentCtx_vn_ABCElement().getObjid());

    input.addIt_Create(node);

    }

    wdContext.nodeZabc_Input().bind(input);

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Sneha,

      You need to add your elem to your input element

      for (int i=0;i<wdContext.><ValueNode>.size();i++)

      {

      IPrivate<ViewName>.<ModalEle>Element elem = wdContext.create<ModalEle>Element(Tb_Fin);

      Tb_Fin.setAttr(wdContext.node<ValueNode>).<ValueNode>ElementAt(i).getAttr());

      <b>input.add<Element>(elem); </b>

      wdContext.node<ModalNode>().bind(input);

      }

      Regards,

      Murtuza

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.