Re: [Wicket-user] DOJO and AutoComplete / Populate on textfield

2005-09-26 Thread Ryan Sonnek
Yep, I've been working with scriptaculous.  I haven't worked much with
dojo to know how good it is, but scriptaculous has been great to work
with.

On 9/25/05, Martijn Dashorst [EMAIL PROTECTED] wrote:
 Not (yet) with Dojo I believe, the scriptaculous components have been
 created by Ryan Sonnek.

 Martijn


 On 9/24/05, Andrew Lombardi [EMAIL PROTECTED] wrote:
  I know that Wicket is looking to do a lot more things with AJAX, and
  using DOJO from what I can gather.  Are there any examples of easily
  using Wicket and Dojo to do something similar to Google Suggest?
  Possibly by using a List element on Wicket side, and ajaxian stuff on
  the other end?
 
  Thanks!
 
 
 
  ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App Server. Download
  it for free - -and be entered to win a 42 plasma tv or your very own
  Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 ---
 SF.Net email is sponsored by:
 Tame your development challenges with Apache's Geronimo App Server. Download
 it for free - -and be entered to win a 42 plasma tv or your very own
 Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread pepone pepone
Hello
i try  urlFor(final String pageMapName, final Class pageClass,
finalPageParameters parameters)

but i get a url like  /servlet-name/app?param1=1
instead of   htpp://localhost:8080/servlet-name/app?param1=1

In my code i call this method from a ListView populateItem method

getPage().urlFor((String)null,MyPageClas.class,params);

is this the way to do the things or i make same mistake

On 9/25/05, Johan Compagner [EMAIL PROTECTED] wrote:
 yes because then you have the method:
  urlFor(final String pageMapName, final Class pageClass, final
 PageParameters parameters)

  but you need to be in a request (You need to have a RequestCycle)
  So still don't know what you are trying to do.



 On 9/25/05, pepone pepone [EMAIL PROTECTED] wrote:
 
  And can be done in a subclas of Page?
 
  On 9/24/05, Johan Compagner [EMAIL PROTECTED] wrote:
   i think the problem is that you don't have all the variables in the
   application class
if you are not in a request (so at startup)
Because what is youre context?
I would lazy make that url
  
  
   On 9/24/05, pepone pepone  [EMAIL PROTECTED] wrote:
I want a String with the url of a bookmarkable page with a set of
   parameters
   
i think in same thing like
   
String getBookmarkableUrl( MyPage.class,parameters);
   
   
   
On 9/24/05, Johan Compagner  [EMAIL PROTECTED] wrote:
 what do you mean exactly?
  A link to a bookmarkable page?
  At what time is there a session?


 On 9/24/05, pepone pepone  [EMAIL PROTECTED] wrote:
 
  Hello i need a way to create a page url from my Application class
  is this posible in wicket
 
  thanks
 
 
 
   ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App
 Server.
 Download
  it for free - -and be entered to win a 42 plasma tv or your very
 own
  Sony(tm)PSP.  Click here to play:
 http://sourceforge.net/geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
 
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


   
   
   
 ---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
   Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play:
   http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
 
 
  ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App Server.
 Download
  it for free - -and be entered to win a 42 plasma tv or your very own
  Sony(tm)PSP.  Click here to play:
 http://sourceforge.net/geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] DOM -Created Forms

2005-09-26 Thread Nick Heudecker
Hi,

I'm creating a form using the DOM, like so:

myForm = document.createElement(form);
myForm.appendChild(.);

...and so on, inserting into a TR element that's also created using the
DOM. The problem is that I'm not sure if this will work with
Wicket. It's not AJAX, just DHTML. I would really like to
get this working because it's vital to the kind of user experience I'm
trying to provide. 

Will DHTML forms work with Wicket? If so, how? If not, is support planned and when?

One option is to create a hidden form that Wicket does know about and
use _javascript_ to copy the values from the DHTML form to the hidden
form. But I'd prefer to avoid that if possible.

Thanks for your time.


Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread Johan Compagner
That is right we don't generate http://hostname:port/

Why do you need it?On 9/26/05, pepone pepone [EMAIL PROTECTED] wrote:
Helloi tryurlFor(final String pageMapName, final Class pageClass,finalPageParameters parameters)but i get a url like/servlet-name/app?param1=1instead of 
htpp://localhost:8080/servlet-name/app?param1=1In my code i call this method from a ListView populateItem methodgetPage().urlFor((String)null,MyPageClas.class,params);is this the way to do the things or i make same mistake
On 9/25/05, Johan Compagner [EMAIL PROTECTED] wrote: yes because then you have the method:urlFor(final String pageMapName, final Class pageClass, final
 PageParameters parameters)but you need to be in a request (You need to have a RequestCycle)So still don't know what you are trying to do. On 9/25/05, pepone pepone 
[EMAIL PROTECTED] wrote:   And can be done in a subclas of Page?   On 9/24/05, Johan Compagner 
[EMAIL PROTECTED] wrote:   i think the problem is that you don't have all the variables in the   application class  if you are not in a request (so at startup)
  Because what is youre context?  I would lazy make that url   On 9/24/05, pepone pepone  [EMAIL PROTECTED]
 wrote:I want a String with the url of a bookmarkable page with a set of   parameters   i think in same thing like   
String getBookmarkableUrl( MyPage.class,parameters); On 9/24/05, Johan Compagner  
[EMAIL PROTECTED] wrote: what do you mean exactly?A link to a bookmarkable page?At what time is there a session?
 On 9/24/05, pepone pepone  [EMAIL PROTECTED] wrote:   Hello i need a way to create a page url from my Application class
  is this posible in wicket   thanks   
   ---  SF.Net email is sponsored by:  Tame your development challenges with Apache's Geronimo App
 Server. Download  it for free - -and be entered to win a 42 plasma tv or your very own  Sony(tm)PSP.Click here to play:
 http://sourceforge.net/geronimo.php  ___  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user  
 ---SF.Net email is sponsored by:Tame your development challenges with Apache's Geronimo App Server.   Download
it for free - -and be entered to win a 42 plasma tv or your very ownSony(tm)PSP.Click here to play:   http://sourceforge.net/geronimo.php
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user   
---  SF.Net email is sponsored by:  Tame your development challenges with Apache's Geronimo App Server.
 Download  it for free - -and be entered to win a 42 plasma tv or your very own  Sony(tm)PSP.Click here to play: http://sourceforge.net/geronimo.php
  ___  Wicket-user mailing list  Wicket-user@lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/wicket-user ---SF.Net email is sponsored by:Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very ownSony(tm)PSP.Click here to play: http://sourceforge.net/geronimo.php___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] DOM -Created Forms

2005-09-26 Thread Johan Compagner
where do you want to map it on?
Where does the request go to of that form when it is submitted?
You could submit it to a bookmarkable page and then read in the values from the PageParameters

johan
On 9/26/05, Nick Heudecker [EMAIL PROTECTED] wrote:
Hi,

I'm creating a form using the DOM, like so:

myForm = document.createElement(form);
myForm.appendChild(.);

...and so on, inserting into a TR element that's also created using the
DOM. The problem is that I'm not sure if this will work with
Wicket. It's not AJAX, just DHTML. I would really like to
get this working because it's vital to the kind of user experience I'm
trying to provide. 

Will DHTML forms work with Wicket? If so, how? If not, is support planned and when?

One option is to create a hidden form that Wicket does know about and
use _javascript_ to copy the values from the DHTML form to the hidden
form. But I'd prefer to avoid that if possible.

Thanks for your time.




Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread pepone pepone
because i try to generate the url to my rss link element and i think
that this url must be with hostname:port other use can be put the url
in a labe to show where a link point

On 9/26/05, Johan Compagner [EMAIL PROTECTED] wrote:
 That is right we don't generate http://hostname:port/

  Why do you need it?


 On 9/26/05, pepone pepone [EMAIL PROTECTED] wrote:
 
  Hello
  i try  urlFor(final String pageMapName, final Class pageClass,
  finalPageParameters parameters)
 
  but i get a url like  /servlet-name/app?param1=1
  instead of
 htpp://localhost:8080/servlet-name/app?param1=1
 
  In my code i call this method from a ListView populateItem method
 
  getPage().urlFor((String)null,MyPageClas.class,params);
 
  is this the way to do the things or i make same mistake
 
  On 9/25/05, Johan Compagner [EMAIL PROTECTED] wrote:
   yes because then you have the method:
urlFor(final String pageMapName, final Class pageClass, final
   PageParameters parameters)
  
but you need to be in a request (You need to have a RequestCycle)
So still don't know what you are trying to do.
  
  
  
   On 9/25/05, pepone pepone  [EMAIL PROTECTED] wrote:
   
And can be done in a subclas of Page?
   
On 9/24/05, Johan Compagner  [EMAIL PROTECTED] wrote:
 i think the problem is that you don't have all the variables in the
 application class
  if you are not in a request (so at startup)
  Because what is youre context?
  I would lazy make that url


 On 9/24/05, pepone pepone  [EMAIL PROTECTED]  wrote:
  I want a String with the url of a bookmarkable page with a set of
 parameters
 
  i think in same thing like
 
  String getBookmarkableUrl( MyPage.class,parameters);
 
 
 
  On 9/24/05, Johan Compagner  [EMAIL PROTECTED] wrote:
   what do you mean exactly?
A link to a bookmarkable page?
At what time is there a session?
  
  
   On 9/24/05, pepone pepone  [EMAIL PROTECTED] wrote:
   
Hello i need a way to create a page url from my Application
 class
is this posible in wicket
   
thanks
   
   
   

 ---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App
   Server.
   Download
it for free - -and be entered to win a 42 plasma tv or your
 very
   own
Sony(tm)PSP.  Click here to play:
   http://sourceforge.net/geronimo.php
   
 ___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   

  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
 
 
 
   ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App
 Server.
 Download
  it for free - -and be entered to win a 42 plasma tv or your very
 own
  Sony(tm)PSP.  Click here to play:
 http://sourceforge.net/geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
 
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


   
   
   
 ---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
   Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play:
   http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
 
 
  ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App Server.
 Download
  it for free - -and be entered to win a 42 plasma tv or your very own
  Sony(tm)PSP.  Click here to play:
 http://sourceforge.net/geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread Johan Compagner
then add another method that generates that full url to the url part you get of urlForOn 9/26/05, pepone pepone 
[EMAIL PROTECTED] wrote:because i try to generate the url to my rss link element and i think
that this url must be with hostname:port other use can be put the urlin a labe to show where a link pointOn 9/26/05, Johan Compagner [EMAIL PROTECTED] wrote:
 That is right we don't generate http://hostname:port/Why do you need it? On 9/26/05, pepone pepone 
