Re: IE8 Compatibility Quick Fix

2009-06-24 Thread Ben Gidley
You should be able to do this with a MarkupRendererFilter
If you write one and contribute it to

public void
contributeMarkupRenderer(OrderedConfiguration
configuration){
 ...
}

It will give you access to the write object before/after the render. That
will let you add anything you like to the head.

(This is how @IncludeStyleSheet works).


Ben Gidley

www.gidley.co.uk
b...@gidley.co.uk


On Thu, Oct 30, 2008 at 9:47 PM, samlai  wrote:

>
> I'm guessing it's not currently doable with Tapestry 5.  I bet this
> particular request will grow in popularity when IE8 is officially released.
> The easiest way to port existing web pages for IE8 is that one liner at the
> top.
>
>
> Peter Stavrinides wrote:
> >
> > There has been a lot of posts on this topic, and yes you are not alone.
> >
> > --
> > If you are not an intended recipient of this e-mail, please notify the
> > sender, delete it and do not read, act upon, print, disclose, copy,
> retain
> > or redistribute it. Please visit http://www.albourne.com/email.html for
> > important additional terms relating to this e-mail.
> >
> > - Original Message -
> > From: "Luther Baker" 
> > To: "Tapestry users" 
> > Sent: Thursday, 23 October, 2008 2:53:30 AM GMT +02:00 Athens, Beirut,
> > Bucharest, Istanbul
> > Subject: Re: IE8 Compatibility Quick Fix
> >
> > I'm afraid this will be an unpopular suggestion - but does anyone else
> > wish
> > there was a little simpler, manual/direct control over the  section
> > of
> > the page?
> >
> > Just my $0.02.
> >
> > -Luther
> >
> >
> >
> > On Wed, Oct 22, 2008 at 5:12 PM, samlai  wrote:
> >
> >>
> >> Anybody knows how to do this?
> >>
> >> BTW, the css include tag right after head is the following:
> >>
> >> 
> >> >> type="text/css">
> >>
> >> Basically I want to be able to do the following:
> >>
> >> 
> >>
> >>  >> type="text/css">
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/IE8-Compatibility-Quick-Fix-tp19340728p20120755.html
> >> Sent from the Tapestry - User mailing list archive at Nabble.com.
> >>
> >>
> >> -------------
> >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> >> For additional commands, e-mail: users-h...@tapestry.apache.org
> >>
> >>
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > For additional commands, e-mail: users-h...@tapestry.apache.org
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/IE8-Compatibility-Quick-Fix-tp19340728p20255158.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


Re: IE8 Compatibility Quick Fix

2009-06-24 Thread Valentin Yerastov

Hello, I use for this servlet filter. 

