If the URL changes, then a normal http post is being fired, instead of
an ajax request.
What's your struts.ui.theme in struts.properties? If it is not "ajax",
try using theme="ajax" in the s:form and in the s:submit tags.
Did you included the s:head tag (http://struts.apache.org/2.x/docs/head.htm
Alvaro Sanchez-Mariscal wrote:
Try prepending an slash, ie, "/addProduct". Without it, it also didn't
worked to me.
Also, what happens exactly? Javascript errors? Have you tried
inspecting it with firebug?
Alvaro.
On 8/19/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote:
I've tried it with /
Try prepending an slash, ie, "/addProduct". Without it, it also didn't
worked to me.
Also, what happens exactly? Javascript errors? Have you tried
inspecting it with firebug?
Alvaro.
On 8/19/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote:
> Alvaro Sanchez-Mariscal wrote:
> > Hi,
> >
> > I've do
Alvaro Sanchez-Mariscal wrote:
Hi,
I've done the same using topics:
1) Publish on a topic after the request is executed (eg,
notifyTopics="/submit" in the s:submit).
2) Register to the same topic in the s:div corresponding to the tab
(eg, listenTopics="/submit" in the s:div).
Alvaro.
Can
Hi,
I've done the same using topics:
1) Publish on a topic after the request is executed (eg,
notifyTopics="/submit" in the s:submit).
2) Register to the same topic in the s:div corresponding to the tab
(eg, listenTopics="/submit" in the s:div).
Alvaro.
On 8/17/07, Clement, Steve <[EMAIL PROTE
You should be able to set the listenTopic attribute on the div for that
panel, and then notify the topic (I think this is on the s:submit tag,
but I could be mistaken). See
http://struts.apache.org/2.0.9/docs/tag-reference.html for more details.
This works if your theme "ajax".
One thing I have
6 matches
Mail list logo