Closed
Bug 296800
Opened 20 years ago
Closed 9 years ago
hint and help with invalid node bindings has wrong behaviour
Categories
(Core Graveyard :: XForms, defect)
Core Graveyard
XForms
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: allan, Unassigned)
References
()
Details
Attachments
(1 file)
|
1.61 KB,
application/xhtml+xml
|
Details |
Using invalid node bindings on either help or hint displays empty messages.
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
Empty messages does the same:
<xforms:trigger>
<xforms:label>Test</xforms:label>
<xforms:message level="ephemeral" ev:event="mouseover"/>
</xforms:trigger>
We also need to figure out how to handle the binding exception, right? Shouldn't this also generate a binding exception? Do we want it to be silent (just output to the console) or should we have the big popup? I'd argue that if we go with the big popup, then we should try a test-bind during page load so that the error is caught early by the forms developer.
| Reporter | ||
Comment 4•19 years ago
|
||
(In reply to comment #3)
> We also need to figure out how to handle the binding exception, right?
> Shouldn't this also generate a binding exception?
Hmm, I'm a bit out of touch with when we actually generate those exceptions, but I just looked in the spec. and it actually only mentions binding exception on wrong @model and @bind:
http://www.w3.org/TR/2005/PER-xforms-20051006/slice3.html#structure-attrs-single-node
> Do we want it to be silent (just output to the console) or should we have the
> big popup? I'd argue that if we go with the big popup, then we should try a
> test-bind during page load so that the error is caught early by the forms
> developer.
I'd argue that we should do an "XForms Error message", and let a configuration value let it either do:
1) js console output
or
2) notification bar
or
3) popup
that is, bug 323025 :)
| Reporter | ||
Updated•19 years ago
|
Assignee: allan → xforms
Comment 5•9 years ago
|
||
RIP xforms
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•