You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by adam pinder <ap...@hotmail.co.uk> on 2010/03/01 18:15:02 UTC

Action tag: execute method not being called

 
BACKGROUND:
 
I have the following line in a jsp page that is shown after login
 
<s:action name="TeamActivity!execute" executeResult="false"><s:param name="action">find</s:param><s:param name="teamActivity.selectedActivity">MyActivity</s:param><s:param name="teamActivity.dateFrom" value="dateFrom"/><s:param name="teamActivity.dateTo" value="dateTo"/><s:param name="calledFromWelcomeSummary">Yes</s:param></s:action>
 
This action simply gathers data and stores it in a session object.
 
Later on in the same jsp page i then have lines like
 
<img src="GenerateChart.action?action=activityTasksUpdatedPie" border="0" width="370px" height="370px"/>
 
The GenerateChart action uses the session object (from TeamActivity action) containing the data to render a pie chart - the reason for the session object is that i call several GenerateChart actions from this page rendering various charts all from the same data and thought it was more efficient than retrieving the data each time.
 
PROBLEM:
 
In Internet Explorer and Firefox all works well, i can see the TeamActivity action parameters being passed, the prepare, validate and execute methods firing, the data is retrieved and i get all the charts displayed.
 
In Safari (trying to be iphone friendly) the parameters are passed, prepare and validate methods fire but the execute method is not called. I have even removed all content from validate method (in case some parameter is invalid now) and still execute method doesn't get called.
 
I thought this processing was purely server side so i don't understand why Safari makes any difference.
 
Any thoughts on why Safari is having this influence gratefully received.
 
thanks
adam
  		 	   		  
_________________________________________________________________
Tell us your greatest, weirdest and funniest Hotmail stories
http://clk.atdmt.com/UKM/go/195013117/direct/01/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org