See also: IRC log
<John_Boyer> Scribe: Leigh
<John_Boyer> http://lists.w3.org/Archives/Public/public-forms/2008Mar/0030.html
<John_Boyer> http://www.webdialogs.com/join/
<John_Boyer> 3137304
<John_Boyer> http://lists.w3.org/Archives/Public/public-forms/2008Mar/0012.html
<nick> can someone give me the conference id
<nick> thansks
<Steven> hi
<John_Boyer> http://lists.w3.org/Archives/Public/public-forms/2008Mar/0030.html
<Steven> sure as hell
the conf id is really 36767?
it tells me "conf not in session"
3137304 in fact
<Charlie> 3137304
<Steven> Your Web browser does not meet the requirements
<Steven> for joining a presentation.""
<John_Boyer> http://lists.w3.org/Archives/Public/public-forms/2008Mar/0013.html
<klotz> <repeat name="order" nodeset="row">
<klotz> <select1 name="Product"> ...
<klotz> <input name="Quantity"> ...
<klotz> <input name="Price"> ...
<klotz> <output name="LineTotal" calculate="Price * Quantity"/>
<klotz> </repeat>
<klotz> <output name="Subtotal" calculate="sum(order/row/LineTotal)"/>
<klotz> <output name="Tax" calculate="Subtotal * 0.07"/>
<klotz> <output name="Total" calculate="Subtotal + Tax"/>
<John_Boyer> <output name="LineTotal" calculate="$Price * $Quantity"/>
<John_Boyer> <repeat name="order" nodeset="row">
<xforms:bind name="order" nodeset="order">
<xforms:bind name="product" nodeset="product"/>
<xforms:bind name="unitCost" nodeset="unitCost"/>
<xforms:bind name="qty" nodeset="qty"/>
<xforms:bind name="lineTotal" nodeset="lineTotal" calculate="$unitCost * $qty"/>
</xforms:bind>
<xforms:bind name="subtotal" nodeset="subtotal" calculate="sum($lineTotal)"/>
<xforms:bind name="tax" nodeset="tax" calculate="$subtotal * 0.07"/>
<xforms:bind name="total" nodeset="total" calculate="$subtotal + $tax"/>
<nick> I think it creates
<nick> <xf:bind id="order" nodeset="row">
<nick> <bind id="quantity" nodeset="quantity"/>
<nick> </xf:bind>
<John_Boyer> I think that's not quite right, Nick
<John_Boyer> because <repeat bind="???">
<nick> why does <xf:repeat bind="order"> not work?
<John_Boyer> because repeat needs to bind to the set of rows, not the order
<xforms:bind name="order" nodeset="order">
<xforms:bind id="order" nodeset="order">
<xforms:repeat name="order" id="orderTable">
<xforms:repeat bind="order" id="orderTable">
<John_Boyer> <repeat name="order" nodeset="row">
<John_Boyer> <bind id="order" nodeset="order/row"> ...
<nick> sorry missed it John
<nick> <xf:group bind="order">
<nick> <xf:repeat bind="row">
<nick> <input bind="quantity">....
<po>
<order>
<product/>
<unitCost> 0</unitCost>
<qty> 0</qty>
<lineTotal> 0</lineTotal>
</order>
<order>
<product/>
<unitCost> 0</unitCost>
<qty> 0</qty>
<lineTotal> 0</lineTotal>
</order>
<subtotal> 0</subtotal>
<tax> 0</tax>
<total> 0</total>
</po>
<John_Boyer> <repeat name="order" nodeset="row">
<John_Boyer> <repeat name="order" thingIamRepeating="row"
<John_Boyer> What you're saying is that there would be no containing element
<John_Boyer> <data> <order>ppql</order><order>ppql</order> ... <subtotal>...</data>
<John_Boyer> <repeat name="row">
<John_Boyer> http://lists.w3.org/Archives/Public/public-forms/2008Mar/0013.html
<nick> but does how to translate an html form to xforms needs to be specified by the us, i.e. I don't think it should be part of the XForms spec
<nick> I do believe we need a simpler format
<nick> There are already browsers that support repeat in html forms, and users already use it, so we should if we want to support html forms also support that pattern, (I don't belief we should do that)
<klotz> http://lists.w3.org/Archives/Public/public-forms/2008Mar/0043.html
there is a very noisy line
<nick> the only 'problem' with Erik's variables is that you can't refer to all the lineTotal nodes only the one in the current row
<nick> I mean inside the repeat
<nick> if you want to calculate for example the percentage of a value compared to all the rows
<nick> I understand why it solves the PO form
<John_Boyer> Nick asks "what if you have a column in a repeat that wants to show a percentage contribution over the whole table"
<John_Boyer> calculate="sum(../$LineTotal)"
<John_Boyer> ?
<John_Boyer> Can't do, OK.
<John_Boyer> Variables values can be decided relative to context node of whole expression, not context within expression
<John_Boyer> <output name="Subtotal" calculate="sum($LineTotal)"/>
<John_Boyer> <output name="Subtotal" calculate="sum(row/LineTotal)"/>
<klotz> level("row")/LineTotal
<Steven> I will have trouble staying to 18:30
<Steven> 18:15 is already hard
<Steven> Yes
either way work fine for me
7: 45 AM is tough for us here though ;-)
<klotz> We had 7am calls for nearly 5 years.
This is scribe.perl Revision: 1.133 of Date: 2008/01/18 18:48:51 Check for newer version at http://dev.w3.org/cvsweb/~checkout~/2002/scribe/ Guessing input format: RRSAgent_Text_Format (score 1.00) No ScribeNick specified. Guessing ScribeNick: ebruchez Found Scribe: Leigh WARNING: No "Topic:" lines found. Default Present: wellsk, Charlie, John_Boyer, ebruchez, Leigh_Klotz, Roger, +1.703.368.aaaa, Nick_van_den_Bleeken, markbirbeck, Steven Present: wellsk Charlie John_Boyer ebruchez Leigh_Klotz Roger +1.703.368.aaaa Nick_van_den_Bleeken markbirbeck Steven Regrets: Uli Rafael Agenda: http://lists.w3.org/Archives/Public/public-forms/2008Mar/0030.html Got date from IRC log name: 12 Mar 2008 Guessing minutes URL: http://www.w3.org/2008/03/12-forms-minutes.html People with action items: WARNING: Input appears to use implicit continuation lines. You may need the "-implicitContinuations" option. WARNING: No "Topic: ..." lines found! Resulting HTML may have an empty (invalid) <ol>...</ol>. Explanation: "Topic: ..." lines are used to indicate the start of new discussion topics or agenda items, such as: <dbooth> Topic: Review of Amy's report[End of scribe.perl diagnostic output]