With notify topics you can handle before and after topics separately.
Suppose submitForm is the name of the topic that you are publishing then you
can do something like this.
dojo.event.topic.subscribe("/submitForm", function(data, type, e){
if (type=="before"){
//do something bef
You can include your javasript call in a piece of code in the jsp
which is the result of the action.
Make sure to include executeScripts="true" in your link/button.
Alvaro.
On 10/18/07, Eduardo Yáñez Parareda <[EMAIL PROTECTED]> wrote:
> Hello, I'm new to Struts 2.
> In a project we're using ver
2 matches
Mail list logo