This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts 1.2 - Tiles - Wrong Action Being Submitted Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 1.2 - Tiles - Wrong Action Being Submitted " Watch "Struts 1.2 - Tiles - Wrong Action Being Submitted " New topic
Author

Struts 1.2 - Tiles - Wrong Action Being Submitted

veronica jones
Greenhorn

Joined: Aug 31, 2009
Posts: 5
Hi, I am using Struts 1.2.7 with Tiles. My tiles layout looks like this:

header
body
bottom

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 initSearch.do into it instead of the retrvSearch.do


Thoughts???
 
Don't get me started about those stupid light bulbs.
 
subject: Struts 1.2 - Tiles - Wrong Action Being Submitted
 
Similar Threads
Query String Problem
Nested Tiles
html:mutibox and validation Error
How to make dynamic radio button checked
Probably a very simple Struts form question?