Hi.
One last question:
So qx.bom.Element/qx.bom.element are HTML specific,
while qx.dom is not. But for the most part they are
encapsulations of HTML-independent functions like
createElement, so they can be used for XML, right?
Thanks,
Tim Buschtöns,
CAS Software AG
Sebastian Werner schrieb:
> Tim,
>
> no in this case it is indented. qx.bom is the lower level API compared
> to qx.html and should allow controlling these attributes.
>
> Sebastian
>
>
> Tim Buschtöns schrieb:
>> Hi!
>>
>> Okay, makes sense, so i will not use qx.html.Element.
>> But what about qx.bom.Element?
>>
>> From the API Documentation:
>> -----
>> create(String name, Map attributes, Window win, String ns)
>> Creates an DOM element.
>>
>> Attributes may be given directly with this call. This is critical for
>> some attributes e.g. name, type, ... in many clients.
>> Parameters:
>>
>> name - Tag name of the element
>> attributes - Map of attributes to apply
>> win - Window to create the element for
>> ns - Namespace of element to create
>> ----
>> Is the "ns" parameter a mistake?
>>
>> Greetings.
>> Tim Buschtöns,
>> CAS Software AG
>>
>> Sebastian Werner schrieb:
>>> Hi Tim,
>>>
>>> it is not planned to use the qx.html.Element together with XML. I think
>>> we need something more specific to SVG here. Infact qx.html.* is highly
>>> optimized for HTML DOM nodes and not for SVG nodes.
>>>
>>> qx.dom => Low Level DOM API (for XML & HTML)
>>> qx.bom => Low Level Browser Object Model (HTML/Browser specific)
>>> qx.html => High Level BOM API
>>>
>>> * qx.html is not planned to support namespaces.
>>> * qx.html is used by the widget system and quite stable already.
>>>
>>> I hope this answers your questions. Otherwise feel free to ask again :)
>>>
>>> Sebastian
>>>
>>>
>>> Tim Buschtöns schrieb:
>>>> Hi. I am currently playing around with Qooxdoo 0.8 from the trunk.
>>>> I'm especially intrested in qx.html.Element, and there are few
>>>> things i'd like to know:
>>>>
>>>> - How far is the qx.html package developed, and how much is it going to
>>>> change?
>>>> - Why do you split the handling of dom-elements between qx.html, qx.dom
>>>> and qx.bom? It's rather confusing!
>>>> - Will qx.html.Element support namespaces?
>>>> "qx.bom.Element.create()" seems to support namespaces in the api,
>>>> but it is not implemented. Will this happen soon? I could really use it!
>>>>
>>>> Currently, i'm doing this (in Firefox):
>>>>
>>>> var svg_el = new qx.html.Element("svg");
>>>> svg_el._element =
>>>> document.createElementNS("http://www.w3.org/2000/svg","svg");
>>>>
>>>> Usefull would be:
>>>>
>>>> var svg_el = new qx.html.Element("svg","http://www.w3.org/2000/svg");
>>>>
>>>> Greetings.
>>>> Tim Buschtöns,
>>>> CAS Software AG
>>>>
>>>>
>>>> -------------------------------------------------------------------------
>>>> Check out the new SourceForge.net Marketplace.
>>>> It's the best place to buy or sell services for
>>>> just about anything Open Source.
>>>> http://sourceforge.net/services/buy/index.php
>>>> _______________________________________________
>>>> qooxdoo-devel mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>> -------------------------------------------------------------------------
>>> Check out the new SourceForge.net Marketplace.
>>> It's the best place to buy or sell services for
>>> just about anything Open Source.
>>> http://sourceforge.net/services/buy/index.php
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel