Re: Tiles upgrade Path

2020-03-25 Thread Ken McWilliams
Tiles and sitemesh are for traditional (non - single page applications)
development. Tiles has performance advantages over sitemesh. I don't think
the OP should experience any blockers with respect to tiles migration and
will gain version 3 benefits as well.

On Wed., Mar. 25, 2020, 10:40 a.m. M Huzaifah 
wrote:

> Hii
>
> Got the differencea in here
> http://tiles.apache.org/framework/tutorial/pattern.html
>
> I have to try using tiles. When i need a Single Page Application approach,
> currently i use one single jsp page that have iframe in it. So the page
> literally have header, footer, sidebar, and iframe for body content. And
> then, when we hit the menu in sidebar, the iframe body should reload with
> page return from normal struts action. I make all pages in struts (not all
> jsp, except selected jsp e.g login, main page, etc) decorated by sitemesh.
>
> Anyone can give me a efective why to build SPA approach in struts2 ?
>
> Regards.
>
>
> On Wed, Mar 25, 2020, 23:19 M Huzaifah  wrote:
>
> > Hii
> >
> > I am not use tiles before, it seems like site mesh. Currently we use
> > sitemesh to decorate page based on url. I checked the tiles its retired.
> I
> > suggest you to use sitemesh. I dont know what is plus using tiles. With
> > sitemesh you don't even use plugin in struts.
> >
> > Thank you...
> >
> > On Mon, Mar 23, 2020, 16:41 amit vijayvargee 
> > wrote:
> >
> >> Hi,
> >>
> >> We are currently looking to migrate struts 2.3 and tiles 2 to newer
> >> version. As per the security scan, existing tiles (2.0) version is
> >> deprecated and reported some vulnerability in it.
> >> Could you please help to answer following queries?
> >> •   Possible options to migrate to newer version, we are planning to
> >> upgrade to struts 2.5 with tiles plugin, please confirm
> >> •   Any migration documentation or reference link would be helpful
> >> •   Any challenges/issues during the upgrade cycle?
> >> •   Support lifecycle & maintainability of struts2-tiles-plugin
> >> •   As per the maven repository struts2-tiles-plugin has only
> compile
> >> tile dependency upon tiles-jars (core, api etc..) and doesn’t required
> to
> >> bundle with the deployable artifact (.war)?
> >>   Thanks in advance.
> >>
> >> Regards,
> >> Amit V
> >>
> >> -
> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: user-h...@struts.apache.org
> >>
> >>
>


Re: Tiles upgrade Path

2020-03-25 Thread M Huzaifah
Hii

Got the differencea in here
http://tiles.apache.org/framework/tutorial/pattern.html

I have to try using tiles. When i need a Single Page Application approach,
currently i use one single jsp page that have iframe in it. So the page
literally have header, footer, sidebar, and iframe for body content. And
then, when we hit the menu in sidebar, the iframe body should reload with
page return from normal struts action. I make all pages in struts (not all
jsp, except selected jsp e.g login, main page, etc) decorated by sitemesh.

Anyone can give me a efective why to build SPA approach in struts2 ?

Regards.


On Wed, Mar 25, 2020, 23:19 M Huzaifah  wrote:

> Hii
>
> I am not use tiles before, it seems like site mesh. Currently we use
> sitemesh to decorate page based on url. I checked the tiles its retired. I
> suggest you to use sitemesh. I dont know what is plus using tiles. With
> sitemesh you don't even use plugin in struts.
>
> Thank you...
>
> On Mon, Mar 23, 2020, 16:41 amit vijayvargee 
> wrote:
>
>> Hi,
>>
>> We are currently looking to migrate struts 2.3 and tiles 2 to newer
>> version. As per the security scan, existing tiles (2.0) version is
>> deprecated and reported some vulnerability in it.
>> Could you please help to answer following queries?
>> •   Possible options to migrate to newer version, we are planning to
>> upgrade to struts 2.5 with tiles plugin, please confirm
>> •   Any migration documentation or reference link would be helpful
>> •   Any challenges/issues during the upgrade cycle?
>> •   Support lifecycle & maintainability of struts2-tiles-plugin
>> •   As per the maven repository struts2-tiles-plugin has only compile
>> tile dependency upon tiles-jars (core, api etc..) and doesn’t required to
>> bundle with the deployable artifact (.war)?
>>   Thanks in advance.
>>
>> Regards,
>> Amit V
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>


