Can jjava 5 update 22 be installed on the wicketstuff.org server?

2010-08-12 Thread Michael O'Cleirigh

Hello,

With the version of java 5 currently installed on wicketstuff.org hudson 
gives build errors with one of the jwicket projects (related to 
instanceof outerclass?.innerClass, a generics issue).


But compiling in Linux and Windows using the latest jdk5 update 22 
results in no compile error.


I tried to use the hudson auto jdk installer but it doesn't seem to work 
for FreeBSD:


JDK installation skipped: Unknown CPU name: freebsd
JDK installation skipped: Unknown CPU name: freebsd


Would someone with the correct access be able to install the jdk update 
22 onto the wicketstuff.org server?


This won't effect my ability to cut a wicketstuff-core 1.4.10 release 
but it would be nice if all the jwicket artifacts can have a latest 
snapshot version.


Thanks,

Mike


Update examples at wicketstuff.org

2010-08-12 Thread Martin Grigorov
Hi,

I would like to ask wicketstuff.org maintainers to update the examples
deployed at this machine to latest 1.4.10 and 1.5-M1 versions.
Recently we had a ticket about broken 1.4 examples but everything was fine
in the latest snapshot (running the examples locally). Do you think it is a
good idea to run the examples in DEVELOPMENT mode so we and the users can
see the problem in the browser instead of asking for logs ?

martin-g


Re: Update examples at wicketstuff.org

2010-08-12 Thread Johan Compagner
i see that teamcity is gone now, and we use hudson, but that doesnt
build wicket-examples
So the easy copy file that i have doesnt work anymore..


On Thu, Aug 12, 2010 at 15:09, Martin Grigorov mgrigo...@apache.org wrote:
 Hi,

 I would like to ask wicketstuff.org maintainers to update the examples
 deployed at this machine to latest 1.4.10 and 1.5-M1 versions.
 Recently we had a ticket about broken 1.4 examples but everything was fine
 in the latest snapshot (running the examples locally). Do you think it is a
 good idea to run the examples in DEVELOPMENT mode so we and the users can
 see the problem in the browser instead of asking for logs ?

 martin-g



Re: Can jjava 5 update 22 be installed on the wicketstuff.org server?

2010-08-12 Thread Johan Compagner
at the moment 1.5.0_13-p7 does run there.
And i dont know how to update that under freebsd.


On Thu, Aug 12, 2010 at 14:53, Michael O'Cleirigh
michael.ocleir...@rivulet.ca wrote:
 Hello,

 With the version of java 5 currently installed on wicketstuff.org hudson
 gives build errors with one of the jwicket projects (related to instanceof
 outerclass?.innerClass, a generics issue).

 But compiling in Linux and Windows using the latest jdk5 update 22 results
 in no compile error.

 I tried to use the hudson auto jdk installer but it doesn't seem to work for
 FreeBSD:

 JDK installation skipped: Unknown CPU name: freebsd
 JDK installation skipped: Unknown CPU name: freebsd


 Would someone with the correct access be able to install the jdk update 22
 onto the wicketstuff.org server?

 This won't effect my ability to cut a wicketstuff-core 1.4.10 release but it
 would be nice if all the jwicket artifacts can have a latest snapshot
 version.

 Thanks,

 Mike



Re: Can jjava 5 update 22 be installed on the wicketstuff.org server?

2010-08-12 Thread Johan Compagner
i think i can get _16 on it if i get it right.. But not sure if that
would fix your compile problem


On Thu, Aug 12, 2010 at 15:55, Johan Compagner jcompag...@gmail.com wrote:
 at the moment 1.5.0_13-p7 does run there.
 And i dont know how to update that under freebsd.


 On Thu, Aug 12, 2010 at 14:53, Michael O'Cleirigh
 michael.ocleir...@rivulet.ca wrote:
 Hello,

 With the version of java 5 currently installed on wicketstuff.org hudson
 gives build errors with one of the jwicket projects (related to instanceof
 outerclass?.innerClass, a generics issue).

 But compiling in Linux and Windows using the latest jdk5 update 22 results
 in no compile error.

 I tried to use the hudson auto jdk installer but it doesn't seem to work for
 FreeBSD:

 JDK installation skipped: Unknown CPU name: freebsd
 JDK installation skipped: Unknown CPU name: freebsd


 Would someone with the correct access be able to install the jdk update 22
 onto the wicketstuff.org server?

 This won't effect my ability to cut a wicketstuff-core 1.4.10 release but it
 would be nice if all the jwicket artifacts can have a latest snapshot
 version.

 Thanks,

 Mike




