You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(10) |
Aug
(30) |
Sep
(15) |
Oct
(26) |
Nov
(12) |
Dec
(17) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(7) |
Feb
(27) |
Mar
(73) |
Apr
(17) |
May
(17) |
Jun
(78) |
Jul
(67) |
Aug
(60) |
Sep
(89) |
Oct
(140) |
Nov
(173) |
Dec
(46) |
2004 |
Jan
(39) |
Feb
(7) |
Mar
(21) |
Apr
(31) |
May
(13) |
Jun
(86) |
Jul
(14) |
Aug
(14) |
Sep
(53) |
Oct
(184) |
Nov
(186) |
Dec
(319) |
2005 |
Jan
(336) |
Feb
(274) |
Mar
(226) |
Apr
(102) |
May
(196) |
Jun
(130) |
Jul
(119) |
Aug
(143) |
Sep
(76) |
Oct
(85) |
Nov
(70) |
Dec
(159) |
2006 |
Jan
(125) |
Feb
(100) |
Mar
(80) |
Apr
(39) |
May
(55) |
Jun
(58) |
Jul
(50) |
Aug
(76) |
Sep
(55) |
Oct
(101) |
Nov
(163) |
Dec
(85) |
2007 |
Jan
(56) |
Feb
(53) |
Mar
(180) |
Apr
(221) |
May
(290) |
Jun
(199) |
Jul
(322) |
Aug
(515) |
Sep
(121) |
Oct
(297) |
Nov
(177) |
Dec
(103) |
2008 |
Jan
(516) |
Feb
(315) |
Mar
(586) |
Apr
(615) |
May
(197) |
Jun
(381) |
Jul
(390) |
Aug
(195) |
Sep
(603) |
Oct
(499) |
Nov
(622) |
Dec
(350) |
2009 |
Jan
(313) |
Feb
(338) |
Mar
(507) |
Apr
(317) |
May
(197) |
Jun
(375) |
Jul
(235) |
Aug
(424) |
Sep
(410) |
Oct
(338) |
Nov
(286) |
Dec
(306) |
2010 |
Jan
(367) |
Feb
(339) |
Mar
(371) |
Apr
(172) |
May
(233) |
Jun
(264) |
Jul
(421) |
Aug
(110) |
Sep
(218) |
Oct
(189) |
Nov
(185) |
Dec
(168) |
2011 |
Jan
(145) |
Feb
(213) |
Mar
(205) |
Apr
(64) |
May
(159) |
Jun
(67) |
Jul
(104) |
Aug
(126) |
Sep
(144) |
Oct
(106) |
Nov
(154) |
Dec
(225) |
2012 |
Jan
(111) |
Feb
(87) |
Mar
(131) |
Apr
(102) |
May
(180) |
Jun
(160) |
Jul
(412) |
Aug
(315) |
Sep
(311) |
Oct
(369) |
Nov
(464) |
Dec
(284) |
2013 |
Jan
(343) |
Feb
(165) |
Mar
(174) |
Apr
(120) |
May
(153) |
Jun
(134) |
Jul
(202) |
Aug
(105) |
Sep
(228) |
Oct
(332) |
Nov
(192) |
Dec
(219) |
2014 |
Jan
(348) |
Feb
(194) |
Mar
(189) |
Apr
(188) |
May
(297) |
Jun
(206) |
Jul
(79) |
Aug
(279) |
Sep
(111) |
Oct
(159) |
Nov
(61) |
Dec
(78) |
2015 |
Jan
(152) |
Feb
(145) |
Mar
(239) |
Apr
(223) |
May
(248) |
Jun
(296) |
Jul
(172) |
Aug
(189) |
Sep
(338) |
Oct
(217) |
Nov
(131) |
Dec
(184) |
2016 |
Jan
(118) |
Feb
(221) |
Mar
(414) |
Apr
(412) |
May
(303) |
Jun
(133) |
Jul
(129) |
Aug
(121) |
Sep
(136) |
Oct
(67) |
Nov
(89) |
Dec
(245) |
2017 |
Jan
(349) |
Feb
(90) |
Mar
(328) |
Apr
(430) |
May
(284) |
Jun
(199) |
Jul
(164) |
Aug
(120) |
Sep
(57) |
Oct
(105) |
Nov
(108) |
Dec
(146) |
2018 |
Jan
(85) |
Feb
(48) |
Mar
(97) |
Apr
(62) |
May
(64) |
Jun
(136) |
Jul
(123) |
Aug
(87) |
Sep
(17) |
Oct
(27) |
Nov
(9) |
Dec
(16) |
2019 |
Jan
(9) |
Feb
(17) |
Mar
(18) |
Apr
(14) |
May
(8) |
Jun
|
Jul
(6) |
Aug
(12) |
Sep
(5) |
Oct
|
Nov
(2) |
Dec
|
2020 |
Jan
(8) |
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
(4) |
Oct
(1) |
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(4) |
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
2023 |
Jan
|
Feb
(6) |
Mar
(9) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: SourceForge.net <no...@so...> - 2003-08-05 14:11:49
|
Bugs item #782626, was opened at 2003-08-04 00:24 Message generated for change (Comment added) made by yourgod You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=782626&group_id=47038 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dominique Broeglin (broeglin) Assigned to: Nobody/Anonymous (nobody) Summary: Broken links on the web site Initial Comment: Just a little warning about the web site. The page http://htmlunit.sourceforge.net/ide.html Has two broken links for the files .classpath and .project ---------------------------------------------------------------------- Comment By: Brad Clarke (yourgod) Date: 2003-08-05 09:11 Message: Logged In: YES user_id=257129 There's a better way to do this that I just haven't had the time to work the kinks out of. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=782626&group_id=47038 |
From: Mike B. <mb...@Ga...> - 2003-08-05 01:14:53
|
James Asher wrote: > So, at what point will I be able to use this? I see > some CVS commits, but when does that turn into a > downloadable version ( or CVS checkout version ) ? I've been enjoying a three day weekend with the computer turned off and the build didn't get completed before the weekend started. I expect to do the release tomorrow (Tuesday). -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: James A. <the...@ya...> - 2003-08-04 14:44:48
|
So, at what point will I be able to use this? I see some CVS commits, but when does that turn into a downloadable version ( or CVS checkout version ) ? __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: SourceForge.net <no...@so...> - 2003-08-04 07:21:41
|
Bugs item #713646, was opened at 2003-04-02 03:21 Message generated for change (Comment added) made by ahangler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=713646&group_id=47038 Category: None Group: 1.2.1 Status: Closed Resolution: Fixed Priority: 5 Submitted By: David K. Taylor (dktaylor) Assigned to: Mike Bowler (mbowler) Summary: window.onload should not require parentheses Initial Comment: The window.onload property only works if the value is a function call with parentheses, not just a function name. According to the Gecko DOM Reference on window.onload, the value should just be a function name: http://www.mozilla.org/docs/dom/domref/dom_window_re f63.html Here's a sample page that should cause an alert to be raised, but doesn't with HtmlUnit 1.2.2: <html> <body> <script type="text/javascript"> testFunction = function() { alert('testFunction called.'); } onload=testFunction; </script> </body> </html> If you replace the onload statement with this, it works: onload=testFunction(); ---------------------------------------------------------------------- Comment By: Andreas Hangler (ahangler) Date: 2003-08-04 09:21 Message: Logged In: YES user_id=837008 This fix does not work in some cases (see bug 782661 where this problem is adressed and fixed). Regards Andreas ---------------------------------------------------------------------- Comment By: Mike Bowler (mbowler) Date: 2003-05-15 02:20 Message: Logged In: YES user_id=46756 The patch has been commited - thanks. Your approach is simpler than what I was thinking and simpler is definitely better :-) Notes for future patches: 1) You are entitled to add an @author tag at the top of any file you touch. I've added your name to the three files. 2) You submitted a couple of files in the patch. Be aware that the only file I even look at is the diff itself. I apply that to my code and then view the differences there. ---------------------------------------------------------------------- Comment By: David K. Taylor (dktaylor) Date: 2003-05-14 23:10 Message: Logged In: YES user_id=742109 I made a new patch file that I hope fixes the problem. I didn't do the correct diff for the old patch file. I also added a new build.xml file that fixes some problems with the target directories that allowed me to compile in the new daily CVS area. ---------------------------------------------------------------------- Comment By: Mike Bowler (mbowler) Date: 2003-05-14 13:15 Message: Logged In: YES user_id=46756 The patch appears to be taken from the root of your filesystem, not the root of the HtmlUnit tree and as a result, I can't use it to patch my copy. Can you redo the patch and submit it again? Thanks. BTW The only part of the daily build that won't compile is the "jelly" directory. If you delete that then everything else will compile and run correctly. In order to compile the jelly directory, you have to be using maven, not ant to do your build. Instructions for this will be appearing on the website when I get some time (I'm swamped right now) ---------------------------------------------------------------------- Comment By: David K. Taylor (dktaylor) Date: 2003-05-14 02:43 Message: Logged In: YES user_id=742109 I have a patch to fix this bug, which I will attach to this bug. The patch include the fix in HtmlPage.java, a new test in HtmlPageTest.java, and a CVS difference for both files. The daily CVS build did not work (wouldn't compile), so I made the changes in 1.2.2, made sure that compiled and tested (checkstyle had 2 TODO failures already), and then differenced and merged the changes into the daily CVS code versions. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=713646&group_id=47038 |
From: SourceForge.net <no...@so...> - 2003-08-04 07:14:20
|
Bugs item #782661, was opened at 2003-08-04 09:14 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=782661&group_id=47038 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Andreas Hangler (ahangler) Assigned to: Nobody/Anonymous (nobody) Summary: onload: fixing buggy bug fix 713646 Initial Comment: Bug fix 713646 intended to allow for function expressions without parentheses in the "onload" attribute, but adding parentheses does not always yield the desired result, e.g. when applying to an assignment like in <body onload='foo=4711'> My patch checks for the returned JavaScript result and if this constitutes a function it performs an additional JavaScript function call (without arguments) - just as if parentheses were given. The patch consists of corrected HtmlPage.java and an extended HtmlPageTest.java. Regards Andreas ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=782661&group_id=47038 |
From: SourceForge.net <no...@so...> - 2003-08-04 05:24:13
|
Bugs item #782626, was opened at 2003-08-04 07:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=782626&group_id=47038 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dominique Broeglin (broeglin) Assigned to: Nobody/Anonymous (nobody) Summary: Broken links on the web site Initial Comment: Just a little warning about the web site. The page http://htmlunit.sourceforge.net/ide.html Has two broken links for the files .classpath and .project ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=782626&group_id=47038 |
From: <no...@us...> - 2003-07-31 23:18:21
|
Log Message: ----------- Preparations for releasing 1.2.3 Modified Files: -------------- /cvsroot/htmlunit/htmlunit/src/xdocs: changes.xml index.xml /cvsroot/htmlunit/htmlunit: project.xml Revision Data ------------- Index: changes.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/xdocs/changes.xml,v retrieving revision 1.120 retrieving revision 1.121 diff -u -d -r1.120 -r1.121 --- changes.xml 24 Jul 2003 12:38:55 -0000 1.120 +++ changes.xml 31 Jul 2003 23:18:17 -0000 1.121 @@ -6,10 +6,7 @@ </properties> <body> - <release version="1.3" date="unknown"> - <action type="add" dev="mbowler"> - Initial support for jelly tags - </action> + <release version="1.2.3" date="July 31, 2003"> <action type="add" dev="mbowler"> Initial support for Maven </action> Index: index.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/xdocs/index.xml,v retrieving revision 1.28 retrieving revision 1.29 diff -u -d -r1.28 -r1.29 --- index.xml 27 Jul 2003 16:47:32 -0000 1.28 +++ index.xml 31 Jul 2003 23:18:17 -0000 1.29 @@ -40,10 +40,10 @@ <section name="Where to find..."> <p> <dl> - <dt>Latest stable release <date>March 29, 2003</date></dt> + <dt>Latest stable release <date>July 31, 2003</date></dt> <dd> - <a href="http://prdownloads.sourceforge.net/htmlunit/HtmlUnit-1.2.2.zip?download"> - Download version 1.2.2 + <a href="http://prdownloads.sourceforge.net/htmlunit/HtmlUnit-1.2.3.zip?download"> + Download version 1.2.3 </a> </dd> </dl> Index: project.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/project.xml,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- project.xml 18 Jul 2003 20:24:51 -0000 1.25 +++ project.xml 31 Jul 2003 23:18:17 -0000 1.26 @@ -4,7 +4,7 @@ <pomVersion>3</pomVersion> <id>htmlunit</id> <name>htmlunit</name> - <currentVersion>1.3beta</currentVersion> + <currentVersion>1.2.3</currentVersion> <organization> <name>Gargoyle Software Inc.</name> @@ -126,6 +126,7 @@ <htmlunit.description>Additional support for testing</htmlunit.description> </properties> </dependency> +<!-- <dependency> <groupId>commons-jelly</groupId> <artifactId>commons-jelly</artifactId> @@ -196,6 +197,7 @@ <htmlunit.description>Javabean support</htmlunit.description> </properties> </dependency> +--> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> |
From: Mike B. <mb...@Ga...> - 2003-07-28 23:44:06
|
James Asher wrote: > I'm getting a compilation error and I don't know why, > have a look: getAllForms() is in the code in CVS but is not in 1.2.2. You didn't say what version of the code you are using but I'd assume from this that you are using 1.2.2 The documentation on the website is current for the latest code. Documentation for a specific release will be contained in the zip for that release. Hope this helps. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: James A. <the...@ya...> - 2003-07-28 20:52:04
|
I'm getting a compilation error and I don't know why, have a look: compile: [javac] Compiling 2 source files to /usr/local/webtech/webapps/asher/KEAS/WEB-INF/classes [javac] /usr/local/webtech/webapps/asher/KEAS/WEB-INF/src/edu/ksu/cns/keas/HtmlUnitTest1UTest.java:27: cannot resolve symbol [javac] symbol : method getAllForms () [javac] location: class com.gargoylesoftware.htmlunit.html.HtmlPage [javac] List l = page1.getAllForms(); [javac] ^ [javac] 1 error Here is a code snippit: HtmlPage page1 = (HtmlPage)webClient.getPage(url); // writeToFile(page1); List l = page1.getAllForms(); Did I miss something, it's been a long day, so it's possible. These are my import statements, so I shouldn't have any problems, right? : import java.util.*; import java.security.*; import java.net.URL; import java.io.*; import junit.framework.*; import com.gargoylesoftware.htmlunit.*; import com.gargoylesoftware.htmlunit.html.*; Please let me know, thanks guys. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: SourceForge.net <no...@so...> - 2003-07-28 16:03:14
|
Bugs item #779007, was opened at 2003-07-28 18:03 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=779007&group_id=47038 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Alexei Goussev (gousseff) Assigned to: Nobody/Anonymous (nobody) Summary: window.open() cause javascript exception Initial Comment: I am runninig the following code now: >>> HtmlAnchor link = ... WebWindowListener windowEventListener = new WebWindowListener() { public void webWindowContentChanged (WebWindowEvent event) { log.warn("webWindowContentChanged called"); } public void webWindowOpened(WebWindowEvent event) { log.warn("webWindowOpened called"); } }; webClient.addWebWindowListener(windowEventListener); link.click(); <<< where link has the following on click attribute: onclick="javascript:var win = window.open ('','versionWindow','height=500,width=650,top='+ ((screen.height-(screen.height/1.618))-(500/2))+',left='+ ((screen.width-650)/2)+',scrollbars,resizable');win.focus ()" This code throws an Exception: what I see is: [WARN] MyTestClass - -webWindowOpened called E Time: 18,141 There was 1 error: 1) test1(MyTestClass)======= EXCEPTION START ======== EcmaError: lineNumber=[1] column=[0] lineSource= [GargoyleWrapper6()] name=[TypeError] sourceName= [Wrapper definition for onClick handler] message=[Cannot convert null to an object.] errorObject=[TypeError: Cannot convert null to an object.] com.gargoylesoftware.htmlunit.ScriptException: Cannot convert null to an object. at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngin e.execute(JavaScriptEngine.java:199) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJav aScriptIfPossible(HtmlPage.java:767) at com.gargoylesoftware.htmlunit.html.HtmlAnchor.click (HtmlAnchor.java:54) at MyTestClass.test1(MyTestClass.java:line where I call link.click()) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) Enclosed exception: TypeError: Cannot convert null to an object. (Wrapper definition for onClick handler; line 1) at org.mozilla.javascript.NativeGlobal.constructError (NativeGlobal.java:597) at org.mozilla.javascript.NativeGlobal.constructError (NativeGlobal.java:557) at org.mozilla.javascript.NativeGlobal.typeError0 (NativeGlobal.java:562) at org.mozilla.javascript.ScriptRuntime.toObject (ScriptRuntime.java:510) at org.mozilla.javascript.ScriptRuntime.toObject (ScriptRuntime.java:486) at org.mozilla.javascript.ScriptRuntime.getProp (ScriptRuntime.java:707) at org.mozilla.javascript.gen.c88.call(Wrapper definition for onClick handler:1) at org.mozilla.javascript.optimizer.OptRuntime.callSimple (OptRuntime.java:275) at org.mozilla.javascript.gen.c90.call(onClick handler:1) at org.mozilla.javascript.gen.c90.exec(onClick handler) at org.mozilla.javascript.Context.evaluateReader (Context.java:820) at org.mozilla.javascript.Context.evaluateString (Context.java:784) at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngin e.execute(JavaScriptEngine.java:191) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeJav aScriptIfPossible(HtmlPage.java:767) at com.gargoylesoftware.htmlunit.html.HtmlAnchor.click (HtmlAnchor.java:54) at MyTestClass.test1(MyTestClass.java:line where I call link.click()) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) == CALLING JAVASCRIPT == GargoyleWrapper6() ======= EXCEPTION END ======== Additional information (probably has nothing to do with the bug): the page that should appear in the new window contains 3 frames. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=779007&group_id=47038 |
From: <no...@us...> - 2003-07-27 16:51:47
|
Log Message: ----------- Fixed broken test Modified Files: -------------- /cvsroot/htmlunit/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html: HtmlImageInputTest.java Revision Data ------------- Index: HtmlImageInputTest.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlImageInputTest.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- HtmlImageInputTest.java 10 Jun 2003 11:57:00 -0000 1.3 +++ HtmlImageInputTest.java 27 Jul 2003 16:51:46 -0000 1.4 @@ -116,7 +116,6 @@ assertNotNull(secondPage); final List expectedPairs = Arrays.asList( new Object[]{ - new KeyValuePair("button", "foo"), new KeyValuePair("button.x", "100"), new KeyValuePair("button.y", "200") }); |
From: <no...@us...> - 2003-07-27 16:47:34
|
Log Message: ----------- Fixed broken links Modified Files: -------------- /cvsroot/htmlunit/htmlunit/src/xdocs: index.xml Revision Data ------------- Index: index.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/xdocs/index.xml,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- index.xml 3 Jul 2003 19:29:51 -0000 1.27 +++ index.xml 27 Jul 2003 16:47:32 -0000 1.28 @@ -52,10 +52,10 @@ Documentation <ul> <li> - <a href="api/index.html">Javadoc API documentation</a> + <a href="apidocs/index.html">Javadoc API documentation</a> </li> <li> - <a href="changes.html">Change history</a> + <a href="changes-report.html">Change history</a> </li> <li> <a href="faq.html">Frequently Asked Questions</a> |
From: <no...@us...> - 2003-07-24 13:51:42
|
Log Message: ----------- Merged with latest from maven Modified Files: -------------- /cvsroot/htmlunit/htmlunit/src/xdocs/stylesheets: site.jsl Revision Data ------------- Index: site.jsl =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/xdocs/stylesheets/site.jsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- site.jsl 15 Jul 2003 18:55:24 -0000 1.1 +++ site.jsl 24 Jul 2003 13:51:40 -0000 1.2 @@ -11,18 +11,18 @@ xmlns="dummy" trim="false"> <jsl:template match="document" trim="false"> <j:useBean var="navbean" class="org.apache.maven.NavBean"/> - <j:set var="location" value="${outFile.substring(destdir.length())}"/> - <util:replace var="location" oldChar="\" newChar="/" value="${location}"/> + <j:set var="location" value="${outFile.substring(destdir.length())}"/> + <util:replace var="location" oldChar="\" newChar="/" value="${location}"/> <!-- Stores location for publish date / version --> <j:set var="date">${maven.xdoc.date}</j:set> - - <j:setProperties - object="${navbean}" - document="${doc}" - location="${location}"/> - - <x:doctype name="html" + + <j:setProperties + object="${navbean}" + document="${doc}" + location="${location}"/> + + <x:doctype name="html" publicId="-//W3C//DTD XHTML 1.0 Transitional//EN" systemId="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/> @@ -39,19 +39,19 @@ <x:if select="not($nav/title)"> <title>${pom.name} - ${docTitle}</title> </x:if> - + <style type="text/css"><![CDATA[ @import url("${relativePath}/style/tigris.css"); @import url("${relativePath}/style/maven.css"); ]]></style> - + <util:file var="projectCssFile" name="${maven.docs.src}/style/project.css"/> <j:if test="${projectCssFile.exists()}"> <style type="text/css"><![CDATA[ @import url("${relativePath}/style/project.css"); ]]></style> </j:if> - + <!-- FIXME: once someone works out how to stop this breaking <x:element name="script"><x:attribute name="type">text/javascript</x:attribute> if (document.layers) { @@ -66,9 +66,9 @@ <meta name="author" content="${author.text}"/> <meta name="email" content="${author.attribute('email').value}"/> </x:forEach> - + <jsl:applyTemplates select="$doc/document/head/*"/> - + </head> <x:element name="body"><j:whitespace trim="true"> @@ -166,152 +166,20 @@ <jsl:applyTemplates select="$nav/body/menu[not(@type) | @type='header'] | $nav/body/search"/> </x:if> + <jsl:applyTemplates select="$projectNav/body/menu"/> + <!-- Standard Maven Navigation --> <j:set var="fileName">${file}</j:set> - <!-- - ! Check to see if the user wishes to include the - ! maven-generated docs on their site. - !--> - <j:if test="${includeProjectDocumentation.equals('yes')}"> - <div> - <strong>Project Documentation</strong> - <div> - <small> - <a href="${relativePath}/index.html">About ${pom.name}</a> - </small> - </div> - <div> - <small> - <a href="${relativePath}/project-info.html">Project Info</a> - </small> - <util:tokenize var="projectInfoFiles" delim=",">${maven.xdoc.projectInfo}</util:tokenize> - <j:forEach var="infoFile" items="${projectInfoFiles}"> - <j:if test="${relativePath == '.' and fileName.endsWith(infoFile)}"> - <div> - <small> - <a href="${relativePath}/mail-lists.html">Mailing Lists</a> - </small> - </div> - <div> - <small> - <a href="${relativePath}/team-list.html">Project Team</a> - </small> - </div> - <div> - <small> - <a href="${relativePath}/dependencies.html">Dependencies</a> - </small> - </div> - <j:if test="${!empty(pom.repository.url)}"> - <div> - <small> - <a href="${relativePath}/cvs-usage.html">Source Repository</a> - </small> - </div> - </j:if> - <j:if test="${!empty(pom.issueTrackingUrl)}"> - <div> - <small> - <a href="${relativePath}/issue-tracking.html">Issue Tracking</a> - </small> - </div> - </j:if> - </j:if> - </j:forEach> - </div> - <div> - <small> - <a href="${relativePath}/maven-reports.html">Project Reports</a> - </small> - - <!-- - | Check to see if we need to include the report - | links in this document. The only time we - | need to do this is when the current document - | either the maven-reports.xml doc (the page - | is displayed when clicking on Project - | Reports) or when the current document is one - | of the actual reports (in which case we want - | to leave the project report links expanded. - |--> - <j:set var="includeReportLinks" value="false"/> - <j:forEach var="report" items="${reports}"> - <j:set var="linkWithXmlExt" value="${report.link}.xml"/> - <j:if test="${relativePath == '.' and (fileName.endsWith('maven-reports.xml') or fileName.endsWith(linkWithXmlExt))}"> - <j:set var="includeReportLinks" value="true"/> - </j:if> - </j:forEach> - - <!-- - | If we need to include the report links, then - | do so. This is determined by the above - | block. - |--> - <j:if test="${includeReportLinks == 'true'}"> - <j:forEach var="report" items="${reports}"> - <div> - <small> - <a href="${relativePath}/${report.link}.html"> - ${report.name} - </a> - </small> - </div> - </j:forEach> - </j:if> - </div> - <j:if test="${pom.reports.isEmpty()}"> - <j:if test="${sourcesPresent}"> - <div> - <small> - <a href="${relativePath}/apidocs/index.html">JavaDocs</a> - </small> - </div> - <div> - <small> - <a href="${relativePath}/xref/index.html">Source XReference</a> - </small> - </div> - <j:if test="${unitTestSourcesPresent == 'true'}"> - <div> - <small> - <a href="${relativePath}/xref-test/index.html">Test XReference</a> - </small> - </div> - </j:if> - </j:if> - </j:if> - <j:set var="devProcess" value="false"/> - <util:available file="${maven.docs.src}/development-process.xml"> - <j:set var="devProcess" value="true"/> - </util:available> - <j:if test="${devProcess}"> - <div> - <small> - <a href="${relativePath}/development-process.html">Development Process</a> - </small> - </div> - </j:if> - <j:if test="${!devProcess}"> - <div> - <small> - <j:set var="devProcess">${maven.xdoc.developmentProcessUrl}</j:set> - <a href="${devProcess}">Development Process</a> - </small> - </div> - </j:if> - </div> - </j:if> - <j:set var="poweredbyimage">${maven.xdoc.poweredby.image}</j:set> <j:set var="poweredbytitle">${maven.xdoc.poweredby.title}</j:set> <j:set var="poweredbyurl">${maven.xdoc.poweredby.url}</j:set> <j:if test="${!empty(poweredbyimage)}"> - <div style="margin-top: 20px; width: 100%; text-align: center;"> - <a href="${poweredbyurl}" title="${poweredbytitle}"><img alt="${maven.xdoc.poweredby.title}" style="border: 1px solid black" src="${relativePath}/images/logos/${poweredbyimage}"/></a> - </div> + <div style="margin-top: 20px; width: 100%; text-align: center;"> + <a href="${poweredbyurl}" title="${poweredbytitle}"><img alt="${maven.xdoc.poweredby.title}" style="border: 1px solid black" src="${relativePath}/images/logos/${poweredbyimage}"/></a> + </div> </j:if> - + <j:if test="${date == 'navigation-bottom'}"> <div> <small>Last published: ${build.date}</small> @@ -334,7 +202,7 @@ </div> </td> <td> - <script language="JavaScript"> +<script language="JavaScript"> google_ad_client = 'pub-2829717612320502'; google_ad_width = 120; google_ad_height = 600; @@ -343,8 +211,8 @@ <script language="JavaScript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> - - </td> + </td> + </tr> </table> <div id="footer"> @@ -398,17 +266,30 @@ <x:set var="_name" select="string(@name)"/> <x:set var="_link" select="string(@href)"/> <x:set var="_img" select="string(@img)"/> - + <x:set var="_childCount" select="count(./item)"/> + <j:set var="_isCollapsed" value="${navbean.isCollapsed(item.get(0))}"/> + <j:set var="_state" value="none"/> + + <j:if test="${_childCount.intValue() gt 0}"> + <j:if test="${!_isCollapsed}"> + <j:set var="_state" value="expanded"/> + </j:if> + <j:if test="${_isCollapsed}"> + <j:set var="_state" value="collapsed"/> + </j:if> + </j:if> + + <div> <small> - <j:if test="${navbean.isSelected(item.get(0))}"> - <b><doc:itemLink name="${_name}" link="${_link}" img="${_img}"/></b> - </j:if> - <j:if test="${!navbean.isSelected(item.get(0))}"> - <doc:itemLink name="${_name}" link="${_link}" img="${_img}"/> - </j:if> + <j:if test="${navbean.isSelected(item.get(0))}"> + <b><doc:itemLink name="${_name}" link="${_link}" img="${_img}" state="${_state}"/></b> + </j:if> + <j:if test="${!navbean.isSelected(item.get(0))}"> + <doc:itemLink name="${_name}" link="${_link}" img="${_img}" state="${_state}"/> + </j:if> </small> - <j:if test="${!navbean.isCollapsed(item.get(0))}"> + <j:if test="${!navbean.isCollapsed(item.get(0))}"> <jsl:applyTemplates select="item"/> </j:if> </div> @@ -435,7 +316,7 @@ <strong>Search ${pom.name}</strong> <form method="get" action="http://www.google.com/search"> <a class="navlink" href="http://www.google.com"> - <img src="http://www.google.com/logos/Logo_25wht.gif" + <img src="http://www.google.com/logos/Logo_25wht.gif" alt="Google" border="0" /> </a><p/> <j:set var="siteURL" value="${pom.url}"/> @@ -524,7 +405,7 @@ <jsl:template match="glossary" trim="false"> <jsl:applyTemplates select="glossary-entries/glossary-entry" /> </jsl:template> - + <jsl:template match="glossary-entry" trim="false"> <strong><x:expr select="name" /></strong> <br/> @@ -546,7 +427,7 @@ </table> </div> </jsl:template> - + <!-- a goal --> <!-- FIXME: this is copied from tr - there must be a way of calling templates in jsl? --> @@ -559,15 +440,15 @@ <j:set var="rowMode" value="a"/> </j:otherwise> </j:choose> - + <x:element name="tr"><j:whitespace trim="true"> <x:attribute name="class">${rowMode}</x:attribute> <j:set var="_goalName"><x:expr select="./name" /></j:set> <td width='20%'><a name="${_goalName}">${_goalName}</a></td> <td width='80%'><jsl:applyTemplates select="description" /></td> </j:whitespace></x:element> - </jsl:template> - + </jsl:template> + <jsl:template match="description"> <jsl:copy trim="false"> <jsl:applyTemplates trim="false"/> @@ -598,10 +479,10 @@ <j:set var="rowMode" value="a"/> </j:otherwise> </j:choose> - + <x:element name="tr"><j:whitespace trim="true"> <x:attribute name="class">${rowMode}</x:attribute> - + <td><x:expr select="date" /> <x:expr select="time" /></td> <td><x:expr select="author"/></td> <td><jsl:applyTemplates select="*" /> @@ -613,7 +494,7 @@ <jsl:template match="file"> <j:set var="url">${pom.repository.url}<x:expr select="name"/></j:set> <j:set var="revUrl">${url}?<x:expr select="revision"/>&content-type=text/vnd.viewcvs-markup</j:set> - <a href="${url}"><x:expr select="name"/></a> - + <a href="${url}"><x:expr select="name"/></a> - <a href="${revUrl}">v<x:expr select="revision"/></a> <br/> </jsl:template> @@ -635,4 +516,4 @@ <!-- element values don't pass through as text --> <jsl:template match="@*"/> -</jsl:stylesheet> \ No newline at end of file +</jsl:stylesheet> |
From: Mike B. <mb...@Ga...> - 2003-07-24 12:41:20
|
Thanks to Tom Hamilton, we now have some initial instructions on configuring JSSE. Refer to: http://htmlunit.sourceforge.net/jsse.html -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: <no...@us...> - 2003-07-24 12:38:57
|
Log Message: ----------- Added docs on configuring JSSE - contributed by Tom Hamilton Modified Files: -------------- /cvsroot/htmlunit/htmlunit/src/xdocs: changes.xml navigation.xml Added Files: ----------- /cvsroot/htmlunit/htmlunit/src/xdocs: jsse.xml Revision Data ------------- --- NEW FILE: jsse.xml --- <?xml version="1.0"?> <document> <properties> <title>Configuring JSSE</title> <author>Tom Hamilton</author> <author email="mb...@Ga...">Mike Bowler</author> <revision>$Revision: 1.1 $</revision> </properties> <body> <section name="Configuring JSSE"> <p> The following instructions were initially provided by Tom Hamilton in response to a question on the htmlunit-develop mailing list. </p> <ol> <li> Make sure that you have <a href="http://java.sun.com/products/jsse">jsse</a>! </li> <li> Make sure that you pass in the following param to the jvm <source><![CDATA[<jvmarg value="-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol"/>]]></source> </li> <li> Change your java.security file to include the following (it's the security.provider.3 line!) <source> # # List of providers and their preference orders (see above): # security.provider.1=sun.security.provider.Sun security.provider.2=com.sun.rsajca.Provider security.provider.3=com.sun.net.ssl.internal.ssl.Provider </source> </li> <li> Make sure your class path includes the right jars - in the right order! Here is a cut from my ant script that I use to run all of my tests, seeing as I had it written down... Some things to note about this class path, I'm using cactus, WebLogic, struts, log4j and Xalan. You may not need all of these, but the key part is the html unit bits and their integration with jsse. Note that all of these come first. <source><![CDATA[ <path id="test.classpath"> <!-- note - the order of the classpath is important for the html unit stuff to work --> <!-- the html unit classes --> <pathelement path="C:\HtmlUnit-1.2.2\lib\commons-httpclient.jar"/> <pathelement path="C:\HtmlUnit-1.2.2\lib\commons-logging.jar"/> <pathelement path="C:\HtmlUnit-1.2.2\lib\HtmlUnit.jar"/> <!-- jsse libs --> <pathelement path="C:\jsse1.0.3_02\lib\jcert.jar"/> <pathelement path="C:\jsse1.0.3_02\lib\jnet.jar"/> <pathelement path="C:\HtmlUnit-1.2.2\lib\js.jar"/> <pathelement path="C:\jsse1.0.3_02\lib\jsse.jar"/> <!-- some more html unit libs --> <pathelement path="C:\HtmlUnit-1.2.2\lib\nekohtml.jar"/> <pathelement path="C:\HtmlUnit-1.2.2\lib\xercesImpl.jar"/> <pathelement path="C:\HtmlUnit-1.2.2\lib\xmlParserAPIs.jar"/> <!-- jdbc classes for oracle --> <pathelement path="C:\oracle\ora81\jdbc\lib\classes12.zip"/> <pathelement path="C:\oracle\ora81\jdbc\lib\nls_charset12.zip"/> <pathelement path="C:\oracle\ora81\orb\classes\yoj.jar"/> <!-- the test classes are all in here --> <pathelement location="c:\projects\nbkrel3/webifServices/.antbuild/classes/war/"/> <!-- the cactus libs --> <pathelement path="C:\jakarta-cactus-13-1.4\lib\cactus-1.4.jar"/> <pathelement path="C:\jakarta-cactus-13-1.4\lib\aspectjrt-1.0.5.jar"/> <pathelement path="C:\jakarta-cactus-13-1.4\lib\commons-logging-1.0.jar"/> <pathelement path="C:\jakarta-cactus-13-1.4\lib\junit-3.7.jar"/> <pathelement path="C:\jakarta-cactus-13-1.4\lib\httpunit-1.4.1.jar"/> <pathelement path="C:\jakarta-cactus-13-1.4\lib\commons-httpclient-2.0alpha1-20020606.jar"/> <!-- log4j --> <pathelement path="${project.root.dir}/dependencies/lib/log4j.jar"/> <!-- struts --> <pathelement path="${project.root.dir}/dependencies/lib/jakarta-oro-2.0.6.jar"/> <pathelement path="${project.root.dir}/dependencies/lib/struts.jar"/> <!-- junit classes --> <pathelement path="${project.root.dir}/dependencies/lib/junit.jar"/> <pathelement path="${project.root.dir}/dependencies/lib/junitx.jar"/> <!-- math routines --> <pathelement path="${project.root.dir}/dependencies/lib/IBMMath.jar"/> <!-- jce --> <pathelement path="${project.root.dir}/dependencies/lib/jce1_2-do.jar"/> <!-- weblogic classes --> <pathelement path="${weblogic.dir}/lib/weblogic_sp.jar"/> <pathelement path="${weblogic.dir}/lib/weblogic.jar"/> <!-- xml classes --> <pathelement path="${xalan.dir}/bin/xml-apis.jar"/> <pathelement path="${xalan.dir}/bin/xercesImpl.jar"/> <pathelement path="${xalan.dir}/bin/xalan.jar"/> <!-- jakarta commons lib --> <pathelement path="${weblogic.dir}/lib/commons-collections.jar"/> ]]></source> The xalan stuff is in here so that the xslt transalation works when I do the junitreports </li> <li> Finally you will need to import the certificate into your jssecacerts file - this is simple enough, just lookup how to do it on javasoft.com </li> <li> Finally finally pass in the param <source><![CDATA[<jvmarg value="-Djavax.net.debug=all"/>]]></source> to check what is going wrong - 'cos it's bound to! Once it's working turn the flag to <source><![CDATA[<jvmarg value="-Djavax.net.debugx=all"/>]]></source> Then it all works, no debug comes out, and you don't forget what the flag is for next time! </li> </ol> </section> </body> </document> Index: changes.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/xdocs/changes.xml,v retrieving revision 1.119 retrieving revision 1.120 diff -u -d -r1.119 -r1.120 --- changes.xml 23 Jul 2003 17:26:52 -0000 1.119 +++ changes.xml 24 Jul 2003 12:38:55 -0000 1.120 @@ -127,13 +127,13 @@ <action type="update" dev="mbowler" id="738548"> Fix for bug 738548 - "Form values are not Posted Properly to Server" </action> - <action type="new" dev="mbowler"> + <action type="add" dev="mbowler"> Added support for the property Window.name </action> - <action type="new" dev="mbowler"> + <action type="add" dev="mbowler"> Added read-only support for Document.cookie. </action> - <action type="new" dev="mbowler" id="675597"> + <action type="add" dev="mbowler" id="675597"> Added support for the javascript method Window.setTimeout() </action> <action type="update" dev="mbowler"> @@ -142,7 +142,7 @@ <action type="update" dev="mbowler"> Upgraded the xerces to 2.4 </action> - <action type="new" dev="mbowler" id="742515"> + <action type="add" dev="mbowler" id="742515"> New method HtmlPage.getAllForms() </action> <action type="update" dev="mbowler"> @@ -154,6 +154,9 @@ what the browsers do. If the input's name was foo we would previously send the following values to the server: foo, foo.x and foo.y. The browsers only send foo.x and foo.y. + </action> + <action type="add" dev="mbowler"> + Added docs on configuring JSSE - contributed by Tom Hamilton </action> </release> </body> Index: navigation.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/xdocs/navigation.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- navigation.xml 18 Jul 2003 15:38:37 -0000 1.6 +++ navigation.xml 24 Jul 2003 12:38:55 -0000 1.7 @@ -18,10 +18,11 @@ <item name="Download" href="http://sourceforge.net/project/showfiles.php?group_id=47038"/> </menu> <menu name="How do I..."> - <item name="Getting started" href="/gettingStarted.html"/> - <item name="Keyboard" href="/keyboard-howto.html"/> - <item name="Tables" href="/table-howto.html"/> - <item name="Window" href="/window-howto.html"/> + <item name="Get started" href="/gettingStarted.html"/> + <item name="Use the Keyboard" href="/keyboard-howto.html"/> + <item name="Use Tables" href="/table-howto.html"/> + <item name="Use Windows" href="/window-howto.html"/> + <item name="Configure JSSE" href="/jsse.html"/> </menu> <menu name="User docs"> <item name="Tool support" href="/ide.html"/> |
From: Mike B. <mb...@Ga...> - 2003-07-23 22:22:37
|
James Asher wrote: > According to my JUnit report, jsse.ar is in my > java.class.path. I *have* used JSSE on Java 1.3 successfully in the past but it's been a long time and I don't recall what steps were involved in getting it working. Perhaps someone with more recent experience can jump in here. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: Mike B. <mb...@Ga...> - 2003-07-23 17:32:26
|
James Asher wrote: > I'm getting an error on my test when I try and use > https. I have the jsse.jar in my ant\lib directory. > Is there something else I have to do? Here's the > error: I wouldn't expect that putting a jar in ant\lib would automatically put it in your classpath. Try explicitly adding it your your classpath. -- Mike Bowler Principal, Gargoyle Software Inc. Voice: (416) 822-0973 | Email : mb...@Ga... Fax : (416) 822-0975 | Website: http://www.GargoyleSoftware.com |
From: SourceForge.net <no...@so...> - 2003-07-23 17:27:38
|
Bugs item #744381, was opened at 2003-05-27 12:53 Message generated for change (Comment added) made by mbowler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=744381&group_id=47038 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Vera Mickael (mvera) >Assigned to: Mike Bowler (mbowler) Summary: Another form submition problem Initial Comment: from W3C : *************************** When a pointing device is used to click on the image, the form is submitted and the click coordinates passed to the server. The x value is measured in pixels from the left of the image, and the y value in pixels from the top of the image. The submitted data includes name.x=x-value and name.y=y-value where "name" is the value of the name attribute, and x-value and y-value are the x and y coordinate values, respectively. *************************** I've also read in a non standard document that if the name is not provided only x-value and y-value are passed to the server. HtmlUnit passes name name.x-value name.y-value, I think name shouldn't be passed as a parameter. Mickael ---------------------------------------------------------------------- >Comment By: Mike Bowler (mbowler) Date: 2003-07-23 13:27 Message: Logged In: YES user_id=46756 Changed as above. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=744381&group_id=47038 |
From: <no...@us...> - 2003-07-23 17:26:56
|
Log Message: ----------- Changed behaviour of HtmlImageInput submission to be consistent with what the browsers do. If the input's name was foo we would previously send the following values to the server: foo, foo.x and foo.y. The browsers only send foo.x and foo.y. Modified Files: -------------- /cvsroot/htmlunit/htmlunit/src/xdocs: changes.xml /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/html: HtmlInput.java Revision Data ------------- Index: changes.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/xdocs/changes.xml,v retrieving revision 1.118 retrieving revision 1.119 diff -u -d -r1.118 -r1.119 --- changes.xml 23 Jul 2003 17:07:55 -0000 1.118 +++ changes.xml 23 Jul 2003 17:26:52 -0000 1.119 @@ -149,6 +149,12 @@ Fixed bug where inputs would not submit properly if the type attribute wasn't lowercase. </action> + <action type="update" dev="mbowler" id="744381"> + Changed behaviour of HtmlImageInput submission to be consistent with + what the browsers do. If the input's name was foo we would previously + send the following values to the server: foo, foo.x and foo.y. The browsers + only send foo.x and foo.y. + </action> </release> </body> Index: HtmlInput.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlInput.java,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- HtmlInput.java 23 Jul 2003 17:07:55 -0000 1.24 +++ HtmlInput.java 23 Jul 2003 17:26:52 -0000 1.25 @@ -102,7 +102,6 @@ final String name = getNameAttribute(); if( wasPositionSpecified_ == true ) { return new KeyValuePair[]{ - new KeyValuePair( name, getValueAttribute() ), new KeyValuePair( name+".x", String.valueOf(xPosition_) ), new KeyValuePair( name+".y", String.valueOf(yPosition_) ) }; |
From: James A. <the...@ya...> - 2003-07-23 17:22:36
|
I'm getting an error on my test when I try and use https. I have the jsse.jar in my ant\lib directory. Is there something else I have to do? Here's the error: [junit] Testcase: testHomePage(test.HtmlUnitTest1UTest): Caused an ERROR [junit] unknown protocol: https [junit] java.net.MalformedURLException: unknown protocol: https [junit] at java.net.URL.<init>(URL.java:480) [junit] at java.net.URL.<init>(URL.java:376) [junit] at java.net.URL.<init>(URL.java:330) Thanks. - James __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: <no...@us...> - 2003-07-23 17:07:58
|
Log Message: ----------- Fixed bug in submit handling Modified Files: -------------- /cvsroot/htmlunit/htmlunit/src/xdocs: changes.xml /cvsroot/htmlunit/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html: HtmlSubmitInputTest.java /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/html: HtmlInput.java Revision Data ------------- Index: changes.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/xdocs/changes.xml,v retrieving revision 1.117 retrieving revision 1.118 diff -u -d -r1.117 -r1.118 --- changes.xml 19 Jul 2003 18:19:36 -0000 1.117 +++ changes.xml 23 Jul 2003 17:07:55 -0000 1.118 @@ -145,6 +145,10 @@ <action type="new" dev="mbowler" id="742515"> New method HtmlPage.getAllForms() </action> + <action type="update" dev="mbowler"> + Fixed bug where inputs would not submit properly if the type attribute + wasn't lowercase. + </action> </release> </body> Index: HtmlSubmitInputTest.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlSubmitInputTest.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- HtmlSubmitInputTest.java 10 Jun 2003 11:57:01 -0000 1.5 +++ HtmlSubmitInputTest.java 23 Jul 2003 17:07:55 -0000 1.6 @@ -71,7 +71,7 @@ = "<html><head><title>foo</title></head><body>" + "<form id='form1'>" + "<input type='submit' name='aButton' value='foo'/>" - + "<input type='submit' name='button' value='foo'/>" + + "<input type='suBMit' name='button' value='foo'/>" + "<input type='submit' name='anotherButton' value='foo'/>" + "</form></body></html>"; final WebClient client = new WebClient(); Index: HtmlInput.java =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/java/com/gargoylesoftware/htmlunit/html/HtmlInput.java,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- HtmlInput.java 16 Jun 2003 21:03:24 -0000 1.23 +++ HtmlInput.java 23 Jul 2003 17:07:55 -0000 1.24 @@ -161,7 +161,7 @@ * @throws IOException If an IO error occured */ protected Page doClickAction() throws IOException { - final String type = getTypeAttribute(); + final String type = getTypeAttribute().toLowerCase(); if (type.equals("image") || type.equals("submit")) { return getEnclosingFormOrDie().submit(this); } |
From: SourceForge.net <no...@so...> - 2003-07-22 17:41:49
|
Bugs item #714861, was opened at 2003-04-03 11:56 Message generated for change (Comment added) made by ko6hi You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=714861&group_id=47038 Category: None Group: None Status: Closed Resolution: Fixed Priority: 5 Submitted By: bob neiman (ko6hi) Assigned to: Mike Bowler (mbowler) Summary: cookie problem - null/no value returned Initial Comment: Trying the attached html, under htmlunit the cookie returns no or a null value. Have tried with latest nighly drop of http-client. http-client trace shows call to set cookie value. with alert(crumbs[0]) the result is "" with alert(crumbs[1] the result is "undefined" Works correctly under IE and Netscape. Using jdk 1.4.1_02 (sun) <html> <body> <script type="text/javascript" Language="javascript"> var expirationTime = new Date(new Date().getTime() + (10*60*1000)); document.cookie = "testcookie" + "=" + "Foo" + ";expires=" + expirationTime.toGMTString(); var cookieSet = document.cookie.split(';'); var setSize = cookieSet.length; var crumbs; var x=0; for (x=0;((x<setSize)); x++) { crumbs = cookieSet[x].split('='); alert ( crumbs[0] ); } </script> This is a test doc </body> </html> ---------------------------------------------------------------------- >Comment By: bob neiman (ko6hi) Date: 2003-07-22 10:41 Message: Logged In: YES user_id=212651 Thanks, it works. You guys do good work. ---------------------------------------------------------------------- Comment By: Mike Bowler (mbowler) Date: 2003-07-16 13:23 Message: Logged In: YES user_id=46756 Query support for Document.cookie has been implemented. Write support still isn't present but I'm going to close this defect for now since it deals specifically with query support. Support for modification hasn't been forgotten. ---------------------------------------------------------------------- Comment By: Mike Bowler (mbowler) Date: 2003-05-27 13:46 Message: Logged In: YES user_id=46756 This is not actually a problem with httpclient (although it has had issues with cookies). The javascript above doesn't work because the cookie attribute hasn't been implemented in HtmlUnit yet. It's on the todo list. ---------------------------------------------------------------------- Comment By: Vera Mickael (mvera) Date: 2003-05-27 09:45 Message: Logged In: YES user_id=787578 I had a little similar problem with httpclient, a patch has been produced, try build a new httpclient.jar from CVS and try again. Mickael ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448266&aid=714861&group_id=47038 |
From: SourceForge.net <no...@so...> - 2003-07-21 12:02:52
|
Support Requests item #769348, was opened at 2003-07-10 18:10 Message generated for change (Comment added) made by mbowler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448267&aid=769348&group_id=47038 Category: Install Problem (example) Group: None Status: Open Resolution: None Priority: 5 Submitted By: Randall Dietz (rdietz) Assigned to: Nobody/Anonymous (nobody) Summary: SimpleLog does not implement Log? Initial Comment: G'day, I'm running HtmlUnit (1.2.2) and Junit (3.8.1) with Java V1.3.1, trying to run a very simple test from the examples when I get the following error: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Class org.apache.commons.logging.impl.SimpleLog does not implement Log at org.apache.commons.logging.impl.LogFactoryImpl.newIns tance(LogFactoryImpl.java:555) etc... I'm using all the jar files from the HtmlUnit lib download. Is this a known problem or am I just lucky? ;^) cheers ---------------------------------------------------------------------- >Comment By: Mike Bowler (mbowler) Date: 2003-07-21 08:02 Message: Logged In: YES user_id=46756 Are you still experiencing this problem? Was it a classpath issue? ---------------------------------------------------------------------- Comment By: Simon Kahl (skahl) Date: 2003-07-13 22:18 Message: Logged In: YES user_id=793481 I have experience this when using JUnit swing GUI with 'Reload classes every Run' switched on. Turn this off (or start GUI with '-noloading' option) and the problem should go away. ---------------------------------------------------------------------- Comment By: Mike Bowler (mbowler) Date: 2003-07-11 06:42 Message: Logged In: YES user_id=46756 You're just lucky ;) I'd guess that this is a classpath problem. Make sure that you don't have an older version of commons-logging in your classpath. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448267&aid=769348&group_id=47038 |
From: <no...@us...> - 2003-07-19 19:25:48
|
Log Message: ----------- Removed <javadoc> tags from documentation. These were leftovers from the old build system and aren't used by maven. Modified Files: -------------- /cvsroot/htmlunit/htmlunit/src/xdocs: window-howto.xml keyboard-howto.xml Revision Data ------------- Index: window-howto.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/xdocs/window-howto.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- window-howto.xml 11 Apr 2003 19:29:18 -0000 1.7 +++ window-howto.xml 19 Jul 2003 19:25:47 -0000 1.8 @@ -10,20 +10,15 @@ <body> <section> <p> - All pages are contained within - <javadoc>com.gargoylesoftware.htmlunit.WebWindow</javadoc> objects. This could be a - <javadoc>com.gargoylesoftware.htmlunit.TopLevelWindow</javadoc> representing an actual - browser window, an - <javadoc>com.gargoylesoftware.htmlunit.html.HtmlFrame</javadoc> representing a <frame> - element or an - <javadoc>com.gargoylesoftware.htmlunit.html.HtmlInlineFrame</javadoc> representing an - <iframe> element. + All pages are contained within WebWindow objects. This could be a + TopLevelWindow representing an actual browser window, an + HtmlFrame representing a <frame> element or an + HtmlInlineFrame representing an <iframe> element. </p> <p> - When a <javadoc>com.gargoylesoftware.htmlunit.WebClient</javadoc> is first instantiated, - a <javadoc>com.gargoylesoftware.htmlunit.TopLevelWindow</javadoc> is automatically created. + When a WebClient is first instantiated, a TopLevelWindow is automatically created. You could think of this as being the first window displayed by a web browser. Calling - <javadoc>com.gargoylesoftware.htmlunit.WebClient#getPage(com.gargoylesoftware.htmlunit.WebWindow, java.net.URL, com.gargoylesoftware.htmlunit.SubmitMethod, java.util.List, boolean)</javadoc> + WebClient.getPage(WebWindow, URL, SubmitMethod, List, boolean) will load the new page into this window. </p> <p> @@ -36,21 +31,20 @@ <section name="WebWindowEvents"> <p> If you wish to be notified when windows are created or pages are loaded, you need to register a - <javadoc>com.gargoylesoftware.htmlunit.WebWindowListener</javadoc> with the WebClient via the - method <javadoc>com.gargoylesoftware.htmlunit.WebClient#addWebWindowListener(com.gargoylesoftware.htmlunit.WebWindowListener)</javadoc> + WebWindowListener with the WebClient via the + method WebClient.addWebWindowListener(WebWindowListener) </p> <p> When a window is opened either by javascript or through the WebClient, a WebWindowEvent will be fired and passed into the - <javadoc>com.gargoylesoftware.htmlunit.WebWindowListener#webWindowOpened(com.gargoylesoftware.htmlunit.WebWindowEvent)</javadoc> + WebWindowListener.webWindowOpened(WebWindowEvent) method. Note that both the new and old pages in the event will be null as the window does not have any content loaded at this point. If a url was specified during creation of the window then the page will be loaded and another event will be fired as described below. </p> <p> When a new page is loaded into a specific window, a WebWindowEvent will be fired and passed into the - <javadoc>com.gargoylesoftware.htmlunit.WebWindowListener#webWindowContentChanged(com.gargoylesoftware.htmlunit.WebWindowEvent)</javadoc> - method. + WebWindowListener.webWindowContentChanged(WebWindowEvent) method. </p> </section> </body> Index: keyboard-howto.xml =================================================================== RCS file: /cvsroot/htmlunit/htmlunit/src/xdocs/keyboard-howto.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- keyboard-howto.xml 11 Apr 2003 19:29:17 -0000 1.4 +++ keyboard-howto.xml 19 Jul 2003 19:25:47 -0000 1.5 @@ -15,36 +15,34 @@ </p> <p> There are several ways to move the focus from one element to another. The simplest is to call - <javadoc>com.gargoylesoftware.htmlunit.WebClient#moveFocusToElement(com.gargoylesoftware.htmlunit.html.HtmlElement)</javadoc>. + WebClient.moveFocusToElement(HtmlElement). This method will remove focus from whatever element currently has it, if any, and will set it to the new component. Along the way, it will fire off any "onfocus" and "onblur" handlers that have been defined. </p> <p> The element currently owning the focus can be determined with a call to - <javadoc>com.gargoylesoftware.htmlunit.WebClient#getElementWithFocus()</javadoc> + WebClient.getElementWithFocus(). </p> <p> To simulate keyboard navigation via the tab key, you can call - <javadoc>com.gargoylesoftware.htmlunit.html.HtmlPage#tabToNextElement()</javadoc> - and - <javadoc>com.gargoylesoftware.htmlunit.html.HtmlPage#tabToPreviousElement()</javadoc> + HtmlPage.tabToNextElement() and HtmlPage.tabToPreviousElement() to cycle forward or backwards through the defined tab order. This tab order is defined by the <a href="http://www.w3.org/TR/html401/interact/forms.html#adef-tabindex">tabindex</a> attribute on the various elements as defined by the HTML specification. You can query the defined tab order with the method - <javadoc>com.gargoylesoftware.htmlunit.html.HtmlPage.getTabbableElements()</javadoc> + HtmlPage.getTabbableElements() which will return a list of all tabbable elements in defined tab order. </p> <p> Access keys, often called keyboard mnemonics, can be simulated with the method - <javadoc>com.gargoylesoftware.htmlunit.html.HtmlPage#pressAccessKey(char)</javadoc>. + HtmlPage.pressAccessKey(char). </p> <p> Finally, there is an assertion for testing that will verify that every tabbable element has a defined tabindex attribute. This is done with - <javadoc>com.gargoylesoftware.htmlunit.html.HtmlPage#assertAllTabIndexAttributesSet()</javadoc>. + HtmlPage.assertAllTabIndexAttributesSet(). </p> </section> </body> |
From: SourceForge.net <no...@so...> - 2003-07-19 18:20:02
|
Feature Requests item #742515, was opened at 2003-05-23 14:27 Message generated for change (Comment added) made by mbowler You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448269&aid=742515&group_id=47038 Category: None Group: None >Status: Closed Priority: 5 Submitted By: JHoltman (jholtman) >Assigned to: Mike Bowler (mbowler) Summary: Get all Forms of Page Initial Comment: Getting a list of the forms on the page. List allFormsOnPage = page.getForms(); ---------------------------------------------------------------------- >Comment By: Mike Bowler (mbowler) Date: 2003-07-19 14:20 Message: Logged In: YES user_id=46756 Added HtmlPage.getAllForms() ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=448269&aid=742515&group_id=47038 |