Re: [Wicket-user] xml ouput

2005-09-24 Thread Johan Compagner
Make youre own Page (extends from Page not WebPage) call it for example XmlPage
then override the 

public String getMarkupType()

method, where you return xml 

If you really need stuff from webpage you could override that one.

if you override getMarkupType youre content type is set right and the file is loaded with a xml extentions.
(this way we could also make WapPage with a wml extention)
On 9/23/05, pepone pepone [EMAIL PROTECTED] wrote:
Hello i want to build a componente that create a RSS file with thelatest changes of my wicket appwhat super class you recomend to useHow write xml responseany ideas are wellcomethanks
---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] xml ouput

2005-09-24 Thread Eelco Hillenius
That was new to me. Neat!

And you could also make it a resource in the fashion like I did with
JasperReports integration.

Eelco


On 9/24/05, Johan Compagner [EMAIL PROTECTED] wrote:
 Make youre own Page (extends from Page not WebPage) call it for example
 XmlPage
  then override the

  public String getMarkupType()

  method, where you return xml

  If you really need stuff from webpage you could override that one.

  if you override getMarkupType youre content type is set right and the file
 is loaded with a xml extentions.
  (this way we could also make WapPage with a wml extention)


 On 9/23/05, pepone pepone [EMAIL PROTECTED] wrote:
  Hello i want to build a componente that create a RSS file with the
  latest changes of my wicket app
 
  what super class you recomend to use
 
  How write xml response
 
  any ideas are wellcome
 
  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


Re: [Wicket-user] xml ouput

2005-09-24 Thread Johan Compagner
i am glad you are working on that now
Because that is a portion of wicket that isn't tested or used yet
So i hope you can dig into it a bit deeper and report things back to us (as bugs in our bug tracker)
On 9/24/05, pepone pepone [EMAIL PROTECTED] wrote:
Thanks JohanI subclas Page in XmlPage and orverride String getMarkupType() toreturn xml and this is working for me. The only think that i feel abit confused is that when i want to create a link in other markup file
to the XmlPage i need to put href="" and nota=XmlPage.xmlI think that is nice to put XmlPage.xml because this is realy the markup filebut Xml ouput is working well :D Thanks again
On 9/24/05, Eelco Hillenius [EMAIL PROTECTED] wrote: That was new to me. Neat! And you could also make it a resource in the fashion like I did with
 JasperReports integration. Eelco On 9/24/05, Johan Compagner [EMAIL PROTECTED] wrote:  Make youre own Page (extends from Page not WebPage) call it for example
  XmlPage then override the  public String getMarkupType()  method, where you return xml  If you really need stuff from webpage you could override that one.
  if you override getMarkupType youre content type is set right and the file  is loaded with a xml extentions. (this way we could also make WapPage with a wml extention)
On 9/23/05, pepone pepone [EMAIL PROTECTED] wrote:   Hello i want to build a componente that create a RSS file with the
   latest changes of my wicket app what super class you recomend to use How write xml response any ideas are wellcome
 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. 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


[Wicket-user] Get page url from Application class

2005-09-24 Thread pepone pepone
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


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

2005-09-24 Thread Johan Compagner
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 wicketthanks---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] xml ouput

2005-09-24 Thread Martijn Dashorst
Hmmm,

You could file a bug report for this. I doubt that what you are
currently experiencing (having to reference xxx.html instead of
xxx.xml) is good behavior on wicket's part.

Martijn
On 9/24/05, pepone pepone [EMAIL PROTECTED] wrote:
Thanks JohanI subclas Page in XmlPage and orverride String getMarkupType() toreturn xml and this is working for me. The only think that i feel abit confused is that when i want to create a link in other markup file
to the XmlPage i need to put href="" and nota=XmlPage.xmlI think that is nice to put XmlPage.xml because this is realy the markup filebut Xml ouput is working well :D Thanks again
On 9/24/05, Eelco Hillenius [EMAIL PROTECTED] wrote: That was new to me. Neat! And you could also make it a resource in the fashion like I did with
 JasperReports integration. Eelco On 9/24/05, Johan Compagner [EMAIL PROTECTED] wrote:  Make youre own Page (extends from Page not WebPage) call it for example
  XmlPage then override the  public String getMarkupType()  method, where you return xml  If you really need stuff from webpage you could override that one.
  if you override getMarkupType youre content type is set right and the file  is loaded with a xml extentions. (this way we could also make WapPage with a wml extention)
On 9/23/05, pepone pepone [EMAIL PROTECTED] wrote:   Hello i want to build a componente that create a RSS file with the
   latest changes of my wicket app what super class you recomend to use How write xml response any ideas are wellcome
 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. 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] Get page url from Application class

2005-09-24 Thread pepone pepone
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


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

2005-09-24 Thread Johan Compagner
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 parametersi think in same thing likeString 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. 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] Get page url from Application class

2005-09-24 Thread pepone pepone
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


Re: [Wicket-user] xml ouput

