Talk:XULTemplatesAPI

Add topic
Active discussions
Revision as of 18:02, 3 May 2005 by Conor325 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

on nsIXULTemplateResult

as a Tree

Why doesn't a container Result provide direct access to the results it contains? Isn't Result effectively a tree?

all value support

Why no wildcard method ala "getAllPredicateNames", something to provide access to every resource predicate of a resource. To support this, add getValueFor(predicateName).

label support

Bonus: for any predicate, support the concept of a "label" that a Query Processor can insert. This would serve as a displayable prefix for any value. For example, "Wife" for the value of the predicate "http:../wife". Method? "getLabel"? Better yet, for any predicate allow any number of extra, dresser values. These could be passed in by the query processor and ignored or observed by the builder as appropriate. New method: "getLabels".

Return to "XULTemplatesAPI" page.