hey to get things moving u cud try to add the method attribute in the submit 
tags. u can try to fill in "execute" in that or just create a new method which 
does what execute does.
this is more like bruteforce i think and i havent tried it either.

Himanshu

-----Original Message-----
From:   Session A Mwamufiya [mailto:[EMAIL PROTECTED]
Sent:   Fri 7/27/2007 9:54 PM
To:     user@struts.apache.org
Cc:     
Subject:        struts buttons to invoke actions

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]

Reply via email to