2005-09-24 Thread pepone pepone
i open a bug with this at
https://sourceforge.net/tracker/index.php?func=detailaid=1303553group_id=119783atid=684975

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

  You could file a bug report for this. I doubt that what you are currently
 experiencing (having to reference xxx.html instead of xxx.xml) is good
 behavior on wicket's part.

  Martijn



 On 9/24/05, pepone pepone [EMAIL PROTECTED] wrote:
 
  Thanks Johan
  I subclas Page in XmlPage and orverride String getMarkupType() to
  return xml and this is working for me. The only think that i feel a
  bit confused is that when i want to create a link in other markup file
  to the XmlPage i need to put href=XmlPage.html and not
  a=XmlPage.xml
 
  I think that is nice to put XmlPage.xml because this is realy the markup
 file
 
  but Xml ouput is working well :D Thanks again
 
  On 9/24/05, Eelco Hillenius [EMAIL PROTECTED] wrote:
   That was new to me. Neat!
  
   And you could also make it a resource in the fashion like I did with
   JasperReports integration.
  
   Eelco
  
  
   On 9/24/05, Johan Compagner [EMAIL PROTECTED] wrote:
Make youre own Page (extends from Page not WebPage) call it for
 example
XmlPage
 then override the
   
 public String getMarkupType()
   
 method, where you return xml
   
 If you really need stuff from webpage you could override that one.
   
 if you override getMarkupType youre content type is set right and the
 file
is loaded with a xml extentions.
 (this way we could also make WapPage with a wml extention)
   
   
On 9/23/05, pepone pepone [EMAIL PROTECTED] wrote:
 Hello i want to build a componente that create a RSS file with the
 latest changes of my wicket app

 what super class you recomend to use

 How write xml response

 any ideas are wellcome

 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] problems using + simbol in a parameter String

2005-09-24 Thread pepone pepone
I view that this bug is closed but i think problem is still the same

i try to explain it better

if i use PageParameters class to buil the parameters  i think that the
class must
translate the simbol + to the corect 2B Hex encoding
currently the '+' is translate to ' '
and ' ' is tranlate to '%20 '

why same values are scaped and others no is not?

On 9/19/05, pepone pepone [EMAIL PROTECTED] wrote:
 i can reproduce this bug with 1.1.rc1 and open a bug
 here is the link
 https://sourceforge.net/tracker/index.php?func=detailaid=1295506group_id=119783atid=684975

 On 9/19/05, Alexandru Popescu [EMAIL PROTECTED] wrote:
  #: Johan Compagner changed the world a bit at a time by saying on  
  9/19/2005 3:18 PM :#
   i don't think locale has much to do about it.
   It is not char encoding. It is url encoding.
  
 
  Yep, absolutely. I wasn't talking about char encoding :-). I was looking 
  for URL.encode/decode calls.
 
  ./alex
  --
  .the_mindstorm.
 
  
   On 9/19/05, Alexandru Popescu [EMAIL PROTECTED] wrote:
  
   #: Johan Compagner changed the world a bit at a time by saying on
   9/19/2005 1:48 PM :#
if this is still the case in RC1 then please open a bugreport
We have to encode all the params, but i think we did something in that
   area
so check RC1 first.
   
   
  
   When firstly answering this, I was looking for this encode part, but I
   wasn't been able to find it.
  
   ./alex
   --
   .the_mindstorm.
  
  
On 9/18/05, Alexandru Popescu [EMAIL PROTECTED]
   wrote:
   
#: pepone pepone changed the world a bit at a time by saying on
   9/18/2005
7:53 PM :#
 Hello boys

 I think that this is a bug in wicket currently i testing with 
 1.1.b4i
 try later to update to rc1

 the problem is that if i use a parameter like

 myBookMarkableLink.setParam(name,c++);

 later in the class i get the param via

 String param=getRequest().getParam(name);

 param value is c and no c++ as i can expect

   
I was wondering if those characters shouldn't be encoded, as they will
become part of the request.
Though, I don't know if this is the problem.
   
./alex
--
.the_mindstorm.
   
   
   

 ---
 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] problems using + simbol in a parameter String

2005-09-24 Thread Alexandru Popescu

#: pepone pepone changed the world a bit at a time by saying on  9/25/2005 
12:26 AM :#

I view that this bug is closed but i think problem is still the same

i try to explain it better

if i use PageParameters class to buil the parameters  i think that the
class must
translate the simbol + to the corect 2B Hex encoding
currently the '+' is translate to ' '
and ' ' is tranlate to '%20 '

why same values are scaped and others no is not?



My 2c on the closing comment:

3 2 should we make that 3+2: no it should be 3%202
and then make 3+2 3%2b2: yes.

at least this is my expectation.

./alex
--
.the_mindstorm.



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

i can reproduce this bug with 1.1.rc1 and open a bug
here is the link
https://sourceforge.net/tracker/index.php?func=detailaid=1295506group_id=119783atid=684975

