Closed Bug 332231 Opened 18 years ago Closed 8 years ago

actions are handled wrong

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: allan, Unassigned)

References

()

Details

Attachments

(1 file)

1.86 KB, application/xhtml+xml
Details
Our actions dispatch events to the model to "make things happen". That's actually wrong. F.x. for rebuild:
"This action causes the processing of xforms-rebuild to happen, bypassing the normal event flow."
[http://www.w3.org/TR/2006/REC-xforms-20060314/slice10.html#action-rebuild]

Note "bypassing the normal event flow". So the action should be performed no matter what. So we need to tell the model to do the action directly, without the event.

This is probably needed for bug 300591 also, so it might happen as part of that.
Oh, and:
"Actions that directly invoke rebuild, recalculate, revalidate, or refresh always have an immediate effect, and clear the corresponding flag. The XForms Actions in this category are:

    rebuild
    recalculate
    revalidate
    refresh
"
[http://www.w3.org/TR/2006/REC-xforms-20060314/slice10.html#action-action]
Attached file Testcase
Assignee: aaronr → allan
Status: NEW → ASSIGNED
I'm 99% sure that this will be handled by bug 300591.
Depends on: 300591
Hmm, just discovered that anything inside an action block should _never_ send events -- including the action block itself. That seems weird (wrong) to me.

I've written to the WG:
http://lists.w3.org/Archives/Public/www-forms/2006May/0129.html
(In reply to comment #4)
> Hmm, just discovered that anything inside an action block should _never_ send
> events -- including the action block itself. That seems weird (wrong) to me.
> 
> I've written to the WG:
> http://lists.w3.org/Archives/Public/www-forms/2006May/0129.html
> 

current thinking:
http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/REC-xforms-10-2ndEdition-errata.html#E5a
Assignee: allan → xforms
Status: ASSIGNED → NEW
RIP xforms
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: