Clay Symbols aren't namespace aware - would be nice to have,wouldnt it?

This is a discussion on Clay Symbols aren't namespace aware - would be nice to have,wouldnt it? within the Apache forums in Application Servers & Tools category; 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 ...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 04-08-2007, 03:10 PM
Torsten Krah
Guest
 
Default Clay Symbols aren't namespace aware - would be nice to have,wouldnt it?

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

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 07:54 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.