struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brice Ruth <br...@fiskars.com>
Subject Re: Question on compositing Tiles dynamically from Action
Date Fri, 07 Nov 2003 17:40:38 GMT
erm, OK. Strange response, but I'll take a look at what you have.

Vic Cekvenich wrote:

> Let me try it this way:
>
> "_DO NOT_" call a /do from your definition to provide varibility by 
> calling an action from tiles, so that you have much less definitions.
>
> Also, "DO NOT" loook at this :
> http://cvs.sourceforge.net/viewcvs.py/basicportal/bPproj/bP/WEB-INF/config/layoutsShop.xml

>
> (a shoping cart example and it's layout that calls action from tiles)
>
>
> hth,
>
> .V
>
>
>
> Brice Ruth wrote:
>
>>>
>>>
>>> Brice Ruth wrote:
>>>
>>>> This still doesn't keep me from having to duplicate entries for 
>>>> each section of our site (we  have 5 - garden, school, office, 
>>>> crafts, housewares) - and other non-Action driven pages need the 
>>>> same .baseLayout extended Tiles for each of the sections 
>>>> (.baseLayout.school, etc.) - and those definitions define the 
>>>> sections colors and a variety of other things.
>>>>
>>>
>>> Yes it does! Specificaly, you do not need to create custom 
>>> definition if you are only changing styles, etc. Read my example 
>>> again (and maybe Tiles 201).
>>> See how an definition can have a variable part?
>>> You then define a single Strut action, to provide the variation.
>>>
>>> Good luck,
>>> .V
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>>>
>>
>

-- 
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.



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


Mime
View raw message