Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

empty onload

Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. I have some jsp pages which require a javascript function to execute onload (these extend Layout tile). Some of the pages do not require this (extend MemberLayout tile). tiles.xml is as follows

the html for a jsp which extends Layout tile will then be as follows:

However setting onLoadScript and onLoadScriptProcName to empty in MemberLayout is causing an issue. One of my jsp pages (which uses MemberLayout) has a submit button on there and I am using <s:token /> (struts 2) to prevent double submits. When I click submit I am getting the error form token does not match session token. Any ideas?
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not enough information to work with.
    Bookmark Topic Watch Topic
  • New Topic