[EMAIL PROTECTED] wrote:   Hello  i tryurlFor(final String pageMapName, final Class pageClass,  finalPageParameters parameters)   but i get a url like/servlet-name/app?param1=1
  instead of htpp://localhost:8080/servlet-name/app?param1=1   In my code i call this method from a ListView populateItem method
   getPage().urlFor((String)null,MyPageClas.class,params);   is this the way to do the things or i make same mistake   On 9/25/05, Johan Compagner 
[EMAIL PROTECTED] wrote:   yes because then you have the method:  urlFor(final String pageMapName, final Class pageClass, final   PageParameters parameters)
but you need to be in a request (You need to have a RequestCycle)  So still don't know what you are trying to do.  
   On 9/25/05, pepone pepone  [EMAIL PROTECTED] wrote:   And can be done in a subclas of Page?   
On 9/24/05, Johan Compagner  [EMAIL PROTECTED] wrote: i think the problem is that you don't have all the variables in the
 application classif you are not in a request (so at startup)Because what is youre context?I would lazy make that url
 On 9/24/05, pepone pepone  [EMAIL PROTECTED]  wrote:  I want a String with the url of a bookmarkable page with a set of
 parameters   i think in same thing like   String getBookmarkableUrl( 
MyPage.class,parameters); On 9/24/05, Johan Compagner  
[EMAIL PROTECTED] wrote:   what do you mean exactly?  A link to a bookmarkable page?  At what time is there a session?
   On 9/24/05, pepone pepone  [EMAIL PROTECTED] wrote:
   Hello i need a way to create a page url from my Application classis this posible in wicket
   thanks 
 ---SF.Net email is sponsored by:Tame your development challenges with Apache's Geronimo App
   Server.   Downloadit for free - -and be entered to win a 42 plasma tv or your very   own
Sony(tm)PSP.Click here to play:   http://sourceforge.net/geronimo.php   
 ___Wicket-user mailing listWicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
  
   ---  SF.Net email is sponsored by:  Tame your development challenges with Apache's Geronimo App
 Server. Download  it for free - -and be entered to win a 42 plasma tv or your very own  Sony(tm)PSP.Click here to play:
 http://sourceforge.net/geronimo.php  ___  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user  
 ---SF.Net email is sponsored by:Tame your development challenges with Apache's Geronimo App Server.   Download
it for free - -and be entered to win a 42 plasma tv or your very ownSony(tm)PSP.Click here to play:   http://sourceforge.net/geronimo.php
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user   
---  SF.Net email is sponsored by:  Tame your development challenges with Apache's Geronimo App Server.
 Download  it for free - -and be entered to win a 42 plasma tv or your very own  Sony(tm)PSP.Click here to play: http://sourceforge.net/geronimo.php
  ___  Wicket-user mailing list  Wicket-user@lists.sourceforge.net  
https://lists.sourceforge.net/lists/listinfo/wicket-user ---SF.Net email is sponsored by:Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very ownSony(tm)PSP.Click here to play: http://sourceforge.net/geronimo.php___
Wicket-user mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user



Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread pepone pepone
Ok i try it but i don´t know how to get this url part from my webpage
i try to investigate more about this, any ideas or sugereneces are wellcome

thanks for all
On 9/26/05, Johan Compagner [EMAIL PROTECTED] wrote:
 then add another method that generates that full url to the url part you get
 of urlFor


 On 9/26/05, pepone pepone  [EMAIL PROTECTED] wrote:
 
  because i try to generate the url to my rss link element and i think
  that this url must be with hostname:port other use can be put the url
  in a labe to show where a link point
 
  On 9/26/05, Johan Compagner [EMAIL PROTECTED] wrote:
   That is right we don't generate http://hostname:port/
  
Why do you need it?
  
  
   On 9/26/05, pepone pepone  [EMAIL PROTECTED] wrote:
   
Hello
i try  urlFor(final String pageMapName, final Class pageClass,
finalPageParameters parameters)
   
but i get a url like  /servlet-name/app?param1=1
instead of
   htpp://localhost:8080/servlet-name/app?param1=1
   
In my code i call this method from a ListView populateItem method
   
getPage().urlFor((String)null,MyPageClas.class,params);
   
is this the way to do the things or i make same mistake
   
On 9/25/05, Johan Compagner  [EMAIL PROTECTED] wrote:
 yes because then you have the method:
  urlFor(final String pageMapName, final Class pageClass, final
 PageParameters parameters)

  but you need to be in a request (You need to have a RequestCycle)
  So still don't know what you are trying to do.



 On 9/25/05, pepone pepone  [EMAIL PROTECTED] wrote:
 
  And can be done in a subclas of Page?
 
  On 9/24/05, Johan Compagner  [EMAIL PROTECTED] wrote:
   i think the problem is that you don't have all the variables in
 the
   application class
if you are not in a request (so at startup)
Because what is youre context?
I would lazy make that url
  
  
   On 9/24/05, pepone pepone  [EMAIL PROTECTED]  wrote:
I want a String with the url of a bookmarkable page with a set
 of
   parameters
   
i think in same thing like
   
String getBookmarkableUrl( MyPage.class,parameters);
   
   
   
