ste81 - 2012-03-01

Hi,
i'm using Roma Framework 3. My web application need to work in accessible mode or not if JavaScript is not enabled.
Where can i detect it?
Now in the class "CustomApplicationConfiguration" i have this method:

  public void startUserSession()
  {
    Roma.view().setScreen(Roma.component(ScreenManager.class).getScreen("accessible-screen.xml"));
  }

But if the browser has JavaScript enabled i want to do this:

Roma.view().setScreen(Roma.component(ScreenManager.class).getScreen("main-screen.xml"));

How can check if JavaScript is Enabled and then set correct Screen to "accessible-screen.xml" or "main-screen.xml"?

Thank's
Bye Stefano