Closed
Bug 279012
Opened 21 years ago
Closed 21 years ago
no support for @incremental in input, et. al.
Categories
(Core Graveyard :: XForms, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: aaronr, Assigned: smaug)
Details
Attachments
(2 files, 1 obsolete file)
|
2.00 KB,
application/xhtml+xml
|
Details | |
|
6.56 KB,
patch
|
bryner
:
superreview+
|
Details | Diff | Splinter Review |
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
| Assignee | ||
Comment 2•21 years ago
|
||
It is on purpose to not to set the event handled=true in handleDefault.
| Assignee | ||
Updated•21 years ago
|
Attachment #172799 -
Flags: review?(aaronr) → review?(allan)
Comment 3•21 years ago
|
||
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+
| Assignee | ||
Comment 4•21 years ago
|
||
Attachment #172799 -
Attachment is obsolete: true
Attachment #172822 -
Flags: superreview?(bryner)
Updated•21 years ago
|
Attachment #172822 -
Flags: superreview?(bryner) → superreview+
Comment 5•21 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•