solution found...

IE and FF works both if

<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd";>
        
is removed and document starts with

<html xmlns:f="http://java.sun.com/jsf/core";
xmlns:h="http://java.sun.com/jsf/html";
     xmlns:t="http://myfaces.apache.org/tomahawk";>

strange :-/

thx for your solution with
<html xmlns:f="http://java.sun.com/jsf/core";
xmlns:h="http://java.sun.com/jsf/html";
     xmlns:t="http://myfaces.apache.org/tomahawk";>

but the
<!DOCTYPE html PUBLIC "-//W3C//DTD html 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd";>
is important for view and ccs

isnt it?

2006/7/27, stephan opitz <[EMAIL PROTECTED]>:
i know...

only if document starts in this strange way i can view my page only
with IE but have in IE a calendar rendered as popup

if <span xmlns... is not at begin - maybe surrounding the <body> -
content it only works in FF (+ the rendered cal as popup)...

what is the problem with IE or any solution maybe as example where
cals as popup runs

i have myfaces 1.15...

thats why i asked for any other solution...

2006/7/27, René Zanner <[EMAIL PROTECTED]>:
> Hi Stephan,
>
> my point was: do not surround the <html> root element with another <span> - 
what's the use of it? You break the HTML document structure. May be that's the reason why FF 
does not recognize the file as html document...
>
> Instead use the namespace attributes directly in the <html> root tag, e.g.:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
> <html xmlns:f="http://java.sun.com/jsf/core";
>      xmlns:h="http://java.sun.com/jsf/html";
>      xmlns:t="http://myfaces.apache.org/tomahawk";>
>
> ...
>
> </html>
>
> Cheers,
>
> René
>
>
> ----- Original Message -----
> From: stephan opitz
> [mailto:[EMAIL PROTECTED]
> To: [email protected]
> Sent: Thu, 27 Jul
> 2006 22:30:46 +0200
> Subject: Re: tiles and the *.xml suffix
>
>
> > 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
> > > > >
> > > >
> > >
> >
>

Reply via email to