Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Johan Compagner

changing the parent? or attach it to the parent again after removing?

johan


On 2/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


gridview doesnt yet work with 2.0 because we still havent decided on how
to do reparenting

-igor


On 2/13/07, Otan  [EMAIL PROTECTED] wrote:

 [ Wicket 2.0 ]
 I can't make my GridView to work as I expect it to behave. It's javadoc
 seems outdated yet. Can someone fix the Wicket-example for GridView so that
 I could have a reference about its usage? Thanks.


 -
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Igor Vaynberg

changing the parent

an item can shift between rows as items are removed and added so it needs to
be attached to different items

-igor


On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:


changing the parent? or attach it to the parent again after removing?

johan


On 2/13/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:

 gridview doesnt yet work with 2.0 because we still havent decided on how
 to do reparenting

 -igor


 On 2/13/07, Otan  [EMAIL PROTECTED] wrote:
 
  [ Wicket 2.0 ]
  I can't make my GridView to work as I expect it to behave. It's
  javadoc seems outdated yet. Can someone fix the Wicket-example for GridView
  so that I could have a reference about its usage? Thanks.
 
 
  -
  Using Tomcat but need to do more? Need to support web services,
  security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
 
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 -
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Johan Compagner

that would be a problem
Some how we have do a clone with a new parent:

component.clone(parent)

johan


On 2/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


changing the parent

an item can shift between rows as items are removed and added so it needs
to be attached to different items

-igor


On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:

 changing the parent? or attach it to the parent again after removing?

 johan


 On 2/13/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 
  gridview doesnt yet work with 2.0 because we still havent decided on
  how to do reparenting
 
  -igor
 
 
  On 2/13/07, Otan  [EMAIL PROTECTED] wrote:
  
   [ Wicket 2.0 ]
   I can't make my GridView to work as I expect it to behave. It's
   javadoc seems outdated yet. Can someone fix the Wicket-example for 
GridView
   so that I could have a reference about its usage? Thanks.
  
  
   -
   Using Tomcat but need to do more? Need to support web services,
   security?
   Get stuff done quickly with pre-integrated technology to make your
   job easier.
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
   Geronimo
  
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  -
  Using Tomcat but need to do more? Need to support web services,
  security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
 
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys-and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Igor Vaynberg

why clone? why not have a reassign(parent) or some such method on the
component?

-igor


On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:


that would be a problem
Some how we have do a clone with a new parent:

component.clone(parent)

johan


On 2/27/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:

 changing the parent

 an item can shift between rows as items are removed and added so it
 needs to be attached to different items

 -igor


 On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:

   changing the parent? or attach it to the parent again after removing?
 
  johan
 
 
  On 2/13/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
  
   gridview doesnt yet work with 2.0 because we still havent decided on
   how to do reparenting
  
   -igor
  
  
   On 2/13/07, Otan  [EMAIL PROTECTED] wrote:
   
[ Wicket 2.0 ]
I can't make my GridView to work as I expect it to behave. It's
javadoc seems outdated yet. Can someone fix the Wicket-example for 
GridView
so that I could have a reference about its usage? Thanks.
   
   

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your
job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
   
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
  
   -
   Using Tomcat but need to do more? Need to support web services,
   security?
   Get stuff done quickly with pre-integrated technology to make your
   job easier.
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
   Geronimo
  
   http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
  opinions on IT  business topics through brief surveys-and earn cash
 
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys-and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Johan Compagner

we can do that. But then we reintroduced add()

ok you say it from the other side but we have to open up something then
because reassign() has to call something on the parent (add)
i guess package scope will work for this

Then we have all the things we now can do in the constructor that don't work
anymore
like the markup id. the attributes of the tag. etc.

johan


On 2/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


why clone? why not have a reassign(parent) or some such method on the
component?

-igor


On 2/27/07, Johan Compagner  [EMAIL PROTECTED] wrote:

 that would be a problem
 Some how we have do a clone with a new parent:

 component.clone(parent)

 johan


 On 2/27/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 
  changing the parent
 
  an item can shift between rows as items are removed and added so it
  needs to be attached to different items
 
  -igor
 
 
  On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:
 
changing the parent? or attach it to the parent again after
   removing?
  
   johan
  
  
   On 2/13/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
   
gridview doesnt yet work with 2.0 because we still havent decided
on how to do reparenting
   
-igor
   
   
On 2/13/07, Otan  [EMAIL PROTECTED] wrote:

 [ Wicket 2.0 ]
 I can't make my GridView to work as I expect it to behave. It's
 javadoc seems outdated yet. Can someone fix the Wicket-example for 
GridView
 so that I could have a reference about its usage? Thanks.


 
-
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make
 your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on
 Apache Geronimo

 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


   
   

-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your
job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
   
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
   share your
   opinions on IT  business topics through brief surveys-and earn cash
  
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
  opinions on IT  business topics through brief surveys-and earn cash
 
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys-and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's 

Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Igor Vaynberg

well yeah, it should only be used in rare circumstances. the javadoc should
describe what borks when this is used

-igor


On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:


we can do that. But then we reintroduced add()

ok you say it from the other side but we have to open up something then
because reassign() has to call something on the parent (add)
i guess package scope will work for this

Then we have all the things we now can do in the constructor that don't
work anymore
like the markup id. the attributes of the tag. etc.

johan


On 2/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:

 why clone? why not have a reassign(parent) or some such method on the
 component?

 -igor


 On 2/27/07, Johan Compagner  [EMAIL PROTECTED] wrote:
 
  that would be a problem
  Some how we have do a clone with a new parent:
 
  component.clone(parent)
 
  johan
 
 
  On 2/27/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
  
   changing the parent
  
   an item can shift between rows as items are removed and added so it
   needs to be attached to different items
  
   -igor
  
  
   On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:
  
 changing the parent? or attach it to the parent again after
removing?
   
johan
   
   
On 2/13/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:

 gridview doesnt yet work with 2.0 because we still havent
 decided on how to do reparenting

 -igor


 On 2/13/07, Otan  [EMAIL PROTECTED] wrote:
 
  [ Wicket 2.0 ]
  I can't make my GridView to work as I expect it to behave.
  It's javadoc seems outdated yet. Can someone fix the Wicket-example 
for
  GridView so that I could have a reference about its usage? Thanks.
 
 
  
-
  Using Tomcat but need to do more? Need to support web
  services, security?
  Get stuff done quickly with pre-integrated technology to make
  your job easier.
  Download IBM WebSphere Application Server v.1.0.1 based on
  Apache Geronimo
 
  
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 
-
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make
 your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on
 Apache Geronimo

 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


   
   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share your
opinions on IT  business topics through brief surveys-and earn
cash
   

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
   share your
   opinions on IT  business topics through brief surveys-and earn cash
  
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
  opinions on IT  business topics through brief surveys-and earn cash
 
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys-and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Johan Compagner

what if the developer uses a gridview for components that are much deeper in
the hierarchy
and because we say the markup id is from now on stable. and it uses that one
in its constructor
Is it then when gridview reshuffles it still the case?

johan


On 2/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


well yeah, it should only be used in rare circumstances. the javadoc
should describe what borks when this is used

-igor


On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:

 we can do that. But then we reintroduced add()

 ok you say it from the other side but we have to open up something then
 because reassign() has to call something on the parent (add)
 i guess package scope will work for this

 Then we have all the things we now can do in the constructor that don't
 work anymore
 like the markup id. the attributes of the tag. etc.

 johan


 On 2/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 
  why clone? why not have a reassign(parent) or some such method on the
  component?
 
  -igor
 
 
  On 2/27/07, Johan Compagner  [EMAIL PROTECTED] wrote:
  
   that would be a problem
   Some how we have do a clone with a new parent:
  
   component.clone(parent)
  
   johan
  
  
   On 2/27/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
   
changing the parent
   
an item can shift between rows as items are removed and added so
it needs to be attached to different items
   
-igor
   
   
On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:
   
  changing the parent? or attach it to the parent again after
 removing?

 johan


 On 2/13/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 
  gridview doesnt yet work with 2.0 because we still havent
  decided on how to do reparenting
 
  -igor
 
 
  On 2/13/07, Otan  [EMAIL PROTECTED] wrote:
  
   [ Wicket 2.0 ]
   I can't make my GridView to work as I expect it to behave.
   It's javadoc seems outdated yet. Can someone fix the 
Wicket-example for
   GridView so that I could have a reference about its usage? Thanks.
  
  
   
-
   Using Tomcat but need to do more? Need to support web
   services, security?
   Get stuff done quickly with pre-integrated technology to
   make your job easier.
   Download IBM WebSphere Application Server v.1.0.1 based on
   Apache Geronimo
  
   
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  
-
  Using Tomcat but need to do more? Need to support web
  services, security?
  Get stuff done quickly with pre-integrated technology to make
  your job easier.
  Download IBM WebSphere Application Server v.1.0.1 based on
  Apache Geronimo
 
  
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 
-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance
 to share your
 opinions on IT  business topics through brief surveys-and earn
 cash

 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


   
   

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share your
opinions on IT  business topics through brief surveys-and earn
cash
   

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
   share your
   opinions on IT  business topics through brief surveys-and earn cash
  
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   ___
   Wicket-user mailing list
   

Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-27 Thread Igor Vaynberg

this is only a problem when an item reuse strategy is used

lets say you have a gridview with max 2 columns and you have 4 items
A B == row item 1
C D == row item 2

so now when you repaint the row items are regenerated, but we want to keep A
B C D components the same, so we have to reparent them to the new row items

-igor



On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:


what if the developer uses a gridview for components that are much deeper
in the hierarchy
and because we say the markup id is from now on stable. and it uses that
one in its constructor
Is it then when gridview reshuffles it still the case?

johan


On 2/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:

 well yeah, it should only be used in rare circumstances. the javadoc
 should describe what borks when this is used

 -igor


 On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:
 
  we can do that. But then we reintroduced add()
 
  ok you say it from the other side but we have to open up something
  then
  because reassign() has to call something on the parent (add)
  i guess package scope will work for this
 
  Then we have all the things we now can do in the constructor that
  don't work anymore
  like the markup id. the attributes of the tag. etc.
 
  johan
 
 
  On 2/27/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  
   why clone? why not have a reassign(parent) or some such method on
   the component?
  
   -igor
  
  
   On 2/27/07, Johan Compagner  [EMAIL PROTECTED] wrote:
   
that would be a problem
Some how we have do a clone with a new parent:
   
component.clone(parent)
   
johan
   
   
On 2/27/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:

 changing the parent

 an item can shift between rows as items are removed and added so
 it needs to be attached to different items

 -igor


 On 2/27/07, Johan Compagner [EMAIL PROTECTED] wrote:

   changing the parent? or attach it to the parent again after
  removing?
 
  johan
 
 
  On 2/13/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
  
   gridview doesnt yet work with 2.0 because we still havent
   decided on how to do reparenting
  
   -igor
  
  
   On 2/13/07, Otan  [EMAIL PROTECTED] wrote:
   
[ Wicket 2.0 ]
I can't make my GridView to work as I expect it to behave.
It's javadoc seems outdated yet. Can someone fix the 
Wicket-example for
GridView so that I could have a reference about its usage? 
Thanks.
   
   

-
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
   

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
  
  
   
-
   Using Tomcat but need to do more? Need to support web
   services, security?
   Get stuff done quickly with pre-integrated technology to
   make your job easier.
   Download IBM WebSphere Application Server v.1.0.1 based on
   Apache Geronimo
  
   
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
  
-
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance
  to share your
  opinions on IT  business topics through brief surveys-and
  earn cash
 
  
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 
-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance
 to share your
 opinions on IT  business topics through brief surveys-and earn
 cash

 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 

[Wicket-user] wicket 2.0: setting default locale

2007-02-21 Thread Harald Gruber
hi all,

any ideas how to set a default locale for sessions (wicket 2.0
snapshot)? i support only a limited amount of locales in my app and need
to get some localized data from my database using the sessions locale.

my first thought was to set the locale in my websession's constructor.
but it gets overwritten in WebApplication.getSession again


if (session == null)
{
// Create session using session factory
session = setSessionFactory().newSession(request);
// Set the client Locale for this session
session.setLocale(request.getLocale());
}

as in the Session class constructor the locale is set anyways, is there
a special reason to set the locale again right after the creation?

protected Session(final Application application, Request request)
{
this.locale = request.getLocale();
if (locale == null)
{
throw new IllegalArgumentException(Parameter 'locale' must not 
be null);
}
}

thanks for your help!
h.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket 2.0: setting default locale

2007-02-21 Thread Eelco Hillenius
Sorry about that, that was a slip. We recently had a change that would
allow you to pin the session's locale in the constructor. Setting the
locale afterwards should have been removed. It's fixed in trunk now.

Eelco


On 2/21/07, Harald Gruber [EMAIL PROTECTED] wrote:
 hi all,

 any ideas how to set a default locale for sessions (wicket 2.0
 snapshot)? i support only a limited amount of locales in my app and need
 to get some localized data from my database using the sessions locale.

 my first thought was to set the locale in my websession's constructor.
 but it gets overwritten in WebApplication.getSession again


 if (session == null)
 {
 // Create session using session factory
 session = setSessionFactory().newSession(request);
 // Set the client Locale for this session
 session.setLocale(request.getLocale());
 }

 as in the Session class constructor the locale is set anyways, is there
 a special reason to set the locale again right after the creation?

 protected Session(final Application application, Request request)
 {
 this.locale = request.getLocale();
 if (locale == null)
 {
 throw new IllegalArgumentException(Parameter 'locale' must 
 not be null);
 }
 }

 thanks for your help!
 h.

 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [wicket 2.0] Roles#hasAnyRole( Roles roles ) question

2007-02-16 Thread Edward Yakop
Anyone? Need to know whether this is intended? If this is intended I
will do a workaround.

Regards,
Edward Yakop

On 2/16/07, Edward Yakop [EMAIL PROTECTED] wrote:
 Hi,

 I have the following code
 code
 Roles r = new Roles();
 boolean hasAny = r.hasAnyRole( null );
 /code

 Shouldn't this returned [true] as r doesn't have any roles?

 If [true] should be the correct value
 The following changes is needed.
 code
 public boolean hasAnyRole(Roles roles)
 {
   if (roles != null)
   {
 for (String role : roles)
 {
   if (hasRole(role))
   {
 return true;
   }
 }
   }
   return isEmpty(); // Modified line
 }
 /code

 Regards,
 Edward Yakop


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [wicket 2.0] Roles#hasAnyRole( Roles roles ) question

2007-02-16 Thread Eelco Hillenius
On 2/15/07, Edward Yakop [EMAIL PROTECTED] wrote:
 Hi,

 I have the following code
 code
 Roles r = new Roles();
 boolean hasAny = r.hasAnyRole( null );
 /code

 Shouldn't this returned [true] as r doesn't have any roles?

I don't think it should. The javadoc says:

'Whether this roles object contains any of the provided roles.'

and I don't consider null being a specific role. So imo it should
never return true whenever null is passed in.

I could even argue that this method should throw an illegal argument
exception (that's not a proposal but something that would make just as
much sense to me).

Eelco

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] [wicket 2.0] Roles#hasAnyRole( Roles roles ) question

2007-02-15 Thread Edward Yakop
Hi,

I have the following code
code
Roles r = new Roles();
boolean hasAny = r.hasAnyRole( null );
/code

Shouldn't this returned [true] as r doesn't have any roles?

If [true] should be the correct value
The following changes is needed.
code
public boolean hasAnyRole(Roles roles)
{
  if (roles != null)
  {
for (String role : roles)
{
  if (hasRole(role))
  {
return true;
  }
}
  }
  return isEmpty(); // Modified line
}
/code

Regards,
Edward Yakop

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-13 Thread Otan

[ Wicket 2.0 ]
I can't make my GridView to work as I expect it to behave. It's javadoc
seems outdated yet. Can someone fix the Wicket-example for GridView so that
I could have a reference about its usage? Thanks.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-13 Thread Igor Vaynberg

gridview doesnt yet work with 2.0 because we still havent decided on how to
do reparenting

-igor


On 2/13/07, Otan [EMAIL PROTECTED] wrote:


[ Wicket 2.0 ]
I can't make my GridView to work as I expect it to behave. It's javadoc
seems outdated yet. Can someone fix the Wicket-example for GridView so that
I could have a reference about its usage? Thanks.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-13 Thread Eelco Hillenius
On 2/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 gridview doesnt yet work with 2.0 because we still havent decided on how to
 do reparenting

