Variable parameters in tiles

2006-06-20 Thread Scott Van Wart
Hello, I have a tiles-defs.xml similar to the following (layout page with banner on top, content on bottom): So let's say my layout.jsp looks something like this: It's not quite enough to do what I want to do. I have a

Re: Variable parameters in tiles

2006-06-21 Thread Antonio Petrelli
Scott Van Wart ha scritto: Hello, I have a tiles-defs.xml similar to the following (layout page with banner on top, content on bottom): So let's say my layout.jsp looks something like this: It's not quite enough to do w

Re: Variable parameters in tiles

2006-06-21 Thread Antonio Petrelli
Srrry!!! For a mistake I pressed "Send" button without writing anything... Scott Van Wart ha scritto: So in the above, I want to change the ... depending on whether it's an add or edit operation. Can I do this? Change "edit" definition to: And then layout.jsp to

Re: Variable parameters in tiles

2006-06-21 Thread Scott Van Wart
Antonio Petrelli wrote: Anyway I don't think it is a good way of doing this kind of things. I'd write two definitions (one for create and one for edit) sharing the same layout page The original method you proposed (two different puts in the same definition) wouldn't work, as it's layout.jsp tha