great, thanks for the help guys On 30/04/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
yes, that should work. musachy On 4/30/07, Stelios Togias <[EMAIL PROTECTED]> wrote: > > yes but I can call an action that has as a result another jsp page, so I > can > use the iterator in that page and then fetch back the results and input > them > in the initial page(where the ajax call has been done from). At least > thats > what I'm trying now and it works, not exactly as I want yet but it seems > it > will. > does this make sense or am I talking nonsense? > > On 30/04/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > > > > I thought so too. In any case, you can use any Struts 2 on you JSP > pages, > > even if it is an ajax call, it doesn't matter to Struts. If what you are > > trying to use is the iterator tag on you javascript code, then no, the > > tags > > get executed when your page is rendered, on the *server*, while the > > response > > can be processes on the *client*. > > > > regards > > musachy > > > > On 4/30/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > > > > > --- Stelios Togias <[EMAIL PROTECTED]> wrote: > > > >> You could make your Ajax call to a Struts Action > > > and > > > >> return the results of *that* if you wanted. > > > > Can you elaborate a bit more on this? The ajax call > > > > is calling a struts action already so I'm not sure I > > > > > > > understand you... > > > > > > Oh. Hrm. > > > > > > I guess I'm not sure what the problem is then; maybe > > > you could describe all the steps. I had assumed that > > > you were calling an S2 action and using the results of > > > the rendered JSP to set innerHTML or something > > > similar. > > > > > > d. > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Tired of spam? Yahoo! Mail has the best spam protection around > > > http://mail.yahoo.com > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > "Hey you! Would you help me to carry the stone?" Pink Floyd > > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd