You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vijay Kandy <Vi...@mailcode.com> on 2003/11/03 16:35:39 UTC

Help with framesets

Hello,

Could some one point me to a frameset based web application or war file? I
am having trouble understanding the flow in a frameset situation. I am
trying to redesign an existing non struts based webapp. The current layout
is that there is frameset within frameset containing "menu" and "content
area" as frames, like so:

<frameset rows="72, 100%" border=1 framespacing="0" topmargin="0"
leftmargin="0" marginheight="0" marginwidth="0">
   <html:frame frameborder="1" frameName="header" scrolling=no noresize
action="header.do"/>
   <frameset cols="147, *" framespacing=0 border=0 frameborder=0>
      <html:frame frameborder="1" frameName="left" action="menu.do"/>
      <html:frame frameborder="1" frameName="right" action="content.do"/>
   </frameset>
</frameset>

I am not sure how to forward actions now. I will be grateful for any help.

-Vijay 

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


Re: Help with framesets

Posted by Rajat Pandit <ra...@centergroupinc.com>.
http://localhost:8080/struts-documentation/userGuide/struts-html.html#link
in the <html:link ... use the target attribute.
<quote>

target - The window target in which the resource requested by this 
hyperlink will be displayed, for example in a framed presentation.
(RT EXPR)

</quote>

in your case target="left|right|<put_your_frame_name_here>"
Vijay Kandy wrote:

> Hello,
> 
> Could some one point me to a frameset based web application or war file? I
> am having trouble understanding the flow in a frameset situation. I am
> trying to redesign an existing non struts based webapp. The current layout
> is that there is frameset within frameset containing "menu" and "content
> area" as frames, like so:
> 
> <frameset rows="72, 100%" border=1 framespacing="0" topmargin="0"
> leftmargin="0" marginheight="0" marginwidth="0">
>    <html:frame frameborder="1" frameName="header" scrolling=no noresize
> action="header.do"/>
>    <frameset cols="147, *" framespacing=0 border=0 frameborder=0>
>       <html:frame frameborder="1" frameName="left" action="menu.do"/>
>       <html:frame frameborder="1" frameName="right" action="content.do"/>
>    </frameset>
> </frameset>
> 
> I am not sure how to forward actions now. I will be grateful for any help.
> 
> -Vijay 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 

-- 


Rajat Pandit | rajatp@centergroupinc.com
+91 612 3117606
[ Developer and Part Time Human Being]



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


Re: Help with framesets

Posted by javen fang <fa...@yahoo.com.cn>.
your frames have names: header / left / right

so when you action mapping, you may use target tag.

Example, if left , an action is a query data,and view
it in right,just:

target = right.   

form and href both have target attribute.

Good luck.
javen


--- Vijay Kandy <Vi...@mailcode.com> wrote:
> Hello,
> 
> Could some one point me to a frameset based web
> application or war file? I
> am having trouble understanding the flow in a
> frameset situation. I am
> trying to redesign an existing non struts based
> webapp. The current layout
> is that there is frameset within frameset containing
> "menu" and "content
> area" as frames, like so:
> 
> <frameset rows="72, 100%" border=1 framespacing="0"
> topmargin="0"
> leftmargin="0" marginheight="0" marginwidth="0">
>    <html:frame frameborder="1" frameName="header"
> scrolling=no noresize
> action="header.do"/>
>    <frameset cols="147, *" framespacing=0 border=0
> frameborder=0>
>       <html:frame frameborder="1" frameName="left"
> action="menu.do"/>
>       <html:frame frameborder="1" frameName="right"
> action="content.do"/>
>    </frameset>
> </frameset>
> 
> I am not sure how to forward actions now. I will be
> grateful for any help.
> 
> -Vijay 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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