You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ryan julius <rj...@yahoo.fr> on 2004/10/29 16:06:47 UTC

Tiles : setting Styles and

Hi,
 
I have build my web UI using Tiles. Each part of the rootLayout.jsp, let say, lhsMenu.jsp, body.jsp, could contain <html:form>, general scripts, etc.... The resulting page is intended to be populated when opened at the first time. 
 
Putting a form tag on each part of the layout could complicate the handling at submission. Putting this tag at the top of the rootLayout could complicate the switch to another layout if needed.
 
What do you advise me to do? Is there any other alternative?
 
Thanks.



		
---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !

Re: Tiles : setting Styles and

Posted by Axel Groß <ka...@iaeste.at>.
hi!

I don't quite get your question I'm afraid.
Why you want to have a submit in your menu??

What you normally do is, you tie 
 <html:form>
to a specific action/submit. Usually you have different actions to submit
to, so you'd need a different <html:form> tag.
This is rather specific, so it should go into the specific fragment
(e.g. body.jsp ).


hth,
axel

On 2004-10-29 at 16:06:47 +0200, Ryan julius wrote:
> Hi,
>  
> I have build my web UI using Tiles. Each part of the rootLayout.jsp, let say, lhsMenu.jsp, body.jsp, could contain <html:form>, general scripts, etc.... The resulting page is intended to be populated when opened at the first time. 
>  
> Putting a form tag on each part of the layout could complicate the handling at submission. Putting this tag at the top of the rootLayout could complicate the switch to another layout if needed.
>  
> What do you advise me to do? Is there any other alternative?
>  
> Thanks.
> 
> 
> 
> 		
> ---------------------------------
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail
> 
> Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org