For your second question I believe the answer is to create a new tiles
definition where you override the menu tile. In your action reference the
new definition.
But your first question I don't know. I am now building my first large
corporate struts app and am using tiles which I like very much
I believe there is no way you can refresh part of a layout; the whole
layout jsp will have to reload.
For your second question, you can write the menu part of your layout
(say 'menu.jsp') in a way capable of recognizing the current section
selection of the user and self-expand accordingly...
Carl Hope wrote:
- Is there a way to process just the menu HTML and avoid re-generating the
body, header and footer?.
- If all tiles must be regenerated, how should I define the Action for the
menu change. This should really just call a menu handler page but if the
entire page must be
'
Subject: RE: Struts + Tiles: Design Question
Cedric,
You are right on the point. I been using this strategies over and over
again to share from amon difference action. I works well for me, plus I
really hate having JavaScript or hidden field to indicate which action your
are intended
There is several strategies.
Are you sure that you need one single form for navigation and body ?
* If navigation and body aren't related, you can put several forms, only one
will be selected by browser when submitting.
* If navigation and body are related, you need a common
Subject: Re: Struts + Tiles: Design Question
There is several strategies.
Are you sure that you need one single form for navigation and body ?
* If navigation and body aren't related, you can put several forms,
only one will be selected by browser when submitting
you workaround it?
Sri
-Original Message-
From: Trieu, Danny [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 11:33 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts + Tiles: Design Question
Cedric,
You are right on the point. I been using this strategies over and over
again
.
-Original Message-
From: Sri Sankaran [SMTP:[EMAIL PROTECTED]]
Sent: Friday, May 24, 2002 9:37 AM
To: 'Struts Users Mailing List'
Subject: RE: Struts + Tiles: Design Question
I am unable to use a common ancestor because some tags (such as
html:select, html:radio) must be nested
Just a quick suggestion. Couldn't you use javascript in your nav.jsp to
submit the form in the intro.jsp? Or do you need form fields in the
nav.jsp?
Graham
- Original Message -
From: Sri Sankaran [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 22, 2002 2:53 PM
Subject:
are modified as well.
Thanks
Sri
-Original Message-
From: Graham Lounder [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 22, 2002 2:07 PM
To: Struts Users Mailing List
Subject: Re: Struts + Tiles: Design Question
Just a quick suggestion. Couldn't you use javascript in your nav.jsp
10 matches
Mail list logo