Re: svn commit: r984800 - /wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js

2010-08-12 Thread Martin Grigorov
Is this related to https://issues.apache.org/jira/browse/WICKET-2977 or this
is something different ?

On Thu, Aug 12, 2010 at 4:23 PM, jcompag...@apache.org wrote:

 Author: jcompagner
 Date: Thu Aug 12 14:23:34 2010
 New Revision: 984800

 URL: http://svn.apache.org/viewvc?rev=984800view=rev
 Log:
 fix for double characters autocomplete and Upper Case

 Modified:

  
 wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js

 Modified:
 wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
 URL:
 http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js?rev=984800r1=984799r2=984800view=diff

 ==
 ---
 wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
 (original)
 +++
 wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
 Thu Aug 12 14:23:34 2010
 @@ -97,7 +97,7 @@ Wicket.AutoComplete=function(elementId,
 objonchangeoriginal=obj.onchange;
 obj.onchange=function(event){
if(mouseactive==1)return false;
 -   if(typeof
 objonchangeoriginal==function)objonchangeoriginal.apply(this,[event]);
 +   if(typeof objonchangeoriginal==function) return
 objonchangeoriginal.apply(this,[event]);
}
 objonchange=obj.onchange;

 @@ -108,7 +108,7 @@ Wicket.AutoComplete=function(elementId,
return killEvent(event);
}
hideAutoComplete();
 -   if(typeof
 objonblur==function)objonblur.apply(this,[event]);
 +   if(typeof objonblur==function) return
 objonblur.apply(this,[event]);
 }

obj.onfocus=function(event){
 @@ -124,7 +124,7 @@ Wicket.AutoComplete=function(elementId,
 }
 }
 ignoreOneFocusGain = false;
 -   if(typeof
 objonfocus==function)objonfocus.apply(this,[event]);
 +   if(typeof objonfocus==function) return
 objonfocus.apply(this,[event]);
 }

 obj.onkeydown=function(event){
 @@ -170,7 +170,7 @@ Wicket.AutoComplete=function(elementId,
 hidingAutocomplete = 1;
 }
 mouseactive = 0;
 -if (typeof objonkeydown==function)
 objonkeydown.apply(this,[event]);
 +if (typeof objonkeydown==function) return
 objonkeydown.apply(this,[event]);
 return true;
 break;
 default:
 @@ -194,7 +194,7 @@ Wicket.AutoComplete=function(elementId,
 default:
updateChoices();
 }
 -   if(typeof
 objonkeyup==function)objonkeyup.apply(this,[event]);
 +   if(typeof objonkeyup==function) return
 objonkeyup.apply(this,[event]);
 }

 obj.onkeypress=function(event){
 @@ -204,7 +204,7 @@ Wicket.AutoComplete=function(elementId,
return killEvent(event);
 }
 }
 -   if(typeof
 objonkeypress==function)objonkeypress.apply(this,[event]);
 +   if(typeof objonkeypress==function) return
 objonkeypress.apply(this,[event]);
 }
 }






Re: Update examples at wicketstuff.org

2010-08-12 Thread Johan Compagner
ok if that is stable then thats fine
i updated the copywicket14.sh file:

wget -Owicket14.war
'http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.4.x/ws/wicket-1.4.x/wicket-examples/target/wicket-examples.war'

and did run it so you should have the latest now.


On Thu, Aug 12, 2010 at 16:55, Martin Grigorov mgrigo...@apache.org wrote:
 Here is a URL to latest build at Hudson:
 http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.4.x/ws/wicket-1.4.x/wicket-examples/target/wicket-examples.war
 I think this is a stable URL so we can use it.

 On Thu, Aug 12, 2010 at 3:50 PM, Johan Compagner jcompag...@gmail.comwrote:

 i see that teamcity is gone now, and we use hudson, but that doesnt
 build wicket-examples
 So the easy copy file that i have doesnt work anymore..


 On Thu, Aug 12, 2010 at 15:09, Martin Grigorov mgrigo...@apache.org
 wrote:
  Hi,
 
  I would like to ask wicketstuff.org maintainers to update the examples
  deployed at this machine to latest 1.4.10 and 1.5-M1 versions.
  Recently we had a ticket about broken 1.4 examples but everything was
 fine
  in the latest snapshot (running the examples locally). Do you think it is
 a
  good idea to run the examples in DEVELOPMENT mode so we and the users can
  see the problem in the browser instead of asking for logs ?
 
  martin-g
 




Re: Can jjava 5 update 22 be installed on the wicketstuff.org server?

2010-08-12 Thread Michael O'Cleirigh

Hi Johan,

It turns out to be really easy to use jnlp to connect a slave node into 
hudson.


I can contribute a slow Linux node with the latest jdk 5 on it for 
running the jdk5 builds.


But I will need the firewall opened up for a specific tcp port for the 
master/node communication.  I've entered in a port of 32323 but any port 
could be configured and then setup in hudson.


Thanks,

Mike

i think i can get _16 on it if i get it right.. But not sure if that
would fix your compile problem


On Thu, Aug 12, 2010 at 15:55, Johan Compagnerjcompag...@gmail.com  wrote:
   

at the moment 1.5.0_13-p7 does run there.
And i dont know how to update that under freebsd.


On Thu, Aug 12, 2010 at 14:53, Michael O'Cleirigh
michael.ocleir...@rivulet.ca  wrote:
 

Hello,

With the version of java 5 currently installed on wicketstuff.org hudson
gives build errors with one of the jwicket projects (related to instanceof
outerclass?.innerClass, a generics issue).

But compiling in Linux and Windows using the latest jdk5 update 22 results
in no compile error.

I tried to use the hudson auto jdk installer but it doesn't seem to work for
FreeBSD:

JDK installation skipped: Unknown CPU name: freebsd
JDK installation skipped: Unknown CPU name: freebsd


Would someone with the correct access be able to install the jdk update 22
onto the wicketstuff.org server?

This won't effect my ability to cut a wicketstuff-core 1.4.10 release but it
would be nice if all the jwicket artifacts can have a latest snapshot
version.

Thanks,

Mike

   
 




Re: Update examples at wicketstuff.org

2010-08-12 Thread Martin Grigorov
And the same for
http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.5.x/ws/trunk/wicket-examples/target/wicket-examples.warplease
:-)

Maybe we can rename http://wicketstuff.org/wicket/ to
http://wicketstuff.org/wicket15/ http://wicketstuff.org/wicket/ ?

On Thu, Aug 12, 2010 at 5:05 PM, Johan Compagner jcompag...@gmail.comwrote:

 ok if that is stable then thats fine
 i updated the copywicket14.sh file:

 wget -Owicket14.war
 '
 http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.4.x/ws/wicket-1.4.x/wicket-examples/target/wicket-examples.war
 '

 and did run it so you should have the latest now.


 On Thu, Aug 12, 2010 at 16:55, Martin Grigorov mgrigo...@apache.org
 wrote:
  Here is a URL to latest build at Hudson:
 
 http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.4.x/ws/wicket-1.4.x/wicket-examples/target/wicket-examples.war
  I think this is a stable URL so we can use it.
 
  On Thu, Aug 12, 2010 at 3:50 PM, Johan Compagner jcompag...@gmail.com
 wrote:
 
  i see that teamcity is gone now, and we use hudson, but that doesnt
  build wicket-examples
  So the easy copy file that i have doesnt work anymore..
 
 
  On Thu, Aug 12, 2010 at 15:09, Martin Grigorov mgrigo...@apache.org
  wrote:
   Hi,
  
   I would like to ask wicketstuff.org maintainers to update the
 examples
   deployed at this machine to latest 1.4.10 and 1.5-M1 versions.
   Recently we had a ticket about broken 1.4 examples but everything was
  fine
   in the latest snapshot (running the examples locally). Do you think it
 is
  a
   good idea to run the examples in DEVELOPMENT mode so we and the users
 can
   see the problem in the browser instead of asking for logs ?
  
   martin-g
  
 
 



Re: svn commit: r984800 - /wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js

2010-08-12 Thread Johan Compagner
thats something else but i also fixed that one quickly