Starting to be an issue to have stuff broken for months. Who's taking
responsibility for that and is it a lot of work to get that done?

Eelco

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 example for GridView is broken

2007-02-13 Thread Igor Vaynberg

its probably not a lot of work but we need to have a powwow to decide on
semantics/sideeffects

-igor


On 2/13/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


On 2/13/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 gridview doesnt yet work with 2.0 because we still havent decided on how
to
 do reparenting

Starting to be an issue to have stuff broken for months. Who's taking
responsibility for that and is it a lot of work to get that done?

Eelco

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-02-05 Thread Aaron HIniker
I added an empty filterPath to my web.xml via:

  init-param
  param-namefilterPath/param-name
  param-value/param-value
  /init-param

and it seems to have fixed the problem.

Thanks!

Aaron


Igor Vaynberg wrote:
 you should probably specify the filterpath param as well, even if it
 is empty or a /

 -igor


 On 2/2/07, *Aaron Hiniker*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 My web.xml:

 web-app
   display-nameArchetype Created Web Application/display-name

   filter
   filter-nameEDI/filter-name
   filter-classwicket.protocol.http.WicketFilter/filter-class
   init-param
 param-nameapplicationClassName/param-name
 param-value
   com.edicorp.erp.web.Application
 /param-value
   /init-param
   
 /filter
  
 filter-mapping
   filter-nameEDI/filter-name
   url-pattern/*/url-pattern
 /filter-mapping
  
 /web-app

 Aaron


 Igor Vaynberg wrote:
 what does your web.xml look like where you define the filter and
 mapping?

 -igor


 On 1/31/07, *Aaron Hiniker*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 I have a webapp that is bound to root / context, and I am
 mounting a bookmarkable page to /script/execute via:

 mountBookmarkablePage( /script/execute,
 ScriptExecutor.class );

 That page displays a textarea and a submit button within the
 form.  The code is as follows:


 public class ScriptExecutor extends WebPage
 {
 private static final Log log =
 LogFactory.getLog(ScriptExecutor.class);

 String script;

 public ScriptExecutor()
 {
 Form form = new Form( this, form ) {

 final TextArea textarea = new TextArea( this,
 textarea, new PropertyModel( ScriptExecutor.this, script ) );

 protected void onSubmit()
 {
 super.onSubmit();

 System.out.println(TextArea:  + getScript() );
 }
 };  
 }


 public String getScript()
 {
 return script;
 }

 public void setScript(String script)
 {
 this.script = script;
 }
 }

 When I first load the page via the bookmarkable url and hit
 submit, I get a 404 because wicket is submitting to:


 
 http://localhost:8080/script/?wicket:interface=:5:form::IFormSubmitListener


 when it should be submitting to:


 http://localhost:8080/?wicket:interface=:5:form::IFormSubmitListener


 This all seems to be due to the fact wicket isn't prepending
 a / to the form's action URL, causing the browser to use
 the current directory from the url, /script/:

 body
  form id=form0 
 action=?wicket:interface=:5:form::IFormSubmitListener 

 method=post wicket:id=form
  div style=display:noneinput

  type=hidden name=form0:hf:fs id=form0:hf:fs/
  input type

 =hidden name=wicketState id=form0:hf:ws//div
  textarea
  style
 =width: 500px; height: 500px wicket:id=textarea 
 name=textarea/textarea
  br/


  input type=submit value=Execute/
  /form
 /body
 


 Is this a user error on my part or an issue with how wicket
 is generating the url?

 Aaron


 
 -
 Using Tomcat but need to do more? Need to support web
 services, security?
 Get stuff done quickly with pre-integrated technology to make
 your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on
 Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 https://lists.sourceforge.net/lists/listinfo/wicket-user



 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job 
 easier.

 Download IBM WebSphere Application Server v.1.0.1 based on Apache 
 

Re: [Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-02-05 Thread Igor Vaynberg

yep, its a temporary fix i myself had to use until al foreward-ports the
relative url refactor

-igor


On 2/5/07, Aaron HIniker [EMAIL PROTECTED] wrote:


 I added an empty filterPath to my web.xml via:

  init-param
  param-namefilterPath/param-name
  param-value/param-value
  /init-param

and it seems to have fixed the problem.

Thanks!

Aaron


Igor Vaynberg wrote:

you should probably specify the filterpath param as well, even if it is
empty or a /

-igor


On 2/2/07, Aaron Hiniker  [EMAIL PROTECTED] wrote:

 My web.xml:

 web-app
   display-nameArchetype Created Web Application/display-name

   filter
   filter-nameEDI/filter-name
   filter-classwicket.protocol.http.WicketFilter/filter-class
   init-param
 param-nameapplicationClassName/param-name
 param-value
   com.edicorp.erp.web.Application
 /param-value
   /init-param

 /filter

 filter-mapping
   filter-nameEDI/filter-name
   url-pattern/*/url-pattern
 /filter-mapping

 /web-app

 Aaron


 Igor Vaynberg wrote:

 what does your web.xml look like where you define the filter and
 mapping?

 -igor


 On 1/31/07, Aaron Hiniker  [EMAIL PROTECTED] wrote:
 
  I have a webapp that is bound to root / context, and I am mounting a
  bookmarkable page to /script/execute via:
 
  mountBookmarkablePage( /script/execute, ScriptExecutor.class);
 
  That page displays a textarea and a submit button within the form.
  The code is as follows:
 
 
  public class ScriptExecutor extends WebPage
  {
  private static final Log log = LogFactory.getLog(
  ScriptExecutor.class);
 
  String script;
 
  public ScriptExecutor()
  {
  Form form = new Form( this, form ) {
 
  final TextArea textarea = new TextArea( this, textarea,
  new PropertyModel( ScriptExecutor.this, script ) );
 
  protected void onSubmit()
  {
  super.onSubmit();
 
  System.out.println(TextArea:  + getScript() );
  }
  };
  }
 
 
  public String getScript()
  {
  return script;
  }
 
  public void setScript(String script)
  {
  this.script = script;
  }
  }
 
  When I first load the page via the bookmarkable url and hit submit, I
  get a 404 because wicket is submitting to:
 
  
http://localhost:8080/script/?wicket:interface=:5:form::IFormSubmitListener
 
 
  when it should be submitting to:
 
  http://localhost:8080/?wicket:interface=:5:form::IFormSubmitListener
 
 
  This all seems to be due to the fact wicket isn't prepending a / to
  the form's action URL, causing the browser to use the current directory from
  the url, /script/:
 
  body
form id=form0 
action=?wicket:interface=:5:form::IFormSubmitListener
 
  method=post wicket:id=form
div style=display:noneinput
   type=hidden name=form0:hf:fs id=form0:hf:fs/
input type
 
  =hidden name=wicketState id=form0:hf:ws//div
textarea
   style=width: 500px; height: 500px wicket:id=textarea 
name=textarea/textarea
br/
 
 
input type=submit value=Execute/
/form
  /body
 
 
  Is this a user error on my part or an issue with how wicket is
  generating the url?
 
  Aaron
 
 
 
  -
  Using Tomcat but need to do more? Need to support web services,
  security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
  --

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.

 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

  --

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




 -
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 

