struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Pratt <thechrispr...@gmail.com>
Subject Re: how to use single jsp as template
Date Fri, 20 Sep 2013 01:21:01 GMT
Angular makes web service requests to rest services to get its data, so
there are no struts tags or attach points to deal with, but you pretty much
develop the whole app as a single page that makes rest calls for data.
  (*Chris*)


On Thu, Sep 19, 2013 at 6:09 PM, Martin Gainty <mgainty@hotmail.com> wrote:

> Chris-
>
>
> I remember with dojo.js you needed to identify DOM attach points for
> Struts Action to populate the DOM at the  specified attach points within
> the dojo.js
>
> Does Angular.js have DOM Attach points?
> Are there additional considerations substituting Angular.js for JS
> Libraries (like Dojo or JQuery) ?
>
> thanks,
> Martin-
>
>
>
>
> > From: thechrispratt@gmail.com
> > Date: Thu, 19 Sep 2013 08:37:04 -0700
> > Subject: Re: how to use single jsp as template
> > To: user@struts.apache.org
> >
> > Apache Tiles sounds like exactly what you're looking for, and works great
> > with Struts2. You could also consider a single page app (i.e. AngularJS)
> > approach.
> > (*Chris*)
> >
> >
> > On Thu, Sep 19, 2013 at 8:23 AM, Yaragalla Muralidhar <
> > yaragallamurali@gmail.com> wrote:
> >
> > > hi I have a jsp with a layout. it means the jsp has menu on the left
> and
> > > header on the top. now for every action the center part of the jsp
> should
> > > change. Is this possible?
> > >
> > > I mean for every different action a different jsp should be included
> in the
> > > center of the layout jsp. If this is possible it will be of so much
> help.
> > > kindly help? if possible is there a solution without tiles?
> > >
> > >
> > >
> > > *Thanks and Regards,*
> > > Muralidhar Yaragalla.
> > > *
> > > *
> > >
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message