1st: *.xml suffix in browser solved by
a solution can be
<!-- make full xml view apply to .tru -->
<context-param>
<param-name>org.apache.shale.clay.XML_TEMPLATE_SUFFIX</param-name>
<param-value>.tru</param-value>
</context-param>
2nd...
i use tiles:
xmlns attributes to the root element - how you mean this? i surround
my basis layout.html with
<span xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:t="http://myfaces.apache.org/tomahawk">
if i do this and have a included side with the calendar - it works in
IE but not in firefox (he thinks an xml will be called...)
if i maybe only surrond the page included to the base page with <span xmlns...
the calendar works only in firefox but not in IE
everything strange...
2006/7/27, René Zanner <[EMAIL PROTECTED]>:
Hi Stephan,
have you tried to put the xmlns attributes to the root element of the document (which
should be <html> in any case...)?
I do not see the connection with the inputCalendar, I'm afraid. Can you explain
a bit more?
Cheers,
René
PS: By the way: what does this problem have to do with the subject of the email
("tiles and the *.xml suffix")?
----- Original Message -----
From: stephan opitz
[mailto:[EMAIL PROTECTED]
To: [email protected]
Sent: Thu, 27 Jul
2006 16:45:10 +0200
Subject: Re: tiles and the *.xml suffix
> i defined the calendar in clay-config.xml
>
> <component jsfid="birthdate" id="birthdate" extends="t:inputCalendar">
> <attributes>
> <set name="value" value="[EMAIL PROTECTED]" />
> <set name="renderAsPopup" value="true" />
> <set name="renderPopupButtonAsImage" value="true" />
> <set name="popupDateFormat" value="yyyy/MM/dd" />
> <set name="allowBody" value="false" />
> <set name="required" value="true" />
> <set name="monthYearRowClass" value="yearMonthHeader" />
> <set name="weekRowClass" value="weekHeader" />
> <set name="currentDayCellClass" value="currentDayCell"
/>
> <set name="styleClass" value="input" />
> </attributes>
> </component>
>
> it works fine in such way...
>
> but ie needs that the whole html file has an
>
> <span xmlns:f="http://java.sun.com/jsf/core"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:t="http://myfaces.apache.org/tomahawk">
> <html>
> ...
> <span cal ...
>
> </span>
>
> this does not work in firefox...
>
> in firefox it works when i surrond the <span cal ... with <span
> xmlns..., but then ie has probs...
>
> any other solution found, yet?
> 2006/7/27, <stephan opitz <[EMAIL PROTECTED]>:
> > my base layout looks like this
> >
> > <span xmlns:f="http://java.sun.com/jsf/core"
> > xmlns:h="http://java.sun.com/jsf/html"
> > xmlns:t="http://myfaces.apache.org/tomahawk">
> >
> > <span jsfid="loadBundle"
> > basename="de.fhb.ShaleTest.view.ApplicationResources"
> var="messages" />
> >
> > <!DOCTYPE html PUBLIC "-//W3C//DTD html 4.01//EN"
> > "http://www.w3.org/TR/html4/strict.dtd">
> >
> > <html lang="de">
> >
> > the first
> >
> > <span xmlns:f="http://java.sun.com/jsf/core"
> > xmlns:h="http://java.sun.com/jsf/html"
> > xmlns:t="http://myfaces.apache.org/tomahawk">
> >
> > makes it possible that the myfaces calendar runs as popup!!!
> > but this makes the problem - because of the *.xml suffix in browser
> > headline ...
> >
> > in this context browser firefox waits for an xml conform document...
> >
> > where i can change this... that the url will be rewriten ...
> >
> > maybe in web.xml but i'dont know which key has to changed...
> >
> > stephan
> >
>