Re: [Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-02-03 Thread Johan Compagner

that shouldn't be needed.
But lets first see when AlMaw syncs both version where we exactly stand now.



johan

On 2/2/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


you should probably specify the filterpath param as well, even if it is
empty or a /

-igor


On 2/2/07, Aaron Hiniker  [EMAIL PROTECTED] wrote:

  My web.xml:

 web-app
   display-nameArchetype Created Web Application/display-name

   filter
   filter-nameEDI/filter-name
   filter-classwicket.protocol.http.WicketFilter/filter-class
   init-param
 param-nameapplicationClassName/param-name
 param-value
   com.edicorp.erp.web.Application
 /param-value
   /init-param

 /filter

 filter-mapping
   filter-nameEDI/filter-name
   url-pattern/*/url-pattern
 /filter-mapping

 /web-app

 Aaron


 Igor Vaynberg wrote:

 what does your web.xml look like where you define the filter and
 mapping?

 -igor


 On 1/31/07, Aaron Hiniker  [EMAIL PROTECTED] wrote:
 
  I have a webapp that is bound to root / context, and I am mounting a
  bookmarkable page to /script/execute via:
 
  mountBookmarkablePage( /script/execute, ScriptExecutor.class);
 
  That page displays a textarea and a submit button within the form.
  The code is as follows:
 
 
  public class ScriptExecutor extends WebPage
  {
  private static final Log log = LogFactory.getLog(
  ScriptExecutor.class);
 
  String script;
 
  public ScriptExecutor()
  {
  Form form = new Form( this, form ) {
 
  final TextArea textarea = new TextArea( this, textarea,
  new PropertyModel( ScriptExecutor.this, script ) );
 
  protected void onSubmit()
  {
  super.onSubmit();
 
  System.out.println(TextArea:  + getScript() );
  }
  };
  }
 
 
  public String getScript()
  {
  return script;
  }
 
  public void setScript(String script)
  {
  this.script = script;
  }
  }
 
  When I first load the page via the bookmarkable url and hit submit, I
  get a 404 because wicket is submitting to:
 
  
http://localhost:8080/script/?wicket:interface=:5:form::IFormSubmitListener
 
 
  when it should be submitting to:
 
  http://localhost:8080/?wicket:interface=:5:form::IFormSubmitListener
 
 
  This all seems to be due to the fact wicket isn't prepending a / to
  the form's action URL, causing the browser to use the current directory from
  the url, /script/:
 
  body
form id=form0 
action=?wicket:interface=:5:form::IFormSubmitListener
 
  method=post wicket:id=form
div style=display:noneinput
   type=hidden name=form0:hf:fs id=form0:hf:fs/
input type
 
  =hidden name=wicketState id=form0:hf:ws//div
textarea
   style
  =width: 500px; height: 500px wicket:id=textarea 
name=textarea/textarea
br/
 
 
input type=submit value=Execute/
/form
  /body
 
 
  Is this a user error on my part or an issue with how wicket is
  generating the url?
 
  Aaron
 
 
 
  -
  Using Tomcat but need to do more? Need to support web services,
  security?
  Get stuff done quickly with pre-integrated technology to make your job
  easier.
  Download IBM WebSphere Application Server v.1.0.1 based on Apache
  Geronimo
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 --

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.

 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 --

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




 -
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated 

Re: [Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-02-02 Thread Aaron Hiniker
My web.xml:

web-app
  display-nameArchetype Created Web Application/display-name

  filter
  filter-nameEDI/filter-name
  filter-classwicket.protocol.http.WicketFilter/filter-class
  init-param
param-nameapplicationClassName/param-name
param-value
  com.edicorp.erp.web.Application
/param-value
  /init-param
  
/filter
 
filter-mapping
  filter-nameEDI/filter-name
  url-pattern/*/url-pattern
/filter-mapping
 
/web-app

Aaron


Igor Vaynberg wrote:
 what does your web.xml look like where you define the filter and mapping?

 -igor


 On 1/31/07, *Aaron Hiniker*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 I have a webapp that is bound to root / context, and I am
 mounting a bookmarkable page to /script/execute via:

 mountBookmarkablePage( /script/execute,
 ScriptExecutor.class );

 That page displays a textarea and a submit button within the
 form.  The code is as follows:


 public class ScriptExecutor extends WebPage
 {
 private static final Log log =
 LogFactory.getLog(ScriptExecutor.class);

 String script;

 public ScriptExecutor()
 {
 Form form = new Form( this, form ) {

 final TextArea textarea = new TextArea( this,
 textarea, new PropertyModel( ScriptExecutor.this, script ) );

 protected void onSubmit()
 {
 super.onSubmit();

 System.out.println(TextArea:  + getScript() );
 }
 };  
 }


 public String getScript()
 {
 return script;
 }

 public void setScript(String script)
 {
 this.script = script;
 }
 }

 When I first load the page via the bookmarkable url and hit
 submit, I get a 404 because wicket is submitting to:


 
 http://localhost:8080/script/?wicket:interface=:5:form::IFormSubmitListener


 when it should be submitting to:


 http://localhost:8080/?wicket:interface=:5:form::IFormSubmitListener

 This all seems to be due to the fact wicket isn't prepending a /
 to the form's action URL, causing the browser to use the current
 directory from the url, /script/:

 body
   form id=form0 
 action=?wicket:interface=:5:form::IFormSubmitListener 
 method=post wicket:id=form
   div style=display:noneinput
  type=hidden name=form0:hf:fs id=form0:hf:fs/
   input type
 =hidden name=wicketState id=form0:hf:ws//div
   textarea style
 =width: 500px; height: 500px wicket:id=textarea 
 name=textarea/textarea
   br/

   input type=submit value=Execute/
   /form
 /body


 Is this a user error on my part or an issue with how wicket is
 generating the url?

 Aaron


 -
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your
 job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 https://lists.sourceforge.net/lists/listinfo/wicket-user



 

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-02-02 Thread Igor Vaynberg

you should probably specify the filterpath param as well, even if it is
empty or a /

-igor


On 2/2/07, Aaron Hiniker [EMAIL PROTECTED] wrote:


 My web.xml:

web-app
  display-nameArchetype Created Web Application/display-name

  filter
  filter-nameEDI/filter-name
  filter-classwicket.protocol.http.WicketFilter/filter-class
  init-param
param-nameapplicationClassName/param-name
param-value
  com.edicorp.erp.web.Application
/param-value
  /init-param

/filter

filter-mapping
  filter-nameEDI/filter-name
  url-pattern/*/url-pattern
/filter-mapping

/web-app

Aaron


Igor Vaynberg wrote:

what does your web.xml look like where you define the filter and mapping?

-igor


On 1/31/07, Aaron Hiniker  [EMAIL PROTECTED] wrote:

 I have a webapp that is bound to root / context, and I am mounting a
 bookmarkable page to /script/execute via:

 mountBookmarkablePage( /script/execute, ScriptExecutor.class);

 That page displays a textarea and a submit button within the form.  The
 code is as follows:


 public class ScriptExecutor extends WebPage
 {
 private static final Log log = LogFactory.getLog(
 ScriptExecutor.class);

 String script;

 public ScriptExecutor()
 {
 Form form = new Form( this, form ) {

 final TextArea textarea = new TextArea( this, textarea,
 new PropertyModel( ScriptExecutor.this, script ) );

 protected void onSubmit()
 {
 super.onSubmit();

 System.out.println(TextArea:  + getScript() );
 }
 };
 }


 public String getScript()
 {
 return script;
 }

 public void setScript(String script)
 {
 this.script = script;
 }
 }

 When I first load the page via the bookmarkable url and hit submit, I
 get a 404 because wicket is submitting to:

 
http://localhost:8080/script/?wicket:interface=:5:form::IFormSubmitListener


 when it should be submitting to:

 http://localhost:8080/?wicket:interface=:5:form::IFormSubmitListener


 This all seems to be due to the fact wicket isn't prepending a / to
 the form's action URL, causing the browser to use the current directory from
 the url, /script/:

 body
form id=form0 action=?wicket:interface=:5:form::IFormSubmitListener
 method=post wicket:id=form
div style=display:noneinput type=hidden name=form0:hf:fs 
id=form0:hf:fs/
input type
 =hidden name=wicketState id=form0:hf:ws//div
textarea style
 =width: 500px; height: 500px wicket:id=textarea 
name=textarea/textarea
br/

input type=submit value=Execute/
/form
 /body


 Is this a user error on my part or an issue with how wicket is
 generating the url?

 Aaron



 -
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier.
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

--

___
Wicket-user mailing list
[EMAIL PROTECTED]://lists.sourceforge.net/lists/listinfo/wicket-user



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-02-01 Thread Johan Compagner

AlMaw: i guess this kind of behavior will change anyway with your stuff?


On 1/31/07, Aaron Hiniker [EMAIL PROTECTED] wrote:


 I have a webapp that is bound to root / context, and I am mounting a
bookmarkable page to /script/execute via:

mountBookmarkablePage( /script/execute, ScriptExecutor.class );

That page displays a textarea and a submit button within the form.  The
code is as follows:


public class ScriptExecutor extends WebPage
{
private static final Log log = LogFactory.getLog(ScriptExecutor.class
);

String script;

public ScriptExecutor()
{
Form form = new Form( this, form ) {

final TextArea textarea = new TextArea( this, textarea, new
PropertyModel( ScriptExecutor.this, script ) );

protected void onSubmit()
{
super.onSubmit();

System.out.println(TextArea:  + getScript() );
}
};
}


public String getScript()
{
return script;
}

public void setScript(String script)
{
this.script = script;
}
}

When I first load the page via the bookmarkable url and hit submit, I get
a 404 because wicket is submitting to:

http://localhost:8080/script/
?wicket:interface=:5:form::IFormSubmitListener

when it should be submitting to:

http://localhost:8080/?wicket:interface=:5:form::IFormSubmitListener

This all seems to be due to the fact wicket isn't prepending a / to the
form's action URL, causing the browser to use the current directory from the
url, /script/:

body
form id=form0 action=?wicket:interface=:5:form::IFormSubmitListener 
method=post wicket:id=form
div style=display:noneinput type=hidden name=form0:hf:fs 
id=form0:hf:fs/
input type=hidden name=wicketState id=form0:hf:ws//div
textarea style=width: 500px; height: 500px wicket:id=textarea 
name=textarea/textarea
br/

input type=submit value=Execute/
/form
/body


Is this a user error on my part or an issue with how wicket is generating
the url?

Aaron


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-02-01 Thread Igor Vaynberg

what does your web.xml look like where you define the filter and mapping?

-igor


On 1/31/07, Aaron Hiniker [EMAIL PROTECTED] wrote:


 I have a webapp that is bound to root / context, and I am mounting a
bookmarkable page to /script/execute via:

mountBookmarkablePage( /script/execute, ScriptExecutor.class );

That page displays a textarea and a submit button within the form.  The
code is as follows:


public class ScriptExecutor extends WebPage
{
private static final Log log = LogFactory.getLog(ScriptExecutor.class
);

String script;

public ScriptExecutor()
{
Form form = new Form( this, form ) {

final TextArea textarea = new TextArea( this, textarea, new
PropertyModel( ScriptExecutor.this, script ) );

protected void onSubmit()
{
super.onSubmit();

System.out.println(TextArea:  + getScript() );
}
};
}


public String getScript()
{
return script;
}

public void setScript(String script)
{
this.script = script;
}
}

When I first load the page via the bookmarkable url and hit submit, I get
a 404 because wicket is submitting to:

http://localhost:8080/script/
?wicket:interface=:5:form::IFormSubmitListener

when it should be submitting to:

http://localhost:8080/?wicket:interface=:5:form::IFormSubmitListener

This all seems to be due to the fact wicket isn't prepending a / to the
form's action URL, causing the browser to use the current directory from the
url, /script/:

body
form id=form0 action=?wicket:interface=:5:form::IFormSubmitListener 
method=post wicket:id=form
div style=display:noneinput type=hidden name=form0:hf:fs 
id=form0:hf:fs/
input type=hidden name=wicketState id=form0:hf:ws//div
textarea style=width: 500px; height: 500px wicket:id=textarea 
name=textarea/textarea
br/

input type=submit value=Execute/
/form
/body


Is this a user error on my part or an issue with how wicket is generating
the url?

Aaron


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket 2.0 bookmarkable page issue?

2007-01-31 Thread Aaron Hiniker
I have a webapp that is bound to root / context, and I am mounting a
bookmarkable page to /script/execute via:

mountBookmarkablePage( /script/execute, ScriptExecutor.class );

That page displays a textarea and a submit button within the form.  The
code is as follows:


public class ScriptExecutor extends WebPage
{
private static final Log log = LogFactory.getLog(ScriptExecutor.class);

String script;

public ScriptExecutor()
{
Form form = new Form( this, form ) {

final TextArea textarea = new TextArea( this, textarea,
new PropertyModel( ScriptExecutor.this, script ) );
   
protected void onSubmit()
{
super.onSubmit();

System.out.println(TextArea:  + getScript() );
}
};  
}


public String getScript()
{
return script;
}

public void setScript(String script)
{
this.script = script;
}
}

When I first load the page via the bookmarkable url and hit submit, I
get a 404 because wicket is submitting to:

   
http://localhost:8080/script/?wicket:interface=:5:form::IFormSubmitListener

when it should be submitting to:

http://localhost:8080/?wicket:interface=:5:form::IFormSubmitListener

This all seems to be due to the fact wicket isn't prepending a / to
the form's action URL, causing the browser to use the current directory
from the url, /script/:

body
form id=form0 
action=?wicket:interface=:5:form::IFormSubmitListener method=post 
wicket:id=form
div style=display:noneinput type=hidden 
name=form0:hf:fs id=form0:hf:fs/
input type=hidden name=wicketState id=form0:hf:ws//div
textarea style=width: 500px; height: 500px 
wicket:id=textarea name=textarea/textarea
br/

input type=submit value=Execute/
/form
/body


Is this a user error on my part or an issue with how wicket is
generating the url?

Aaron

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] [wicket-2.0] WicketServlet deprecation and WicketFilter

2007-01-30 Thread Edward Yakop
Hi,

I'm one of the maintainer of ops4j-pax-wicket. Atm, I'm trying to
migrate pax-wicket to wicket-2.0 that can be found at
(https://scm.ops4j.org/repos/ops4j/branches/pax/wicket-2.0).

One of the problem that I found during migration is the fact that
WicketFilter uses reflection to instantiate application factory by
using the FilterConfig.getInitParam( applicationFactoryClassName ).
Since this is not advisable in OSGi (Due to problem of ensuring
whoever export the wicket bundle must have it's classloader be able to
load the application factory) and HttpService does not support Filter.
It would be better if the old pattern of WicketServlet is supported.

code
public class WicketServlet
{

  protected WicketFilter newWicketFilter()
  {
return new WicketFilter();
  }

  public void init()
  {
wicketFilter = newWicketFilter();
filter.init(new FilterConfig()
{
...
});
  }
}
/code

This way, I would be able to override the instantiation of
WicketFilter without having to reimplement my FilterConfig.

For example, my wicket servlet will look like like:
code
final class MyWicketServlet extends WicketServlet
{
private final IWebApplicationFactory m_appFactory;

MyWicketServlet( IWebApplicationFactory factory )
{
m_appFactory = factory;
}

protected final WicketFilter newWicketFilter()
{
   return new WicketFilter()
   {
  protected IWebApplicationFactory getApplicationFactory()
  {
 return MyWicketServlet.this.m_appFactory;
  }
   };
}
}
/code

This way, reflection will not be used anymore in both instantiating
WebApplication (bypassing ContextParamWebApplicationFactory class) and
IWebApplicationFactory.

Regards,
Edward Yakop

Note:
Can we please remove the log.info part to mark WicketServlet is deprecated.
code
public WicketServlet()
{
  // log warning
  log.info();
  log.info(DEPRECATED! Please use WicketFilter instead.);
  log.info();
}
/code

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [wicket-2.0] WicketServlet deprecation and WicketFilter

2007-01-30 Thread Johan Compagner

We will remove the warnings about the deprication when we will release 1.3
/2.0
for now we want to point people as much as possible to the wicket filter.

The wicket servlet will still be there.

So you just want a factory method in wicket servlet where you can make the
wicket filter?
can you add a RFE for this:
https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidepid=12310561sorter/order=DESCsorter/field=priorityresolution=-1component=12311420

then i will add the factory method asap.


johan

On 1/30/07, Edward Yakop [EMAIL PROTECTED] wrote:


Hi,

I'm one of the maintainer of ops4j-pax-wicket. Atm, I'm trying to
migrate pax-wicket to wicket-2.0 that can be found at
(https://scm.ops4j.org/repos/ops4j/branches/pax/wicket-2.0).

One of the problem that I found during migration is the fact that
WicketFilter uses reflection to instantiate application factory by
using the FilterConfig.getInitParam( applicationFactoryClassName ).
Since this is not advisable in OSGi (Due to problem of ensuring
whoever export the wicket bundle must have it's classloader be able to
load the application factory) and HttpService does not support Filter.
It would be better if the old pattern of WicketServlet is supported.

code
public class WicketServlet
{

  protected WicketFilter newWicketFilter()
  {
return new WicketFilter();
  }

  public void init()
  {
wicketFilter = newWicketFilter();
filter.init(new FilterConfig()
{
...
});
  }
}
/code

This way, I would be able to override the instantiation of
WicketFilter without having to reimplement my FilterConfig.

For example, my wicket servlet will look like like:
code
final class MyWicketServlet extends WicketServlet
{
private final IWebApplicationFactory m_appFactory;

MyWicketServlet( IWebApplicationFactory factory )
{
m_appFactory = factory;
}

protected final WicketFilter newWicketFilter()
{
   return new WicketFilter()
   {
  protected IWebApplicationFactory getApplicationFactory()
  {
 return MyWicketServlet.this.m_appFactory;
  }
   };
}
}
/code

This way, reflection will not be used anymore in both instantiating
WebApplication (bypassing ContextParamWebApplicationFactory class) and
IWebApplicationFactory.

Regards,
Edward Yakop

Note:
Can we please remove the log.info part to mark WicketServlet is
deprecated.
code
public WicketServlet()
{
  // log warning
  log.info();
  log.info(DEPRECATED! Please use WicketFilter instead.);
  log.info();
}
/code

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] [wicket-2.0] WicketServlet deprecation and WicketFilter

2007-01-30 Thread Edward Yakop
Hi,

Done.
https://issues.apache.org/jira/browse/WICKET-245

Regards,
Edward Yakop

On 1/30/07, Johan Compagner [EMAIL PROTECTED] wrote:
 We will remove the warnings about the deprication when we will release
 1.3/2.0
 for now we want to point people as much as possible to the wicket filter.

 The wicket servlet will still be there.

 So you just want a factory method in wicket servlet where you can make the
 wicket filter?
 can you add a RFE for this:
 https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidepid=12310561sorter/order=DESCsorter/field=priorityresolution=-1component=12311420

 then i will add the factory method asap.


 johan


 On 1/30/07, Edward Yakop [EMAIL PROTECTED] wrote:
 
  Hi,
 
  I'm one of the maintainer of ops4j-pax-wicket. Atm, I'm trying to
  migrate pax-wicket to wicket-2.0 that can be found at
 
 (https://scm.ops4j.org/repos/ops4j/branches/pax/wicket-2.0
 ).
 
  One of the problem that I found during migration is the fact that
  WicketFilter uses reflection to instantiate application factory by
  using the FilterConfig.getInitParam( applicationFactoryClassName ).
  Since this is not advisable in OSGi (Due to problem of ensuring
  whoever export the wicket bundle must have it's classloader be able to
  load the application factory) and HttpService does not support Filter.
  It would be better if the old pattern of WicketServlet is supported.
 
  code
  public class WicketServlet
  {
 
protected WicketFilter newWicketFilter()
{
  return new WicketFilter();
}
 
public void init()
{
  wicketFilter = newWicketFilter();
  filter.init(new FilterConfig()
  {
  ...
  });
}
  }
  /code
 
  This way, I would be able to override the instantiation of
  WicketFilter without having to reimplement my FilterConfig.
 
  For example, my wicket servlet will look like like:
  code
  final class MyWicketServlet extends WicketServlet
  {
  private final IWebApplicationFactory m_appFactory;
 
  MyWicketServlet( IWebApplicationFactory factory )
  {
  m_appFactory = factory;
  }
 
  protected final WicketFilter newWicketFilter()
  {
 return new WicketFilter()
 {
protected IWebApplicationFactory getApplicationFactory()
{
   return MyWicketServlet.this.m_appFactory;
}
 };
  }
  }
  /code
 
  This way, reflection will not be used anymore in both instantiating
  WebApplication (bypassing
 ContextParamWebApplicationFactory class) and
  IWebApplicationFactory.
 
  Regards,
  Edward Yakop
 
  Note:
  Can we please remove the log.info part to mark WicketServlet is
 deprecated.
  code
  public WicketServlet()
  {
// log warning
 
 log.info();
log.info(DEPRECATED! Please use WicketFilter instead.);
log.info
 ();
  }
  /code
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
  opinions on IT  business topics through brief surveys - and earn cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket 2.0

2007-01-24 Thread Prashant Khanal
Is wicket 2.0 released. Where can i find its source
code and api?


 

Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food  Drink QA.
http://answers.yahoo.com/dir/?link=listsid=396545367

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket 2.0 : DropDownChoice losing selected-value after going to interception page?

2007-01-22 Thread Harald Geritzer

hi all,

i got some strange behaviour here. i have a page with a compound 
property model including some textfields and dropdownchoices and a 
button, which redirects to another page. after coming back to the first 
page by using getPage().continueToOriginalDestination() the textfields 
are filled with the right values but the dropdownchoices lost their 
selected values (the model.

after a bit of debugging it turned out, that when isSelected is called
the selected parameter is null though the combo's getModelValue() 
returns the right index.

any ideas appreciated.
ty for that nice framework!



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 : DropDownChoice losing selected-value after going to interception page?

2007-01-22 Thread Igor Vaynberg

instead of doing all that redirect foo why dont you pass the instance of the
current page to the new page you are redirecting to when the button is
pressed. then to go back just set response page to that passed in instance.

class NextPage extends WebPage {
 public NextPage(final Page prev) {
   add(new Link(back) {
 public onclick() { setResponsePage(back); }
   }
 }
}

...
add(new Button(go-to-other-page) { onSubmit() { setResponsePage(new
NextPage(getPage())); }});

-igor


On 1/22/07, Harald Geritzer [EMAIL PROTECTED] wrote:



hi all,

i got some strange behaviour here. i have a page with a compound
property model including some textfields and dropdownchoices and a
button, which redirects to another page. after coming back to the first
page by using getPage().continueToOriginalDestination() the textfields
are filled with the right values but the dropdownchoices lost their
selected values (the model.

after a bit of debugging it turned out, that when isSelected is called
the selected parameter is null though the combo's getModelValue()
returns the right index.

any ideas appreciated.
ty for that nice framework!



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 : DropDownChoice losing selected-value after going to interception page?

2007-01-22 Thread Scott Swank

Typo correction...

class NextPage extends WebPage {
 public NextPage(final Page prev) {
   add(new Link(back) {
 public onclick() { setResponsePage(prev); }
   }
 }
}


On 1/22/07, Igor Vaynberg [EMAIL PROTECTED] wrote:

instead of doing all that redirect foo why dont you pass the instance of

the

current page to the new page you are redirecting to when the button is
pressed. then to go back just set response page to that passed in

instance.


class NextPage extends WebPage {
  public NextPage(final Page prev) {
add(new Link(back) {
  public onclick() { setResponsePage(back); }
}
  }
}

...
 add(new Button(go-to-other-page) { onSubmit() { setResponsePage(new
NextPage(getPage())); }});

-igor



On 1/22/07, Harald Geritzer [EMAIL PROTECTED] wrote:

 hi all,

 i got some strange behaviour here. i have a page with a compound
 property model including some textfields and dropdownchoices and a
 button, which redirects to another page. after coming back to the first
 page by using getPage().continueToOriginalDestination()
the textfields
 are filled with the right values but the dropdownchoices lost their
 selected values (the model.

 after a bit of debugging it turned out, that when isSelected is called



 the selected parameter is null though the combo's getModelValue()
 returns the right index.

 any ideas appreciated.
 ty for that nice framework!




-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share

your

opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user






--
Scott Swank
reformed mathematician
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-21 Thread Ryan Sonnek

As a followup question

Until this bug has been fixed, is there a way to disable page versioning
all-together?  My app is very ajax heavy, so it's bordering on unusable
until this is fixed.

On 1/17/07, Ryan Sonnek [EMAIL PROTECTED] wrote:


Done!
https://issues.apache.org/jira/browse/WICKET-216


On 1/17/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:

 dont think so but feel free to open one

 -igor


 On 1/17/07, Ryan Sonnek  [EMAIL PROTECTED] wrote:
 
  Thanks for the update.
 
  is there a JIRA issue that I can watch for when this will be fixed?
 
  On 1/17/07, Matej Knopp  [EMAIL PROTECTED] wrote:
  
   Yeah, this is a problem with 2.0 currently. Ajax requests increase
   page
   version. Johan promised to fix this soon :)
  
   -Matej
  
   Igor Vaynberg wrote:
a good start is to isolate this in a quickstart so we can all look
   at
it. if you want to do it yourself then just break in request cycle
   and
walk the steps, see why the page cannot be resolved.
   
-igor
   
   
On 1/16/07, *Ryan Sonnek*  [EMAIL PROTECTED]
mailto: [EMAIL PROTECTED] wrote:
   
I'm running wicket-2.0 from a recent svn checkout and i'm
   seeing a
*lot* of page expired exceptions when using ajax
   behaviors.  I'm
wondering where I can start digging to see why this is
   happening.
Any ideas?
   
   
   -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance
   to
share your
opinions on IT  business topics through brief surveys - and
   earn cash
   
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   
   
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
mailto: Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   
   
   
   
   
   
   
   -
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
   share your
opinions on IT  business topics through brief surveys - and earn
   cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   
   
   
   
   
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
   -
  
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
   share your
   opinions on IT  business topics through brief surveys - and earn
   cash
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
  opinions on IT  business topics through brief surveys - and earn cash
 
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net

Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-21 Thread Igor Vaynberg

in your page call setversioned(false)

-igor


On 1/21/07, Ryan Sonnek [EMAIL PROTECTED] wrote:


As a followup question

Until this bug has been fixed, is there a way to disable page versioning
all-together?  My app is very ajax heavy, so it's bordering on unusable
until this is fixed.

On 1/17/07, Ryan Sonnek [EMAIL PROTECTED] wrote:

 Done!
 https://issues.apache.org/jira/browse/WICKET-216


 On 1/17/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 
  dont think so but feel free to open one
 
  -igor
 
 
  On 1/17/07, Ryan Sonnek  [EMAIL PROTECTED] wrote:
  
   Thanks for the update.
  
   is there a JIRA issue that I can watch for when this will be fixed?
  
   On 1/17/07, Matej Knopp  [EMAIL PROTECTED] wrote:
   
Yeah, this is a problem with 2.0 currently. Ajax requests increase
page
version. Johan promised to fix this soon :)
   
-Matej
   
Igor Vaynberg wrote:
 a good start is to isolate this in a quickstart so we can all
look at
 it. if you want to do it yourself then just break in request
cycle and
 walk the steps, see why the page cannot be resolved.

 -igor


 On 1/16/07, *Ryan Sonnek*  [EMAIL PROTECTED]
 mailto: [EMAIL PROTECTED] wrote:

 I'm running wicket-2.0 from a recent svn checkout and i'm
seeing a
 *lot* of page expired exceptions when using ajax
behaviors.  I'm
 wondering where I can start digging to see why this is
happening.
 Any ideas?



-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the
chance to
 share your
 opinions on IT  business topics through brief surveys - and
earn cash


http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV


 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto: Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 https://lists.sourceforge.net/lists/listinfo/wicket-user









-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance
to share your
 opinions on IT  business topics through brief surveys - and
earn cash
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   





 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
   

-
   
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to
share your
opinions on IT  business topics through brief surveys - and earn
cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
   -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
   share your
   opinions on IT  business topics through brief surveys - and earn
   cash
  
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
  -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
  opinions on IT  business topics through brief surveys - and earn cash
 
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  

Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-17 Thread Matej Knopp
Yeah, this is a problem with 2.0 currently. Ajax requests increase page 
version. Johan promised to fix this soon :)

-Matej

Igor Vaynberg wrote:
 a good start is to isolate this in a quickstart so we can all look at 
 it. if you want to do it yourself then just break in request cycle and 
 walk the steps, see why the page cannot be resolved.
 
 -igor
 
 
 On 1/16/07, *Ryan Sonnek* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 I'm running wicket-2.0 from a recent svn checkout and i'm seeing a
 *lot* of page expired exceptions when using ajax behaviors.  I'm
 wondering where I can start digging to see why this is happening. 
 Any ideas?
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys - and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-17 Thread Igor Vaynberg

dont think so but feel free to open one

-igor


On 1/17/07, Ryan Sonnek [EMAIL PROTECTED] wrote:


Thanks for the update.

is there a JIRA issue that I can watch for when this will be fixed?

On 1/17/07, Matej Knopp  [EMAIL PROTECTED] wrote:

 Yeah, this is a problem with 2.0 currently. Ajax requests increase page
 version. Johan promised to fix this soon :)

 -Matej

 Igor Vaynberg wrote:
  a good start is to isolate this in a quickstart so we can all look at
  it. if you want to do it yourself then just break in request cycle and

  walk the steps, see why the page cannot be resolved.
 
  -igor
 
 
  On 1/16/07, *Ryan Sonnek* [EMAIL PROTECTED]
  mailto: [EMAIL PROTECTED] wrote:
 
  I'm running wicket-2.0 from a recent svn checkout and i'm seeing a
  *lot* of page expired exceptions when using ajax behaviors.  I'm
  wondering where I can start digging to see why this is happening.
  Any ideas?
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
  opinions on IT  business topics through brief surveys - and earn
 cash
 
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  mailto: Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
 
 
 
 -
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
  opinions on IT  business topics through brief surveys - and earn cash
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 
 
 
 
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user


 -

 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-17 Thread Ryan Sonnek

Thanks for the update.

is there a JIRA issue that I can watch for when this will be fixed?

On 1/17/07, Matej Knopp [EMAIL PROTECTED] wrote:


Yeah, this is a problem with 2.0 currently. Ajax requests increase page
version. Johan promised to fix this soon :)

-Matej

Igor Vaynberg wrote:
 a good start is to isolate this in a quickstart so we can all look at
 it. if you want to do it yourself then just break in request cycle and
 walk the steps, see why the page cannot be resolved.

 -igor


 On 1/16/07, *Ryan Sonnek* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 I'm running wicket-2.0 from a recent svn checkout and i'm seeing a
 *lot* of page expired exceptions when using ajax behaviors.  I'm
 wondering where I can start digging to see why this is happening.
 Any ideas?


-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to
 share your
 opinions on IT  business topics through brief surveys - and earn
cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 https://lists.sourceforge.net/lists/listinfo/wicket-user




 


-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
your
 opinions on IT  business topics through brief surveys - and earn cash

http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV


 

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-17 Thread Ryan Sonnek

Done!
https://issues.apache.org/jira/browse/WICKET-216


On 1/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


dont think so but feel free to open one

-igor


On 1/17/07, Ryan Sonnek [EMAIL PROTECTED] wrote:

 Thanks for the update.

 is there a JIRA issue that I can watch for when this will be fixed?

 On 1/17/07, Matej Knopp  [EMAIL PROTECTED] wrote:
 
  Yeah, this is a problem with 2.0 currently. Ajax requests increase
  page
  version. Johan promised to fix this soon :)
 
  -Matej
 
  Igor Vaynberg wrote:
   a good start is to isolate this in a quickstart so we can all look
  at
   it. if you want to do it yourself then just break in request cycle
  and
   walk the steps, see why the page cannot be resolved.
  
   -igor
  
  
   On 1/16/07, *Ryan Sonnek*  [EMAIL PROTECTED]
   mailto: [EMAIL PROTECTED] wrote:
  
   I'm running wicket-2.0 from a recent svn checkout and i'm seeing
  a
   *lot* of page expired exceptions when using ajax behaviors.  I'm
 
   wondering where I can start digging to see why this is
  happening.
   Any ideas?
  
  
  -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance
  to
   share your
   opinions on IT  business topics through brief surveys - and
  earn cash
  
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
   
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
  
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   mailto: Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
  
  
  
  
  
  -
   Take Surveys. Earn Cash. Influence the Future of IT
   Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
   opinions on IT  business topics through brief surveys - and earn
  cash
   http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  
  
  
  
  
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
  -
 
  Take Surveys. Earn Cash. Influence the Future of IT
  Join SourceForge.net's Techsay panel and you'll get the chance to
  share your
  opinions on IT  business topics through brief surveys - and earn cash
 
  http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 



 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket-2.0 - ajax page expired exceptions

2007-01-16 Thread Ryan Sonnek

I'm running wicket-2.0 from a recent svn checkout and i'm seeing a *lot* of
page expired exceptions when using ajax behaviors.  I'm wondering where I
can start digging to see why this is happening.  Any ideas?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-2.0 snapshots

2006-12-30 Thread Erik van Oosten
Some searching led me to believe it is run by Stefan Arentz from Polar 
Roze in the same city as I am writing this (Amsterdam, The Netherlands).

http://stefan.arentz.nl/2006/05/18/new-maven-repository/
http://stefan.arentz.nl/2006/11/02/17407-jar-files-later/

Regards,
Erik.


Ryan Sonnek schreef:
 Does anyone know who runs the http://maven.sateh.com/wicket/ site?

-- 
Erik van Oosten
http://day-to-day-stuff.blogspot.com/


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket-2.0 snapshots

2006-12-29 Thread Ryan Sonnek

the maven2 snapshots of wicket seems to be down.
I've been using wicket-repository (http://maven.sateh.com/wicket/) for quite
a while now.  anyone else use that server or have an alternate?
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-2.0 snapshots

2006-12-29 Thread Korbinian Bachl
I have never used a maven repository but you may checkout the src from the
SVN repo under 
https://svn.apache.org/repos/asf/incubator/wicket/trunk

Regards

Korbinian

PS: dont forget to include the SL4J jar and the binding jar for your
preferred logging as well as the logging jars 




Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Ryan
Sonnek
Gesendet: Freitag, 29. Dezember 2006 22:36
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] wicket-2.0 snapshots


the maven2 snapshots of wicket seems to be down.
I've been using wicket-repository (http://maven.sateh.com/wicket/)
for quite a while now.  anyone else use that server or have an alternate? 




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-2.0 snapshots

2006-12-29 Thread Igor Vaynberg

still waiting for johan to setup our dedicated wicket server to host them :)

-igor


On 12/29/06, Ryan Sonnek [EMAIL PROTECTED] wrote:


the maven2 snapshots of wicket seems to be down.
I've been using wicket-repository (http://maven.sateh.com/wicket/) for
quite a while now.  anyone else use that server or have an alternate?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-2.0 snapshots

2006-12-29 Thread Ryan Sonnek

Does anyone know who runs the http://maven.sateh.com/wicket/ site?


On 12/29/06, Igor Vaynberg [EMAIL PROTECTED] wrote:


still waiting for johan to setup our dedicated wicket server to host them
:)

-igor


On 12/29/06, Ryan Sonnek  [EMAIL PROTECTED] wrote:

 the maven2 snapshots of wicket seems to be down.
 I've been using wicket-repository (http://maven.sateh.com/wicket/) for
 quite a while now.  anyone else use that server or have an alternate?


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share
 your
 opinions on IT  business topics through brief surveys - and earn cash

 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket 2.0 migrated to slf4j

2006-12-28 Thread Igor Vaynberg

i have just migrated wicket 2.0 from commons-logging to slf4j as was
previously discussed and agreed upon.

people using 2.0 need to add the following to their project's pom or
equivalent:

if you are using commons-logging:

dependency
 groupIdorg.slf4j/groupId
 artifactIdslf4j-jcl/artifactId
version1.1.0/version
/dependency


if you are using log4j

dependency
   groupIdorg.slf4j/groupId
   artifactIdslf4j-log4j12/artifactId
   version1.1.0/version
/dependency

these jars will bind slf4j to the proper logging library

if you are using another logging impl like jdk see slf4j website for the
appropriate binding jar

-igor
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-17 Thread Matej Knopp
It fails to execute because the header javascript is executed before the 
elements are inserted to DOM.

The solution would be not to render the javascript to head, question is 
how to determine whether header is being rendered or not.

-Matej

Caleb Land wrote:
 For some reason if the javascript is rendered in the component's 
 onRender(MarkupStream) method (as opposed to rendering the javascript 
 through a behavior) the javascript is executed correctly.
 
 This is strange because when I look at the ajax debug window and compare 
 the ajax responses of the two methods there isn't anything different 
 other than rendering in a behavior causes the script to be rendered in a 
 header-contribution as well as being rendered alongside the 
 component.  I think this is caused by the issue I mention in my latest 
 email  IBehavior#rendered() is called twice when a component that has 
 that behavior is rendered via AJAX.
 
 If I prevent Wicket from calling IBehavior#rendered() (as mentioned in 
 the above referenced mail) twice on a component during an AJAX request  
 by commenting out the call to component.renderedBehaviors(); 
 (AjaxRequestTarget.java line 524) then the javascript is executed 
 correctly in firefox, and that javascript is not added as a 
 header-contribution in the ajax response.
 
 I don't understand why having the javascript in a header-contribution 
 as well as a component in the response would cause it not to execute 
 correctly.
 
 On 10/15/06, *Caleb Land* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 Okay.  I'm making this up as I go along, so this could be the worst
 idea ever, but what about scanning a component's response for
 script tag, putting the contents in the AjaxRequestTarget as
 javascripts, and removing the script tag from the normal component
 output?  From my reading of the source code, the evaluation of those
 scripts is controlled by the wicket ajax system (since a call to
 eval() is made when processing them).
 
 I'm a Wicket/Web development newbie so I can't see far enough ahead
 to see potential problems with a solution like this.
 
 
 On 10/15/06, *Matej Knopp*  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   wrote:
 
 Well, I'll try to look at it later today (or tomorrow). The
 problem is
 that firefox executes the script automatically, while in other
 browsers we need to call the scripts in the fragment manually. So I
 can't affect the order in which the scripts are bing called.
 I'll see what I can do about it.
 
 -Matej
 
 Caleb Land wrote:
   I've created the same testcase using wicket 1.2.2 and it works
 correctly
   in Firefox:
 
   http://www.granfalloon.com/~caleb/wicket-quickstart-1.2.2.zip
 http://www.granfalloon.com/%7Ecaleb/wicket-quickstart-1.2.2.zip
http://www.granfalloon.com/%7Ecaleb/wicket-quickstart-1.2.2.zip
 
   I'm looking into the cause of it...
 
   On 10/15/06, *Caleb Land*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
 
  I'm using the 2.0 trunk.  I think he was referring to the
 header
  contribution working when added via ajax.  That does appear
 to work
  (the correct script reference is made to the autocomplete
  javascript library), however the code that actually calls the
  library to create the field in the browser is being called
 before
  the field is placed on the page in Firefox (it works
 correctly in
  the other browsers I tried).
 
 
  On 10/15/06, *Erik van Oosten*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
  This is the same problem I reported a few days ago for
 Wicket 1.2.2.
  Igor wrote that it was already solved in th 1.x trunk.
 So maybe
  this is
  also the case for the 2.x trunk.
 
  Regards,
   Erik.
 
  Caleb Land schreef:
When I add a component via ajax that contributes
 javascript to be
executed (like the AutoCompleteTextField from
  wicket-extensions) the
javascript is executed before the component elements
 are added
  to the
page in Firefox ( 1.5.0.7 http://1.5.0.7
 http://1.5.0.7 http://1.5.0.7 
  http://1.5.0.7).  The same code works
correctly in Safari, Opera, and IE7 (I haven't tests
 6.x).
  
In the case of the 

Re: [Wicket-user] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-16 Thread Caleb Land
For some reason if the _javascript_ is rendered in the component's onRender(MarkupStream) method (as opposed to rendering the _javascript_ through a behavior) the _javascript_ is executed correctly.
This is strange because when I look at the ajax debug window and compare the ajax responses of the two methods there isn't anything different other than rendering in a behavior causes the script to be rendered in a 
header-contribution as well as being rendered alongside the component. I think this is caused by the issue I mention in my latest email 
IBehavior#rendered() is called twice when a component that has that behavior is rendered via AJAX.If I prevent Wicket from calling 
IBehavior#rendered() (as mentioned in the above referenced mail) twice on a component during an AJAX request by commenting out the call to 
component.renderedBehaviors(); (AjaxRequestTarget.java line 524) then the _javascript_ is executed correctly in firefox, and that _javascript_ is not added as a 
header-contribution in the ajax response.I don't understand why having the _javascript_ in a header-contribution as well as a 
component in the response would cause it not to execute correctly.On 10/15/06, Caleb Land [EMAIL PROTECTED]
 wrote:Okay. I'm making this up as I go along, so this could be the worst idea ever, but what about scanning a component's response for script tag, putting the contents in the AjaxRequestTarget as _javascript_s, and removing the script tag from the normal component output? From my reading of the source code, the evaluation of those scripts is controlled by the wicket ajax system (since a call to eval() is made when processing them).
I'm a Wicket/Web development newbie so I can't see far enough ahead to see potential problems with a solution like this.
On 10/15/06, Matej Knopp 
[EMAIL PROTECTED]
 wrote:
Well, I'll try to look at it later today (or tomorrow). The problem isthat firefox executes the script automatically, while in otherbrowsers we need to call the scripts in the fragment manually. So I


can't affect the order in which the scripts are bing called.I'll see what I can do about it.-MatejCaleb Land wrote: I've created the same testcase using wicket 1.2.2 and it works correctly

 in Firefox:
 http://www.granfalloon.com/~caleb/wicket-quickstart-1.2.2.zip
 
http://www.granfalloon.com/%7Ecaleb/wicket-quickstart-1.2.2.zip I'm looking into the cause of it... On 10/15/06, *Caleb Land* 

[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote: I'm using the 2.0 trunk.I think he was referring to the header
 contribution working when added via ajax.That does appear to work
 (the correct script reference is made to the autocomplete _javascript_ library), however the code that actually calls the library to create the field in the browser is being called before
 the field is placed on the page in Firefox (it works correctly in the other browsers I tried). On 10/15/06, *Erik van Oosten*  


[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: This is the same problem I reported a few days ago for Wicket 
1.2.2.
 Igor wrote that it was already solved in th 1.x trunk. So maybe this is also the case for the 2.x trunk. Regards,Erik.
 Caleb Land schreef: When I add a component via ajax that contributes _javascript_ to be executed (like the AutoCompleteTextField from wicket-extensions) the
 _javascript_ is executed before the component elements are added to the page in Firefox ( 

1.5.0.7 http://1.5.0.7
  http://1.5.0.7).The same code works correctly in Safari, Opera, and IE7 (I haven't tests 
6.x).  In the case of the AutoCompleteTextField (which adds _javascript_
 through the AbstractAutoCompleteBehavior), the _javascript_:  new Wicket.Ajax.AutoComplete('id ', 'callbackUrl');  gets executed before the control is added to the page, so an
 element with the specified id cannot be found and the autocomplete functionality isn't added to the control.  Here is a quickstart application that demonstrates the problem:
 http://www.granfalloon.com/~caleb/wicket-quickstart.zip

 
http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip 

http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip
 http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip

  if I alter AbstractAutoCompleteBehavior to execute the
 _javascript_ in a setTimeout() then everything work correctly in Firefox. -- Caleb Land (


[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:

[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED]) -- Erik van Oosten 

http://day-to-day-stuff.blogspot.com/ -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 

Re: [Wicket-user] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-15 Thread Erik van Oosten
This is the same problem I reported a few days ago for Wicket 1.2.2.
Igor wrote that it was already solved in th 1.x trunk. So maybe this is 
also the case for the 2.x trunk.

Regards,
 Erik.

Caleb Land schreef:
 When I add a component via ajax that contributes javascript to be 
 executed (like the AutoCompleteTextField from wicket-extensions) the 
 javascript is executed before the component elements are added to the 
 page in Firefox ( 1.5.0.7 http://1.5.0.7).  The same code works 
 correctly in Safari, Opera, and IE7 (I haven't tests 6.x).

 In the case of the AutoCompleteTextField (which adds javascript 
 through the AbstractAutoCompleteBehavior), the javascript:

 new Wicket.Ajax.AutoComplete('id ', 'callbackUrl');

 gets executed before the control is added to the page, so an element 
 with the specified id cannot be found and the autocomplete 
 functionality isn't added to the control.

 Here is a quickstart application that demonstrates the problem:
 http://www.granfalloon.com/~caleb/wicket-quickstart.zip 
 http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip

 if I alter AbstractAutoCompleteBehavior to execute the javascript in a 
 setTimeout() then everything work correctly in Firefox.
 -- 
 Caleb Land
 ([EMAIL PROTECTED] mailto:[EMAIL PROTECTED])

-- 
Erik van Oosten
http://day-to-day-stuff.blogspot.com/


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-15 Thread Caleb Land
I'm using the 2.0 trunk. I think he was referring to the header contribution working when added via ajax. That does appear to work (the correct script reference is made to the autocomplete _javascript_ library), however the code that actually calls the library to create the field in the browser is being called before the field is placed on the page in Firefox (it works correctly in the other browsers I tried).
On 10/15/06, Erik van Oosten [EMAIL PROTECTED] wrote:
This is the same problem I reported a few days ago for Wicket 1.2.2.Igor wrote that it was already solved in th 1.x trunk. So maybe this isalso the case for the 2.x trunk.Regards, Erik.Caleb Land schreef:
 When I add a component via ajax that contributes _javascript_ to be executed (like the AutoCompleteTextField from wicket-extensions) the _javascript_ is executed before the component elements are added to the
 page in Firefox ( 1.5.0.7 http://1.5.0.7).The same code works correctly in Safari, Opera, and IE7 (I haven't tests 6.x). In the case of the AutoCompleteTextField (which adds _javascript_
 through the AbstractAutoCompleteBehavior), the _javascript_: new Wicket.Ajax.AutoComplete('id ', 'callbackUrl'); gets executed before the control is added to the page, so an element
 with the specified id cannot be found and the autocomplete functionality isn't added to the control. Here is a quickstart application that demonstrates the problem: 
http://www.granfalloon.com/~caleb/wicket-quickstart.zip http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip if I alter AbstractAutoCompleteBehavior to execute the _javascript_ in a
 setTimeout() then everything work correctly in Firefox. -- Caleb Land ([EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
)--Erik van Oostenhttp://day-to-day-stuff.blogspot.com/-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user-- 
Caleb Land([EMAIL PROTECTED])
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-15 Thread Caleb Land
I've created the same testcase using wicket 1.2.2 and it works correctly in Firefox:http://www.granfalloon.com/~caleb/wicket-quickstart-1.2.2.zip
I'm looking into the cause of it...On 10/15/06, Caleb Land [EMAIL PROTECTED] wrote:
I'm using the 2.0 trunk. I think he was referring to the header contribution working when added via ajax. That does appear to work (the correct script reference is made to the autocomplete _javascript_ library), however the code that actually calls the library to create the field in the browser is being called before the field is placed on the page in Firefox (it works correctly in the other browsers I tried).
On 10/15/06, Erik van Oosten 
[EMAIL PROTECTED] wrote:
This is the same problem I reported a few days ago for Wicket 1.2.2.Igor wrote that it was already solved in th 1.x trunk. So maybe this isalso the case for the 2.x trunk.Regards, Erik.Caleb Land schreef:
 When I add a component via ajax that contributes _javascript_ to be executed (like the AutoCompleteTextField from wicket-extensions) the _javascript_ is executed before the component elements are added to the
 page in Firefox ( 1.5.0.7 
http://1.5.0.7).The same code works correctly in Safari, Opera, and IE7 (I haven't tests 6.x). In the case of the AutoCompleteTextField (which adds _javascript_
 through the AbstractAutoCompleteBehavior), the _javascript_: new Wicket.Ajax.AutoComplete('id ', 'callbackUrl'); gets executed before the control is added to the page, so an element
 with the specified id cannot be found and the autocomplete functionality isn't added to the control. Here is a quickstart application that demonstrates the problem: 

http://www.granfalloon.com/~caleb/wicket-quickstart.zip http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip
 if I alter AbstractAutoCompleteBehavior to execute the _javascript_ in a
 setTimeout() then everything work correctly in Firefox. -- Caleb Land ([EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
)--Erik van Oostenhttp://day-to-day-stuff.blogspot.com/-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- 
Caleb Land([EMAIL PROTECTED])

-- Caleb Land([EMAIL PROTECTED])
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-15 Thread Matej Knopp
Well, I'll try to look at it later today (or tomorrow). The problem is 
that firefox executes the script automatically, while in other 
browsers we need to call the scripts in the fragment manually. So I 
can't affect the order in which the scripts are bing called.
I'll see what I can do about it.

-Matej

Caleb Land wrote:
 I've created the same testcase using wicket 1.2.2 and it works correctly 
 in Firefox:
 
 http://www.granfalloon.com/~caleb/wicket-quickstart-1.2.2.zip 
 http://www.granfalloon.com/%7Ecaleb/wicket-quickstart-1.2.2.zip
 
 I'm looking into the cause of it...
 
 On 10/15/06, *Caleb Land* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 I'm using the 2.0 trunk.  I think he was referring to the header
 contribution working when added via ajax.  That does appear to work
 (the correct script reference is made to the autocomplete
 javascript library), however the code that actually calls the
 library to create the field in the browser is being called before
 the field is placed on the page in Firefox (it works correctly in
 the other browsers I tried).
 
 
 On 10/15/06, *Erik van Oosten*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
 
 This is the same problem I reported a few days ago for Wicket 1.2.2.
 Igor wrote that it was already solved in th 1.x trunk. So maybe
 this is
 also the case for the 2.x trunk.
 
 Regards,
  Erik.
 
 Caleb Land schreef:
   When I add a component via ajax that contributes javascript to be
   executed (like the AutoCompleteTextField from
 wicket-extensions) the
   javascript is executed before the component elements are added
 to the
   page in Firefox ( 1.5.0.7 http://1.5.0.7 
 http://1.5.0.7).  The same code works
   correctly in Safari, Opera, and IE7 (I haven't tests 6.x).
 
   In the case of the AutoCompleteTextField (which adds javascript
   through the AbstractAutoCompleteBehavior), the javascript:
 
   new Wicket.Ajax.AutoComplete('id ', 'callbackUrl');
 
   gets executed before the control is added to the page, so an
 element
   with the specified id cannot be found and the autocomplete
   functionality isn't added to the control.
 
   Here is a quickstart application that demonstrates the problem:
   http://www.granfalloon.com/~caleb/wicket-quickstart.zip
 http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip
   http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip
 http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip
 
   if I alter AbstractAutoCompleteBehavior to execute the
 javascript in a
   setTimeout() then everything work correctly in Firefox.
   --
   Caleb Land
   ([EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED])
 
 --
 Erik van Oosten
 http://day-to-day-stuff.blogspot.com/
 
 
 
 -
 
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make
 your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on
 Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 -- 
 Caleb Land
 ([EMAIL PROTECTED] mailto:[EMAIL PROTECTED]) 
 
 
 
 
 -- 
 Caleb Land
 ([EMAIL PROTECTED] mailto:[EMAIL PROTECTED])
 
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
 
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get 

Re: [Wicket-user] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-15 Thread Caleb Land
Okay. I'm making this up as I go along, so this could be the worst idea ever, but what about scanning a component's response for script tag, putting the contents in the AjaxRequestTarget as _javascript_s, and removing the script tag from the normal component output? From my reading of the source code, the evaluation of those scripts is controlled by the wicket ajax system (since a call to eval() is made when processing them).
I'm a Wicket/Web development newbie so I can't see far enough ahead to see potential problems with a solution like this.
On 10/15/06, Matej Knopp [EMAIL PROTECTED]
 wrote:
Well, I'll try to look at it later today (or tomorrow). The problem isthat firefox executes the script automatically, while in otherbrowsers we need to call the scripts in the fragment manually. So I

can't affect the order in which the scripts are bing called.I'll see what I can do about it.-MatejCaleb Land wrote: I've created the same testcase using wicket 1.2.2 and it works correctly
 in Firefox:
 http://www.granfalloon.com/~caleb/wicket-quickstart-1.2.2.zip
 
http://www.granfalloon.com/%7Ecaleb/wicket-quickstart-1.2.2.zip I'm looking into the cause of it... On 10/15/06, *Caleb Land* 
[EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote: I'm using the 2.0 trunk.I think he was referring to the header
 contribution working when added via ajax.That does appear to work
 (the correct script reference is made to the autocomplete _javascript_ library), however the code that actually calls the library to create the field in the browser is being called before
 the field is placed on the page in Firefox (it works correctly in the other browsers I tried). On 10/15/06, *Erik van Oosten*  

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: This is the same problem I reported a few days ago for Wicket 
1.2.2.
 Igor wrote that it was already solved in th 1.x trunk. So maybe this is also the case for the 2.x trunk. Regards,Erik.
 Caleb Land schreef: When I add a component via ajax that contributes _javascript_ to be executed (like the AutoCompleteTextField from wicket-extensions) the
 _javascript_ is executed before the component elements are added to the page in Firefox ( 
1.5.0.7 http://1.5.0.7
  http://1.5.0.7).The same code works correctly in Safari, Opera, and IE7 (I haven't tests 
6.x).  In the case of the AutoCompleteTextField (which adds _javascript_
 through the AbstractAutoCompleteBehavior), the _javascript_:  new Wicket.Ajax.AutoComplete('id ', 'callbackUrl');  gets executed before the control is added to the page, so an
 element with the specified id cannot be found and the autocomplete functionality isn't added to the control.  Here is a quickstart application that demonstrates the problem:
 http://www.granfalloon.com/~caleb/wicket-quickstart.zip
 
http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip 
http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip
 http://www.granfalloon.com/%7Ecaleb/wicket-quickstart.zip
  if I alter AbstractAutoCompleteBehavior to execute the
 _javascript_ in a setTimeout() then everything work correctly in Firefox. -- Caleb Land (

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED]) -- Erik van Oosten 
http://day-to-day-stuff.blogspot.com/ -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net
 mailto:
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
 
https://lists.sourceforge.net/lists/listinfo/wicket-user -- Caleb Land (
[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED]) -- Caleb Land (
[EMAIL PROTECTED] mailto:
[EMAIL PROTECTED])  -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642  ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user
-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make 

[Wicket-user] Wicket 2.0: Adding a component via ajax that contributes javascript (like AutoCompleteTextField) doesn't work correctly in Firefox

2006-10-14 Thread Caleb Land
When I add a component via ajax that contributes _javascript_ to be executed (like the AutoCompleteTextField from wicket-extensions) the _javascript_ is executed before the component elements are added to the page in Firefox (
1.5.0.7). The same code works correctly in Safari, Opera, and IE7 (I haven't tests 6.x).In the case of the AutoCompleteTextField (which adds _javascript_ through the AbstractAutoCompleteBehavior), the _javascript_:
new Wicket.Ajax.AutoComplete('id
', 'callbackUrl');gets executed before the control is added to the page, so an element with the specified id cannot be found and the autocomplete functionality isn't added to the control.
Here is a quickstart application that demonstrates the problem:http://www.granfalloon.com/~caleb/wicket-quickstart.zipif I alter AbstractAutoCompleteBehavior to execute the _javascript_ in a setTimeout() then everything work correctly in Firefox.
-- Caleb Land([EMAIL PROTECTED])
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket 2.0 status

2006-10-13 Thread Aaron Hiniker
Hi,

I'm inquiring about the status of Wicket 2.0 and where it sits as far as 
alpha/beta status.  I'm considering using it for a very basic site where 
the refactoring would be minimal if I needed to keep up with a changing 
API.  Our their any serious outstanding issues with 2.0 that would 
prevent it from being a viable choice for small project?


Aaron

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 status

2006-10-13 Thread Eelco Hillenius
In my opinion there are no real serious issues left at this time, and
it would be a viable choice for even larger projects. As long as
you're ready for maybe doing a few API changes now and then. Besides,
actually doing projects with it will only speed up Wicket 2.0's
development as we'll have more 'test hours'.

Eelco


On 10/13/06, Aaron Hiniker [EMAIL PROTECTED] wrote:
 Hi,

 I'm inquiring about the status of Wicket 2.0 and where it sits as far as
 alpha/beta status.  I'm considering using it for a very basic site where
 the refactoring would be minimal if I needed to keep up with a changing
 API.  Our their any serious outstanding issues with 2.0 that would
 prevent it from being a viable choice for small project?


 Aaron

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 status

2006-10-13 Thread Aaron Hiniker




Good deal, I'll give 2.0 a try

Eelco Hillenius wrote:

  In my opinion there are no real serious issues left at this time, and
it would be a viable choice for even larger projects. As long as
you're ready for maybe doing a few API changes now and then. Besides,
actually doing projects with it will only speed up Wicket 2.0's
development as we'll have more 'test hours'.

Eelco


On 10/13/06, Aaron Hiniker [EMAIL PROTECTED] wrote:
  
  
Hi,

I'm inquiring about the status of Wicket 2.0 and where it sits as far as
alpha/beta status.  I'm considering using it for a very basic site where
the refactoring would be minimal if I needed to keep up with a changing
API.  Our their any serious outstanding issues with 2.0 that would
prevent it from being a viable choice for small project?


Aaron

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


  
  
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
  




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 status

2006-10-13 Thread Eelco Hillenius
Cool. Hope you like it. :)

Eelco

On 10/14/06, Aaron Hiniker [EMAIL PROTECTED] wrote:

  Good deal, I'll give 2.0 a try


  Eelco Hillenius wrote:
  In my opinion there are no real serious issues left at this time, and
 it would be a viable choice for even larger projects. As long as
 you're ready for maybe doing a few API changes now and then. Besides,
 actually doing projects with it will only speed up Wicket 2.0's
 development as we'll have more 'test hours'.

 Eelco


 On 10/13/06, Aaron Hiniker [EMAIL PROTECTED] wrote:


  Hi,

 I'm inquiring about the status of Wicket 2.0 and where it sits as far as
 alpha/beta status. I'm considering using it for a very basic site where
 the refactoring would be minimal if I needed to keep up with a changing
 API. Our their any serious outstanding issues with 2.0 that would
 prevent it from being a viable choice for small project?


 Aaron

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Form within a modal Window

2006-09-16 Thread Matej Knopp
It depends whether you want to use component in a dialog or a separate page.

When using separate page (iframe) everything should work ok.

When using component, things are bit more complicated:

Non-working tab could be fixed I think, I'll have to look at that. Also 
there was recently a bug fixed with selects not showing in modal dialog 
in IE.
Plus you can't use regular submit. You have to use ajax for everything.

So If you need forms in modal dialog, I strongly suggest you using page 
content with it.

-Matej

Stefan Lindner wrote:
 I tried to put a Panel with a Form inside a model window. The form is
 displayes very well but I notice some strange behavior. So my
 questionis: are modal windows designed to work with forms and are my
 problems related to the early state of wicket 2.0 or were modal windows
 never ment to contain all wicket components? I observe the following
 problems
 1. Pressing the tab key does not navigate to the next input field. The
 cursor jumps into the browser's address input field
 2. When I press the submit button (i have overwritten the onSubmit
 mehtod of the Form) the browser (IE5+6.x/FireFox1.5) pops up a question
 whether I (retranslated from german) really want to change to this page
 or if I want to stay on the dislayed page.
 3. If I press change the onSubmit method is called if all required
 fields are complete. The window closes, as expected.
 4. If I press change the onSubmit method is NOT called if any required
 fiel dis missing. No feedback is dieplayed, the window closes;
 
 Stefan
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Form within a modal Window

2006-09-16 Thread Frank Bille
Just as a sidenote: I use Panels with forms as the content of the Moda Windows and they work perfect (especially with the select fix, thx Matej). The trick is to always use Ajax(Submit)Link's for everything.
FrankOn 9/16/06, Matej Knopp [EMAIL PROTECTED] wrote:
The fix of disabling tabs for elements inside the window is in svn.So the situation is that with current svn it should be possible to useforms even in modal dialog with panel (not page), you just have toremember always to submit the form using ajax (not regular submit).
-MatejMatej Knopp wrote: It depends whether you want to use component in a dialog or a separate page. When using separate page (iframe) everything should work ok. When using component, things are bit more complicated:
 Non-working tab could be fixed I think, I'll have to look at that. Also there was recently a bug fixed with selects not showing in modal dialog in IE. Plus you can't use regular submit. You have to use ajax for everything.
 So If you need forms in modal dialog, I strongly suggest you using page content with it. -Matej Stefan Lindner wrote: I tried to put a Panel with a Form inside a model window. The form is
 displayes very well but I notice some strange behavior. So my questionis: are modal windows designed to work with forms and are my problems related to the early state of wicket 2.0 or were modal windows
 never ment to contain all wicket components? I observe the following problems 1. Pressing the tab key does not navigate to the next input field. The cursor jumps into the browser's address input field
 2. When I press the submit button (i have overwritten the onSubmit mehtod of the Form) the browser (IE5+6.x/FireFox1.5) pops up a question whether I (retranslated from german) really want to change to this page
 or if I want to stay on the dislayed page. 3. If I press change the onSubmit method is called if all required fields are complete. The window closes, as expected. 4. If I press change the onSubmit method is NOT called if any required
 fiel dis missing. No feedback is dieplayed, the window closes; Stefan - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1
 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Form within a modal Window

2006-09-16 Thread Frank Bille
On 9/16/06, Frank Bille [EMAIL PROTECTED] wrote:
The trick is to always use Ajax(Submit)Link's for everything.Which of cause is not entirely true. The trick is to use AJAX to submit the form (as Matej stated). I use an AjaxFormSubmitBehavior attached to the forms onsubmit so I can press ENTER in a field to submit the form. :)
Frank
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket 2.0: Form within a modal Window

2006-09-15 Thread Stefan Lindner
I tried to put a Panel with a Form inside a model window. The form is
displayes very well but I notice some strange behavior. So my
questionis: are modal windows designed to work with forms and are my
problems related to the early state of wicket 2.0 or were modal windows
never ment to contain all wicket components? I observe the following
problems
1. Pressing the tab key does not navigate to the next input field. The
cursor jumps into the browser's address input field
2. When I press the submit button (i have overwritten the onSubmit
mehtod of the Form) the browser (IE5+6.x/FireFox1.5) pops up a question
whether I (retranslated from german) really want to change to this page
or if I want to stay on the dislayed page.
3. If I press change the onSubmit method is called if all required
fields are complete. The window closes, as expected.
4. If I press change the onSubmit method is NOT called if any required
fiel dis missing. No feedback is dieplayed, the window closes;

Stefan

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor

2006-09-07 Thread Stefan Lindner
Works well with the current wicket 2.0 trunk. The
wicket-extensions-version that is downloadable from
http://maven.sateh.com/wicket/wicket/ ist a little bit outdated. With
the current trunk (shipping around compile errors in dropdownlist code)
everything works well.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor

2006-09-04 Thread Stefan Lindner
A little supplement: The other javascript resources are present:
 script type=text/javascript 
src=/Visiomedic/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug-drag.js/script
 script type=text/javascript 
src=/Visiomedic/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js/script
and the Ajax debugger can be activated. If I add the missing resource by hand, 
firefox reports an error in the wicket-autocompletion.js file in the line 
 
 Wicket.Ajax.AutoComplete=function(elementId,callbackUrl){
 
 Wicket is not defined
 
Stefan
winmail.dat-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor

2006-09-04 Thread Igor Vaynberg
this is a known header contribution bug in 1.2.2 we are working on right now. you can either roll back to 1.2.1 or wait for 1.2.3 which should be coming in a week or so.-Igor
On 9/4/06, Stefan Lindner [EMAIL PROTECTED] wrote:
A little supplement: The other _javascript_ resources are present: script type=text/_javascript_ src=""
 script type=text/_javascript_ src="">and the Ajax debugger can be activated. If I add the missing resource by hand, firefox reports an error in the 
wicket-autocompletion.js file in the line Wicket.Ajax.AutoComplete=function(elementId,callbackUrl){ Wicket is not definedStefan-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor

2006-09-04 Thread Stefan Lindner
Dear Igor, it's a 2.0 error too. But thank you for your response! I hope it 
will be fixes in 2.0 soon.
 
Stefan
 
winmail.dat-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: Wicket.Ajax.AutoComplete is not a constructor

2006-09-04 Thread Matej Knopp
How is this supposed to work in 1.2.1? I believe the header contribution 
code is the same. getImplementationId() is the one causing problems 
here. It should work ok in 2.0, as there is no getImplementationId() 
anymore.

-Matej

Igor Vaynberg wrote:
 this is a known header contribution bug in 1.2.2 we are working on right 
 now. you can either roll back to 1.2.1 or wait for 1.2.3 which should be 
 coming in a week or so.
 
 -Igor
 
 
 On 9/4/06, *Stefan Lindner* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 A little supplement: The other javascript resources are present:
  script type=text/javascript
 
 src=/Visiomedic/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug-drag.js/script
 
  script type=text/javascript
 
 src=/Visiomedic/app/resources/wicket.ajax.AbstractDefaultAjaxBehavior/wicket-ajax-debug.js/script
 and the Ajax debugger can be activated. If I add the missing
 resource by hand, firefox reports an error in the
 wicket-autocompletion.js file in the line
 
  Wicket.Ajax.AutoComplete=function(elementId,callbackUrl){
 
  Wicket is not defined
 
 Stefan
 
 -
 
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your
 job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 mailto:Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
 
 
 
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

2006-09-02 Thread Johan Compagner
why does it causes problems for you session injection if you haveto configure your app in the init?johanOn 9/1/06, Justin Lee 
[EMAIL PROTECTED] wrote:-BEGIN PGP SIGNED MESSAGE-Hash: RIPEMD160
Which causes problems if you want to use @SpringBean injection in yoursession store code.We had to work around it by adding the componentinjector in newSessionStore().Eelco Hillenius wrote: We imposed having to do initialization stuff in init() rather than the
 constructor as unfortunately, this is the way servlets work. Init parameters, the servlet context etc are not available in the constructor yet (and neither in the constructor of a servlet) and as
 changes are you'll use that, we decided to make it a hard check that no configuration is done in the constructor. On top of that, we can now ensure default configuration first (internalInit) so that you
 don't have to be aware of order problems when you configure. Eelco On 9/1/06, Johan Compagner [EMAIL PROTECTED] wrote:
 yes this is pretty much also the case in 1.2.xwe will throw an error then also. That is as far as i know not a 2.0 thing. You can't configure stuff in the constructor of your app. You have to do it
 in init()and you shouldn't call configure by code yourself (configure should be private or something if it was me) Just set the right property you want (Deployment/Development) where ever you
 want it (web.xml or system property) And then in the init() do you other stuff that you also want. johan On 9/1/06, Korbinian Bachl  
[EMAIL PROTECTED] wrote: why doesnt it really matter ? - sorry, but i dont understand what you mean.
 as far as i know, the only place now to configure in 2.0 will be the init() or the web.xml - rest will be regarded as error... Regards 
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
] Im Auftrag von Frank Bille Gesendet: Freitag, 1. September 2006 12:27 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode Well it doesn't really matter, because your configure is the one that
 counts. It's only because Application sets a default configure (DEVELOPMENT) before your init is called. Frank On 9/1/06, Korbinian Bachl 
[EMAIL PROTECTED] wrote: it has to be in the init() function of the Application Class - the thing you write is deprecated in 
1.2 already, and not supported anymore in 2.0 e.g: class myapp extends WebApp{ init() { configure( foo.bar
); } } regards Korbinian _
 Von: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]
] Im Auftrag von Stefan Lindner Gesendet: Freitag, 1. September 2006 11:44 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode In wicket 1.2.x it was possilbe to switch the mode in the application
 construktor like public class MyApplication extends WebApplication{public MyApplication() { configure(Application.DEPLOYMENT
); } now this leads tho an exception during deploymentwicket.WicketRuntimeException: Use Application.init() method for
 configuring your application object at wicket.Application.getSettings(Application.java:543) at wicket.Application.getResourceSettings
(Application.java:499) at wicket.Application.configure( Application.java:338) at wicket.Application.configure(Application.java:298) if I move the call of configure to the init method the message
You are in DEVELOPMENT mode appears during deployment. What is the correct way to switch to deployment mode while application initialization/deployment?
 - Using Tomcat but need to do more? Need to support web services,
 security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___
 Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

[Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

2006-09-01 Thread Stefan Lindner
In wicket 1.2.x it was possilbe to switch the mode in the application 
construktor like
 
public class MyApplication extends WebApplication{
 public MyApplication() {
  configure(Application.DEPLOYMENT);
}
 
now this leads tho an exception during deployment
 
 wicket.WicketRuntimeException: Use Application.init() method for 
configuring your application object
at wicket.Application.getSettings(Application.java:543)
at wicket.Application.getResourceSettings(Application.java:499)
at wicket.Application.configure(Application.java:338)
at wicket.Application.configure(Application.java:298)
 
if I move the call of configure to the init method the message
 
 You are in DEVELOPMENT mode
 
appears during deployment. What is the correct way to switch to deployment mode 
while application initialization/deployment?
 
winmail.dat-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

2006-09-01 Thread Korbinian Bachl
it has to be in the init() function of the Application Class - the thing you
write is deprecated in 1.2 already, and not supported anymore in 2.0
 
e.g:
class myapp extends WebApp{
 
init() {
configure(foo.bar);
}
}
regards
 
Korbinian
 


  _  

Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Stefan
Lindner
Gesendet: Freitag, 1. September 2006 11:44
An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode


In wicket 1.2.x it was possilbe to switch the mode in the application
construktor like
 
public class MyApplication extends WebApplication{
 public MyApplication() {
  configure(Application.DEPLOYMENT);
}
 
now this leads tho an exception during deployment
 
 wicket.WicketRuntimeException: Use Application.init() method for
configuring your application object
at wicket.Application.getSettings(Application.java:543)
at wicket.Application.getResourceSettings(Application.java:499)
at wicket.Application.configure(Application.java:338)
at wicket.Application.configure(Application.java:298)
 
if I move the call of configure to the init method the message
 
 You are in DEVELOPMENT mode
 
appears during deployment. What is the correct way to switch to deployment
mode while application initialization/deployment?
 

attachment: winmail.dat-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

2006-09-01 Thread Frank Bille
Well it doesn't really matter, because your configure is the one that counts. It's only because Application sets a default configure (DEVELOPMENT) before your init is called. Frank
On 9/1/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
it has to be in the init() function of the Application Class - the thing youwrite is deprecated in 1.2 already, and not supported anymore in 2.0e.g:class myapp extends WebApp{init() {configure(
foo.bar);}}regardsKorbinian_Von: [EMAIL PROTECTED][mailto:
[EMAIL PROTECTED]] Im Auftrag von StefanLindnerGesendet: Freitag, 1. September 2006 11:44An: wicket-user@lists.sourceforge.net
Betreff: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT modeIn wicket 1.2.x it was possilbe to switch the mode in the applicationconstruktor likepublic class MyApplication extends WebApplication{
 public MyApplication() {configure(Application.DEPLOYMENT);}now this leads tho an exception during deployment wicket.WicketRuntimeException: Use Application.init() method for
configuring your application objectat wicket.Application.getSettings(Application.java:543)at wicket.Application.getResourceSettings(Application.java:499)at wicket.Application.configure(
Application.java:338)at wicket.Application.configure(Application.java:298)if I move the call of configure to the init method the message You are in DEVELOPMENT modeappears during deployment. What is the correct way to switch to deployment
mode while application initialization/deployment?-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

2006-09-01 Thread Juergen Donnerstag
This is the option described in the WIKI:
http://www.wicket-wiki.org.uk/wiki/index.php/FAQs#My_application_says_.22DEVELOPMENT_MODE.22.2C_how_do_I_switch_to_production.3F

From WebApplication.internalInit() javadoc
 * Internal intialization. First determine the deployment mode. First check
 * the system property -Dwicket.configuration. If it does not exist 
check
 * the servlet init parameter (
 * 
codelt;init-paramgtlt;param-namegt;configurationlt;/param-namegt;/code).
 * If not found check the servlet context init paramert
 * 
codelt;context-paramgtlt;param-name6gt;configurationlt;/param-namegt;/code).
 * If the parameter is development (which is default), settings
 * appropriate for development are set.

calling configure in init() is the third option. I suggest you use
web.xml init-param to configure it. No code changes required when you
deploy it into production.


Juergen

On 9/1/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 it has to be in the init() function of the Application Class - the thing you
 write is deprecated in 1.2 already, and not supported anymore in 2.0

 e.g:
 class myapp extends WebApp{

 init() {
 configure(foo.bar);
 }
 }
 regards

 Korbinian



  _

 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im Auftrag von Stefan
 Lindner
 Gesendet: Freitag, 1. September 2006 11:44
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode


 In wicket 1.2.x it was possilbe to switch the mode in the application
 construktor like

 public class MyApplication extends WebApplication{
 public MyApplication() {
  configure(Application.DEPLOYMENT);
 }

 now this leads tho an exception during deployment

 wicket.WicketRuntimeException: Use Application.init() method for
 configuring your application object
at wicket.Application.getSettings(Application.java:543)
at wicket.Application.getResourceSettings(Application.java:499)
at wicket.Application.configure(Application.java:338)
at wicket.Application.configure(Application.java:298)

 if I move the call of configure to the init method the message

 You are in DEVELOPMENT mode

 appears during deployment. What is the correct way to switch to deployment
 mode while application initialization/deployment?



 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

2006-09-01 Thread Korbinian Bachl



why doesnt it really matter ? - sorry, but i dont 
understand what you mean.

as far as i know, the only place now to configure in 2.0 
will be the init() or the web.xml - rest will be regarded as 
error...

Regards

  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Frank 
  BilleGesendet: Freitag, 1. September 2006 12:27An: 
  wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Wicket 
  2.0: You are in DEVELOPMENT mode
  Well it doesn't really matter, because your configure is the one 
  that counts. It's only because Application sets a default configure 
  (DEVELOPMENT) before your init is called. Frank
  On 9/1/06, Korbinian 
  Bachl [EMAIL PROTECTED] 
  wrote:
  it 
has to be in the init() function of the Application Class - the thing 
youwrite is deprecated in 1.2 already, and not supported anymore in 
2.0e.g:class myapp extends WebApp{init() {configure( 
foo.bar);}}regardsKorbinian_Von: 
[EMAIL PROTECTED][mailto: 
[EMAIL PROTECTED]] Im Auftrag von 
StefanLindnerGesendet: Freitag, 1. September 2006 11:44An: wicket-user@lists.sourceforge.net 
Betreff: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT 
modeIn wicket 1.2.x it was possilbe to switch the mode in the 
applicationconstruktor likepublic class MyApplication extends 
WebApplication{  public MyApplication() 
{configure(Application.DEPLOYMENT);}now 
this leads tho an exception during 
deployment wicket.WicketRuntimeException: 
Use Application.init() method forconfiguring your application 
objectat 
wicket.Application.getSettings(Application.java:543)at 
wicket.Application.getResourceSettings(Application.java:499)at 
wicket.Application.configure( 
Application.java:338)at 
wicket.Application.configure(Application.java:298)if I move the call 
of "configure" to the init method the 
message You are in DEVELOPMENT 
modeappears during deployment. What is the correct way to switch to 
deployment mode while application 
initialization/deployment?-Using 
Tomcat but need to do more? Need to support web services, security?Get 
stuff done quickly with pre-integrated technology to make your job 
easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user 
mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

2006-09-01 Thread Johan Compagner
yes this is pretty much also the case in 1.2.x we will throw an error then also.That is as far as i know not a 2.0 thing.You can't configure stuff in the constructor of your app. You have to do it in init()
and you shouldn't call configure by code yourself (configure should be private or something if it was me)Just set the right property you want (Deployment/Development) where ever you want it (web.xml or system property)
And then in the init() do you other stuff that you also want.johanOn 9/1/06, Korbinian Bachl 
[EMAIL PROTECTED] wrote:




why doesnt it really matter ? - sorry, but i dont 
understand what you mean.

as far as i know, the only place now to configure in 2.0 
will be the init() or the web.xml - rest will be regarded as 
error...

Regards

  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]] Im Auftrag von Frank 
  BilleGesendet: Freitag, 1. September 2006 12:27An: 
  wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] Wicket 
  2.0: You are in DEVELOPMENT mode
  Well it doesn't really matter, because your configure is the one 
  that counts. It's only because Application sets a default configure 
  (DEVELOPMENT) before your init is called. Frank
  On 9/1/06, Korbinian 
  Bachl [EMAIL PROTECTED] 
  wrote:
  it 
has to be in the init() function of the Application Class - the thing 
youwrite is deprecated in 1.2 already, and not supported anymore in 
2.0e.g:class myapp extends WebApp{init() {configure( 
foo.bar);}}regardsKorbinian_Von: 
[EMAIL PROTECTED][mailto:
 
[EMAIL PROTECTED]] Im Auftrag von 
StefanLindnerGesendet: Freitag, 1. September 2006 11:44An: wicket-user@lists.sourceforge.net
 
Betreff: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT 
modeIn wicket 1.2.x it was possilbe to switch the mode in the 
applicationconstruktor likepublic class MyApplication extends 
WebApplication{  public MyApplication() 
{configure(Application.DEPLOYMENT);}now 
this leads tho an exception during 
deployment wicket.WicketRuntimeException: 
Use Application.init() method forconfiguring your application 
objectat 
wicket.Application.getSettings(Application.java:543)at 
wicket.Application.getResourceSettings(Application.java:499)at 
wicket.Application.configure( 
Application.java:338)at 
wicket.Application.configure(Application.java:298)if I move the call 
of configure to the init method the 
message You are in DEVELOPMENT 
modeappears during deployment. What is the correct way to switch to 
deployment mode while application 
initialization/deployment?-Using 
Tomcat but need to do more? Need to support web services, security?Get 
stuff done quickly with pre-integrated technology to make your job 
easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user 
mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

2006-09-01 Thread Frank Bille
What I meant was that it's only a log entry. It's written there because the configuration is tried to be set BEFORE your init is called, based on the params in the web.xml. The configuration is set to DEPLOYMENT if you choose to in init(). 

Refer to Jurgens answer. I think that it's better to configure it in web.xml if you don't want that log output.On 9/1/06, Korbinian Bachl 

[EMAIL PROTECTED] wrote:




why doesnt it really matter ? - sorry, but i dont 
understand what you mean.

as far as i know, the only place now to configure in 2.0 
will be the init() or the web.xml - rest will be regarded as 
error...

Regards

  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]] Im Auftrag von Frank 
  BilleGesendet: Freitag, 1. September 2006 12:27An: 
  wicket-user@lists.sourceforge.net

Betreff: Re: [Wicket-user] Wicket 
  2.0: You are in DEVELOPMENT mode
  Well it doesn't really matter, because your configure is the one 
  that counts. It's only because Application sets a default configure 
  (DEVELOPMENT) before your init is called. Frank
  On 9/1/06, Korbinian 
  Bachl [EMAIL PROTECTED] 
  wrote:
  it 
has to be in the init() function of the Application Class - the thing 
youwrite is deprecated in 1.2 already, and not supported anymore in 
2.0e.g:class myapp extends WebApp{init() {configure( 
foo.bar);}}regardsKorbinian_Von: 
[EMAIL PROTECTED][mailto:

 
[EMAIL PROTECTED]] Im Auftrag von 
StefanLindnerGesendet: Freitag, 1. September 2006 11:44An: wicket-user@lists.sourceforge.net
 
Betreff: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT 
modeIn wicket 1.2.x it was possilbe to switch the mode in the 
applicationconstruktor likepublic class MyApplication extends 
WebApplication{  public MyApplication() 
{configure(Application.DEPLOYMENT);}now 
this leads tho an exception during 
deployment wicket.WicketRuntimeException: 
Use Application.init() method forconfiguring your application 
objectat 
wicket.Application.getSettings(Application.java:543)at 
wicket.Application.getResourceSettings(Application.java:499)at 
wicket.Application.configure( 
Application.java:338)at 
wicket.Application.configure(Application.java:298)if I move the call 
of configure to the init method the 
message You are in DEVELOPMENT 
modeappears during deployment. What is the correct way to switch to 
deployment mode while application 
initialization/deployment?-Using 
Tomcat but need to do more? Need to support web services, security?Get 
stuff done quickly with pre-integrated technology to make your job 
easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user 
mailing listWicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list

Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket 2.0: continueToOriginalDestination

2006-09-01 Thread Stefan Lindner
continueToOriginalDestination seems not to work as expected. If I have
 
1. A page SomePage
2. In Application.init
  mountBookmarkablePage(/somepage, SomePage.class
  MyAuthorization authorizationStrategy = new MyAuthorization();
  getSecuritySettings().setAuthorizationStrategy(authorizationStrategy);
  
getSecuritySettings().setUnauthorizedComponentInstantiationListener(authorizationStrategy);
 
Now, if I call http:./somepage the following happens
1. The page SomepPage is to be instantiated
2. The MyAuthorization class calls
  throw new RestartResponseAtInterceptPageException(Login.class);
3. The Loginclass class (after successfull login)
   continueToOriginalDestination
4. The continueToOriginalDestination is not successfull (retruns false)
 
In former wicket versions it was possible the jump directly to a mounted page. 
Am I wron in doing what I do or did somethin change in Wicket 2.0 behind the 
scene?
Stefan
 
winmail.dat-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

2006-09-01 Thread Stefan Lindner
Thank you all for your comments. Now I set the configuration in 
Application.init. I was jutst wondering about seeing the You are in 
DEVELOPMENT mode during deployment, what breaks our deployment checker wich 
reports an error if the deploy,ment ready application still reports You are in 
DEVELOPMENT mode.
 
Thank you all!
winmail.dat-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: continueToOriginalDestination

2006-09-01 Thread Igor Vaynberg
file a bug please, maybe the pagemap no longer remembers the contniueto url.-IgorOn 9/1/06, Stefan Lindner 
[EMAIL PROTECTED] wrote:continueToOriginalDestination seems not to work as expected. If I have
1. A page SomePage2. In Application.initmountBookmarkablePage(/somepage, SomePage.classMyAuthorization authorizationStrategy = new MyAuthorization();getSecuritySettings().setAuthorizationStrategy(authorizationStrategy);
getSecuritySettings().setUnauthorizedComponentInstantiationListener(authorizationStrategy);Now, if I call http:./somepage the following happens1. The page SomepPage is to be instantiated2. The MyAuthorization class calls
throw new RestartResponseAtInterceptPageException(Login.class);3. The Loginclass class (after successfull login) continueToOriginalDestination4. The continueToOriginalDestination is not successfull (retruns false)
In former wicket versions it was possible the jump directly to a mounted page. Am I wron in doing what I do or did somethin change in Wicket 2.0 behind the scene?Stefan-
Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

2006-09-01 Thread Eelco Hillenius
We imposed having to do initialization stuff in init() rather than the
constructor as unfortunately, this is the way servlets work. Init
parameters, the servlet context etc are not available in the
constructor yet (and neither in the constructor of a servlet) and as
changes are you'll use that, we decided to make it a hard check that
no configuration is done in the constructor. On top of that, we can
now ensure default configuration first (internalInit) so that you
don't have to be aware of order problems when you configure.

Eelco


On 9/1/06, Johan Compagner [EMAIL PROTECTED] wrote:
 yes this is pretty much also the case in 1.2.x  we will throw an error then
 also.
 That is as far as i know not a 2.0 thing.

 You can't configure stuff in the constructor of your app. You have to do it
 in init()
  and you shouldn't call configure by code yourself (configure should be
 private or something if it was me)
 Just set the right property you want (Deployment/Development) where ever you
 want it (web.xml or system property)

 And then in the init() do you other stuff that you also want.

 johan



 On 9/1/06, Korbinian Bachl  [EMAIL PROTECTED] wrote:
 
 
 
  why doesnt it really matter ? - sorry, but i dont understand what you
 mean.
 
  as far as i know, the only place now to configure in 2.0 will be the
 init() or the web.xml - rest will be regarded as error...
 
  Regards
 
 
  
  Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von Frank Bille
  Gesendet: Freitag, 1. September 2006 12:27
 
  An: wicket-user@lists.sourceforge.net
 
  Betreff: Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode
 
 
 
  Well it doesn't really matter, because your configure is the one that
 counts. It's only because Application sets a default configure (DEVELOPMENT)
 before your init is called.
 
  Frank
 
 
 
  On 9/1/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
   it has to be in the init() function of the Application Class - the thing
 you
   write is deprecated in 1.2 already, and not supported anymore in 2.0
  
   e.g:
   class myapp extends WebApp{
  
   init() {
   configure( foo.bar);
   }
   }
   regards
  
   Korbinian
  
  
  
 _
  
   Von: [EMAIL PROTECTED]
   [mailto: [EMAIL PROTECTED] Im
 Auftrag von Stefan
   Lindner
   Gesendet: Freitag, 1. September 2006 11:44
   An: wicket-user@lists.sourceforge.net
   Betreff: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode
  
  
   In wicket 1.2.x it was possilbe to switch the mode in the application
   construktor like
  
   public class MyApplication extends WebApplication{
public MyApplication() {
 configure(Application.DEPLOYMENT);
   }
  
   now this leads tho an exception during deployment
  
wicket.WicketRuntimeException: Use Application.init() method for
   configuring your application object
   at wicket.Application.getSettings(Application.java:543)
   at
 wicket.Application.getResourceSettings(Application.java:499)
   at wicket.Application.configure( Application.java:338)
   at wicket.Application.configure(Application.java:298)
  
   if I move the call of configure to the init method the message
  
You are in DEVELOPMENT mode
  
   appears during deployment. What is the correct way to switch to
 deployment
   mode while application initialization/deployment?
  
  
  
  
 -
   Using Tomcat but need to do more? Need to support web services,
 security?
   Get stuff done quickly with pre-integrated technology to make your job
 easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
 
 
 -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing

Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode

2006-09-01 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Which causes problems if you want to use @SpringBean injection in your
session store code.  We had to work around it by adding the component
injector in newSessionStore().

Eelco Hillenius wrote:
 We imposed having to do initialization stuff in init() rather than the
 constructor as unfortunately, this is the way servlets work. Init
 parameters, the servlet context etc are not available in the
 constructor yet (and neither in the constructor of a servlet) and as
 changes are you'll use that, we decided to make it a hard check that
 no configuration is done in the constructor. On top of that, we can
 now ensure default configuration first (internalInit) so that you
 don't have to be aware of order problems when you configure.
 
 Eelco
 
 
 On 9/1/06, Johan Compagner [EMAIL PROTECTED] wrote:
 yes this is pretty much also the case in 1.2.x  we will throw an error then
 also.
 That is as far as i know not a 2.0 thing.

 You can't configure stuff in the constructor of your app. You have to do it
 in init()
  and you shouldn't call configure by code yourself (configure should be
 private or something if it was me)
 Just set the right property you want (Deployment/Development) where ever you
 want it (web.xml or system property)

 And then in the init() do you other stuff that you also want.

 johan



 On 9/1/06, Korbinian Bachl  [EMAIL PROTECTED] wrote:


 why doesnt it really matter ? - sorry, but i dont understand what you
 mean.
 as far as i know, the only place now to configure in 2.0 will be the
 init() or the web.xml - rest will be regarded as error...
 Regards


 
  Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im
 Auftrag von Frank Bille
 Gesendet: Freitag, 1. September 2006 12:27

 An: wicket-user@lists.sourceforge.net

 Betreff: Re: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode



 Well it doesn't really matter, because your configure is the one that
 counts. It's only because Application sets a default configure (DEVELOPMENT)
 before your init is called.
 Frank



 On 9/1/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 it has to be in the init() function of the Application Class - the thing
 you
 write is deprecated in 1.2 already, and not supported anymore in 2.0

 e.g:
 class myapp extends WebApp{

 init() {
 configure( foo.bar);
 }
 }
 regards

 Korbinian



   _

 Von: [EMAIL PROTECTED]
 [mailto: [EMAIL PROTECTED] Im
 Auftrag von Stefan
 Lindner
 Gesendet: Freitag, 1. September 2006 11:44
 An: wicket-user@lists.sourceforge.net
 Betreff: [Wicket-user] Wicket 2.0: You are in DEVELOPMENT mode


 In wicket 1.2.x it was possilbe to switch the mode in the application
 construktor like

 public class MyApplication extends WebApplication{
  public MyApplication() {
   configure(Application.DEPLOYMENT);
 }

 now this leads tho an exception during deployment

  wicket.WicketRuntimeException: Use Application.init() method for
 configuring your application object
 at wicket.Application.getSettings(Application.java:543)
 at
 wicket.Application.getResourceSettings(Application.java:499)
 at wicket.Application.configure( Application.java:338)
 at wicket.Application.configure(Application.java:298)

 if I move the call of configure to the init method the message

  You are in DEVELOPMENT mode

 appears during deployment. What is the correct way to switch to
 deployment
 mode while application initialization/deployment?




 -
 Using Tomcat but need to do more? Need to support web services,
 security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net

 https://lists.sourceforge.net/lists/listinfo/wicket-user





 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid

[Wicket-user] Wicket 2.0 build

2006-08-28 Thread Stefan Lindner
Dear wicket developers,

now that I have seen some Wicket 1.2.2 components (e.g. modal diaglos
inside of browser) I would really like to try Wicket 2.0.
Did someone build a binary distribution? And if so, two questions:
1. where can I download it an
2. Will the wicket extensiions be part of this download, will they be in
a separate file oder will be not available at this time (I can't miss
tabbed panels)

Thank you in advance

Stefan Lindner, Visionet GmbH

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 build

2006-08-28 Thread Frank Bille
There is a maven snapshot repository here:http://maven.sateh.com/wicket/wicket/FrankOn 8/28/06, 
Stefan Lindner [EMAIL PROTECTED] wrote:
Dear wicket developers,now that I have seen some Wicket 1.2.2 components (e.g. modal diaglosinside of browser) I would really like to try Wicket 2.0.Did someone build a binary distribution? And if so, two questions:
1. where can I download it an2. Will the wicket extensiions be part of this download, will they be ina separate file oder will be not available at this time (I can't misstabbed panels)Thank you in advance
Stefan Lindner, Visionet GmbH-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 build

2006-08-28 Thread Igor Vaynberg
yes, but the 2.0 builds havent been updated since aug 5th...janne, are you reading with us?-IgorOn 8/28/06, Frank Bille 
[EMAIL PROTECTED] wrote:There is a maven snapshot repository here:
http://maven.sateh.com/wicket/wicket/Frank
On 8/28/06, 
Stefan Lindner [EMAIL PROTECTED] wrote:

Dear wicket developers,now that I have seen some Wicket 1.2.2 components (e.g. modal diaglosinside of browser) I would really like to try Wicket 2.0.Did someone build a binary distribution? And if so, two questions:
1. where can I download it an2. Will the wicket extensiions be part of this download, will they be ina separate file oder will be not available at this time (I can't misstabbed panels)Thank you in advance
Stefan Lindner, Visionet GmbH-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/wicket-user

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0 build

2006-08-28 Thread Janne Hietamäki
Fixed, the packages should be updated shortly. I disabled the deployment when there was some network problems between the servers.JanneOn 28.8.2006, at 10.38, Igor Vaynberg wrote:yes, but the 2.0 builds havent been updated since aug 5th...janne, are you reading with us?-IgorOn 8/28/06, Frank Bille  [EMAIL PROTECTED] wrote:There is a maven snapshot repository here: http://maven.sateh.com/wicket/wicket/Frank On 8/28/06,  Stefan Lindner [EMAIL PROTECTED] wrote: Dear wicket developers,now that I have seen some Wicket 1.2.2 components (e.g. modal diaglosinside of browser) I would really like to try Wicket 2.0.Did someone build a binary distribution? And if so, two questions: 1. where can I download it an2. Will the wicket extensiions be part of this download, will they be ina separate file oder will be not available at this time (I can't misstabbed panels)Thank you in advance Stefan Lindner, Visionet GmbH-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-25 Thread Stefan Lindner
I think that an API change is neccessary and that ist is just the right
point of time to do it. Most of the projects based on wicket are not
very old, therefore good enogh in mind of the developers to perform an
api change. Some of them (the new component constructor) can be handled
by an intelligent pattern replace.
BUT: where can I get wicket 2.0? The official link to SVN on the
sourceforge page points to http://svn.sourceforge.net/wicket. And e.g.
in trunk, the project.xml file still has 1.2-SNAPSHOT as the curretn
version.
I really would like to try Wicket 2.0 for a new project.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-25 Thread Frank Bille
On 8/25/06, Stefan Lindner [EMAIL PROTECTED] wrote:
BUT: where can I get wicket 2.0? The official link to SVN on thesourceforge page points to http://svn.sourceforge.net/wicket. And e.g.in trunk, the project.xml file still has 
1.2-SNAPSHOT as the curretnversion.Oh, you're right but that project.xml is deprecated and should be removed. Wicket 1.2 is now maven2 based and so should 2.0 be. It's the pom.xml you should look in:
http://svn.sourceforge.net/viewvc/wicket/trunk/wicket/pom.xml?revision=6732view=markup

- Frank
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-25 Thread Eelco Hillenius
Wicket 2.0 is in trunk. Might very well be that the project files are
not up-to-date though. Wicket 2.0 is easy to recognize as instead of
calling add on parents, you now pass the parent in the constructor of
components.

Eelco


On 8/24/06, Stefan Lindner [EMAIL PROTECTED] wrote:
 I think that an API change is neccessary and that ist is just the right
 point of time to do it. Most of the projects based on wicket are not
 very old, therefore good enogh in mind of the developers to perform an
 api change. Some of them (the new component constructor) can be handled
 by an intelligent pattern replace.
 BUT: where can I get wicket 2.0? The official link to SVN on the
 sourceforge page points to http://svn.sourceforge.net/wicket. And e.g.
 in trunk, the project.xml file still has 1.2-SNAPSHOT as the curretn
 version.
 I really would like to try Wicket 2.0 for a new project.

 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-25 Thread Korbinian Bachl
just curious: why dont you do it like the eclipse-project and have
daily-snapshot jars ??? - and once a time a M-build ???

Regards 

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Eelco Hillenius
 Gesendet: Freitag, 25. August 2006 08:28
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] Wicket 2.0, when?
 
 Wicket 2.0 is in trunk. Might very well be that the project 
 files are not up-to-date though. Wicket 2.0 is easy to 
 recognize as instead of calling add on parents, you now pass 
 the parent in the constructor of components.
 
 Eelco
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-25 Thread Otan
Just my 2 centavos, I can't think of any reason for Wicket to undergo m-build style of process. About the daily snapshot builds, I prefer the checkout-then-build approach, but you need maven and svn client to do this. But of course, the Wicket team is the authority to give answer to your question. ;-)
On 8/25/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
just curious: why dont you do it like the eclipse-project and havedaily-snapshot jars ??? - and once a time a M-build ???Regards -Ursprüngliche Nachricht- Von: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Im Auftrag von Eelco Hillenius Gesendet: Freitag, 25. August 2006 08:28
 An: wicket-user@lists.sourceforge.net Betreff: Re: [Wicket-user] Wicket 2.0, when? Wicket 2.0 is in trunk. Might very well be that the project
 files are not up-to-date though. Wicket 2.0 is easy to recognize as instead of calling add on parents, you now pass the parent in the constructor of components. Eelco
-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-25 Thread Johan Compagner
then it has to be automated. Because if it is constant a manual thing then it cost us to much work.But we could throw out a snapshot of 2.0 at this time. So that people can download it easier.johan
On 8/25/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
just curious: why dont you do it like the eclipse-project and havedaily-snapshot jars ??? - and once a time a M-build ???Regards -Ursprüngliche Nachricht- Von: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Im Auftrag von Eelco Hillenius Gesendet: Freitag, 25. August 2006 08:28
 An: wicket-user@lists.sourceforge.net Betreff: Re: [Wicket-user] Wicket 2.0, when? Wicket 2.0 is in trunk. Might very well be that the project
 files are not up-to-date though. Wicket 2.0 is easy to recognize as instead of calling add on parents, you now pass the parent in the constructor of components. Eelco
-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-25 Thread Stefan Lindner
 But we could throw out a snapshot of 2.0 at this time

This would be a helpful Johan! I think this would be a good kick off for
Wicket 2.0.

Stefan
--

Message: 1
Date: Fri, 25 Aug 2006 11:09:06 +0200
From: Johan Compagner [EMAIL PROTECTED]
Subject: Re: [Wicket-user] Wicket 2.0, when?
To: wicket-user@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

then it has to be automated. Because if it is constant a manual thing
then
it cost us to much work.
But we could throw out a snapshot of 2.0 at this time. So that people
can
download it easier.

johan


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-25 Thread Martijn Dashorst
Then I'll try to build one this weekend. Just a snapshot, no magic/wonders :-)

Martijn

On 8/25/06, Stefan Lindner [EMAIL PROTECTED] wrote:
  But we could throw out a snapshot of 2.0 at this time

 This would be a helpful Johan! I think this would be a good kick off for
 Wicket 2.0.

 Stefan
 --

 Message: 1
 Date: Fri, 25 Aug 2006 11:09:06 +0200
 From: Johan Compagner [EMAIL PROTECTED]
 Subject: Re: [Wicket-user] Wicket 2.0, when?
 To: wicket-user@lists.sourceforge.net
 Message-ID:
 [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859-1

 then it has to be automated. Because if it is constant a manual thing
 then
 it cost us to much work.
 But we could throw out a snapshot of 2.0 at this time. So that people
 can
 download it easier.

 johan


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-- 
Download Wicket 1.2.1 now! Embed Wicket components in your portals!
-- http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-25 Thread Ryan Sonnek
+1 for continuous integration publishing snapshot versions...On 8/25/06, Martijn Dashorst [EMAIL PROTECTED]
 wrote:Then I'll try to build one this weekend. Just a snapshot, no magic/wonders :-)
MartijnOn 8/25/06, Stefan Lindner [EMAIL PROTECTED] wrote:  But we could throw out a snapshot of 2.0 at this time This would be a helpful Johan! I think this would be a good kick off for
 Wicket 2.0. Stefan -- Message: 1 Date: Fri, 25 Aug 2006 11:09:06 +0200 From: Johan Compagner 
[EMAIL PROTECTED] Subject: Re: [Wicket-user] Wicket 2.0, when? To: wicket-user@lists.sourceforge.net
 Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1
 then it has to be automated. Because if it is constant a manual thing then it cost us to much work. But we could throw out a snapshot of 2.0 at this time. So that people can
 download it easier. johan - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list 
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user--Download Wicket 1.2.1 now! Embed Wicket components in your portals!
-- http://wicketframework.org-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-25 Thread Martijn Dashorst
already happening...

http://maven.sateh.com/wicket/wicket/

On 8/25/06, Ryan Sonnek [EMAIL PROTECTED] wrote:
 +1 for continuous integration publishing snapshot versions...


 On 8/25/06, Martijn Dashorst [EMAIL PROTECTED]  wrote:
  Then I'll try to build one this weekend. Just a snapshot, no magic/wonders
 :-)
 
  Martijn
 
  On 8/25/06, Stefan Lindner [EMAIL PROTECTED] wrote:
But we could throw out a snapshot of 2.0 at this time
  
   This would be a helpful Johan! I think this would be a good kick off for
   Wicket 2.0.
  
   Stefan
  
 --
  
   Message: 1
   Date: Fri, 25 Aug 2006 11:09:06 +0200
   From: Johan Compagner  [EMAIL PROTECTED]
   Subject: Re: [Wicket-user] Wicket 2.0, when?
   To: wicket-user@lists.sourceforge.net
   Message-ID:
  
 [EMAIL PROTECTED]
   Content-Type: text/plain; charset=iso-8859-1
  
   then it has to be automated. Because if it is constant a manual thing
   then
   it cost us to much work.
   But we could throw out a snapshot of 2.0 at this time. So that people
   can
   download it easier.
  
   johan
  
  
  
 -
   Using Tomcat but need to do more? Need to support web services,
 security?
   Get stuff done quickly with pre-integrated technology to make your job
 easier
   Download IBM WebSphere Application Server v.1.0.1 based on Apache
 Geronimo
  
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
  --
  Download Wicket 1.2.1 now! Embed Wicket components in your portals!
  -- http://wicketframework.org
 
 
 -
  Using Tomcat but need to do more? Need to support web services, security?
  Get stuff done quickly with pre-integrated technology to make your job
 easier
  Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.1 now! Embed Wicket components in your portals!
-- http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket 2.0, when?

2006-08-24 Thread Otan
There's a project that I would like to start but I like to use Wicket 2.0 for this. May I know when will the team release the first beta of Wicket 2.0? So that I can decide whether to wait for the version 2.0 or just start my project using 
1.x. 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-24 Thread Johan Compagner
when will your product be released?wicket 2.0 will change here and there. But not to much i think.So if you start a new project and can live with some api changes on the road and you don't have to release within 2 or 3 months then wicket 
2.0 will be a right choice.johanOn 8/24/06, Otan [EMAIL PROTECTED] wrote:
There's a project that I would like to start but I like to use Wicket 2.0 for this. May I know when will the team release the first beta of Wicket 2.0? So that I can decide whether to wait for the version 2.0 or just start my project using 
1.x. 

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-24 Thread Martijn Dashorst
I think 2.0 will still be out for a month or 3-4. It depends on what
features we find missing, what works and not, and how many bugs need
to be solved from the moment we hit beta. It would be a drag for 2.0
to be half baked so to speak, requiring another API overhaul in a
couple of months.

The API will change constantly, but not dramatically. i.e. I seriously
doubt that *all* components will have to change again. But some minor
things are bound to change.

It is a matter of time and willingness to change your application to
the latest and greatest: is your project due in 1 year or in 4 months?

We would love it when people are going to build their applications
based on 2.0 code (i.e. what is currently in svn/trunk). This way we
get feedback on the api and will be able to fix it, and make the api
more mature, making changes to the api in later versions less likely
and intrusive.

Martijn

On 8/24/06, Otan [EMAIL PROTECTED] wrote:
 There's a project that I would like to start but I like to use Wicket 2.0
 for this. May I know when will the team release the first beta of Wicket
 2.0? So that I can decide whether to wait for the version 2.0 or just start
 my project using 1.x.


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user





-- 
Download Wicket 1.2.1 now! Embed Wicket components in your portals!
-- http://wicketframework.org

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-24 Thread Erik Brakkee

Martijn Dashorst wrote:
 The API will change constantly, but not dramatically. i.e. I seriously
 doubt that *all* components will have to change again. But some minor
 things are bound to change.
   
I hope the changes will be mostly compatible, if not fully. API changes
is what drove me away from Tapestry. The change from version 3 to 4 was
so big that it is simply easier to learn and use wicket.

Can't wicket use the approach followed by SUN which is never to change
an interface in a downward incompatible way but instead to add new APIs
and make old ones deprecated or extend them? I believe SUN would have
been completely out of business by now if they would have changed
fundamental Java APIs.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-24 Thread Igor Vaynberg
it also explains why java gets its feature improvements at such a snail pace, and why generics/autoboxing are so horribly half baked (imho of course). if you are looking for stability then dont cross the major version threshold. eg we will never horribly break api between 
1.2 and 1.3. our primary concern is to innovate and improve the framework - sometimes that means taking a step back and radically rethinking some concepts - which leads to huge api breaks. we save these for major versions.
-IgorOn 8/24/06, Erik Brakkee [EMAIL PROTECTED] wrote:
Martijn Dashorst wrote: The API will change constantly, but not dramatically. i.e. I seriously doubt that *all* components will have to change again. But some minor things are bound to change.
I hope the changes will be mostly compatible, if not fully. API changesis what drove me away from Tapestry. The change from version 3 to 4 wasso big that it is simply easier to learn and use wicket.
Can't wicket use the approach followed by SUN which is never to changean interface in a downward incompatible way but instead to add new APIsand make old ones deprecated or extend them? I believe SUN would have
been completely out of business by now if they would have changedfundamental Java APIs.-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-24 Thread Philip A. Chapman




On Thu, 2006-08-24 at 20:15 +0200, Erik Brakkee wrote:



Can't wicket use the approach followed by SUN which is never to change
an interface in a downward incompatible way but instead to add new APIs
and make old ones deprecated or extend them? I believe SUN would have
been completely out of business by now if they would have changed
fundamental Java APIs.



Oh, please no! At some point, wicket may mature to the point where the API is stable enough for such a thing. It is still very new however, and the maintainers are constantly finding newer better ways to make wicket usable. There are so many things in the Java API that a) needs to be refactored, but can't and b) has been depreciated for years now and never removed. I really don't want to use a framework with that same kind of baggage.

I think that they are doing their best by trying to keep the 1.2 branch as API stable as possible and only changing the api in trunk (2.0 branch). This makes sense as older mission critical projects that where written using wicket 1.x can continue to get updates. Hopefully, by the time you go production with your 2.0 code, 2.0's API will have been branched and stabilized and we'll be looking at 3.0 for bleeding edge. :-)




-- 
Philip A. Chapman

Desktop and Web Application Development:
Java, .NET, PostgreSQL, MySQL, MSSQL
Linux, Windows 2000, Windows XP








signature.asc
Description: This is a digitally signed message part
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket 2.0, when?

2006-08-24 Thread Erik Brakkee
Igor Vaynberg wrote:
 it also explains why java gets its feature improvements at such a
 snail pace, and why generics/autoboxing are so horribly half baked
 (imho of course). if you are looking for stability then dont cross the
 major version threshold. eg we will never horribly break api between
 1.2 and 1.3. our primary concern is to innovate and improve the
 framework - sometimes that means taking a step back and radically
 rethinking some concepts - which leads to huge api breaks. we save
 these for major versions.
It is quite normal to have API changes with major versions, but still
then it is also good practice to keep old APIs alive for some time to
allow users to migrate. Hibernate for instance did it in a good way.
They also made some major changes going from version 2 to 3 but did it
in such a way that the old APIs were still available (classic package)
and that the new APIs were practically the same, with good documentation
describing how to migrate.

If major redesign would be required for applications using wicket at
every major release then this would be a serious obstacle for using it
for commercial applications. In that case, it is probably best to stick
to the standards (JSP, JSF) with really heavy home-baked frameworks on
top of them (even though this approach sucks).

Anyway, wicket is on a good track I think. As long as changes to
existing components are minor and as long as you keep it simple.

 -Igor



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


  1   2   >