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

Struts 1.2 - Tiles - Wrong Action Being Submitted

Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am using Struts 1.2.7 with Tiles. My tiles layout looks like this:


I am working on a Search Selections and results project. When the "search" link is selected from the header tile the following displays:
body Tile displays Search selections in one jsp with a form.
bottom Tile is a holding area for the search results in another jsp with a form of his own.

When a search button is selected and search results are displayed in the bottom Tile all works perfectly.

The problem:
The search selections jsp page uses javascript to go to up to 4 different actions due to a Search Button, Sort Button, and two cases where a selection causes a repopulation of search selections with different values. It also has a main action on the

I put in an alert inside of this function retrvSearch and the control goes there but when I debug the TilesRequestProcessor, it is receiving the into it instead of the

That which doesn't kill us makes us stronger. I think a piece of pie wouldn't kill me. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic