Using a full HTML clay view it is possible to do things like that in a
clay view:

<html xmlns="http://www.w3.org/1999/xhtml";
xmlns:f="http://java.sun.com/jsf/core";
xmlns:h="http://java.sun.com/jsf/html";
xmlns:clay="http://shale.apache.org/clay";
xmlns:s="http://shale.apache.org/core";
xmlns:t="http://myfaces.apache.org/tomahawk";>

 <t:table ...>
</t:table>

</html>

I can use the components without using spans and the jsfid parameter.

But if i use symbols to craft my page this does not work.

The template does got the xmlns namespaces in the root html tag, but the
symbols which gets replaced with header, footer & co like this:

<div xmlns="http://www.w3.org/1999/xhtml";
        xmlns:f="http://java.sun.com/jsf/core";
        xmlns:h="http://java.sun.com/jsf/html";
        xmlns:clay="http://shale.apache.org/clay";
        xmlns:s="http://shale.apache.org/core";
        xmlns:t="http://myfaces.apache.org/tomahawk"; jsfid="void">

<p>
 This is the Header.
</p>
</div>

need this surrounding "div" workaround, to get the <t:table> working for
example.
Without the div and the namespaces, its "broken"and gets not replaced by
the jsf component.

Should this work, is this a bug? Or is this correct behaviour?

It would be nice if the symbols which gets replaced can use the
namespaces declared in the "root" template.

kind regards

Torsten

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to