Re: Dynamically switching Tiles master layout

2016-11-04 Thread Sreekanth S. Nair
cool 


On Fri, Nov 4, 2016 at 2:09 PM, Lukasz Lenart 
wrote:

> Thanks but I found this [1] and it works
>
> [1] https://coderanch.com/t/500781/framework/Struts-Tiles-
> changing-layout-runtime#2257930
>
> just used 
>
> 2016-11-04 9:04 GMT+01:00 Sreekanth S. Nair  org>:
> > There is a wildcard way of doing it but don't know if it helps in this
> case
> >
> > like
> >
> > * >
> > *>> value="/WEB-INF/views/sign/{1}.jsp"/>   *
> >
> >
> >
> >
>
> > On Fri, Nov 4, 2016 at 1:25 PM, Lukasz Lenart 
> > wrote:
> >
> >> Hi,
> >>
> >> Does someone has a solution how to dynamically change layout that
> >> given Tiles extends from?
> >>
> >> I have two main layouts:
> >>
> >> 
> >>...
> >> 
> >>
> >> 
> >>...
> >> 
> >>
> >> and have a page that should extend one of these when user is logged in
> >> or not. Any idea?
> >>
> >>
> >> Regards
> >> --
> >> Łukasz
> >> + 48 606 323 122 http://www.lenart.org.pl/
> >>
> >> -
> >> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: user-h...@struts.apache.org
> >>
> >>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Re: Dynamically switching Tiles master layout

2016-11-04 Thread Lukasz Lenart
Thanks but I found this [1] and it works

[1] 
https://coderanch.com/t/500781/framework/Struts-Tiles-changing-layout-runtime#2257930

just used 

2016-11-04 9:04 GMT+01:00 Sreekanth S. Nair :
> There is a wildcard way of doing it but don't know if it helps in this case
>
> like
>
> *
> *>value="/WEB-INF/views/sign/{1}.jsp"/>   *
>
>
>
>
> --
> Thanks & Regards
>
> Sreekanth Nair
> Java Developer
> 
> eGovernments Foundation 
>  9980078913
> 
> 
>   
> 
>
> On Fri, Nov 4, 2016 at 1:25 PM, Lukasz Lenart 
> wrote:
>
>> Hi,
>>
>> Does someone has a solution how to dynamically change layout that
>> given Tiles extends from?
>>
>> I have two main layouts:
>>
>> 
>>...
>> 
>>
>> 
>>...
>> 
>>
>> and have a page that should extend one of these when user is logged in
>> or not. Any idea?
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>>
>>

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Dynamically switching Tiles master layout

2016-11-04 Thread Sreekanth S. Nair
There is a wildcard way of doing it but don't know if it helps in this case

like

*  *




-- 
Thanks & Regards

Sreekanth Nair
Java Developer

eGovernments Foundation 
 9980078913


  


On Fri, Nov 4, 2016 at 1:25 PM, Lukasz Lenart 
wrote:

> Hi,
>
> Does someone has a solution how to dynamically change layout that
> given Tiles extends from?
>
> I have two main layouts:
>
> 
>...
> 
>
> 
>...
> 
>
> and have a page that should extend one of these when user is logged in
> or not. Any idea?
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


Dynamically switching Tiles master layout

2016-11-04 Thread Lukasz Lenart
Hi,

Does someone has a solution how to dynamically change layout that
given Tiles extends from?

I have two main layouts:


   ...



   ...


and have a page that should extend one of these when user is logged in
or not. Any idea?


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org