On 9/24/05, Johan Compagner  [EMAIL PROTECTED] wrote:
 what do you mean exactly?
  A link to a bookmarkable page?
  At what time is there a session?


 On 9/24/05, pepone pepone  [EMAIL PROTECTED] wrote:
 
  Hello i need a way to create a page url from my
 Application
   class
  is this posible in wicket
 
  thanks
 
 
 
  
   ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo
 App
 Server.
 Download
  it for free - -and be entered to win a 42 plasma tv or
 your
   very
 own
  Sony(tm)PSP.  Click here to play:
 http://sourceforge.net/geronimo.php
 
   ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
 
  

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


   
   
   

 ---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App
   Server.
   Download
it for free - -and be entered to win a 42 plasma tv or your
 very
   own
Sony(tm)PSP.  Click here to play:
   http://sourceforge.net/geronimo.php
   
 ___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   

  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
 
 
 
   ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App
 Server.
 Download
  it for free - -and be entered to win a 42 plasma tv or your very
 own
  Sony(tm)PSP.  Click here to play:
 http://sourceforge.net/geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
 
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 


   
   
   
 ---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
   Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play:
   http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 

Re: [Wicket-user] Get page url from Application class

2005-09-26 Thread Alexandru Popescu

#: pepone pepone changed the world a bit at a time by saying on  9/26/2005 5:09 
PM :#

Ok i try it but i don´t know how to get this url part from my webpage
i try to investigate more about this, any ideas or sugereneces are wellcome



The rest of informations can be extracted from a request object. See API.

./alex
--
.the_mindstorm.


thanks for all
On 9/26/05, Johan Compagner [EMAIL PROTECTED] wrote:

then add another method that generates that full url to the url part you get
of urlFor


On 9/26/05, pepone pepone  [EMAIL PROTECTED] wrote:

 because i try to generate the url to my rss link element and i think
 that this url must be with hostname:port other use can be put the url
 in a labe to show where a link point

 On 9/26/05, Johan Compagner [EMAIL PROTECTED] wrote:
  That is right we don't generate http://hostname:port/
 
   Why do you need it?
 
 
  On 9/26/05, pepone pepone  [EMAIL PROTECTED] wrote:
  
   Hello
   i try  urlFor(final String pageMapName, final Class pageClass,
   finalPageParameters parameters)
  
   but i get a url like  /servlet-name/app?param1=1
   instead of
  htpp://localhost:8080/servlet-name/app?param1=1
  
   In my code i call this method from a ListView populateItem method
  
   getPage().urlFor((String)null,MyPageClas.class,params);
  
   is this the way to do the things or i make same mistake
  
   On 9/25/05, Johan Compagner  [EMAIL PROTECTED] wrote:
yes because then you have the method:
 urlFor(final String pageMapName, final Class pageClass, final
PageParameters parameters)
   
 but you need to be in a request (You need to have a RequestCycle)
 So still don't know what you are trying to do.
   
   
   
On 9/25/05, pepone pepone  [EMAIL PROTECTED] wrote:

 And can be done in a subclas of Page?

 On 9/24/05, Johan Compagner  [EMAIL PROTECTED] wrote:
  i think the problem is that you don't have all the variables in
the
  application class
   if you are not in a request (so at startup)
   Because what is youre context?
   I would lazy make that url
 
 
  On 9/24/05, pepone pepone  [EMAIL PROTECTED]  wrote:
   I want a String with the url of a bookmarkable page with a set
of
  parameters
  
   i think in same thing like
  
   String getBookmarkableUrl( MyPage.class,parameters);
  
  
  
   On 9/24/05, Johan Compagner  [EMAIL PROTECTED] wrote:
what do you mean exactly?
 A link to a bookmarkable page?
 At what time is there a session?
   
   
On 9/24/05, pepone pepone  [EMAIL PROTECTED] wrote:

 Hello i need a way to create a page url from my
Application
  class
 is this posible in wicket

 thanks



 
  ---
 SF.Net email is sponsored by:
 Tame your development challenges with Apache's Geronimo
App
Server.
Download
 it for free - -and be entered to win a 42 plasma tv or
your
  very
own
 Sony(tm)PSP.  Click here to play:
http://sourceforge.net/geronimo.php

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

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

   
   
  
  
  
   
---
   SF.Net email is sponsored by:
   Tame your development challenges with Apache's Geronimo App
  Server.
  Download
   it for free - -and be entered to win a 42 plasma tv or your
very
  own
   Sony(tm)PSP.  Click here to play:
  http://sourceforge.net/geronimo.php
  
___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
   
 
https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 



  ---
 SF.Net email is sponsored by:
 Tame your development challenges with Apache's Geronimo App
Server.
Download
 it for free - -and be entered to win a 42 plasma tv or your very
own
 Sony(tm)PSP.  Click here to play:
http://sourceforge.net/geronimo.php
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net

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

   
   
  
  
  
---
   SF.Net email is sponsored by:
   Tame your development challenges with Apache's Geronimo App Server.
  Download
   it for free - -and be entered to win a 42 plasma tv or your very own
   Sony(tm)PSP.  Click here to play:
  http://sourceforge.net/geronimo.php
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  

Re: [Wicket-user] DOM -Created Forms

2005-09-26 Thread Nick Heudecker

where do you want to map it on?

