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.
> 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
[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:
-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
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'
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
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)
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"
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
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,
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
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
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
13 matches
Mail list logo