Hi George,

I created a UserAgent service to query some basic browser information.
 Since this is done entirely in Java, the approach could work for you, I
think.  Here is what the interface looks like:

public interface UserAgent

{

    public String getUserAgent();


    public boolean isIE();      // Any version of IE.

    public boolean isIE6();     // Any version of IE 6.

    public boolean isIE7();     // Any version of IE 7.

    public boolean isIE8();     // Any version of IE 8.

    public boolean isIE9();     // Any version of IE 9.

    public boolean isBadIE();   // Any version of IE 6, 7, or 8.

    public boolean isChrome();  // Any version of Chrome.

    public boolean isFirefox(); // Any version of Firefox.

    public boolean isSafari();  // Any version of Safari.

}

If you think this would be useful for you, let me know and I'll send the
implementation.

mrg



On Mon, Apr 28, 2014 at 9:49 AM, George Christman
<gchrist...@cardaddy.com>wrote:

> looks as if this isn't a tapestry issue but rather a lack of conditional
> support with ie10.
>
> This appears to break Geoff jumpstart spinner example in later versions of
> ie
>
>
> http://jumpstart.doublenegative.com.au/jumpstart7/examples/ajax/loadingspinner
>
>
> On Mon, Apr 28, 2014 at 9:25 AM, George Christman
> <gchrist...@cardaddy.com>wrote:
>
> > I have the following code in my layout component.
> >
> > @Inject
> > @Path("context:css/zone-overlay-ie.css")
> > private Asset ieCSS;
> >
> > void afterRender() {
> >         javaScriptSupport.importStylesheet(new StylesheetLink(ieCSS, new
> > StylesheetOptions().withCondition("IE")));
> >     }
> >
> > I'm using ie10 and the condition doesn't appear to be working. Any
> > thoughts?
> >
> >
> >
>
>
> --
> George Christman
> www.CarDaddy.com
> P.O. Box 735
> Johnstown, New York
>

Reply via email to