I don't understand.
Where does the request go to of that form when it is submitted?
It submits to a Page object that processes a file upload.

You could submit it to a bookmarkable page and then read in the values from the PageParameters
Wouldn't that require that I hardcode the URL into the form? I would like to avoid that if possible.



Re: [Wicket-user] DOJO and AutoComplete / Populate on textfield

2005-09-26 Thread Andrew Lombardi
Awesome.  I just integrated scriptaculous a little bit (manually)  
into a small wicket test app I just wrote last weekend.  Works really  
well.  I'll have to check since I've heard there is an extensions to  
wicket which utilizes scriptaculous in some way that you wrote.


Thanks!


On Sep 26, 2005, at 4:55 AM, Ryan Sonnek wrote:


Yep, I've been working with scriptaculous.  I haven't worked much with
dojo to know how good it is, but scriptaculous has been great to work
with.

On 9/25/05, Martijn Dashorst [EMAIL PROTECTED] wrote:


Not (yet) with Dojo I believe, the scriptaculous components have been
created by Ryan Sonnek.

Martijn


On 9/24/05, Andrew Lombardi [EMAIL PROTECTED] wrote:


I know that Wicket is looking to do a lot more things with AJAX, and
using DOJO from what I can gather.  Are there any examples of easily
using Wicket and Dojo to do something similar to Google Suggest?
Possibly by using a List element on Wicket side, and ajaxian  
stuff on

the other end?

Thanks!



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App  
Server. Download
it for free - -and be entered to win a 42 plasma tv or your very  
own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/ 
geronimo.php

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





---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App  
Server. Download

it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.  
Download

it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DOM -Created Forms

2005-09-26 Thread Johan Compagner
where do you want to map it on:
On what components on the serverside..

Wicket needs to have a 1-1 relationship with html and java components.

So my question is if you make a form through _javascript_
What is the submit url?
On 9/26/05, Nick Heudecker [EMAIL PROTECTED] wrote:

where do you want to map it on?


I don't understand.
Where does the request go to of that form when it is submitted?
It submits to a Page object that processes a file upload.

You could submit it to a bookmarkable page and then read in the values from the PageParameters
Wouldn't that require that I hardcode the URL into the form? I would like to avoid that if possible.





Re: [Wicket-user] DOJO and AutoComplete / Populate on textfield

2005-09-26 Thread Ryan Sonnek
No problem.  Just take a look at the code in wicket-stuff.  I think
the autocomplete API is very stable, and the drag/drop support is
still pretty early.  I've got some explanation of the examples on my
blog in case you're interested: http://jroller.com/page/wireframe

On 9/26/05, Andrew Lombardi [EMAIL PROTECTED] wrote:
 Awesome.  I just integrated scriptaculous a little bit (manually)
 into a small wicket test app I just wrote last weekend.  Works really
 well.  I'll have to check since I've heard there is an extensions to
 wicket which utilizes scriptaculous in some way that you wrote.

 Thanks!


 On Sep 26, 2005, at 4:55 AM, Ryan Sonnek wrote:

  Yep, I've been working with scriptaculous.  I haven't worked much with
  dojo to know how good it is, but scriptaculous has been great to work
  with.
 
  On 9/25/05, Martijn Dashorst [EMAIL PROTECTED] wrote:
 
  Not (yet) with Dojo I believe, the scriptaculous components have been
  created by Ryan Sonnek.
 
  Martijn
 
 
  On 9/24/05, Andrew Lombardi [EMAIL PROTECTED] wrote:
 
  I know that Wicket is looking to do a lot more things with AJAX, and
  using DOJO from what I can gather.  Are there any examples of easily
  using Wicket and Dojo to do something similar to Google Suggest?
  Possibly by using a List element on Wicket side, and ajaxian
  stuff on
  the other end?
 
  Thanks!
 
 
 
  ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App
  Server. Download
  it for free - -and be entered to win a 42 plasma tv or your very
  own
  Sony(tm)PSP.  Click here to play: http://sourceforge.net/
  geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
  ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App
  Server. Download
  it for free - -and be entered to win a 42 plasma tv or your very own
  Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
  ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App Server.
  Download
  it for free - -and be entered to win a 42 plasma tv or your very own
  Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 



 ---
 SF.Net email is sponsored by:
 Tame your development challenges with Apache's Geronimo App Server. Download
 it for free - -and be entered to win a 42 plasma tv or your very own
 Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] DOJO and AutoComplete / Populate on textfield

2005-09-26 Thread Eelco Hillenius
Nice stuff. FYI, I added a checkbox component in the dojo project
yesterday that updates it's model whenever it is clicked. Nothing
spectacular, but I needed the component.

Might be nice if someone with scriptaculous knowlodge made a similar
implementation.

Eelco


