RE: [S2] Ajax DIV Question

2008-08-06 Thread Hoying, Ken
Thanks! I saw the indicator property right after I sent the email. Works like a charm. Thank you! -Original Message- From: Jeromy Evans [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2008 8:52 AM To: Struts Users Mailing List Subject: Re: [S2] Ajax DIV Question Dave Newton

Re: [S2] Ajax DIV Question

2008-08-06 Thread Jeromy Evans
Dave Newton wrote: http://struts.apache.org/2.x/docs/dojo-submit.html Put the notification message in a different div? Dave Yeah, use the indicator attribute to show/hide an image as per the example at the top of that page. It looks better too. ---

Re: [S2] Ajax DIV Question

2008-08-06 Thread Jeromy Evans
Dave Newton wrote: http://struts.apache.org/2.x/docs/dojo-submit.html Put the notification message in a different div? Dave Yeah, use the indicator attribute to show/hide an image as show at the top of that page. It looks better too. --

RE: [S2] Ajax DIV Question

2008-08-06 Thread Dave Newton
http://struts.apache.org/2.x/docs/dojo-submit.html Put the notification message in a different div? Dave --- On Wed, 8/6/08, Hoying, Ken <[EMAIL PROTECTED]> wrote: > From: Hoying, Ken <[EMAIL PROTECTED]> > Subject: RE: [S2] Ajax DIV Question > To: "Struts Users Mailin

RE: [S2] Ajax DIV Question

2008-08-06 Thread Hoying, Ken
, 2008 2:06 AM To: Struts Users Mailing List Subject: Re: [S2] Ajax DIV Question Hoying, Ken wrote: > I was able to update the href and formId via JavaScript and DOJO as > follows: > > dojo.widget.byId('divId').href = 'myUrl'; > dojo.widget.byId('divId'

Re: [S2] Ajax DIV Question

2008-08-05 Thread Jeromy Evans
Hoying, Ken wrote: I was able to update the href and formId via JavaScript and DOJO as follows: dojo.widget.byId('divId').href = 'myUrl'; dojo.widget.byId('divId').formId = 'myFormId'; This works fine as long as the form itself was not loaded infot the DIV (divId). However, if myFormId is loc

RE: [S2] Ajax DIV Question

2008-08-05 Thread Hoying, Ken
ver, if myFormId is located in divId and was loaded into the div via the initial ajax call, then it does not work. Any ideas? Thanks in advance, Ken -Original Message- From: Hoying, Ken [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2008 10:48 AM To: user@struts.apache.org Subject:

[S2] Ajax DIV Question

2008-08-04 Thread Hoying, Ken
I have a tabbed panel. I would like to refresh the contents of this tab and am able to do so by publishing to the proper topic. However, I really need to take it a step further and be able to dynamically specify the formid and href attributes of the Ajax DIV in my JavaScript, before refreshing it