Reputation: 11
my XML web is configured as follow web.xml, i don't even know why it is giving me that error,i would like to refresh my layout.tml page after that 1 minute so i added to my layout this : meta obviously tapestry doesn't know page Context. Do you have any ideas ?
Upvotes: 0
Views: 676
Reputation: 754
To get access to a session object in Tapestry, just @Inject request and call request.getSession()). Do this in the Java class, perhaps in a getMaxInactiveInterval() method. See See http://jumpstart.doublenegative.com.au/jumpstart/examples/state/displaysessioncontents for an example.
Upvotes: 0