DO NOT REPLY [Bug 26788] - HTML-EL Frame tag does not process marginheight and marginwidth correctly

2004-02-10 Thread bugzilla
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
noframesYour 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
noframesYour 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/
noframesYour 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
noframesYour browser does not support frames./noframes
  /frameset

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



Re: DO NOT REPLY [Bug 26788] - HTML-EL Frame tag does not process marginheight and marginwidth correctly

2004-02-10 Thread Björn Moritz
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
 noframesYour 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
 noframesYour 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/
 noframesYour 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
 noframesYour 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 +++ 

DO NOT REPLY [Bug 26788] - HTML-EL Frame tag does not process marginheight and marginwidth correctly

2004-02-09 Thread bugzilla
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

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-02-09 12:30 ---
The html:frame tag only renders those values in the HTML; any processing is the 
responsibility of the 
browser implementation.

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



DO NOT REPLY [Bug 26788] - HTML-EL Frame tag does not process marginheight and marginwidth correctly

2004-02-09 Thread bugzilla
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

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |



--- Additional Comments From [EMAIL PROTECTED]  2004-02-10 01:33 ---
This defect is real... ie. not INVALID.

It pertains to using the FRAME tag as provided in the Struts HTML-EL tag 
library... not the standard Struts HTML library.

When I use the html-el:frame tag the MARGINHEIGHT and MARGINWIDTH attributes 
are ignored... unlike if I was using the standard html:frame tag.

I am using the latest IE as provided by Mac OS/X 10.3 (Jaguar).

Thanks for some real help !

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



DO NOT REPLY [Bug 26788] - HTML-EL Frame tag does not process marginheight and marginwidth correctly

2004-02-09 Thread bugzilla
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 02:06 ---
Are the values rendered in the HTML?  If so, are they visibly distinct from the values 
the way they 
appear in static HTML?

Can you provide examples of HTML that does what you want compared to HTML generated by 
the 
Frame tag which doesn't behave the way you want it to?

Struts plays no role in rendering the HTML, which is why this was originally marked 
invalid.  It is 
possible that the tags which Struts generates are not valid HTML, in which case, they 
should be 
compared to statically composed HTML which achieves the same goals.  If you include 
specific 
examples in this bug, we'll be better able to provide you with some help.

Also note that if you are using the JSTL, you may be just as well able to rewrite your 
URLs using c:url 
and a regular frame tag, rather than the Struts html:frame tag.

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