Re: XHTML Web site updates
Steve Raeburn wrote: Contributors List - One side effect of merging the XSL stylesheets is that the contributors list is currently not written at the start of each chapter. (Some stylesheets had it, some didn't so I opted to remove it from the chapter section.) I wondered what the feeling was regarding whether it is neccessary to have that list at the top of each page. +1 as to the new sidebar approach. I'm quite pleased with the way all this turned out. Let me know what you think or if you find anything I missed. I should just do this myself, but if you had a moment, could you slip in a link to ApacheCon at the top of our sidebar, like the one at the Jakarta site. They've asked all the Apache projects to do this. Technically, we're not the project, Jakarta is, but since we kinda get our share of hits ... -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
-Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: September 29, 2003 3:46 AM To: Struts Developers List Subject: Re: XHTML Web site updates +1 as to the new sidebar approach. I'm quite pleased with the way all this turned out. I hope you'll also like the new table formatting for taglibs and task lists :-) I should just do this myself, but if you had a moment, could you slip in a link to ApacheCon at the top of our sidebar, like the one at the Jakarta site. They've asked all the Apache projects to do this. Technically, we're not the project, Jakarta is, but since we kinda get our share of hits ... Done. I also took the opportunity to tidy up the web site files, removing the obsolete versions that were still kicking around. The web site should now match what's in CVS, with the addition of the 1.02 UserGuide and Javadocs. In case I've been overzealous, I've archived the old site at http://cvs.apache.org/~sraeburn/site-archive-20030929/ Regarding the archived 1.02 docs - there doesn't seem to be a link to them anywhere. Shall I add one? Also, we don't have the current release (1.1) docs on the site which might be confusing for some users. Do we want to maintain docs for the current version as well, and add appropriate links? Steve -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
--- Steve Raeburn [EMAIL PROTECTED] wrote: -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: September 29, 2003 3:46 AM To: Struts Developers List Subject: Re: XHTML Web site updates +1 as to the new sidebar approach. I'm quite pleased with the way all this turned out. I hope you'll also like the new table formatting for taglibs and task lists :-) And now the downside to using tableless css webpages... Take a look at the taglibs api pages in mozilla. The borders don't show up quite right (maybe a mozilla bug?). Also, the new ApacheCon image overwrites the content to the right of it in Opera (the borders are correct though :-). We need to be more sensitive to webpage changes now that we're using html that browsers may not implement correctly or consistently. These particular issues are no big deal though. David I should just do this myself, but if you had a moment, could you slip in a link to ApacheCon at the top of our sidebar, like the one at the Jakarta site. They've asked all the Apache projects to do this. Technically, we're not the project, Jakarta is, but since we kinda get our share of hits ... Done. I also took the opportunity to tidy up the web site files, removing the obsolete versions that were still kicking around. The web site should now match what's in CVS, with the addition of the 1.02 UserGuide and Javadocs. In case I've been overzealous, I've archived the old site at http://cvs.apache.org/~sraeburn/site-archive-20030929/ Regarding the archived 1.02 docs - there doesn't seem to be a link to them anywhere. Shall I add one? Also, we don't have the current release (1.1) docs on the site which might be confusing for some users. Do we want to maintain docs for the current version as well, and add appropriate links? Steve -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
For some reason the new sidebar shows up left aligned, but at the bottom of the page in IE 6 -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Monday, September 29, 2003 2:54 PM To: Struts Developers List Subject: RE: XHTML Web site updates -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: September 29, 2003 3:46 AM To: Struts Developers List Subject: Re: XHTML Web site updates +1 as to the new sidebar approach. I'm quite pleased with the way all this turned out. I hope you'll also like the new table formatting for taglibs and task lists :-) I should just do this myself, but if you had a moment, could you slip in a link to ApacheCon at the top of our sidebar, like the one at the Jakarta site. They've asked all the Apache projects to do this. Technically, we're not the project, Jakarta is, but since we kinda get our share of hits ... Done. I also took the opportunity to tidy up the web site files, removing the obsolete versions that were still kicking around. The web site should now match what's in CVS, with the addition of the 1.02 UserGuide and Javadocs. In case I've been overzealous, I've archived the old site at http://cvs.apache.org/~sraeburn/site-archive-20030929/ Regarding the archived 1.02 docs - there doesn't seem to be a link to them anywhere. Shall I add one? Also, we don't have the current release (1.1) docs on the site which might be confusing for some users. Do we want to maintain docs for the current version as well, and add appropriate links? Steve -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XHTML Web site updates
Steve Raeburn wrote: Done. The ASF thanks you for your help and support =:) Hey anybody going? I won't make it this year, but I'm starting to think about 2004. Regarding the archived 1.02 docs - there doesn't seem to be a link to them anywhere. Shall I add one? We should probably remove those now. Also, we don't have the current release (1.1) docs on the site which might be confusing for some users. Do we want to maintain docs for the current version as well, and add appropriate links? That approach was mainly an artifact of the extended 1.1 incubation period. =:) We might now want to fall back to the original approach of just featuring the nightly build on the website. Hopefully, we can get the Cactus tests sorted out soon and start the 1.2 march, to help support the new Validator release. -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
-Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: September 29, 2003 12:08 PM To: Struts Developers List Subject: RE: XHTML Web site updates And now the downside to using tableless css webpages... Take a look at the taglibs api pages in mozilla. The borders don't show up quite right (maybe a mozilla bug?). I'm not sure what you mean about the borders. They look ok in Moz 1.5a on Windows. Here's what I'm seeing ... http://cvs.apache.org/~sraeburn/tables.gif It is intentional that the table border is slightly thicker than the internal cell borders. If you don't like it, that's another discussion :-) Also, the new ApacheCon image overwrites the content to the right of it in Opera (the borders are correct though :-). I've altered the layout so it should be able to accommodate the ApacheCon logo down to smaller screen sizes. Should also correct the IE float problem that Mike mentioned. We need to be more sensitive to webpage changes now that we're using html that browsers may not implement correctly or consistently. These particular issues are no big deal though. David More of a screen size issue than a browser compatibility issue. You guys need to put in requisitions for bigger monitors and I need to make sure I check at 800x600 :-) Thanks for spotting the problem. Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
--- Steve Raeburn [EMAIL PROTECTED] wrote: -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: September 29, 2003 12:08 PM To: Struts Developers List Subject: RE: XHTML Web site updates And now the downside to using tableless css webpages... Take a look at the taglibs api pages in mozilla. The borders don't show up quite right (maybe a mozilla bug?). I'm not sure what you mean about the borders. They look ok in Moz 1.5a on Windows. Here's what I'm seeing ... http://cvs.apache.org/~sraeburn/tables.gif It is intentional that the table border is slightly thicker than the internal cell borders. If you don't like it, that's another discussion :-) It must be a problem in the windows mozilla version I was using. It looks normal with the linux version. The borders would disappear for streches and then return to normal. Also, the new ApacheCon image overwrites the content to the right of it in Opera (the borders are correct though :-). I've altered the layout so it should be able to accommodate the ApacheCon logo down to smaller screen sizes. Should also correct the IE float problem that Mike mentioned. We need to be more sensitive to webpage changes now that we're using html that browsers may not implement correctly or consistently. These particular issues are no big deal though. David More of a screen size issue than a browser compatibility issue. You guys need to put in requisitions for bigger monitors and I need to make sure I check at 800x600 :-) Thanks for spotting the problem. Actually, I was viewing it on a massive 21 inch screen at a decent resolution at the time :-). David Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XHTML Web site updates
Ted Husted wrote: Steve Raeburn wrote: Done. The ASF thanks you for your help and support =:) Hey anybody going? I won't make it this year, but I'm starting to think about 2004. I'm going, and speaking on Tuesday 11/18, 5:00pm-6:00pm about Struts. I'm also tasked to speak on a couple of panels about Open Source at Comdex, which is also happening in Las Vegas the same week. Regarding the archived 1.02 docs - there doesn't seem to be a link to them anywhere. Shall I add one? We should probably remove those now. Also, we don't have the current release (1.1) docs on the site which might be confusing for some users. Do we want to maintain docs for the current version as well, and add appropriate links? That approach was mainly an artifact of the extended 1.1 incubation period. =:) We might now want to fall back to the original approach of just featuring the nightly build on the website. Hopefully, we can get the Cactus tests sorted out soon and start the 1.2 march, to help support the new Validator release. Fixing the nightlies is on my TODO list ... promise! :-) -Ted. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XHTML Web site updates
Craig R. McClanahan wrote: Ted Husted wrote: Steve Raeburn wrote: Done. The ASF thanks you for your help and support =:) Hey anybody going? I won't make it this year, but I'm starting to think about 2004. I'm going, and speaking on Tuesday 11/18, 5:00pm-6:00pm about Struts. I'm also tasked to speak on a couple of panels about Open Source at Comdex, which is also happening in Las Vegas the same week. Regarding the archived 1.02 docs - there doesn't seem to be a link to them anywhere. Shall I add one? We should probably remove those now. Also, we don't have the current release (1.1) docs on the site which might be confusing for some users. Do we want to maintain docs for the current version as well, and add appropriate links? That approach was mainly an artifact of the extended 1.1 incubation period. =:) We might now want to fall back to the original approach of just featuring the nightly build on the website. Hopefully, we can get the Cactus tests sorted out soon and start the 1.2 march, to help support the new Validator release. Fixing the nightlies is on my TODO list ... promise! :-) Looking at the Cactus logs there is a StandardManager[/test] IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.util.StringTokenizer java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.util.StringTokenizer I am not sure exatcly containg class is causing this. That is happening, this is running cactus 13-1.4.1, TC 4.1.27. I know the unit tests worked under cactus 1.5beta1, I will try upgrading to the newest version then down grading to 1.3. -Ted. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XHTML Web site updates
Robert Leland wrote: Craig R. McClanahan wrote: Ted Husted wrote: Steve Raeburn wrote: Done. The ASF thanks you for your help and support =:) Hey anybody going? I won't make it this year, but I'm starting to think about 2004. I'm going, and speaking on Tuesday 11/18, 5:00pm-6:00pm about Struts. I'm also tasked to speak on a couple of panels about Open Source at Comdex, which is also happening in Las Vegas the same week. Regarding the archived 1.02 docs - there doesn't seem to be a link to them anywhere. Shall I add one? We should probably remove those now. Also, we don't have the current release (1.1) docs on the site which might be confusing for some users. Do we want to maintain docs for the current version as well, and add appropriate links? That approach was mainly an artifact of the extended 1.1 incubation period. =:) We might now want to fall back to the original approach of just featuring the nightly build on the website. Hopefully, we can get the Cactus tests sorted out soon and start the 1.2 march, to help support the new Validator release. Fixing the nightlies is on my TODO list ... promise! :-) Looking at the Cactus logs there is a StandardManager[/test] IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.util.StringTokenizer java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.util.StringTokenizer I am not sure exatcly containg class is causing this. That is happening, this is running cactus 13-1.4.1, TC 4.1.27. I know the unit tests worked under cactus 1.5beta1, I will try upgrading to the newest version That should have been 'works under cactus 1.3' then down grading to 1.3. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XHTML Web site updates
With an update to Ant 1.5.4, it now WORKSFORME with both 1.4.1_03 and 1.4.2_01. The validation step takes a few seconds, but I'm OK with that. I'm posting the new version now. Thanks Steve! It looks great! -Ted. Steve Raeburn wrote: Thanks James, I'm about to commit an updated build-webbaps.xml file. It seems to solve my problem on 1.4.1_02. According to the Ant manual: reloadstylesheet - Controls whether the stylesheet transformer is created anew for every transform operation. If you set this to true, performance may suffer, but you may work around a bug in certain Xalan-J versions. Default is false. Since Ant 1.5.2. http://ant.apache.org/manual/CoreTasks/style.html Setting this to true, appears to work and it's not much slower. Give it a whirl. Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
Thanks Ted and everyone else for checking. Glad it all worked out. Steve -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: September 11, 2003 2:54 AM To: Struts Developers List Subject: Re: XHTML Web site updates With an update to Ant 1.5.4, it now WORKSFORME with both 1.4.1_03 and 1.4.2_01. The validation step takes a few seconds, but I'm OK with that. I'm posting the new version now. Thanks Steve! It looks great! -Ted. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
I've added back the contributors list, moving it to the left column, under the menu. For and example, see: http://www.ninsky.com/struts/site/userGuide/preface.html Enabling the list is controlled by an 'authors' attribute at both project level, via the project.xml file, and for each document. project name=Struts User's Guide href=http://jakarta.apache.org/struts/userGuide; image=../images/struts.gif authors=true -and/or - document url=struts-html.html authors=true If a document level attribute is specified, it will override the project level attribute. If neither is specfied , no list will be output. If an attribute is specified, anything other than true will be interpreted as false. I think I've set it up to output on most of the pages the before. Please feel free to amend as you see fit. Steve -Original Message- From: Robert Leland [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 6:52 AM To: Struts Developers List Subject: Re: XHTML Web site updates David Graham wrote: Contributors List I think it's important to keep the contributors list on those pages because it's a recognition of volunteers' effort. I agree that it gets in the way so maybe the list should be at the bottom of the page in a smaller +1, absolutely it's through those patches and code contributions that keeps Struts going sometimes. font. It would also be nice if it wasn't one long list of names but had columns to make it shorter. That is probably easier said than done though. David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XHTML Web site updates
I'm fine with all this generally, and was going to post the update, but I'm having trouble getting it to transform. Several arbitrary files are coming back : Fatal Error! java.lang.NullPointerException Cause: java.lang.NullPointerException Failed to process C:\projects\Apache\jakarta\jakarta-struts\doc\resources\projects.xml I'll try it again tonight with a clean checkout, but wanted to bring this up in case anyone experienced similar problems. -Ted. Steve Raeburn wrote: We now have an XHTML 1.0 Strict compliant, CSS based tableless layout web site with only one XSL stylesheet to worry about (plus the taglib) and no need for a separate printer friendly version of the User Guide. I've added a validation task to the build file to ensure that the generated documents stay valid over time ;-) and to save having to validate each page manually. Anchors --- One thing to watch out for when you're updating documents - I've begun replacing anchors with element ids. So this: pa name=test/aSome text/p becomes p id=testSome text/p It's still linked in exactly the same way -- myPage.html#test -- but you need to make sure that you use a valid element id. Anchors in the news pages were being specified using the date, but element names cannot start with a digit so I've just added the letter 'S' (for Struts) as a prefix. Contributors List - One side effect of merging the XSL stylesheets is that the contributors list is currently not written at the start of each chapter. (Some stylesheets had it, some didn't so I opted to remove it from the chapter section.) I wondered what the feeling was regarding whether it is neccessary to have that list at the top of each page. Personally, I think it gets in the way of reading the documentation but it wouldn't be too difficult to add back if that's what's wanted. Let me know what you think or if you find anything I missed. Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ted Husted, Junit in Action - http://www.manning.com/massol/, Struts in Action - http://husted.com/struts/book.html, JSP Site Design - http://www.amazon.com/exec/obidos/ISBN=1861005512. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XHTML Web site updates
David Graham wrote: Contributors List I think it's important to keep the contributors list on those pages because it's a recognition of volunteers' effort. I agree that it gets in the way so maybe the list should be at the bottom of the page in a smaller +1, absolutely it's through those patches and code contributions that keeps Struts going sometimes. font. It would also be nice if it wasn't one long list of names but had columns to make it shorter. That is probably easier said than done though. David - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
What JDK are you running on? I did experience a similar intermittent problem with Sun 1.4.2_01 (on W2K) but _02 runs with no problems. Steve -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 3:58 AM To: Struts Developers List Subject: Re: XHTML Web site updates I'm fine with all this generally, and was going to post the update, but I'm having trouble getting it to transform. Several arbitrary files are coming back : Fatal Error! java.lang.NullPointerException Cause: java.lang.NullPointerException Failed to process C:\projects\Apache\jakarta\jakarta-struts\doc\resources\projects.xml I'll try it again tonight with a clean checkout, but wanted to bring this up in case anyone experienced similar problems. -Ted. Steve Raeburn wrote: We now have an XHTML 1.0 Strict compliant, CSS based tableless layout web site with only one XSL stylesheet to worry about (plus the taglib) and no need for a separate printer friendly version of the User Guide. I've added a validation task to the build file to ensure that the generated documents stay valid over time ;-) and to save having to validate each page manually. Anchors --- One thing to watch out for when you're updating documents - I've begun replacing anchors with element ids. So this: pa name=test/aSome text/p becomes p id=testSome text/p It's still linked in exactly the same way -- myPage.html#test -- but you need to make sure that you use a valid element id. Anchors in the news pages were being specified using the date, but element names cannot start with a digit so I've just added the letter 'S' (for Struts) as a prefix. Contributors List - One side effect of merging the XSL stylesheets is that the contributors list is currently not written at the start of each chapter. (Some stylesheets had it, some didn't so I opted to remove it from the chapter section.) I wondered what the feeling was regarding whether it is neccessary to have that list at the top of each page. Personally, I think it gets in the way of reading the documentation but it wouldn't be too difficult to add back if that's what's wanted. Let me know what you think or if you find anything I missed. Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ted Husted, Junit in Action - http://www.manning.com/massol/, Struts in Action - http://husted.com/struts/book.html, JSP Site Design - http://www.amazon.com/exec/obidos/ISBN=1861005512. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
Sorry, I'm getting my versions in a muddle. Here's the correct state: Sun 1.4.2_01 - No problem Sun 1.4.1_05 - Intermittent failures Sun 1.4.1_02 - Intermittent failures Sun 1.3.1- No problem 2 many twos and ones :-) Steve -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: December 10, 2003 8:12 AM To: Struts Developers List Subject: RE: XHTML Web site updates What JDK are you running on? I did experience a similar intermittent problem with Sun 1.4.2_01 (on W2K) but _02 runs with no problems. Steve -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 3:58 AM To: Struts Developers List Subject: Re: XHTML Web site updates I'm fine with all this generally, and was going to post the update, but I'm having trouble getting it to transform. Several arbitrary files are coming back : Fatal Error! java.lang.NullPointerException Cause: java.lang.NullPointerException Failed to process C:\projects\Apache\jakarta\jakarta-struts\doc\resources\projects.xml I'll try it again tonight with a clean checkout, but wanted to bring this up in case anyone experienced similar problems. -Ted. Steve Raeburn wrote: We now have an XHTML 1.0 Strict compliant, CSS based tableless layout web site with only one XSL stylesheet to worry about (plus the taglib) and no need for a separate printer friendly version of the User Guide. I've added a validation task to the build file to ensure that the generated documents stay valid over time ;-) and to save having to validate each page manually. Anchors --- One thing to watch out for when you're updating documents - I've begun replacing anchors with element ids. So this: pa name=test/aSome text/p becomes p id=testSome text/p It's still linked in exactly the same way -- myPage.html#test -- but you need to make sure that you use a valid element id. Anchors in the news pages were being specified using the date, but element names cannot start with a digit so I've just added the letter 'S' (for Struts) as a prefix. Contributors List - One side effect of merging the XSL stylesheets is that the contributors list is currently not written at the start of each chapter. (Some stylesheets had it, some didn't so I opted to remove it from the chapter section.) I wondered what the feeling was regarding whether it is neccessary to have that list at the top of each page. Personally, I think it gets in the way of reading the documentation but it wouldn't be too difficult to add back if that's what's wanted. Let me know what you think or if you find anything I missed. Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ted Husted, Junit in Action - http://www.manning.com/massol/, Struts in Action - http://husted.com/struts/book.html, JSP Site Design - http://www.amazon.com/exec/obidos/ISBN=1861005512. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XHTML Web site updates
I've installed Sun 1.4.2_01 but I'm still having trouble getting the site to render. I am in favor of rendering the site in valid XHTML, but we need it to work with what people will commonly have installed. If the site can't be rendered using the standard Java 1.2 or later advice, then I'll have to ask that the stylesheet changes be withdrawn. Also, I don't know if my pages are rendering correctly, but the ones I am seeing have a Lynx look and feel. I don't mind this personally, but I do feel that we need to either retain the original layout or migrate to Forrest or Maven. Something different is not what we are gong for right now. =:0) -Ted. Steve Raeburn wrote: Sorry, I'm getting my versions in a muddle. Here's the correct state: Sun 1.4.2_01 - No problem Sun 1.4.1_05 - Intermittent failures Sun 1.4.1_02 - Intermittent failures Sun 1.3.1- No problem 2 many twos and ones :-) Steve -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: December 10, 2003 8:12 AM To: Struts Developers List Subject: RE: XHTML Web site updates What JDK are you running on? I did experience a similar intermittent problem with Sun 1.4.2_01 (on W2K) but _02 runs with no problems. Steve -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 3:58 AM To: Struts Developers List Subject: Re: XHTML Web site updates I'm fine with all this generally, and was going to post the update, but I'm having trouble getting it to transform. Several arbitrary files are coming back : Fatal Error! java.lang.NullPointerException Cause: java.lang.NullPointerException Failed to process C:\projects\Apache\jakarta\jakarta-struts\doc\resources\projects.xml I'll try it again tonight with a clean checkout, but wanted to bring this up in case anyone experienced similar problems. -Ted. Steve Raeburn wrote: We now have an XHTML 1.0 Strict compliant, CSS based tableless layout web site with only one XSL stylesheet to worry about (plus the taglib) and no need for a separate printer friendly version of the User Guide. I've added a validation task to the build file to ensure that the generated documents stay valid over time ;-) and to save having to validate each page manually. Anchors --- One thing to watch out for when you're updating documents - I've begun replacing anchors with element ids. So this: pa name=test/aSome text/p becomes p id=testSome text/p It's still linked in exactly the same way -- myPage.html#test -- but you need to make sure that you use a valid element id. Anchors in the news pages were being specified using the date, but element names cannot start with a digit so I've just added the letter 'S' (for Struts) as a prefix. Contributors List - One side effect of merging the XSL stylesheets is that the contributors list is currently not written at the start of each chapter. (Some stylesheets had it, some didn't so I opted to remove it from the chapter section.) I wondered what the feeling was regarding whether it is neccessary to have that list at the top of each page. Personally, I think it gets in the way of reading the documentation but it wouldn't be too difficult to add back if that's what's wanted. Let me know what you think or if you find anything I missed. Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ted Husted, Junit in Action - http://www.manning.com/massol/, Struts in Action - http://husted.com/struts/book.html, JSP Site Design - http://www.amazon.com/exec/obidos/ISBN=1861005512. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ted Husted, Junit in Action - http://www.manning.com/massol/, Struts in Action - http://husted.com/struts/book.html, JSP Site Design - http://www.amazon.com/exec/obidos/ISBN=1861005512. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
The look and feel you end up with should be almost identical to the existing site. I've uploaded a copy for comparison at http://www.ninsky.com/struts/site/ If the build is failing then the CSS file won't be copied over to the target directory so that's why you don't see the formatting. As to why it's failing - I'm pretty sure this is a JDK bug, though I'm surprised you're still having problems on 1.4.2_01. What's the policy on accommodating JDK bugs? I'll try to find a workaround. It would be useful if someone else could run it to see if a pattern emerges. Steve -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 3:42 PM To: Struts Developers List Subject: Re: XHTML Web site updates I've installed Sun 1.4.2_01 but I'm still having trouble getting the site to render. I am in favor of rendering the site in valid XHTML, but we need it to work with what people will commonly have installed. If the site can't be rendered using the standard Java 1.2 or later advice, then I'll have to ask that the stylesheet changes be withdrawn. Also, I don't know if my pages are rendering correctly, but the ones I am seeing have a Lynx look and feel. I don't mind this personally, but I do feel that we need to either retain the original layout or migrate to Forrest or Maven. Something different is not what we are gong for right now. =:0) -Ted. Steve Raeburn wrote: Sorry, I'm getting my versions in a muddle. Here's the correct state: Sun 1.4.2_01 - No problem Sun 1.4.1_05 - Intermittent failures Sun 1.4.1_02 - Intermittent failures Sun 1.3.1- No problem 2 many twos and ones :-) Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
Here's my attempt: Buildfile: build.xml init: [echo] - jakarta-struts 1.2-dev - [echo] java.class.path = C:\j2sdk1.4.1_02\lib\tools.jar;D:\home\jmitchell\apache_home\apache-ant- 1.5.3-1\lib\xml-apis.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3- 1\lib\xercesImpl.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3-1\li b\optional.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3-1\lib\juni t.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3-1\lib\ant.jar; [echo] java.home = C:\j2sdk1.4.1_02\jre [echo] user.home = C:\Documents and Settings\jmitchell prepare.dist: prepare.library: [copy] Copying 1 file to D:\home\jmitchell\cvs\jakarta-struts\target\library\classes\META-INF compile.library: [javac] Compiling 35 source files to D:\home\jmitchell\cvs\jakarta-struts\target\library\classes ... ... snip/ ... ... static: [echo] Processing webapp validator compile: [echo] Processing webapp validator [javac] Compiling 3 source files to D:\home\jmitchell\cvs\jakarta-struts\target\validator\WEB-INF\classes [copy] Copying 3 files to D:\home\jmitchell\cvs\jakarta-struts\target\validator\WEB-INF\classes compile.docs: [style] Transforming into D:\home\jmitchell\cvs\jakarta-struts\target\documentation [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\acquiring.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\acquiring.html [style] Loading stylesheet D:\home\jmitchell\cvs\jakarta-struts\doc\stylesheets\struts.xsl [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\helping.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\helping.html [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\index.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\index.html [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\kickstart.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\kickstart.html [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\learning.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\learning.html [style] : Fatal Error! java.lang.NullPointerException Cause: java.lang.NullPointerException [style] Failed to process D:\home\jmitchell\cvs\jakarta-struts\doc\learning.xml BUILD FAILED file:D:/home/jmitchell/cvs/jakarta-struts/build-webapps.xml:222: Fatal error during transformation Total time: 35 seconds Tool completed successfully I'll post back after I run it again in debug...see if I can track this thing down. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 8:39 PM To: Struts Developers List Subject: RE: XHTML Web site updates The look and feel you end up with should be almost identical to the existing site. I've uploaded a copy for comparison at http://www.ninsky.com/struts/site/ If the build is failing then the CSS file won't be copied over to the target directory so that's why you don't see the formatting. As to why it's failing - I'm pretty sure this is a JDK bug, though I'm surprised you're still having problems on 1.4.2_01. What's the policy on accommodating JDK bugs? I'll try to find a workaround. It would be useful if someone else could run it to see if a pattern emerges. Steve -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 3:42 PM To: Struts Developers List Subject: Re: XHTML Web site updates I've installed Sun 1.4.2_01 but I'm still having trouble getting the site to render. I am in favor of rendering the site in valid XHTML, but we need it to work with what people will commonly have installed. If the site can't be rendered using the standard Java 1.2 or later advice, then I'll have to ask that the stylesheet changes be withdrawn. Also, I don't know if my pages are rendering correctly, but the ones I am seeing have a Lynx look and feel. I don't mind this personally, but I do feel that we need to either retain the original layout or migrate to Forrest or Maven. Something different is not what we are gong for right now. =:0) -Ted. Steve Raeburn wrote: Sorry, I'm getting my versions in a muddle. Here's the correct state: Sun 1.4.2_01 - No problem Sun 1.4.1_05 - Intermittent failures Sun 1.4.1_02 - Intermittent failures Sun 1.3.1- No problem 2 many twos and ones :-) Steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
Thanks James, I'm about to commit an updated build-webbaps.xml file. It seems to solve my problem on 1.4.1_02. According to the Ant manual: reloadstylesheet - Controls whether the stylesheet transformer is created anew for every transform operation. If you set this to true, performance may suffer, but you may work around a bug in certain Xalan-J versions. Default is false. Since Ant 1.5.2. http://ant.apache.org/manual/CoreTasks/style.html Setting this to true, appears to work and it's not much slower. Give it a whirl. Steve -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 6:03 PM To: 'Struts Developers List' Subject: RE: XHTML Web site updates Here's my attempt: Buildfile: build.xml init: [echo] - jakarta-struts 1.2-dev - [echo] java.class.path = C:\j2sdk1.4.1_02\lib\tools.jar;D:\home\jmitchell\apache_home\apache-ant- 1.5.3-1\lib\xml-apis.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3- 1\lib\xercesImpl.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3-1\li b\optional.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3-1\lib\juni t.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3-1\lib\ant.jar; [echo] java.home = C:\j2sdk1.4.1_02\jre [echo] user.home = C:\Documents and Settings\jmitchell prepare.dist: prepare.library: [copy] Copying 1 file to D:\home\jmitchell\cvs\jakarta-struts\target\library\classes\META-INF compile.library: [javac] Compiling 35 source files to D:\home\jmitchell\cvs\jakarta-struts\target\library\classes ... ... snip/ ... ... static: [echo] Processing webapp validator compile: [echo] Processing webapp validator [javac] Compiling 3 source files to D:\home\jmitchell\cvs\jakarta-struts\target\validator\WEB-INF\classes [copy] Copying 3 files to D:\home\jmitchell\cvs\jakarta-struts\target\validator\WEB-INF\classes compile.docs: [style] Transforming into D:\home\jmitchell\cvs\jakarta-struts\target\documentation [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\acquiring.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\acquiring.html [style] Loading stylesheet D:\home\jmitchell\cvs\jakarta-struts\doc\stylesheets\struts.xsl [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\helping.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\helping.html [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\index.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\index.html [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\kickstart.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\kickstart.html [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\learning.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\learning.html [style] : Fatal Error! java.lang.NullPointerException Cause: java.lang.NullPointerException [style] Failed to process D:\home\jmitchell\cvs\jakarta-struts\doc\learning.xml BUILD FAILED file:D:/home/jmitchell/cvs/jakarta-struts/build-webapps.xml:222: Fatal error during transformation Total time: 35 seconds Tool completed successfully I'll post back after I run it again in debug...see if I can track this thing down. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 8:39 PM To: Struts Developers List Subject: RE: XHTML Web site updates The look and feel you end up with should be almost identical to the existing site. I've uploaded a copy for comparison at http://www.ninsky.com/struts/site/ If the build is failing then the CSS file won't be copied over to the target directory so that's why you don't see the formatting. As to why it's failing - I'm pretty sure this is a JDK bug, though I'm surprised you're still having problems on 1.4.2_01. What's the policy on accommodating JDK bugs? I'll try to find a workaround. It would be useful if someone else could run it to see if a pattern emerges. Steve -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 3:42 PM To: Struts Developers List Subject: Re: XHTML Web site updates I've installed Sun 1.4.2_01 but I'm still having trouble getting the site to render. I am in favor of rendering the site in valid XHTML, but we need it to work with what people will commonly have installed. If the site can't be rendered using the standard Java 1.2 or later advice, then I'll have to ask that the stylesheet changes be withdrawn. Also, I don't know if my pages are rendering correctly, but the ones I am seeing have a Lynx look and feel. I don't mind this personally
RE: XHTML Web site updates
Wow! This is odd. After running the build in -debug, there weren't any good clues as to the cause or where to start looking. I began to open up the offending xml files one by one and copy over the entire document with one that I knew had been transformed without issue. Then re-ran the build. After doing this, each time the build would go a little further down the list of source files to be transformed. I did this over and over for about 6 files, then decided to change my tactic, I began moving the files out of the project and re-running the build. Same results as before, I would get a little farther. Then, (and here's the really odd part) I decided to just re-run the build (without changing or moving anything).IT WORKED!!! I get a little farther each time, as if the offending file was fixedhow strange is that? -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 9:03 PM To: 'Struts Developers List' Subject: RE: XHTML Web site updates Here's my attempt: Buildfile: build.xml init: [echo] - jakarta-struts 1.2-dev - [echo] java.class.path = C:\j2sdk1.4.1_02\lib\tools.jar;D:\home\jmitchell\apache_home\a pache-ant- 1.5.3-1\lib\xml-apis.jar;D:\home\jmitchell\apache_home\apache- ant-1.5.3- 1\lib\xercesImpl.jar;D:\home\jmitchell\apache_home\apache-ant- 1.5.3-1\li b\optional.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3- 1\lib\juni t.jar;D:\home\jmitchell\apache_home\apache-ant-1.5.3-1\lib\ant.jar; [echo] java.home = C:\j2sdk1.4.1_02\jre [echo] user.home = C:\Documents and Settings\jmitchell prepare.dist: prepare.library: [copy] Copying 1 file to D:\home\jmitchell\cvs\jakarta-struts\target\library\classes\META-INF compile.library: [javac] Compiling 35 source files to D:\home\jmitchell\cvs\jakarta-struts\target\library\classes ... ... snip/ ... ... static: [echo] Processing webapp validator compile: [echo] Processing webapp validator [javac] Compiling 3 source files to D:\home\jmitchell\cvs\jakarta-struts\target\validator\WEB-INF\classes [copy] Copying 3 files to D:\home\jmitchell\cvs\jakarta-struts\target\validator\WEB-INF\classes compile.docs: [style] Transforming into D:\home\jmitchell\cvs\jakarta-struts\target\documentation [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\acquiring.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\acqu iring.html [style] Loading stylesheet D:\home\jmitchell\cvs\jakarta-struts\doc\stylesheets\struts.xsl [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\helping.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\helping.html [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\index.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\index.html [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\kickstart.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\kick start.html [style] Processing D:\home\jmitchell\cvs\jakarta-struts\doc\learning.xml to D:\home\jmitchell\cvs\jakarta-struts\target\documentation\lear ning.html [style] : Fatal Error! java.lang.NullPointerException Cause: java.lang.NullPointerException [style] Failed to process D:\home\jmitchell\cvs\jakarta-struts\doc\learning.xml BUILD FAILED file:D:/home/jmitchell/cvs/jakarta-struts/build-webapps.xml:222: Fatal error during transformation Total time: 35 seconds Tool completed successfully I'll post back after I run it again in debug...see if I can track this thing down. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Steve Raeburn [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 8:39 PM To: Struts Developers List Subject: RE: XHTML Web site updates The look and feel you end up with should be almost identical to the existing site. I've uploaded a copy for comparison at http://www.ninsky.com/struts/site/ If the build is failing then the CSS file won't be copied over to the target directory so that's why you don't see the formatting. As to why it's failing - I'm pretty sure this is a JDK bug, though I'm surprised you're still having problems on 1.4.2_01. What's the policy on accommodating JDK bugs? I'll try to find a workaround. It would be useful if someone else could run it to see if a pattern emerges. Steve -Original Message- From: Ted Husted [mailto:[EMAIL PROTECTED] Sent: September 10, 2003 3:42 PM To: Struts Developers List Subject: Re: XHTML Web site updates I've installed Sun
RE: XHTML Web site updates
On Wed, 10 Sep 2003, Steve Raeburn wrote: Date: Wed, 10 Sep 2003 17:38:41 -0700 From: Steve Raeburn [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: Struts Developers List [EMAIL PROTECTED] Subject: RE: XHTML Web site updates The look and feel you end up with should be almost identical to the existing site. I've uploaded a copy for comparison at http://www.ninsky.com/struts/site/ If the build is failing then the CSS file won't be copied over to the target directory so that's why you don't see the formatting. As to why it's failing - I'm pretty sure this is a JDK bug, though I'm surprised you're still having problems on 1.4.2_01. What's the policy on accommodating JDK bugs? I'll try to find a workaround. It would be useful if someone else could run it to see if a pattern emerges. WORKSFORME on a just-downloaded CVS tree (19:40 Pacific Time), using JDK 1.4.2-b28 on Red Hat 9.0 Linux. The generated pages do indeed look very much like the original style. Steve Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
Ok, I just got a fresh copy (not an update) and it worked finesame setup/jdk/ant/etc, new checkout. -- James Mitchell Software Engineer / Struts Evangelist http://www.struts-atlanta.org 678.910.8017 AIM:jmitchtx -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 10, 2003 10:41 PM To: Struts Developers List Subject: RE: XHTML Web site updates On Wed, 10 Sep 2003, Steve Raeburn wrote: Date: Wed, 10 Sep 2003 17:38:41 -0700 From: Steve Raeburn [EMAIL PROTECTED] Reply-To: Struts Developers List [EMAIL PROTECTED] To: Struts Developers List [EMAIL PROTECTED] Subject: RE: XHTML Web site updates The look and feel you end up with should be almost identical to the existing site. I've uploaded a copy for comparison at http://www.ninsky.com/struts/site/ If the build is failing then the CSS file won't be copied over to the target directory so that's why you don't see the formatting. As to why it's failing - I'm pretty sure this is a JDK bug, though I'm surprised you're still having problems on 1.4.2_01. What's the policy on accommodating JDK bugs? I'll try to find a workaround. It would be useful if someone else could run it to see if a pattern emerges. WORKSFORME on a just-downloaded CVS tree (19:40 Pacific Time), using JDK 1.4.2-b28 on Red Hat 9.0 Linux. The generated pages do indeed look very much like the original style. Steve Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: XHTML Web site updates
Thanks, Craig. I hope that last patch will cure it for everyone regardless of the JDK. Steve WORKSFORME on a just-downloaded CVS tree (19:40 Pacific Time), using JDK 1.4.2-b28 on Red Hat 9.0 Linux. The generated pages do indeed look very much like the original style. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XHTML Web site updates
It also works for me. From a CVS update. I am using Xerces 2.5/Xalan 2.5 JDK 1.4.2_01 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]