Your approach seems fine.
See if you can access "CategoryEditor.action" directly using the
browser. If not, the action name is incorrect.
Have you confirmed that its actually posting a request?
Also the logging and debugging interceptor for more insight.
Session A Mwamufiya wrote:
Hi,
I use the following code to display a list of buttons that are supposed to call
their associated actions when pressed:
<s:form target="SMIG_Editor">
<s:submit value="Add Category" action="CategoryEditor"
cssClass="actionButton"/>
<s:submit value="Add Question" action="QuestionEditor"
cssClass="actionButton"/>
<s:submit value="Add Answer" action="AnswerEditor" cssClass="actionButton"/>
<s:submit value="Add Risk" action="RiskEditor" cssClass="actionButton"/>
<s:submit value="Add Mitigation" action="MitigationEditor"
cssClass="actionButton"/>
</s:form>
None of the actions seem to be called (I use log4j logging to determine whether
the execute() method in each of them is ever called; but it never is). I am
trying to understand what could be wrong in the way I wrote this.
I read online that there is a s:button tag, but when I tried using it, I get a
warning that the tag doesn't exist.
Any ideas?
Thanks,
Session
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]