On 9/19/05, Alexandru Popescu [EMAIL PROTECTED] wrote:
 #: Johan Compagner changed the world a bit at a time by saying on  9/19/2005 
3:18 PM :#
  i don't think locale has much to do about it.
  It is not char encoding. It is url encoding.
 

 Yep, absolutely. I wasn't talking about char encoding :-). I was looking for 
URL.encode/decode calls.

 ./alex
 --
 .the_mindstorm.

 
  On 9/19/05, Alexandru Popescu [EMAIL PROTECTED] wrote:
 
  #: Johan Compagner changed the world a bit at a time by saying on
  9/19/2005 1:48 PM :#
   if this is still the case in RC1 then please open a bugreport
   We have to encode all the params, but i think we did something in that
  area
   so check RC1 first.
  
  
 
  When firstly answering this, I was looking for this encode part, but I
  wasn't been able to find it.
 
  ./alex
  --
  .the_mindstorm.
 
 
   On 9/18/05, Alexandru Popescu [EMAIL PROTECTED]
  wrote:
  
   #: pepone pepone changed the world a bit at a time by saying on
  9/18/2005
   7:53 PM :#
Hello boys
   
I think that this is a bug in wicket currently i testing with 1.1.b4i
try later to update to rc1
   
the problem is that if i use a parameter like
   
myBookMarkableLink.setParam(name,c++);
   
later in the class i get the param via
   
String param=getRequest().getParam(name);
   
param value is c and no c++ as i can expect
   
  
   I was wondering if those characters shouldn't be encoded, as they will
   become part of the request.
   Though, I don't know if this is the problem.
  
   ./alex
   --
   .the_mindstorm.
  
  
  
   
---
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 

Re: [Wicket-user] Component for check that input is made by a human

2005-09-24 Thread Ted Young
I've seen two common ways to support accessibility for the visually impaired:

1. Add a link to an audio file (WAV or MP3) that speaks the word in the image (or some other word).
2. Instead of a distorted image, use a simple mathematical or word
problem. They can be as simple as: type in the answer to 15 + 4
(which would be 19) or Type the third word in the following sentence:
'I love green grass' (which would be the word green).

Both solutions do a good job of preventing robots or automated systems, but are also accessible and easy to implement.

;tedOn 9/23/05, pepone pepone [EMAIL PROTECTED] wrote:
Yes i refer to captcha systems that Scott says, the problem withimages that are offuscated is that it limited imput for people with novision or low visionI live in spain and before this year all goverment and oficcial web
site must follow AAA guidelines from w3cThe accesibility problems that this system presents are explained inthe document that links scot
http://en.wikipedia.org/wiki/CaptchaOn 9/23/05, Scott Sauyet [EMAIL PROTECTED] wrote: I think the request is for a captcha, one of those images with
 characters too difficult for machine vision, but reasonably easy for a person to interpret.They are used to prevent automatic form-filling by programs.
http://en.wikipedia.org/wiki/Captcha There are probably many easy-to-integrate FOSS components someone could hook in.I may have a little time next week and this might be a simple introduction for me to writing components.(No guarantees, of course.)
-- Scott Eelco Hillenius wrote:  I don't really understand what you mean. Could you explain a bit  further and maybe throw in some code/ examples? 
  I don't know much about accesibility too. It would be interesting to  have someone that does know a lot about that matter, and look at  whether Wicket is ready for that.   Eelco
On 9/23/05, pepone pepone [EMAIL PROTECTED] wrote:  have wicket any components to check that a form submision is made by a human?
   i think in the typical image that user must repeat in a imput text  The only problem for this method is that it not suport Accesybility standard 
 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. 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


[Wicket-user] adding children

2005-09-24 Thread Justin Lee
I was stepping through the wicket code trying to track down a problem 
with my page when I ran across some code.  In 
MarkupContainer.children_add()  there's this code:


if (this.children == null)
{
this.children = child;
}
else
{
// Get current list size
final int size = children_size();

// Create array that holds size + 1 elements
final Component[] children = new Component[size + 1];

// Loop through existing children copying them
for (int i = 0; i  size; i++)
{
children[i] = children_get(i);
}

// Add new child to the end
children[size] = child;

// Save new children
this.children = children;
}

It's look to me like a great case for System.arraycopy().  Now, i'm not 
all that familiar with the code so maybe there's a good reason for this, 
but I don't think i've ever seen a loop like this outperform 
System.arraycopy().  And perhaps it could use a List or a Set rather 
than an array since many of the operations are already provided. 
Likewise children_get() does full array scans looking for an item by ID 
when using a map would give much better performance.  But perhaps it was 
decided that the lists would likely be small enough not to matter.  But 
I can see this kind of thing adding up to some significant time in some 
cases.  Maybe there are some good decisions behind this code, but it 
doesn't appear to be documented anywhere.


Anyway, not to nit pick, I just saw that code and had to bring it up.

--
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