Struts / Tiles Design question

2003-01-19 Thread Carl Hope
I'm recoding an existing app using Struts and Tiles. The app originally used frames with the usual components of header, menu, body and footer. I've replaced the frameset with a layout template and it works fine. The difficulty I'm having is when I only want to refresh the menu tile and not

Re: Struts / Tiles Design question

2003-01-19 Thread Christopher Willingham
it. - Original Message - From: Carl Hope [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, January 19, 2003 9:07 AM Subject: Struts / Tiles Design question I'm recoding an existing app using Struts and Tiles. The app originally used frames with the usual

Re: Struts / Tiles Design question

2003-01-19 Thread Cagan Senturk
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...

Re: Struts / Tiles Design question

2003-01-19 Thread Paul Hodgetts
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

Re: Struts + Tiles: Design Question

2002-05-27 Thread Cedric Dumoulin
' 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

Re: Struts + Tiles: Design Question

2002-05-24 Thread Cedric Dumoulin
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

RE: Struts + Tiles: Design Question

2002-05-24 Thread Trieu, Danny
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

RE: Struts + Tiles: Design Question

2002-05-24 Thread Sri Sankaran
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

RE: Struts + Tiles: Design Question

2002-05-24 Thread Trieu, Danny
. -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

Struts + Tiles: Design Question

2002-05-22 Thread Sri Sankaran
Struts version: 1.0.2 Servlet engine: Tomcat 4.0.2 I am trying to build a wizard framework using Tiles. It follows the standard Windows wizard metaphor with a body panel and navigation buttons below. I am running into a problem and would like any opinions/suggestions. A logical use of Tiles

Re: Struts + Tiles: Design Question

2002-05-22 Thread Graham Lounder
: Struts + Tiles: Design Question Struts version: 1.0.2 Servlet engine: Tomcat 4.0.2 I am trying to build a wizard framework using Tiles. It follows the standard Windows wizard metaphor with a body panel and navigation buttons below. I am running into a problem and would like any opinions

RE: Struts + Tiles: Design Question

2002-05-22 Thread Sri Sankaran
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