Re: Tiles upgrade Path

2020-03-25 Thread M Huzaifah
Hii

I am not use tiles before, it seems like site mesh. Currently we use
sitemesh to decorate page based on url. I checked the tiles its retired. I
suggest you to use sitemesh. I dont know what is plus using tiles. With
sitemesh you don't even use plugin in struts.

Thank you...

On Mon, Mar 23, 2020, 16:41 amit vijayvargee 
wrote:

> Hi,
>
> We are currently looking to migrate struts 2.3 and tiles 2 to newer
> version. As per the security scan, existing tiles (2.0) version is
> deprecated and reported some vulnerability in it.
> Could you please help to answer following queries?
> •   Possible options to migrate to newer version, we are planning to
> upgrade to struts 2.5 with tiles plugin, please confirm
> •   Any migration documentation or reference link would be helpful
> •   Any challenges/issues during the upgrade cycle?
> •   Support lifecycle & maintainability of struts2-tiles-plugin
> •   As per the maven repository struts2-tiles-plugin has only compile
> tile dependency upon tiles-jars (core, api etc..) and doesn’t required to
> bundle with the deployable artifact (.war)?
>   Thanks in advance.
>
> Regards,
> Amit V
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: How to (cleanly) disable specific namespace / action hierarchy at runtime

2020-03-25 Thread Matias Rodriguez
Thanks for your answer!
The logic is tied to a human decision.
Yes, that were my first approaches too, I'm looking for other options.

On Wed, Mar 25, 2020 at 11:45 AM Dave Newton  wrote:

> What's the specific use case? What's the logic that determines availability
> (e.g., is this an auth/auth issue)?
>
> An interceptor or action base class would be my first approach.
>
> On Wed, Mar 25, 2020 at 10:39 Matias Rodriguez  >
> wrote:
>
> > Hi!
> >
> > I'm looking for a clean way to disable/enable (at runtime) specific
> > namespace / specific action hierarchy. An option is to use an
> Interceptor,
> > but: is there another *standard *way to do this? With *disable* I mean,
> for
> > example, a HTTP 404 server response.
> >
> > Thanks!
> >
> --
> em: davelnew...@gmail.com
> mo: 908-380-8699
> tw: @dave_newton 
> li: dave-newton 
> gh: davelnewton 
> so: Dave Newton 
> bl[0]: Bucky Bits 
> bl[1]: Maker's End Blog 
> sk: davelnewton_skype
>


Re: How to (cleanly) disable specific namespace / action hierarchy at runtime

2020-03-25 Thread Dave Newton
What's the specific use case? What's the logic that determines availability
(e.g., is this an auth/auth issue)?

An interceptor or action base class would be my first approach.

On Wed, Mar 25, 2020 at 10:39 Matias Rodriguez 
wrote:

> Hi!
>
> I'm looking for a clean way to disable/enable (at runtime) specific
> namespace / specific action hierarchy. An option is to use an Interceptor,
> but: is there another *standard *way to do this? With *disable* I mean, for
> example, a HTTP 404 server response.
>
> Thanks!
>
-- 
em: davelnew...@gmail.com
mo: 908-380-8699
tw: @dave_newton 
li: dave-newton 
gh: davelnewton 
so: Dave Newton 
bl[0]: Bucky Bits 
bl[1]: Maker's End Blog 
sk: davelnewton_skype


How to (cleanly) disable specific namespace / action hierarchy at runtime

2020-03-25 Thread Matias Rodriguez
Hi!

I'm looking for a clean way to disable/enable (at runtime) specific
namespace / specific action hierarchy. An option is to use an Interceptor,
but: is there another *standard *way to do this? With *disable* I mean, for
example, a HTTP 404 server response.

Thanks!