Expand my Community achievements bar.

Dynamic table inside another dynamic table

Avatar

Level 1

Hello,

I'm using Livecycle Designer 7.0 and I'm very newebie with this tool.

I'm trying to create a dynamic table inside another dynamic table so it can represent and xml like this:

<A>

     <B>

          <C>

               <v>

                    ValueC11

               </v>

          </C>

          <C>

               <v>

                    ValueC12

               </v>

          </C>

          <C>

               <v>

                    ValueC13

               </v>

          </C>

     </B>

     <B>

          <C>

               <v>

                    ValueC21

               </v>

          </C>

          <C>

               <v>

                    ValueC22

               </v>

          </C>

          <C>

               <v>

                    ValueC23

               </v>

          </C>

     </B>

</A>

So, I have a table that adds instances of a form when the user clicks on a button, those instances contain a new subform (SF1) with another button to add instances of a new subform (SF2). On HTML it works perfectly, or at least, it seems to, but when I see the XML generated, I have:

<A>

     <B>

          <C>

               <v>

                    ValueC11ValueC22ValueC23

               </v>

          </C>

          <C>

               <v>

                    ValueC12

               </v>

          </C>

          <C>

               <v>

                    ValueC13

               </v>

          </C>

     </B>

     <B>

          <C>

               <v>

                    ValueC21

               </v>

          </C>

     </B>

</A>

I don't know where is the problem, I've tried lot of things, and always get the same result. The bindings I have are:

For SF1: A.B[*].

For SF2: C[*]

And for the inputs of SF2: v. (I have also tried with c[*], but nothing changes)

Can anyone tell me what I'm doing wrong?

Thanks in advance.

0 Replies