On Thu, Aug 12, 2010 at 16:57, Martin Grigorov mgrigo...@apache.org wrote:
 Is this related to https://issues.apache.org/jira/browse/WICKET-2977 or this
 is something different ?

 On Thu, Aug 12, 2010 at 4:23 PM, jcompag...@apache.org wrote:

 Author: jcompagner
 Date: Thu Aug 12 14:23:34 2010
 New Revision: 984800

 URL: http://svn.apache.org/viewvc?rev=984800view=rev
 Log:
 fix for double characters autocomplete and Upper Case

 Modified:

  wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js

 Modified:
 wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
 URL:
 http://svn.apache.org/viewvc/wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js?rev=984800r1=984799r2=984800view=diff

 ==
 ---
 wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
 (original)
 +++
 wicket/branches/wicket-1.4.x/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/autocomplete/wicket-autocomplete.js
 Thu Aug 12 14:23:34 2010
 @@ -97,7 +97,7 @@ Wicket.AutoComplete=function(elementId,
         objonchangeoriginal=obj.onchange;
         obj.onchange=function(event){
                if(mouseactive==1)return false;
 -               if(typeof
 objonchangeoriginal==function)objonchangeoriginal.apply(this,[event]);
 +               if(typeof objonchangeoriginal==function) return
 objonchangeoriginal.apply(this,[event]);
        }
         objonchange=obj.onchange;

 @@ -108,7 +108,7 @@ Wicket.AutoComplete=function(elementId,
                        return killEvent(event);
                }
                hideAutoComplete();
 -               if(typeof
 objonblur==function)objonblur.apply(this,[event]);
 +               if(typeof objonblur==function) return
 objonblur.apply(this,[event]);
         }

        obj.onfocus=function(event){
 @@ -124,7 +124,7 @@ Wicket.AutoComplete=function(elementId,
                 }
             }
             ignoreOneFocusGain = false;
 -               if(typeof
 objonfocus==function)objonfocus.apply(this,[event]);
 +               if(typeof objonfocus==function) return
 objonfocus.apply(this,[event]);
         }

         obj.onkeydown=function(event){
 @@ -170,7 +170,7 @@ Wicket.AutoComplete=function(elementId,
                         hidingAutocomplete = 1;
                     }
                     mouseactive = 0;
 -                    if (typeof objonkeydown==function)
 objonkeydown.apply(this,[event]);
 +                    if (typeof objonkeydown==function) return
 objonkeydown.apply(this,[event]);
                     return true;
                 break;
                 default:
 @@ -194,7 +194,7 @@ Wicket.AutoComplete=function(elementId,
                 default:
                    updateChoices();
             }
 -                       if(typeof
 objonkeyup==function)objonkeyup.apply(this,[event]);
 +                       if(typeof objonkeyup==function) return
 objonkeyup.apply(this,[event]);
         }

         obj.onkeypress=function(event){
 @@ -204,7 +204,7 @@ Wicket.AutoComplete=function(elementId,
                                return killEvent(event);
                 }
             }
 -                       if(typeof
 objonkeypress==function)objonkeypress.apply(this,[event]);
 +                       if(typeof objonkeypress==function) return
 objonkeypress.apply(this,[event]);
         }
     }







Re: Update examples at wicketstuff.org

2010-08-12 Thread Johan Compagner
there is no such file with the extention .warplease ;)

