John Boyer, IBM
Leigh Klotz, Xerox
Nick van den Bleeken, Inventive Designers
Philip Fennell, MarkLogic
Steven Pemberton, CWI/W3C
Charlie Wiecha, IBM
Erik Bruchez, Orbeon
new
Steven Pemberton: Alain Couthuries
has been invited and as an expert and should be here next
week.
Steven Pemberton: I've contacted.
Cordis, Jadu, and EMC. Anyone know anyone at Alfresco, Alfresco, or
Atlassian, Ample SDK? Joern Turner?
Leigh Klotz: I'll contact Joern.
Steven Pemberton: Kurt Cagle and Dan
McCreary?
John Boyer: Yes, I'll contact
them.
Steven Pemberton: Now HP and Adobe
said they would be joining.
Charlie Wiecha: I will contact Scott
at HP.
Leigh Klotz: Larry at Adobe.
Steven Pemberton: I will contact
Larry. Anyone else?
Charlie Wiecha: And Yahoo.
Steven Pemberton: I will contact
Adobe.
Charlie Wiecha: And ask Raman.
Steven Pemberton: Now is the ideal time to ask new members to join.
Nick van: No new list yet.
Leigh Klotz: I'll look at it.
new
Leigh Klotz: I wonder why he didn't
ask for show=new
on submission.
John Boyer: This is already in the
backlog.
Leigh Klotz: xsltforms has show=new.
Or do we want a bigger re-design.
John Boyer: Then you need
replace=none.
Nick van: I'm not sure if you want to
tackle the replace frames problem or replace div problem.
John Boyer: That's how we got
targetref so we could use target for iframes.
Leigh Klotz: xframes
John Boyer: It is in xforms 1.2
features.
Leigh Klotz: Is there more guidance
for implementation experimentation?
John Boyer: http://www.w3.org/MarkUp/Forms/wiki/Submission_Embedding
Leigh Klotz: So we can ask Joern to
help design it if he joins the WG.
Erik Bruchez: Is the request the same
as the target attribute?
John Boyer: The previous link has
Leigh writing up target=new.
Erik Bruchez: I was a proponent of
target because HTML uses it. We should do it the same way. We have
xf:load which doesn't allow specifying the target window frame, but
that's wrong too.
Leigh Klotz: Maybe the HTML
integration could add that.
Erik Bruchez: You could go either way;
just say you don't mandate what target means.
Leigh Klotz: Language about frames
would go in the integration.
Leigh Klotz: So the feature is just
@target. Do you say @replace?
Erik Bruchez: We do
replace=all
and target=id
in our
implementation.
Nick van: You could show the
XML.
Erik Bruchez: replace=all
returns whatever the submission returns.
Steven Pemberton: But you have to
bounce it off a server.
Erik Bruchez: If you want to show the
instance, your service returns the xml.
Steven Pemberton: Then you have to
have a server.
Erik Bruchez: It's not a different
replace, it's replace none.
John Boyer:
target=instance
retrofitted. targetref is the ref in
the instance.
Erik Bruchez: target should have
meaning for replace=all
only.
Leigh Klotz: Erik, you already have
this implemented. Do you have text we can use?
Nick van:
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-advanced-submissions#TOC-Specifying-an-HTML-target-window-or
Erik Bruchez: We say it only makes
sense for replace=all
.
John Boyer: How do you indicate a new
window? new or _new?
Erik Bruchez: _blank as in HTML4. It's
not beautiful but you have predefined values, _blank, _self,
_parent, _top, or a named window.
Leigh Klotz: Yes, those are features
of the host language.
Steven Pemberton: A named window is
created or replaced.
Leigh Klotz: So the answer to Joern is
to use target.
John Boyer: We can give him the link
to the Submission Embedding wiki page.
Leigh Klotz: Let's put in a link to
Erik's documentation under a heading "Current
Implementations."
John Boyer: And HTML4.
Leigh Klotz: HTML4 defines some of the
values, but any host language could do that.
Steven Pemberton: Who will
answer.
Leigh Klotz: John if he wants to or
me.
Action 2010-05-26.1: Leigh Klotz to respond to http://lists.w3.org/Archives/Public/www-forms/2010May/0018.html
John Boyer: This is different from
@while. It's evaluated at a moment in time, and no further activity
happens with the result of the while attribute expression. By
compression @iterate picks up a nodeset and the nodeset is updated
and maintained throughout the lifetime of the looping process. If
the iteration process does irritating things to the nodeset, you
have to deal with the consequences.
Steven Pemberton: Is this done only on
actions.
Erik Bruchez: Yes. This came from
exforms. We took @if and @while but not @iterate. @while leads to
complicated code. @iterate is more natural in some cases, and is
compatible with iteration in XSLT 2.0 / XPath 2.0 ("for"). Here
it's different because we run actions. The idea is to put this on
actions and have a block of actions. You could put it on setvalue,
iterate.
Leigh Klotz: It seems like this would
be useful for adding a boolean attribute to a series of repeated
items, a common use case.
John Boyer: ...
Erik Bruchez: If you write
<setvalue ref=.' iterate=nodeset
> then the ref
adjusts to being the current node of the iteration.
John Boyer: And @iterate is evaluted
after @context?
Erik Bruchez: I think that's how we
implemented it.
John Boyer: What happens if you do a
synchronous send that replaces the iteration nodeset?
Erik Bruchez: I think you hang onto
the nodes; though we could specify something different, for example
checking the node presence.
Steven Pemberton: What happens if it
isn't present?
Leigh Klotz: You currently make a copy
at start time?
Erik Bruchez: It's a sequence. The
nodes can be detached as in any DOM. You can detach an ancestor, as
in an instance replace. If the @context points to a node, and
within the action block and you delete that node or an ancestor (or
as John said a submission) you could have something similar. So we
already have that problem with @context, and context in general. It
may be slightly easier to achieve, but it's possible.
John Boyer: It's not hard but we need
to specify; does @iterate run once and snapshot?
Nick van: I think it should be in sync
with what @context does and I don't think it's well specified now.
Does @context copy? What happens if you modify something in a
descendent action.
John Boyer: In my implementation, the
action stops running.
Erik Bruchez: By disappear you mean
when the instance is replaced, for example?
John Boyer: Yes. Any following actions
after a deletion that don't use the context will run, but if they
require it, they don't run.
Nick van: What action doesn't use the
context.
John Boyer: setfocus.
Erik Bruchez: Here is an example:
<action context="."> <delete modeset=".."/> <setvalue ref=".">foo</setvalue> </action>
Steven Pemberton: Let's come to a
conclusion for this week. John, do you still have troubles?
John Boyer: We have to define what
@iterate does.
Steven Pemberton: Are we agreed that
the use case is convincing enough?
John Boyer: Yes, absolutely.
Steven Pemberton: It looks like a
useful addition with more work to be done.
Philip Fennell: I won't be here next week.