No sweat, Vic :)
wrote:
Brice Ruth wrote:
One recommendation I've received from this list is to have your
'variable' tile be an Action, so that you would have an order of
magnitude less tile defs to create ... at least, that's how I
understood it :)
Sorry about that;-}It's not easy to
On 27/12/2003 20:55, Brady Hegberg [EMAIL PROTECTED] wrote:
Of course! I just need to forward to the def that corresponds to the
user's settings. Very simple and elegant.
However, theoretically, what if I had three tiles in a definition, each
of which could get any one of the same 10
There are a number of options available here, i'd have a different def
that extends showList , I'd call this base.list and then have different
defs per list.
name=user.list extends=base.list
in fact i assumed you'd only have to over load body, you could even
have a def as the value of body.
Of course! I just need to forward to the def that corresponds to the
user's settings. Very simple and elegant.
However, theoretically, what if I had three tiles in a definition, each
of which could get any one of the same 10 different values. In that
case I'd need to create 1000 definitions in
One recommendation I've received from this list is to have your
'variable' tile be an Action, so that you would have an order of
magnitude less tile defs to create ... at least, that's how I understood
it :)
Brady Hegberg wrote:
Of course! I just need to forward to the def that corresponds
You could over load on the insert
tiles:insert attribute=example.page
tiles:put name=body value=%= body % /
/titles:insert
or do it a specialized action. There are plenty of options although I
have trouble thinking of many scenarios where having 1000 different
definitions would be
Brice Ruth wrote:
One recommendation I've received from this list is to have your
'variable' tile be an Action, so that you would have an order of
magnitude less tile defs to create ... at least, that's how I understood
it :)
Sorry about that;-}It's not easy to explain on the list. Now there
I've been trying to find the best way to handle a situation where you
have various formats for a tile and the tile appearance is chosen at
run-time.
definition name=showList extends=mainLayout
put name=header value=/header.jsp/
put name=body value=//
put name=footer value=/footer.jsp/
8 matches
Mail list logo