On 9/26/05, Ryan Sonnek [EMAIL PROTECTED] wrote:
 No problem.  Just take a look at the code in wicket-stuff.  I think
 the autocomplete API is very stable, and the drag/drop support is
 still pretty early.  I've got some explanation of the examples on my
 blog in case you're interested: http://jroller.com/page/wireframe

 On 9/26/05, Andrew Lombardi [EMAIL PROTECTED] wrote:
  Awesome.  I just integrated scriptaculous a little bit (manually)
  into a small wicket test app I just wrote last weekend.  Works really
  well.  I'll have to check since I've heard there is an extensions to
  wicket which utilizes scriptaculous in some way that you wrote.
 
  Thanks!
 
 
  On Sep 26, 2005, at 4:55 AM, Ryan Sonnek wrote:
 
   Yep, I've been working with scriptaculous.  I haven't worked much with
   dojo to know how good it is, but scriptaculous has been great to work
   with.
  
   On 9/25/05, Martijn Dashorst [EMAIL PROTECTED] wrote:
  
   Not (yet) with Dojo I believe, the scriptaculous components have been
   created by Ryan Sonnek.
  
   Martijn
  
  
   On 9/24/05, Andrew Lombardi [EMAIL PROTECTED] wrote:
  
   I know that Wicket is looking to do a lot more things with AJAX, and
   using DOJO from what I can gather.  Are there any examples of easily
   using Wicket and Dojo to do something similar to Google Suggest?
   Possibly by using a List element on Wicket side, and ajaxian
   stuff on
   the other end?
  
   Thanks!
  
  
  
   ---
   SF.Net email is sponsored by:
   Tame your development challenges with Apache's Geronimo App
   Server. Download
   it for free - -and be entered to win a 42 plasma tv or your very
   own
   Sony(tm)PSP.  Click here to play: http://sourceforge.net/
   geronimo.php
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
  
   ---
   SF.Net email is sponsored by:
   Tame your development challenges with Apache's Geronimo App
   Server. Download
   it for free - -and be entered to win a 42 plasma tv or your very own
   Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
  
   ---
   SF.Net email is sponsored by:
   Tame your development challenges with Apache's Geronimo App Server.
   Download
   it for free - -and be entered to win a 42 plasma tv or your very own
   Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
  ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App Server. Download
  it for free - -and be entered to win a 42 plasma tv or your very own
  Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 ---
 SF.Net email is sponsored by:
 Tame your development challenges with Apache's Geronimo App Server. Download
 it for free - -and be entered to win a 42 plasma tv or your very own
 Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket.extensions?

2005-09-26 Thread Jeff Miller
The form input example uses wicket.extensions package but I did not
see this package in javadoc.  Is there javadoc for extensions
package?

Jeff

Jeff Miller
[EMAIL PROTECTED]

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket.extensions?

2005-09-26 Thread Eelco Hillenius
wicket-extensions is a subproject of wicket. It has its' own javadoc.

Eelco

On 9/26/05, Jeff Miller [EMAIL PROTECTED] wrote:
 The form input example uses wicket.extensions package but I did not
 see this package in javadoc.  Is there javadoc for extensions
 package?

 Jeff

 Jeff Miller
 [EMAIL PROTECTED]

 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around
 http://mail.yahoo.com


 ---
 SF.Net email is sponsored by:
 Tame your development challenges with Apache's Geronimo App Server. Download
 it for free - -and be entered to win a 42 plasma tv or your very own
 Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket.extensions?

2005-09-26 Thread Martijn Dashorst
It does have its own javadoc, but unfortunately that didn't make it
into the extensions 1.1-rc1 release (there is already a bug report for
that one).

You can create it yourself using either:
ant javadoc
or
maven javadoc

(depending on whether you have installed one of them).

Martijn

On 9/26/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
 wicket-extensions is a subproject of wicket. It has its' own javadoc.

 Eelco

 On 9/26/05, Jeff Miller [EMAIL PROTECTED] wrote:
  The form input example uses wicket.extensions package but I did not
  see this package in javadoc.  Is there javadoc for extensions
  package?
 
  Jeff
 
  Jeff Miller
  [EMAIL PROTECTED]
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
 
 
  ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App Server. Download
  it for free - -and be entered to win a 42 plasma tv or your very own
  Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 ---
 SF.Net email is sponsored by:
 Tame your development challenges with Apache's Geronimo App Server. Download
 it for free - -and be entered to win a 42 plasma tv or your very own
 Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] list view sorting consuming all heap space

2005-09-26 Thread Phil Kulak
Are you using a model now and doing the lookup there? If you just
downloaded the new code and didn't change you code to use the new API,
nothing will change. I made it all backwards compatible.


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] RSS 2 component

2005-09-26 Thread pepone pepone
Hello i build a wicket page to generate rss syndycation ¡f same body
is interting in this i can submit the code

thanks for help that the list giveme to build it


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] list view sorting consuming all heap space

2005-09-26 Thread Nathan Hamblen
Everyone, thanks for the help. I finally found the problem by debugging 
into componentModelChanging as several people had urged me to do. The 
memory hog was an object I had in the data provider, which was a member 
class of my Page class. I wasn't using the page in it, but it still had 
compiler generated references to the page object. Therefore, it was huge.


Seems like a pretty easy trap to fall into; if a view object sneaks into 
a model somehow, your session is headed for disaster. Wouldn't that mean 
you can never have an anonymous subclass of Model in any kind of 
Component? I feel like I've seen that all over the place.


Nathan

Phil Kulak wrote:

Are you using a model now and doing the lookup there? If you just
downloaded the new code and didn't change you code to use the new API,
nothing will change. I made it all backwards compatible.


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


  



---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] list view sorting consuming all heap space

2005-09-26 Thread Johan Compagner
I had this discussion with jonathan also, Just to warn you all:
BEWARE if you use non static innerclasses you ALWAYS have a reference to the outerclass.
Anonymous .are always non static so you always have a reference to youre parent class.


johanOn 9/27/05, Nathan Hamblen [EMAIL PROTECTED] wrote:
Everyone, thanks for the help. I finally found the problem by debugginginto componentModelChanging as several people had urged me to do. Thememory hog was an object I had in the data provider, which was a member
class of my Page class. I wasn't using the page in it, but it still hadcompiler generated references to the page object. Therefore, it was huge.Seems like a pretty easy trap to fall into; if a view object sneaks into
a model somehow, your session is headed for disaster. Wouldn't that meanyou can never have an anonymous subclass of Model in any kind ofComponent? I feel like I've seen that all over the place.Nathan
Phil Kulak wrote: Are you using a model now and doing the lookup there? If you just downloaded the new code and didn't change you code to use the new API, nothing will change. I made it all backwards compatible.
 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42 plasma tv or your very own
 Sony(tm)PSP.Click here to play: http://sourceforge.net/geronimo.php ___ Wicket-user mailing list
 Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
---SF.Net email is sponsored by:Tame your development challenges with Apache's Geronimo App Server. Downloadit for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.Click here to play: http://sourceforge.net/geronimo.php___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RSS 2 component

2005-09-26 Thread Johan Compagner
i think this would be nice to have as a wicket-stuff project.
On 9/27/05, pepone pepone [EMAIL PROTECTED] wrote:
Hello i build a wicket page to generate rss syndycation ¡f same bodyis interting in this i can submit the codethanks for help that the list giveme to build it---
SF.Net email is sponsored by:Tame your development challenges with Apache's Geronimo App Server. Downloadit for free - -and be entered to win a 42 plasma tv or your very ownSony(tm)PSP.Click here to play: 
http://sourceforge.net/geronimo.php___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] list view sorting consuming all heap space

2005-09-26 Thread Phil Kulak
I guess if you subclass model, you have to make sure you turn of
versioning on the component. I neverthought of that before. That's a
tricky one.

On 9/26/05, Johan Compagner [EMAIL PROTECTED] wrote:
 I had this  discussion with jonathan also, Just to warn you all:
  BEWARE if you use non static innerclasses you ALWAYS have a reference to
 the outerclass.
  Anonymous .are always non static so you always have a reference to youre
 parent class.


  johan


 On 9/27/05, Nathan Hamblen [EMAIL PROTECTED] wrote:
  Everyone, thanks for the help. I finally found the problem by debugging
  into componentModelChanging as several people had urged me to do. The
  memory hog was an object I had in the data provider, which was a member
  class of my Page class. I wasn't using the page in it, but it still had
  compiler generated references to the page object. Therefore, it was huge.
 
  Seems like a pretty easy trap to fall into; if a view object sneaks into
  a model somehow, your session is headed for disaster. Wouldn't that mean
  you can never have an anonymous subclass of Model in any kind of
  Component? I feel like I've seen that all over the place.
 
  Nathan
 
  Phil Kulak wrote:
   Are you using a model now and doing the lookup there? If you just
   downloaded the new code and didn't change you code to use the new API,
   nothing will change. I made it all backwards compatible.
  
  
   ---
   SF.Net email is sponsored by:
   Tame your development challenges with Apache's Geronimo App Server.
 Download
   it for free - -and be entered to win a 42 plasma tv or your very own
   Sony(tm)PSP.  Click here to play:
 http://sourceforge.net/geronimo.php
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
  
 
 
  ---
  SF.Net email is sponsored by:
  Tame your development challenges with Apache's Geronimo App Server.
 Download
  it for free - -and be entered to win a 42 plasma tv or your very own
  Sony(tm)PSP.  Click here to play:
 http://sourceforge.net/geronimo.php
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 




---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket, Tomcat, and file descriptors

2005-09-26 Thread Dan Gould
Thanks Francis, I'll give that a try.  Is there any reason why 
getSettings.setResourcePollFrequency() should create tons of open 
references to wicket.jar?  I don't know if it's an expected behavior or 
not, but if it's a fixable bug, it would probably be a smart idea to fix.


Thaks,
Dan


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] How to reuse an existing page?

2005-09-26 Thread Trieu, Danny








Hi all,



It seems like every time you go to a Page, via click on a
Link on a page or by setting setResponsePage() method

You always create a new page. And this new page will end up
added to the PageMap of the current Session. 



My question is, why do we have to create a new page every
time? If no, we dont have to create a new page every time

Then How do you set response page to an existing page in
PageMap?  and Is there any common pratices and howto 

Example that I can refer to?



My reason for asking these question is because the overhead
of constructing a new page on every single request can 

Be a performance issues and that I need to understand the
issues to make recommendation.



Thanks for any help. 



--danny



The essence of knowledge is, having it, to apply it;
not having it, to confess your ignorance. -Confucius










Re: [Wicket-user] How to reuse an existing page?

2005-09-26 Thread Justin Lee

I do this in one my form pages in onSubmit():

setResponsePage(findPage());


Trieu, Danny wrote:

Hi all,

 

It seems like every time you go to a Page, via click on a Link on a page 
or by setting setResponsePage(…) method


You always create a new page. And this new page will end up added to the 
PageMap of the current Session.


 

My question is, why do we have to create a new page every time?  If no, 
we don’t have to create a new page every time


Then How do you set response page to an existing page in PageMap? … and 
Is there any common pratices and howto


