[prev in list] [next in list] [prev in thread] [next in thread] 

List:       struts-user
Subject:    Re: Ajax
From:       "Stelios Togias" <stetogias () gmail ! com>
Date:       2007-04-30 19:23:16
Message-ID: af20fee40704301223y7dc7d05cy282c473c4a98ec71 () mail ! gmail ! com
[Download RAW message or body]


great, thanks for the help guys

On 30/04/07, Musachy Barroso <musachy@gmail.com> wrote:
>
> yes, that should work.
>
> musachy
>
> On 4/30/07, Stelios Togias <stetogias@gmail.com> 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 <musachy@gmail.com> 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 <newton.dave@yahoo.com> wrote:
> > > >
> > > > --- Stelios Togias <stetogias@gmail.com> 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: user-unsubscribe@struts.apache.org
> > > > For additional commands, e-mail: user-help@struts.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > "Hey you! Would you help me to carry the stone?" Pink Floyd
> > >
> >
>
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic