Closed Bug 279012 Opened 21 years ago Closed 21 years ago

no support for @incremental in input, et. al.

Categories

(Core Graveyard :: XForms, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aaronr, Assigned: smaug)

Details

Attachments

(2 files, 1 obsolete file)

We currently have no support for the incremental attribute for our input, secret and textarea controls. Which isn't a massively huge deal since neither does Novell or XSmiles as far as I can tell. But formsPlayer does and we will need to eventually. I will post a testcase.
testcase that will show the problem for xforms:input control
Attached patch v1 (obsolete) — — Splinter Review
It is on purpose to not to set the event handled=true in handleDefault.
Assignee: aaronr → smaug
Status: NEW → ASSIGNED
Attachment #172799 - Flags: review?(aaronr)
Attachment #172799 - Flags: review?(aaronr) → review?(allan)
Comment on attachment 172799 [details] [diff] [review] v1 >Index: nsXFormsInputElement.cpp >=================================================================== >+++ nsXFormsInputElement.cpp 29 Jan 2005 13:00:39 -0000 ... > nsXFormsInputElement::OnCreated(nsIXTFXMLVisualWrapper *aWrapper) > { > nsresult rv = nsXFormsControlStub::OnCreated(aWrapper); > NS_ENSURE_SUCCESS(rv, rv); > >+ mIncremental = PR_FALSE; >+ Do put this in the constructor. >+nsresult >+nsXFormsInputElement::UpdateInstanceData() ... >+ // Dispatching xforms-value-changed between xforms-revalidate >+ // and xforms-refresh >+ // @see http://www.w3.org/TR/xforms/slice4.html#rpm-event-seq-vcwfc >+ rv = nsXFormsUtils::DispatchEvent(mElement, eEvent_ValueChanged); >+ NS_ENSURE_SUCCESS(rv, rv); >+ The model does this for you already, so you do not need it. With the above two changes, r=me.
Attachment #172799 - Flags: review?(allan) → review+
Attached patch v1 + comments — — Splinter Review
Attachment #172799 - Attachment is obsolete: true
Attachment #172822 - Flags: superreview?(bryner)
Attachment #172822 - Flags: superreview?(bryner) → superreview+
checked in
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
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: