Re: Struts/tiles: Run-time definition of which tile to include

2004-06-11 Thread Vic Cekvenich
ist Subject: Re: Struts/tiles: Run-time definition of which tile to include On 31/5/04 2:52, "Michael McGrady" <[EMAIL PROTECTED]> wrote: Why don't you just use an ActionForward to go to the tiles definition in tiles-defs.xml you want? Maybe I didn't explain myself well.

Re: Struts/tiles: Run-time definition of which tile to include

2004-06-03 Thread Ron Grabowski
> Standard scenario, a user can be logged in or out. I > want to determine which > Tile is included based on whether they're logged in. > This can be determined > from a bean in the session scope. > [snip] > From loggedinout.jsp (this is the file that I want > do do away with): > scope="session

RE: Struts/tiles: Run-time definition of which tile to include

2004-06-01 Thread David Friedman
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, May 31, 2004 11:37 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: RE: Struts/tiles: Run-time definition of which tile to include -Original Message- From: Struts Users Mailing List [mailto:[EMAIL PROTECTED] Sent:

RE: Struts/tiles: Run-time definition of which tile to include

2004-06-01 Thread Lokanath
-Original Message- From: Struts Users Mailing List [mailto:[EMAIL PROTECTED] Sent: Monday, May 31, 2004 4:00 PM To: Struts Users Mailing List Subject: Re: Struts/tiles: Run-time definition of which tile to include On 31/5/04 2:52, "Michael McGrady" <[EMAIL PROTECTED]&g

Re: Struts/tiles: Run-time definition of which tile to include

2004-05-31 Thread David Stevenson
On 31/5/04 23:27, "David Friedman" <[EMAIL PROTECTED]> wrote: > I didn't mention it because you described wanting a file-based control My intention was to ask for the /best/ solution, but I wasn't steered towards Tiles controllers by the poor Husted book, which doesn't even mention them. I didn'

RE: Struts/tiles: Run-time definition of which tile to include

2004-05-31 Thread David Friedman
based control, not an Action-based control. Regards, David -Original Message- From: David Stevenson [mailto:[EMAIL PROTECTED] Sent: Monday, May 31, 2004 6:19 PM To: Struts Users Mailing List Subject: Re: Struts/tiles: Run-time definition of which tile to include On 31/5/04 23:16, &qu

Re: Struts/tiles: Run-time definition of which tile to include

2004-05-31 Thread David Stevenson
On 31/5/04 23:16, "ksitron" <[EMAIL PROTECTED]> wrote: > I think what you're looking for is a TileConroller. That's exactly what I'm looking at right now - I only didn't respond earlier in case it was a dead end. It's a black hole documentation-wise (Husted doesn't even mention Tile Controllers)

Re: Struts/tiles: Run-time definition of which tile to include

2004-05-31 Thread ksitron
ibutes/settings. Regards, David -Original Message- From: David Stevenson [mailto:[EMAIL PROTECTED] Sent: Monday, May 31, 2004 6:30 AM To: Struts Users Mailing List Subject: Re: Struts/tiles: Run-time definition of which tile to include On 31/5/04 2:52, "Michael McGrady"

RE: Struts/tiles: Run-time definition of which tile to include

2004-05-31 Thread David Friedman
Stevenson [mailto:[EMAIL PROTECTED] Sent: Monday, May 31, 2004 6:30 AM To: Struts Users Mailing List Subject: Re: Struts/tiles: Run-time definition of which tile to include On 31/5/04 2:52, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > Why don't you just use an > Actio

Re: Struts/tiles: Run-time definition of which tile to include

2004-05-31 Thread David Stevenson
On 31/5/04 2:52, "Michael McGrady" <[EMAIL PROTECTED]> wrote: > Why don't you just use an > ActionForward to go to the tiles definition in tiles-defs.xml you > want? Maybe I didn't explain myself well. The point is that I don't want to have one set of tile definitions for when they're logged in,

Re: Struts/tiles: Run-time definition of which tile to include

2004-05-30 Thread Michael McGrady
I also would recommend you read Chapter 11 of Cedric Dumoulin's treat of tiles in Ted Husted's book Struts in Action. That Ted has a sense of humour, no? Struts in ACTION? LOL Mike At 05:14 PM 5/30/2004, David Stevenson wrote: Bear with a beginner's question, please. Loads of docs imply this

Re: Struts/tiles: Run-time definition of which tile to include

2004-05-30 Thread Michael McGrady
There are hundreds of ways to do this. Why don't you just use an ActionForward to go to the tiles definition in tiles-defs.xml you want? you are using Struts, right? Actually I am surprised that what you are doing works. I don't know from the code you showed how the application knows to ins

Struts/tiles: Run-time definition of which tile to include

2004-05-30 Thread David Stevenson
Bear with a beginner's question, please. Loads of docs imply this is possible, but I haven't found ones that actually illustrate how to do it. Standard scenario, a user can be logged in or out. I want to determine which Tile is included based on whether they're logged in. This can be determined f