struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javen fang <fajaven2...@yahoo.com.cn>
Subject RE: Help with framesets
Date Mon, 03 Nov 2003 16:44:20 GMT
left have a query:

<html:link action="customer.do?area=china"
target="rigth"/>

then view the result in the rigth content frame.

javen


--- Vijay Kandy <VijayK@mailcode.com> wrote:
> Javen,
> 
> Thank you for your response. So you are saying
> <action> tag in
> struts-config.xml has a "target" attribute or does
> it go in the JSP? I
> looked in the struts-config.dtd but couldnt find
> "target". 
> 
> If its not too much to ask, could you explain with a
> sample action?
> 
> --Vijay
> 
> -----Original Message-----
> From: javen fang [mailto:fajaven2000@yahoo.com.cn]
> Sent: Monday, November 03, 2003 11:16 AM
> To: Struts Users Mailing List
> Subject: Re: Help with framesets
> 
> 
> 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 <VijayK@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
> 
>
---------------------------------------------------------------------
> 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


Mime
View raw message