W3C home > Mailing lists > Public > www-forms@w3.org > August 2009

Re: Repeat within HTML table

From: Charles F Wiecha <wiecha@us.ibm.com>
Date: Tue, 4 Aug 2009 12:40:46 -0400
To: Erik Bruchez <ebruchez@orbeon.com>
Cc: www-forms@w3.org, www-forms-request@w3.org
Message-ID: <OFA36BB309.D9D5456A-ON85257608.005B7CC9-85257608.005B9F65@us.ibm.com>

Sounds reasonable...my thinking this morning when originally reading the
question what that it's sort of analogous to any other server-side
"templating" approach, e.g. a mixture of HTML and JSP.  One doesn't worry
about whether that document is well-formed HTML since it doesn't have that
purpose but rather is a generator of (hopefully) well-formed HTML for the
client to consume...Charlie



                                                                                                                                          
  From:       Erik Bruchez <ebruchez@orbeon.com>                                                                                          
                                                                                                                                          
  To:         www-forms@w3.org                                                                                                            
                                                                                                                                          
  Date:       08/04/2009 12:38 PM                                                                                                         
                                                                                                                                          
  Subject:    Re: Repeat within HTML table                                                                                                
                                                                                                                                          
  Sent by:    www-forms-request@w3.org                                                                                                    
                                                                                                                                          





Alain,

Very good question. In Orbeon Forms as well, and for author
convenience, we allow xforms:repeat and xforms:group around tr and td
within tables, even though it is not "allowed". That could be a
problem if a web browser was looking at that DOM directly, but in our
case and in yours, or any situation where some sort of transformation
takes place first, I do not think it is an actual problem.

Wondering what other people think about this.

-Erik

On Tue, Aug 4, 2009 at 5:20 AM, COUTHURES
Alain<alain.couthures@agencexml.com> wrote:
> Hello,
>
> While testing EMC Formula XForms engine, I have discovered this in the
specs
> :
>
> Thus, one might wish to use element repeat within a table to create the
rows
> of a table, where each row of the table binds to a distinct member of a
> repeat collection. Since html:table doesn't  (and perhaps  never will)
allow
> xforms:repeat elements as children, another syntax is needed.
>
> It appears that it is not a constraint for XSLTForms to use xforms:repeat
> under html:table so I would like to know if it is still considered as a
real
> problem, if it's forbidden or not.
>
> Thank you for your answers.
>
> Best regards,
>
> Alain Couthures
> <agencexml>
> http://www.agencexml.com/xsltforms
>







graycol.gif
(image/gif attachment: graycol.gif)

ecblank.gif
(image/gif attachment: ecblank.gif)

Received on Tuesday, 4 August 2009 16:41:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:16 GMT