On Thu, Aug 12, 2010 at 17:12, Martin Grigorov mgrigo...@apache.org wrote:
 And the same for
 http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.5.x/ws/trunk/wicket-examples/target/wicket-examples.warplease
 :-)

 Maybe we can rename http://wicketstuff.org/wicket/ to
 http://wicketstuff.org/wicket15/ http://wicketstuff.org/wicket/ ?

 On Thu, Aug 12, 2010 at 5:05 PM, Johan Compagner jcompag...@gmail.comwrote:

 ok if that is stable then thats fine
 i updated the copywicket14.sh file:

 wget -Owicket14.war
 '
 http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.4.x/ws/wicket-1.4.x/wicket-examples/target/wicket-examples.war
 '

 and did run it so you should have the latest now.


 On Thu, Aug 12, 2010 at 16:55, Martin Grigorov mgrigo...@apache.org
 wrote:
  Here is a URL to latest build at Hudson:
 
 http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.4.x/ws/wicket-1.4.x/wicket-examples/target/wicket-examples.war
  I think this is a stable URL so we can use it.
 
  On Thu, Aug 12, 2010 at 3:50 PM, Johan Compagner jcompag...@gmail.com
 wrote:
 
  i see that teamcity is gone now, and we use hudson, but that doesnt
  build wicket-examples
  So the easy copy file that i have doesnt work anymore..
 
 
  On Thu, Aug 12, 2010 at 15:09, Martin Grigorov mgrigo...@apache.org
  wrote:
   Hi,
  
   I would like to ask wicketstuff.org maintainers to update the
 examples
   deployed at this machine to latest 1.4.10 and 1.5-M1 versions.
   Recently we had a ticket about broken 1.4 examples but everything was
  fine
   in the latest snapshot (running the examples locally). Do you think it
 is
  a
   good idea to run the examples in DEVELOPMENT mode so we and the users
 can
   see the problem in the browser instead of asking for logs ?
  
   martin-g
  
 
 




Re: Update examples at wicketstuff.org

2010-08-12 Thread Johan Compagner
done, trunk - wicket


On Thu, Aug 12, 2010 at 17:14, Johan Compagner jcompag...@gmail.com wrote:
 there is no such file with the extention .warplease ;)

 On Thu, Aug 12, 2010 at 17:12, Martin Grigorov mgrigo...@apache.org wrote:
 And the same for
 http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.5.x/ws/trunk/wicket-examples/target/wicket-examples.warplease
 :-)

 Maybe we can rename http://wicketstuff.org/wicket/ to
 http://wicketstuff.org/wicket15/ http://wicketstuff.org/wicket/ ?

 On Thu, Aug 12, 2010 at 5:05 PM, Johan Compagner jcompag...@gmail.comwrote:

 ok if that is stable then thats fine
 i updated the copywicket14.sh file:

 wget -Owicket14.war
 '
 http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.4.x/ws/wicket-1.4.x/wicket-examples/target/wicket-examples.war
 '

 and did run it so you should have the latest now.


 On Thu, Aug 12, 2010 at 16:55, Martin Grigorov mgrigo...@apache.org
 wrote:
  Here is a URL to latest build at Hudson:
 
 http://hudson.zones.apache.org/hudson/job/Apache%20Wicket%201.4.x/ws/wicket-1.4.x/wicket-examples/target/wicket-examples.war
  I think this is a stable URL so we can use it.
 
  On Thu, Aug 12, 2010 at 3:50 PM, Johan Compagner jcompag...@gmail.com
 wrote:
 
  i see that teamcity is gone now, and we use hudson, but that doesnt
  build wicket-examples
  So the easy copy file that i have doesnt work anymore..
 
 
  On Thu, Aug 12, 2010 at 15:09, Martin Grigorov mgrigo...@apache.org
  wrote:
   Hi,
  
   I would like to ask wicketstuff.org maintainers to update the
 examples
   deployed at this machine to latest 1.4.10 and 1.5-M1 versions.
   Recently we had a ticket about broken 1.4 examples but everything was
  fine
   in the latest snapshot (running the examples locally). Do you think it
 is
  a
   good idea to run the examples in DEVELOPMENT mode so we and the users
 can
   see the problem in the browser instead of asking for logs ?
  
   martin-g
  
 
 





Re: Form.delegateSubmit: invoke onSubmit() of nested Forms before onSubmit() of enclosing Form

2010-08-12 Thread Johan Compagner
i think this change was triggered by the commit for:

WICKET-1124: enhancement of nested form handling

its like that in the patch we got, i guess the patch is just applied this way.




On Thu, Aug 5, 2010 at 12:38, Florian Wunderlich fwunderl...@factor3.de wrote:
 It can be assumed that an enclosing Form in some way or another may depend
 on the state of an enclosed Form, but that an enclosed Form should never
 depend on the state of its enclosing Form.

 Therefore, Form.delegateSubmit should invoke onSubmit() of the nested Forms
 (lines 1540-1553 in Form.java) before invoking onSubmit() of the enclosing
 Form (lines 1537-1538).

 Is there any reason why this is the other way around at the moment?