repeats -- is this possible?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

repeats -- is this possible?

danc-3
I have to create a repeating set of controls for the following schema:

<member-list>
   <member>
      <name first="" last="">
      <preferences>
         <preference name="" value=""/>
         <preference name="" value=""/>
         ...
      </preferences>
      <books>
         <book name="" signedout="">
         <book name="" signedout="">
         ...
      </books>
   </member>
</member-list>

I am having trouble figuring out how to handle repeats within repeats and wanted to find out if such is possible.

I am using the latest version of PresentationServer (v3 BETA).

Is such possible?  If so, could you give me any pointers?



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: repeats -- is this possible?

Erik Bruchez
Administrator
[hidden email] wrote:

> I have to create a repeating set of controls for the following schema:
>
> <member-list>
>    <member>
>       <name first="" last="">
>       <preferences>
>          <preference name="" value=""/>
>          <preference name="" value=""/>
>          ...
>       </preferences>
>       <books>
>          <book name="" signedout="">
>          <book name="" signedout="">
>          ...
>       </books>
>    </member>
> </member-list>
>
> I am having trouble figuring out how to handle repeats within repeats and wanted to find out if such is possible.
>
> I am using the latest version of PresentationServer (v3 BETA).
>
> Is such possible?  If so, could you give me any pointers?
The latest To Do Lists example (online and in the nightly builds) shows
how to do this, and the earlier XForms Repeat example did as well. I
recommend you look at those two examples.

The To Do Lists example's XHTML + XForms file can be looked at here:

http://www.orbeon.com/ops/goto-source/xforms-todo/view.xhtml

If you have specific problems, please post the details here.

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws