OK Understood, I think. So you have a Tiles definition and, when the form
is submitted and the Action made its work, you want to forward to a page
where only one portion of the Tiles definition changes.
The solution is simple: make another definition! ;-)
You know, as I said a lot of times before, Tiles are not frames (I mean
HTML frames). With frames you can change only one frame, by using the
"target" attribute in hyperlinks. Tiles builds a normal page (without
frames) by composing different pages into one. The result is a simple HTML
page (obviously if you are not using frames together with Tiles).
I think the best possible practice is to build a base Tiles definition (in
your example, the "content" part should not be defined at all) and to
extend this one with sub-definitions, by defining (or re-defining) only
one (this is an example) attribute.
Hope this helps
Ciao
Antonio Petrelli


> hi, let me explain problem in better way,
> using tiles framework i've created a layout page , which embed various
jsp's.Now u can say that each jsp is a region in the layout.say we have
divided our layout into three regions one for header,one for footer and
one for content.
> Now if in my content area  i have say log in jsp(with struts), now if
after taking inputs from the user , i wanna go to welcome page . now here
is the problem, i want to display that welcome page into same content
region.right now if action class returns sucesses,struts config take us to
welcome page, but i want to embed that welcome page in the content region
in layout page.
>
> hope this will provide you witha better idea.
>
> [EMAIL PROTECTED] wrote:
>
> >... but the the problem i'm facing is how to point to a particular
> region in tiles framework from struts config.
> >
>
> What do you exactly mean? Please expose your problem with more details.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------
> Yahoo! Messenger
>  Show us what our next emoticon should look like. Join the fun.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to