Problem with reinitializing a registry

2014-04-28 Thread Wechsung, Wulf
Hello T5-Users, I'm very much stuck on this issue and hoping someone here can maybe help me. So our project does extensive Unit Tests with Page Tester and essentially all services substituted or mocked out (for example in-memory database). We've had a few issues with test stability as we

StylesheetOptions().withCondition(IE) not working in 5.4

2014-04-28 Thread George Christman
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

GWT on Tapestry

2014-04-28 Thread John
I'm thinking of developing a GWT app for mobile devices and I'm wondering how I might go about reusing my Taptestry page classes if that makes any sense? Obviously I won't need the rendering/template aspects of Taptestry but I would like to access many of the methods in page classes. Perhaps I

Re: StylesheetOptions().withCondition(IE) not working in 5.4

2014-04-28 Thread George Christman
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

Re: StylesheetOptions().withCondition(IE) not working in 5.4

2014-04-28 Thread Michael Gentry
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();

Re: StylesheetOptions().withCondition(IE) not working in 5.4

2014-04-28 Thread George Christman
Thanks Michael, I'll keep this in mind, but for the time being I'm just fixing the css to be compliant with ie10 and up. On Mon, Apr 28, 2014 at 10:10 AM, Michael Gentry mgen...@masslight.netwrote: Hi George, I created a UserAgent service to query some basic browser information. Since this

Inject remote IP address in a Page

2014-04-28 Thread Sanket Sharma
Hi, I have a requirement where I would like to retrieve the remote IP address of the client in several pages in my application. Currently, I'm resorting to using HttpServletRequest obtained via RequestGlobals on each of my page. I was wondering If I could via some mechanism have the IP address

Re: Inject remote IP address in a Page

2014-04-28 Thread Thiago H de Paula Figueiredo
On Mon, 28 Apr 2014 17:42:31 -0300, Sanket Sharma sanketsha...@gmail.com wrote: Hi, Hi! I have a requirement where I would like to retrieve the remote IP address of the client in several pages in my application. Currently, I'm resorting to using HttpServletRequest obtained via