A quick scan of the source shows, that marginwidth and marginheight are only
rendered if they are > 0, so in your case they are not rendered. I don't
know if this is the correct behaviour, maybe the > 0 should read >= 0.

Björn

> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26788>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
> INSERTED IN THE BUG DATABASE.
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26788
> 
> HTML-EL Frame tag does not process marginheight and marginwidth correctly
> 
> 
> 
> 
> 
> ------- Additional Comments From [EMAIL PROTECTED]  2004-02-10 11:13
> -------
> Hello again Joe,
> 
> Seems my last comments were not entirely true because the <html:frame>
> DOES omit 
> the MARGINHEIGHT and MARGINWIDTH arguments from the rendered HTML in the 
> same way that <html-el:frame> does.
> 
> Anyway, I've done as you've requested and extracted the source (JSP) and
> resultant 
> code (HTML) from the original and working version of my particular tasks
> and then the 
> source and resultant code of the failing situation that makes use of the
> <html:frame> tag.
> 
> These scriptlets are shown below. I can experiment using the <c:url> as I
> am using JSTL 
> quite heavily... but I would still prefer to use the <html:frame> tag
> which I think is more 
> suited to my application (unless you can confirm for me that all
> <html:frame> does it to 
> rewrite the URL for the purpose of retaining session state).
> 
> Thanks for your help anyway Joe. Much appreciated.
> 
> Regards,
> 
> Andrew.
> 
> 
> JSP source (<frameset> using regular HTML <frame> tags):
> 
>   <frameset class="default" cols="18,*,18" framespacing="0"
> frameborder="0" border="0">
>     <frame name="leftFrame" src="border.jsp" marginwidth="0"
> marginheight="0" 
> scrolling="no">
>     <frameset class="default" rows="74,*,18" framespacing="0"
> frameborder="0" border=
> "0">
>       <frame name="headerFrame" src="header.jsp" marginwidth="0"
> marginheight="0" 
> scrolling="no">
>       <frame name="mainFrame" src="controller.jsp?action=setup_main"
> marginwidth="0" 
> marginheight="0" scrolling="no">
>       <frame name="bottomFrame" src="border.jsp?border=bottom"
> marginwidth="0" 
> marginheight="0" scrolling="no">
>     </frameset>
>     <frame name="rightFrame" src="border.jsp" marginwidth="0"
> marginheight="0" 
> scrolling="no">
>     <noframes>Your browser does not support frames.</noframes>
>   </frameset>
> 
> Results in (with MARGINWIDTH and MARGINHEIGHT attributes being rendered):
> 
>   <frameset class="default" cols="18,*,18" framespacing="0"
> frameborder="0" border="0">
>     <frame name="leftFrame" src="border.jsp" marginwidth="0"
> marginheight="0" 
> scrolling="no">
>     <frameset class="default" rows="74,*,18" framespacing="0"
> frameborder="0" border=
> "0">
>       <frame name="headerFrame" src="header.jsp" marginwidth="0"
> marginheight="0" 
> scrolling="no">
>       <frame name="mainFrame" src="controller.jsp?action=setup_main"
> marginwidth="0" 
> marginheight="0" scrolling="no">
>       <frame name="bottomFrame" src="border.jsp?border=bottom"
> marginwidth="0" 
> marginheight="0" scrolling="no">
>     </frameset>
>     <frame name="rightFrame" src="border.jsp" marginwidth="0"
> marginheight="0" 
> scrolling="no">
>     <noframes>Your browser does not support frames.</noframes>
>   </frameset>
> 
> 
> JSP source (<frameset> now using Struts <html:frame> tags):
> 
>   <frameset class="default" cols="18,*,18" framespacing="0"
> frameborder="0" border="0">
>     <html:frame frameName="leftFrame" href="border.jsp" marginwidth="0"
> marginheight=
> "0" scrolling="no"/>
>     <frameset class="default" rows="74,*,18" framespacing="0"
> frameborder="0" border=
> "0">
>       <html:frame frameName="headerFrame" href="header.jsp"
> marginwidth="0" 
> marginheight="0" scrolling="no"/>
>       <html:frame frameName="mainFrame"
> href="controller.jsp?action=setup_main" 
> marginwidth="0" marginheight="0" scrolling="no"/>
>       <html:frame frameName="bottomFrame" href="border.jsp?border=bottom" 
> marginwidth="0" marginheight="0" scrolling="no"/>
>     </frameset>
>     <html:frame frameName="rightFrame" href="border.jsp" marginwidth="0" 
> marginheight="0" scrolling="no"/>
>     <noframes>Your browser does not support frames.</noframes>
>   </frameset>
> 
> Results in (with MARGINWIDTH and MARGINHEIGHT attributes being omitted):
> 
>   <frameset class="default" cols="18,*,18" framespacing="0"
> frameborder="0" border="0">
>     <frame src="border.jsp" name="leftFrame" scrolling="no">
>     <frameset class="default" rows="74,*,18" framespacing="0"
> frameborder="0" border=
> "0">
>       <frame src="header.jsp" name="headerFrame" scrolling="no">
>       <frame src="controller.jsp?action=setup_main" name="mainFrame"
> scrolling="no">
>       <frame src="border.jsp?border=bottom" name="bottomFrame"
> scrolling="no">
>     </frameset>
>     <frame src="border.jsp" name="rightFrame" scrolling="no">
>     <noframes>Your browser does not support frames.</noframes>
>   </frameset>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

-- 
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++


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

Reply via email to