Open
Bug 277031
Opened 20 years ago
Updated 2 years ago
XSLT Template Framework
Categories
(Core :: XUL, enhancement)
Tracking
()
NEW
People
(Reporter: sean, Unassigned)
References
()
Details
Attachments
(2 files)
2.21 KB,
patch
|
Details | Diff | Splinter Review | |
150 bytes,
patch
|
Details | Diff | Splinter Review |
This is a small xbl that provides inline XSLT templating.
Reporter | ||
Comment 1•20 years ago
|
||
Reporter | ||
Comment 2•20 years ago
|
||
Comment 3•20 years ago
|
||
I'd prefer to see only asynch requests in general. I'm not sure if I would like one binding or two bindings, too. But much more than anything, I would like to see examples. I don't trust our XSLT engine and XUL. Examples that should eventually work include - all kind of menus (with the template hooked up at the root or somewhere in the middle of the menu structure - xul:tree (hopefully in a somewhat familiar markup structure to rdf templates) - xul boxes. From looking at the code, I don't see how anything generated is actually shown. Last and least, modification events on style and source should retrigger transforms possibly with a timeout so that batch changes get only one rebuild.
Reporter | ||
Comment 4•20 years ago
|
||
There is a simple example at http://www.mvdsl.com/~mcmurrays/myTemplateIdea.xul. It has a tree and a few menulists. I agree about the timeout for triggering transforms. As it stands, a template connected to a datasource will transform once for each change to any datasource. So even if you populate each datasource in a single shot, the template transforms once for each datasource. I mentioned before that it would be nice to consolidate all transform requests in a queue or timeout or something. As for how the content is actually shown, lines 70-75 remove outdated content and insert new content into the document.
Reporter | ||
Updated•20 years ago
|
Attachment #170266 -
Attachment description: Makes templates non-displayed. → CSS to not display templates
Reporter | ||
Updated•20 years ago
|
Attachment #170266 -
Attachment description: CSS to not display templates → CSS with xbl bindings, and to not display templates
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•