Example that I can refer to?

 

My reason for asking these question is because the overhead of 
constructing a new page on every single request can


Be a performance issues and that I need to understand the issues to make 
recommendation.


 


Thanks for any help.

 


--danny

 

//The essence of knowledge is, having it, to apply it; not having it, 
to confess your ignorance. -Confucius//


 



--
Justin Lee
http://www.antwerkz.com
AIM : evan chooly
720.299.0101


---
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42 plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] the discussion about PageGridView

2005-09-26 Thread wang lei

In most projects,the developers need a PageGridView to support data view.
In my opinion,i will describe the functions as the following:

Core Function:

Pageing: The developers can define the navigation and other infomation,so the client can view data with paging and easy to naviagtebetween the pages. 
Format: The developers can define the data format,like 2005-09-09 or 09/09/05 and so on. 
Server Sort: If necessary,users can sort data. 
Flexible: It must be easy to extend.Developers can define grid cell output easily,for example,link of delete,edit and so on.


Extended Function:

Client Sort: sometime the function is needed,thougth i thought it'suseless,but somebodymay need it. 
StyleClass: Generaly speaking,just like,theeven row has a different color with the odd row. 
Mouse change color: For emphasis,the row should can change color when the mouse isover the row. 
Mouse click color: For emphasis,the row should can change color whenthe row is clicked.

I analysised another discussion about PageGridView,but i feel it too complicated.
SoI want to design another PageGridView,in this process,i refer valuelist and displaytag.

The core desigh is simple,just tow classes(PageGridView and Column) andtow interfaces(IPageList and GridCellRender).

PageGridView acts as control mainly,it assigne the value from model(IPageList) to header render and cell renderer to output html.

I also finish some default implemention of IPageList and GridCellRender.And write a demo webapplication,and packaged it as a .war file.If somebody knows where i can upload it.I will upload it for demo and discussion.Because it's under test,so i don't want to upload it to sourceforge.

The following issource code of PageGridView :

package wicket.contrib.view;

import java.util.ArrayList;import java.util.List;

import wicket.AttributeModifier;import wicket.contrib.view.impl.LineColumn;import wicket.markup.html.list.ListItem;import wicket.markup.html.list.ListView;import wicket.markup.html.list.PageableListView;import wicket.markup.html.navigation.paging.IPageable;import wicket.markup.html.navigation.paging.PagingNavigator;import wicket.markup.html.panel.Panel;import wicket.model.IModel;import wicket.model.Model;

/*** * @author Lei.wang BR* BFUNCTION:/B BR* This class is used for view.BR* It add some function to PageableListViewBR* It support sorting,format BR* Create-time:2005-9-25 BR* BR* Rule for variable: BR* prefix of "t_" means the variable inside the body of a method BR* prefix of "r_" means the parameter,i like to call it reference
 BR*/

public class PageGridView extends Panel{

private PagingNavigatorheaderNavigator;

// The navigation for header

private PagingNavigatorfooterNavigator;

// The navigation for footer

private PageableListViewpageableListView;

// The current paging component

/** *  * @param r_ID * @param r_PageList */public PageGridView(String r_ID, IPageList r_PageList){this(r_ID, new Model(r_PageList));}

/** * The parameter "r_Model" must provide a IPageList as the method of "getObject" is called.BR *  * @param r_ID * @param r_Model */public PageGridView(String r_ID, IModel r_Model){super(r_ID, r_Model);}

/** * This method is to control the grid header for output. *  */private void onRenderHeader(){final IPageList t_PageList = (IPageList) this.getModelObject();

ListView t_ListView = new ListView("header", getColumns()){

protected void populateItem(ListItem r_ListItem){Column t_Column = (Column) r_ListItem.getModelObject();

r_ListItem.add(t_Column.getHeaderRender().getComponent("title", t_Column, r_ListItem, t_PageList));

}};

this.add(t_ListView);}

/** * This method is to control the grid cell for output */private void onRenderRows(){final IPageList t_PageList = (IPageList) this.getModelObject();

pageableListView = new PageableListView("rows", t_PageList, t_PageList.getRowsPerPage()){

protected void populateItem(final ListItem r_ListItem){ListView t_ChildListView = new ListView("columns", getColumns()){

protected void populateItem(final ListItem r_ChildListItem){Column t_Column = (Column) r_ChildListItem.getModelObject();

r_ChildListItem.add(t_Column.getCellRender().getComponent("content", t_Column, r_ListItem, t_PageList));}};

r_ListItem.add(t_ChildListView);

String t_Style = (String) t_PageList.getConfiguration().getStyleClass(r_ListItem.getIndex());if (null != t_Style){r_ListItem.add(new AttributeModifier("class", true, new Model(t_Style)));}// control the css style

String t_MouseOut = (String) t_PageList.getConfiguration().getMouseOut(r_ListItem.getIndex());if (null != t_MouseOut){r_ListItem.add(new AttributeModifier("onMouseOut", true, new Model(t_MouseOut)));}// control the onMouseOut script

String t_MouseOver = (String) t_PageList.getConfiguration().getMouseOver(r_ListItem.getIndex());if (null != t_MouseOver){r_ListItem.add(new AttributeModifier("onMouseOver", true, new Model(t_MouseOver)));}// control the onMouseOver script

String t_MouseClick = (String)