public class IE8CompatibleFilter implements Filter {

@Override
public void doFilter(ServletRequest request, ServletResponse response, 
FilterChain chain) throws IOException, ServletException 
{
if (response instanceof HttpServletResponse) {

((HttpServletResponse)response).setHeader("X-UA-Compatible",
"IE=EmulateIE7");
}  
chain.doFilter(request, response);
}
...
-- 
View this message in context: 
http://www.nabble.com/IE8-Compatibility-Quick-Fix-tp19340728p24183949.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: IE8 Compatibility Quick Fix

2008-10-30 Thread samlai

I'm guessing it's not currently doable with Tapestry 5.  I bet this
particular request will grow in popularity when IE8 is officially released. 
The easiest way to port existing web pages for IE8 is that one liner at the
top.


Peter Stavrinides wrote:
> 
> There has been a lot of posts on this topic, and yes you are not alone.
> 
> -- 
> If you are not an intended recipient of this e-mail, please notify the
> sender, delete it and do not read, act upon, print, disclose, copy, retain
> or redistribute it. Please visit http://www.albourne.com/email.html for
> important additional terms relating to this e-mail.
> 
> - Original Message -
> From: "Luther Baker" <[EMAIL PROTECTED]>
> To: "Tapestry users" 
> Sent: Thursday, 23 October, 2008 2:53:30 AM GMT +02:00 Athens, Beirut,
> Bucharest, Istanbul
> Subject: Re: IE8 Compatibility Quick Fix
> 
> I'm afraid this will be an unpopular suggestion - but does anyone else
> wish
> there was a little simpler, manual/direct control over the  section
> of
> the page?
> 
> Just my $0.02.
> 
> -Luther
> 
> 
> 
> On Wed, Oct 22, 2008 at 5:12 PM, samlai <[EMAIL PROTECTED]> wrote:
> 
>>
>> Anybody knows how to do this?
>>
>> BTW, the css include tag right after head is the following:
>>
>> 
>>    > type="text/css">
>>
>> Basically I want to be able to do the following:
>>
>> 
>>
>> > type="text/css">
>> --
>> View this message in context:
>> http://www.nabble.com/IE8-Compatibility-Quick-Fix-tp19340728p20120755.html
>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/IE8-Compatibility-Quick-Fix-tp19340728p20255158.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IE8 Compatibility Quick Fix

2008-10-23 Thread Peter Stavrinides
There has been a lot of posts on this topic, and yes you are not alone.

-- 
If you are not an intended recipient of this e-mail, please notify the sender, 
delete it and do not read, act upon, print, disclose, copy, retain or 
redistribute it. Please visit http://www.albourne.com/email.html for important 
additional terms relating to this e-mail.

- Original Message -
From: "Luther Baker" <[EMAIL PROTECTED]>
To: "Tapestry users" 
Sent: Thursday, 23 October, 2008 2:53:30 AM GMT +02:00 Athens, Beirut, 
Bucharest, Istanbul
Subject: Re: IE8 Compatibility Quick Fix

I'm afraid this will be an unpopular suggestion - but does anyone else wish
there was a little simpler, manual/direct control over the  section of
the page?

Just my $0.02.

-Luther



On Wed, Oct 22, 2008 at 5:12 PM, samlai <[EMAIL PROTECTED]> wrote:

>
> Anybody knows how to do this?
>
> BTW, the css include tag right after head is the following:
>
> 
> type="text/css">
>
> Basically I want to be able to do the following:
>
> 
>
>  type="text/css">
> --
> View this message in context:
> http://www.nabble.com/IE8-Compatibility-Quick-Fix-tp19340728p20120755.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IE8 Compatibility Quick Fix

2008-10-22 Thread Luther Baker
I'm afraid this will be an unpopular suggestion - but does anyone else wish
there was a little simpler, manual/direct control over the  section of
the page?

Just my $0.02.

-Luther



On Wed, Oct 22, 2008 at 5:12 PM, samlai <[EMAIL PROTECTED]> wrote:

>
> Anybody knows how to do this?
>
> BTW, the css include tag right after head is the following:
>
> 
> type="text/css">
>
> Basically I want to be able to do the following:
>
> 
>
>  type="text/css">
> --
> View this message in context:
> http://www.nabble.com/IE8-Compatibility-Quick-Fix-tp19340728p20120755.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: IE8 Compatibility Quick Fix

2008-10-22 Thread samlai

Anybody knows how to do this?

BTW, the css include tag right after head is the following:




Basically I want to be able to do the following:


 

-- 
View this message in context: 
http://www.nabble.com/IE8-Compatibility-Quick-Fix-tp19340728p20120755.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



IE8 Compatibility Quick Fix

2008-09-05 Thread samlai

http://www.dynamicdrive.com/forums/showthread.php?t=36047

I have to put the following meta tag right after  in order for IE8 to
pickup.


  
  ...

Currently, I have some CSS includes that's automatically inserted right
after .  What's the best way to add that meta tag before those CSS
includes?  Thanks.
-- 
View this message in context: 
http://www.nabble.com/IE8-Compatibility-Quick-Fix-tp19340728p19340728.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]