Re: [Wicket-user] wicket-contrib-tinymce-examples download

2007-04-17 Thread Andrew Moore

Thanks igor, that was just what I needed, it's all working perfectly now.
Cheers
Andrew


igor.vaynberg wrote:
 
 http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/branches/wicket-1.3/
 
 see wicket-contrib-tinymce as well as wicket-contrib-tinymce-examples
 
 -igor
 
 
 On 4/16/07, Andrew Moore [EMAIL PROTECTED] wrote:


 I've downloaded wicket tinymce from sourceforge, but cannot find anywhere
 that the download of the examples is available. The wicket stuff wiki
 points
 at a view of cvs, but it doesn't I just get a page not found error. (I
 also
 can't connect using cvs to check it out as described at the page here
 http://cwiki.apache.org/WICKET/wicket-stuff.html)

 Does anyone know where the examples can be downloaded from, or does
 anyone
 have an example of what's needed to get tinymce working in place of a
 textarea?

 Cheers
 Andrew
 --
 View this message in context:
 http://www.nabble.com/wicket-contrib-tinymce-examples-download-tf3584332.html#a10015677
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/wicket-contrib-tinymce-examples-download-tf3584332.html#a10030570
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Listview listitem onchange

2007-04-17 Thread Igor Vaynberg

why would all the ids be the same?

and why would you use the id. i would add a special class to the textfields,
and then using something like prototype do

onchange=hideothers(this);

function hideothers (t) {
 var textfields=$$(class:myclass); // or whatever prototype syntax is
 textfields.foreach(function(tf,i) { if (tf!=t) { tf.setstyle
(display:none;);}}
}

-igor


On 4/17/07, Robbert Vergeten [EMAIL PROTECTED] wrote:


Because id's will be all the same for a listview's generated textfields
and you want to read out the value I suppose try using this in the event.
script type=text/javascript
function test(x){
 alert(x.value);
}
/script
input type=text onchange=test(this)

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

 you should do this through javascript, it would be kinda insane to do a
 roundtrip in textfield.onchange to do something like this.

 -igor


 On 4/16/07, wicketmarsh [EMAIL PROTECTED]  wrote:
 
 
  Hi
 
  I am using Listview  to render a list of TextField.  I would like to
  add
  onchnage event on textfield so that any change in textfield value
  would make
  other components invisible which are  part the form.
 
  Inside the form I tried to access the children of listview component
  but it
  return null.
 
 
  thanks in advance.
  pradip
 
 
  --
  View this message in context: 
http://www.nabble.com/Listview-listitem-onchange-tf3588422.html#a10028153
 
  Sent from the Wicket - User mailing list archive at 
Nabble.comhttp://nabble.com/
  .
 
 
  -
 
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] you to ault

2007-04-17 Thread Zane Burris
THE ALERT IS ON
Special Situation Alert

TMXO

Trimax. are providers of Broadband over Power Line (BPL) 
communication technologies. 

OTC:TMXO - Last: 0.185

Technologies that use the power grid to deliver 128-bit encrypted
high-speed symmetrical broadband for data, voice and video transmission.

This is a sector to be in!


All material herein were prepared by us based upon information
believed to be reliable but not guaranteed to be accurate and
should not be considered to be all inclusive. This opinion contains
forward-looking statements that involve risks and uncertainties.You
could lose all your money. We are not a licensed broker, broker
dealer, market maker, investment banker, investment advisor,
analyst or underwriter. Please consult a broker before purchasing
or selling any securities viewed or mentioned herein. We are
negotiating a cash price for this advertisement in the near
future,but at this time have received nothing.  Third parties,
affiliates, officers, directors and employees may also own or may
buy the shares discussed in this opinion and intend to sell or
profit in the event those shares rise or decrease in value

_ _ _
Bullish profit?? 
The hottest news are released for TMXO, Wicket-user, call to broker

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket manager resources inside Javascript and Css files

2007-04-17 Thread Paolo Di Tommaso

Guys, the problem is another, lets recap:

I've a folder with a javascript, a css and some images. From both the css
and the javascript I references these images using a relative path. For
example in the css url(the-image-1.gif) and in the javascript file image.src= '
the-image-2.gif'.

The css works fine instead the javascript image link is broke.

The problem is that a relative path in a CSS is relative to the location of
the css itself, so loading the css under the wicket
/resource/package.name.Class/ path it works fine.

BUT relative path in a javascript are relative to the page which loaded the
script NOT the script location, so the relative link will break!

Thanks, Paolo


On 4/16/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


On 4/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 in wicket 1.2.3 we do not allow default access to packaged resources
without
 explicitly adding a shared resource do we? i think that is the problem.
his
 css is a shared resource, but everything alongside it is not. so this
would
 for in 1.3 but not in 1.2.3.

Duh! Indeed. I completely forgot about that.

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-17 Thread ZedroS Schwart
I'm not really familiar wih junit but I'm willing to do the test.

I just would like to be sure the perimeter I'm considering is valid in Wicket.

In fact, I'm using an AjaxForm, meaning I got the submit through an
AjaxSubmitButton.

Then, on the onSubmit of the form, I try to do
- form.setVisible(false);
-  add(new AbstractAjaxTimerBehavior(Duration.seconds(5)) {
protected void onTimer(AjaxRequestTarget 
target) {
setRedirect(true);
setResponsePage(WelcomePage.class);
}
});

Should it be at least possible ?

If so, I'll do the junit test.

Cheers,
ZedroS

On 4/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 If you please could prepare a reproducable junit test for it and add
 it to JIRA, we can fix it and keep it fixed.

 Eelco


 On 4/12/07, ZedroS [EMAIL PROTECTED] wrote:
 
  Hi
 
  I'm now on 1.3 and I've tried to use setVisible inside a form onSubmit and
  it doesn't work...
 
  I've tried many syntaxes, like :
  @Override
  public void onSubmit() {
  this.setVisible(false);
  setVisible(false);
  }
 
  I even made the form as an attribut of the page class, using then :
  @Override
  public void onSubmit() {
  form.setVisible(false);
  }
 
  but it doesn't work.
 
  I've as well noticed that my AjaxIndicator doesn't work anymore...
 
  Do you have a clue what's going on ?
 
  BR
  ZedroS
 
  ZedroS wrote:
  
   Hi
  
   Thanks for your answer.
  
   That's what I had done but I wondered whether there would be a better way.
  
   1.3 looks even further interesting I see ;)
  
   Cheers
   ZedroS
  
   On 4/4/07, Johan Compagner [EMAIL PROTECTED] wrote:
   in 1.2 you need to work around it by having a component.
  
   in 1.3 this is fixed and it will work on a page.
  
   johan
  
  
   On 4/4/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
   
I use wicket 1.2.5...
   
How shall I do ?
   
Thanks in advance
ZedroS
   
   
   -
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
  
  
 
  --
  View this message in context: 
  http://www.nabble.com/AbstractAjaxTimerBehavior-on-a-page-not-possible---tf3524910.html#a9958833
  Sent from the Wicket - User mailing list archive at Nabble.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
 

 -
 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 generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF

In my app I need to leave wicket temporarily to detour to another site and
then come back to a page in my wicket app. I used the following code to
generate the return URL but it seems to generate an incomplete URL with some
illegal characters in it also..

String returnURL = urlFor(getPageMap(), Score.class, new
PageParameters(applicantCheckId= + applicantCheckId)).toString();

Produces..

/quickstart/app?wicket:bookmarkablePage=:com.rdf.datacol.tenantchecker.presentation.performcheck.Scoreamp;applicantCheckId=21

Which has no host and amp; in it which prevents the link from working.

How should I be generating a complete and valid link back to a wicket page?
-- 
View this message in context: 
http://www.nabble.com/Wicket-generating-invalid-URLs-or-am-I-doing-it-wring--tf3589782.html#a10032278
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-17 Thread Johan Compagner

What should that submit do?

Set the form to none visible and then also add an timer that redirects after
5 seconds?
Why not directly redirect? Do you want to show a none visible form for 5
seconds and then move on?

But do you add the parent of the form to the to render components? So that
the parent of the form
is now rerendered without the form?

johan


On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:


I'm not really familiar wih junit but I'm willing to do the test.

I just would like to be sure the perimeter I'm considering is valid in
Wicket.

In fact, I'm using an AjaxForm, meaning I got the submit through an
AjaxSubmitButton.

Then, on the onSubmit of the form, I try to do
- form.setVisible(false);
-  add(new AbstractAjaxTimerBehavior(Duration.seconds(5))
{
protected void onTimer(AjaxRequestTarget
target) {
setRedirect(true);
setResponsePage(WelcomePage.class
);
}
});

Should it be at least possible ?

If so, I'll do the junit test.

Cheers,
ZedroS

On 4/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 If you please could prepare a reproducable junit test for it and add
 it to JIRA, we can fix it and keep it fixed.

 Eelco


 On 4/12/07, ZedroS [EMAIL PROTECTED] wrote:
 
  Hi
 
  I'm now on 1.3 and I've tried to use setVisible inside a form onSubmit
and
  it doesn't work...
 
  I've tried many syntaxes, like :
  @Override
  public void onSubmit() {
  this.setVisible(false);
  setVisible(false);
  }
 
  I even made the form as an attribut of the page class, using then :
  @Override
  public void onSubmit() {
  form.setVisible(false);
  }
 
  but it doesn't work.
 
  I've as well noticed that my AjaxIndicator doesn't work anymore...
 
  Do you have a clue what's going on ?
 
  BR
  ZedroS
 
  ZedroS wrote:
  
   Hi
  
   Thanks for your answer.
  
   That's what I had done but I wondered whether there would be a
better way.
  
   1.3 looks even further interesting I see ;)
  
   Cheers
   ZedroS
  
   On 4/4/07, Johan Compagner [EMAIL PROTECTED] wrote:
   in 1.2 you need to work around it by having a component.
  
   in 1.3 this is fixed and it will work on a page.
  
   johan
  
  
   On 4/4/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
   
I use wicket 1.2.5...
   
How shall I do ?
   
Thanks in advance
ZedroS
   
   
  
-
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
  
  
 
  --
  View this message in context:
http://www.nabble.com/AbstractAjaxTimerBehavior-on-a-page-not-possible---tf3524910.html#a9958833
  Sent from the Wicket - User mailing list archive at Nabble.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
 


-
 Take Surveys. Earn Cash. Influence the Future of IT
 Join 

Re: [Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread Johan Compagner

We never generate hosts in the url
in wicket 1.3 we even never generate a absolute url (all urls are relative)

and you do have the  it is just escaped that should work fine i believe

johan


On 4/17/07, John RDF [EMAIL PROTECTED] wrote:



In my app I need to leave wicket temporarily to detour to another site and
then come back to a page in my wicket app. I used the following code to
generate the return URL but it seems to generate an incomplete URL with
some
illegal characters in it also..

String returnURL = urlFor(getPageMap(), Score.class, new
PageParameters(applicantCheckId= + applicantCheckId)).toString();

Produces..

/quickstart/app?wicket:bookmarkablePage=:
com.rdf.datacol.tenantchecker.presentation.performcheck.Scoreamp
;applicantCheckId=21

Which has no host and amp; in it which prevents the link from working.

How should I be generating a complete and valid link back to a wicket
page?
--
View this message in context:
http://www.nabble.com/Wicket-generating-invalid-URLs-or-am-I-doing-it-wring--tf3589782.html#a10032278
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Issue with redirection to intro page after logout

2007-04-17 Thread Johan Compagner

No that is not possible in wicket. We don;'t generate full paths.
You have to do that yourself, wicket can't do that because we can be behind
proxies
or being virtual hosted.

So you must configure somewhere what your hostname:port:/contextpath is
and prepend that.


johan


On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:


Hi all

I've been struggling for a few hours to do a redirection after a logout.

I've looked at many places, including this one :

http://www.nabble.com/how-to-display-login-page-after-logout--tf2135329.html#a5892867

However, nothing works.

Indeed, my line urlFor(IntroPage.class, null).toString() ; returns
../public/IntroPage and not the full path
http://localhost:8080/test/app/public/IntroPage;.

I didn't find a way to grab the full path, but clearly I'm missing
something. Could you please show me what.

Thanks in advance
ZedroS

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF

Thanks for your quick reply Johan.

I have worked out to avoid the escaping prob.. 

Now just how do I get the original request to find out the host I am running
on? As this has to run in multiple environments I do not want to hard code
the host.. I was expecting to be able to get the original request through
the RequestCycle or similar but can't find it..

John


Johan Compagner wrote:
 
 We never generate hosts in the url
 in wicket 1.3 we even never generate a absolute url (all urls are
 relative)
 
 and you do have the  it is just escaped that should work fine i believe
 
 johan
 
 
 On 4/17/07, John RDF [EMAIL PROTECTED] wrote:


 In my app I need to leave wicket temporarily to detour to another site
 and
 then come back to a page in my wicket app. I used the following code to
 generate the return URL but it seems to generate an incomplete URL with
 some
 illegal characters in it also..

 String returnURL = urlFor(getPageMap(), Score.class, new
 PageParameters(applicantCheckId= + applicantCheckId)).toString();

 Produces..

 /quickstart/app?wicket:bookmarkablePage=:
 com.rdf.datacol.tenantchecker.presentation.performcheck.Scoreamp
 ;applicantCheckId=21

 Which has no host and amp; in it which prevents the link from working.

 How should I be generating a complete and valid link back to a wicket
 page?
 --
 View this message in context:
 http://www.nabble.com/Wicket-generating-invalid-URLs-or-am-I-doing-it-wring--tf3589782.html#a10032278
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Wicket-generating-invalid-URLs-or-am-I-doing-it-wring--tf3589782.html#a10033146
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF

Very sorry. My IDE was being weird. It is there in the RequestCycle.. Oops..


John RDF wrote:
 
 Thanks for your quick reply Johan.
 
 I have worked out to avoid the escaping prob.. 
 
 Now just how do I get the original request to find out the host I am
 running on? As this has to run in multiple environments I do not want to
 hard code the host.. I was expecting to be able to get the original
 request through the RequestCycle or similar but can't find it..
 
 John
 
 
 Johan Compagner wrote:
 
 We never generate hosts in the url
 in wicket 1.3 we even never generate a absolute url (all urls are
 relative)
 
 and you do have the  it is just escaped that should work fine i believe
 
 johan
 
 
 On 4/17/07, John RDF [EMAIL PROTECTED] wrote:


 In my app I need to leave wicket temporarily to detour to another site
 and
 then come back to a page in my wicket app. I used the following code to
 generate the return URL but it seems to generate an incomplete URL with
 some
 illegal characters in it also..

 String returnURL = urlFor(getPageMap(), Score.class, new
 PageParameters(applicantCheckId= + applicantCheckId)).toString();

 Produces..

 /quickstart/app?wicket:bookmarkablePage=:
 com.rdf.datacol.tenantchecker.presentation.performcheck.Scoreamp
 ;applicantCheckId=21

 Which has no host and amp; in it which prevents the link from working.

 How should I be generating a complete and valid link back to a wicket
 page?
 --
 View this message in context:
 http://www.nabble.com/Wicket-generating-invalid-URLs-or-am-I-doing-it-wring--tf3589782.html#a10032278
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Wicket-generating-invalid-URLs-or-am-I-doing-it-wring--tf3589782.html#a10033269
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket manager resources inside Javascript and Css files

2007-04-17 Thread Igor Vaynberg

then build the urls yourself and use packagedtexttemplate to preprocess the
javascript before you output it

we need better support for this, but its not there yet.

-igor


On 4/17/07, Paolo Di Tommaso [EMAIL PROTECTED] wrote:


Guys, the problem is another, lets recap:

I've a folder with a javascript, a css and some images. From both the css
and the javascript I references these images using a relative path. For
example in the css url( the-image-1.gif) and in the javascript file
image.src = 'the-image-2.gif'.

The css works fine instead the javascript image link is broke.

The problem is that a relative path in a CSS is relative to the location
of the css itself, so loading the css under the wicket
/resource/package.name.Class/ path it works fine.

BUT relative path in a javascript are relative to the page which loaded
the script NOT the script location, so the relative link will break!

Thanks, Paolo


On 4/16/07, Eelco Hillenius [EMAIL PROTECTED] wrote:

 On 4/16/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
  in wicket 1.2.3 we do not allow default access to packaged resources
 without
  explicitly adding a shared resource do we? i think that is the
 problem. his
  css is a shared resource, but everything alongside it is not. so this
 would
  for in 1.3 but not in 1.2.3.

 Duh! Indeed. I completely forgot about that.

 Eelco

 -

 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Issue with redirection to intro page after logout

2007-04-17 Thread ZedroS Schwart
Good to know that !

But isn't it surprising that a BookmarkablePageLink, when rendered in
the html page, is a full link and not a relative one ?

Furthermore, the relative link is given this way : ../URL. Is it
possible to have it without the .. ? Otherwise, as I see it for now,
I'll have to split the stuff or substring the path to get the full
url...

BTW, when having your answer, I'll update the wiki there :
http://cwiki.apache.org/WICKET/getting-a-url-for-display.html

If never you feel like doing it yourself, it would be a pleasure to read you !

Best regards
ZedroS

On 4/17/07, Johan Compagner [EMAIL PROTECTED] wrote:
 No that is not possible in wicket. We don;'t generate full paths.
 You have to do that yourself, wicket can't do that because we can be behind
 proxies
 or being virtual hosted.

 So you must configure somewhere what your hostname:port:/contextpath is
 and prepend that.


 johan



 On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 
  Hi all
 
  I've been struggling for a few hours to do a redirection after a logout.
 
  I've looked at many places, including this one :
 
 http://www.nabble.com/how-to-display-login-page-after-logout--tf2135329.html#a5892867
 
  However, nothing works.
 
  Indeed, my line urlFor(IntroPage.class, null).toString() ; returns
  ../public/IntroPage and not the full path
   http://localhost:8080/test/app/public/IntroPage;.
 
  I didn't find a way to grab the full path, but clearly I'm missing
  something. Could you please show me what.
 
  Thanks in advance
  ZedroS
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-17 Thread ZedroS Schwart
First of all, thanks for your answer.

Regarding this form, in fact it's the registration one. On successful
form filling (having check that the login is unique), I would like a
feedback message to be rendered saying Registration succesfull,
you'll be redirected to the login page in a few seconds.

Technically speaking, it means that, when the submit is ok, I want to
hide the form and add an ajax timer to redirect the page after a short
while.

I hide the form and add the timer in the onSubmit of my form.

Cheers,
ZedroS
On 4/17/07, Johan Compagner [EMAIL PROTECTED] wrote:
 What should that submit do?

 Set the form to none visible and then also add an timer that redirects after
 5 seconds?
 Why not directly redirect? Do you want to show a none visible form for 5
 seconds and then move on?

 But do you add the parent of the form to the to render components? So that
 the parent of the form
 is now rerendered without the form?

 johan



 On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
 
  I'm not really familiar wih junit but I'm willing to do the test.
 
  I just would like to be sure the perimeter I'm considering is valid in
 Wicket.
 
  In fact, I'm using an AjaxForm, meaning I got the submit through an
  AjaxSubmitButton.
 
  Then, on the onSubmit of the form, I try to do
  - form.setVisible(false);
  -  add(new
 AbstractAjaxTimerBehavior(Duration.seconds(5)) {
  protected void
 onTimer(AjaxRequestTarget target) {
 
 setRedirect(true);
 
 setResponsePage(WelcomePage.class);
  }
  });
 
  Should it be at least possible ?
 
  If so, I'll do the junit test.
 
  Cheers,
  ZedroS
 
  On 4/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
   If you please could prepare a reproducable junit test for it and add
   it to JIRA, we can fix it and keep it fixed.
  
   Eelco
  
  
   On 4/12/07, ZedroS [EMAIL PROTECTED] wrote:
   
Hi
   
I'm now on 1.3 and I've tried to use setVisible inside a form onSubmit
 and
it doesn't work...
   
I've tried many syntaxes, like :
@Override
public void onSubmit() {
this.setVisible(false);
setVisible(false);
}
   
I even made the form as an attribut of the page class, using then :
@Override
public void onSubmit() {
form.setVisible(false);
}
   
but it doesn't work.
   
I've as well noticed that my AjaxIndicator doesn't work anymore...
   
Do you have a clue what's going on ?
   
BR
ZedroS
   
ZedroS wrote:

 Hi

 Thanks for your answer.

 That's what I had done but I wondered whether there would be a
 better way.

 1.3 looks even further interesting I see ;)

 Cheers
 ZedroS

 On 4/4/07, Johan Compagner [EMAIL PROTECTED] wrote:
 in 1.2 you need to work around it by having a component.

 in 1.3 this is fixed and it will work on a page.

 johan


 On 4/4/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
 
  I use wicket 1.2.5...
 
  How shall I do ?
 
  Thanks in advance
  ZedroS
 
 

 -
  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


   
--
View this message in context:
 

Re: [Wicket-user] Listview listitem onchange

2007-04-17 Thread Robbert Vergeten

As far as I can tell he did not want to hide just all other textfields but
other form parts.
Oh and the nulled/duplicated id's is only if you forget to add
.setOutputMarkupId(*true*);
to the individual components within the listview... (like me)

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


why would all the ids be the same?

and why would you use the id. i would add a special class to the
textfields, and then using something like prototype do

onchange=hideothers(this);

function hideothers (t) {
  var textfields=$$(class:myclass); // or whatever prototype syntax is
  textfields.foreach(function(tf,i) { if (tf!=t) { tf.setstyle
(display:none;);}}
}

-igor


 On 4/17/07, Robbert Vergeten [EMAIL PROTECTED] wrote:

  Because id's will be all the same for a listview's generated textfields
 and you want to read out the value I suppose try using this in the event.
 script type=text/javascript
 function test(x){
  alert(x.value);
 }
 /script
 input type=text onchange=test(this)

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

  you should do this through javascript, it would be kinda insane to do
  a roundtrip in textfield.onchange to do something like this.
 
  -igor
 
 
  On 4/16/07, wicketmarsh [EMAIL PROTECTED]  wrote:
  
  
   Hi
  
   I am using Listview  to render a list of TextField.  I would like to
   add
   onchnage event on textfield so that any change in textfield value
   would make
   other components invisible which are  part the form.
  
   Inside the form I tried to access the children of listview component
   but it
   return null.
  
  
   thanks in advance.
   pradip
  
  
   --
   View this message in context: 
http://www.nabble.com/Listview-listitem-onchange-tf3588422.html#a10028153
  
   Sent from the Wicket - User mailing list archive at 
Nabble.comhttp://nabble.com/
   .
  
  
   -
  
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Spring integration question

2007-04-17 Thread nlif

Hi,

I am using Wicket 1.2.5 with the Wicket-Spring extension, but without the
annotation support (I am on JDK 1.4).
It seems there are two ways to integrate with Spring:

1) In my web.xml, to use the SpringWebApplicationFactory, and to define
MyWicketApplication as a bean in my Spring context XML.
2) Not to do any of the above, but make MyWicketApplication subclass of
SpringWebApplication. It then locates the Spring context in its
internalInit() method.

Both work, but here is my question:

If I do (2) then in my Application class I will provide getters for Services
obtained via Spring, and use the createSpringBeanProxy() method, with a
bean-name. This is lookup, not injection, but on the other hand, I get the
Serialization-Proxy. 

If I go with (1), then it makes sense to use the fact that the Application
instance is created by Spring, to also inject it with the Services: I just
provide setters. But then - how do I implement the getters so that they
return the proxies?

Thanks,
Naaman
-- 
View this message in context: 
http://www.nabble.com/Spring-integration-question-tf3590701.html#a10035142
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-17 Thread pwillemann

No I never get a stack trace.  Everything seems fine until the rows issue. 
I get the error listed in my last post and a copy of the html with the
rows line in red.  

I have used the quickstart and the Apress Wicket book as guides in my wicket
learning.If I want you to debug it in quickstart, how do I do it?  It is
currently a Netbeans project.  Do I post the entire project?  Are there
guidelines for this?  Thanks again





-- 
View this message in context: 
http://www.nabble.com/Wicket-%281.2.4%29-TabbedPanel-Guidance-Question-tf3587043.html#a10035153
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-17 Thread Igor Vaynberg

isolate the problem for me. i dont want any of the hibernate stuff, just
create a simple mock that returns some data. then post quickstart without
the libs in an attachment.

what wicket version are you using btw?

-igor


On 4/17/07, pwillemann [EMAIL PROTECTED] wrote:



No I never get a stack trace.  Everything seems fine until the rows
issue.
I get the error listed in my last post and a copy of the html with the
rows line in red.

I have used the quickstart and the Apress Wicket book as guides in my
wicket
learning.If I want you to debug it in quickstart, how do I do it?  It
is
currently a Netbeans project.  Do I post the entire project?  Are there
guidelines for this?  Thanks again





--
View this message in context:
http://www.nabble.com/Wicket-%281.2.4%29-TabbedPanel-Guidance-Question-tf3587043.html#a10035153
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Listview listitem onchange

2007-04-17 Thread wicketmarsh

I have address component added to form . this addresscompoent has address
details field.
onchange of listview's  textbox I want to hide the address component.
since address component has only wicket id and it is not html element ,
how do i  access  this address compoent inside the script ?

thanks.

regards
pradip


Robbert Vergeten wrote:
 
 As far as I can tell he did not want to hide just all other textfields but
 other form parts.
 Oh and the nulled/duplicated id's is only if you forget to add
 .setOutputMarkupId(*true*);
 to the individual components within the listview... (like me)
 
 On 4/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote:

 why would all the ids be the same?

 and why would you use the id. i would add a special class to the
 textfields, and then using something like prototype do

 onchange=hideothers(this);

 function hideothers (t) {
   var textfields=$$(class:myclass); // or whatever prototype syntax is
   textfields.foreach(function(tf,i) { if (tf!=t) { tf.setstyle
 (display:none;);}}
 }

 -igor


  On 4/17/07, Robbert Vergeten [EMAIL PROTECTED] wrote:

   Because id's will be all the same for a listview's generated
 textfields
  and you want to read out the value I suppose try using this in the
 event.
  script type=text/javascript
  function test(x){
   alert(x.value);
  }
  /script
  input type=text onchange=test(this)
 
   On 4/17/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 
   you should do this through javascript, it would be kinda insane to do
   a roundtrip in textfield.onchange to do something like this.
  
   -igor
  
  
   On 4/16/07, wicketmarsh [EMAIL PROTECTED]  wrote:
   
   
Hi
   
I am using Listview  to render a list of TextField.  I would like
 to
add
onchnage event on textfield so that any change in textfield value
would make
other components invisible which are  part the form.
   
Inside the form I tried to access the children of listview
 component
but it
return null.
   
   
thanks in advance.
pradip
   
   
--
View this message in context:
 http://www.nabble.com/Listview-listitem-onchange-tf3588422.html#a10028153
   
Sent from the Wicket - User mailing list archive at
 Nabble.comhttp://nabble.com/
.
   
   
   
 -
   
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Listview-listitem-onchange-tf3588422.html#a10037362
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 

[Wicket-user] wicket-contrib-tinymce

2007-04-17 Thread Mats Norén
Is there JIRA for wicket-contrib-tinymce?
I was thinking about adding a patch for the
https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-tinymce/
so that it uses 1.3.0-incubating-SNAPSHOT instead of wicket 1.2.4...

/Regards Mats

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Listview listitem onchange

2007-04-17 Thread Igor Vaynberg

however/whatever he wants to do it needs to be done on the client. having a
roundtrip to the server will not really work for something like this.

-igor


On 4/17/07, wicketmarsh [EMAIL PROTECTED] wrote:



I have address component added to form . this addresscompoent has address
details field.
onchange of listview's  textbox I want to hide the address component.
since address component has only wicket id and it is not html element ,
how do i  access  this address compoent inside the script ?

thanks.

regards
pradip


Robbert Vergeten wrote:

 As far as I can tell he did not want to hide just all other textfields
but
 other form parts.
 Oh and the nulled/duplicated id's is only if you forget to add
 .setOutputMarkupId(*true*);
 to the individual components within the listview... (like me)

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

 why would all the ids be the same?

 and why would you use the id. i would add a special class to the
 textfields, and then using something like prototype do

 onchange=hideothers(this);

 function hideothers (t) {
   var textfields=$$(class:myclass); // or whatever prototype syntax is
   textfields.foreach(function(tf,i) { if (tf!=t) { tf.setstyle
 (display:none;);}}
 }

 -igor


  On 4/17/07, Robbert Vergeten [EMAIL PROTECTED] wrote:

   Because id's will be all the same for a listview's generated
 textfields
  and you want to read out the value I suppose try using this in the
 event.
  script type=text/javascript
  function test(x){
   alert(x.value);
  }
  /script
  input type=text onchange=test(this)
 
   On 4/17/07, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 
   you should do this through javascript, it would be kinda insane to
do
   a roundtrip in textfield.onchange to do something like this.
  
   -igor
  
  
   On 4/16/07, wicketmarsh [EMAIL PROTECTED]  wrote:
   
   
Hi
   
I am using Listview  to render a list of TextField.  I would like
 to
add
onchnage event on textfield so that any change in textfield value
would make
other components invisible which are  part the form.
   
Inside the form I tried to access the children of listview
 component
but it
return null.
   
   
thanks in advance.
pradip
   
   
--
View this message in context:

http://www.nabble.com/Listview-listitem-onchange-tf3588422.html#a10028153
   
Sent from the Wicket - User mailing list archive at
 Nabble.comhttp://nabble.com/
.
   
   
   

-
   
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
  
  

-
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
 

-
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
View this message in context:
http://www.nabble.com/Listview-listitem-onchange-tf3588422.html#a10037362
Sent from the Wicket - User mailing 

Re: [Wicket-user] wicket-contrib-tinymce

2007-04-17 Thread Igor Vaynberg

it is the wicketstuff jira

eelco is smoking crack again

-igor


On 4/17/07, Mats Norén [EMAIL PROTECTED] wrote:


Ah, I thought it was http://wicketstuff.org/jira

Is there a reason for the two separate issuetrackers?

/Regards Mats

On 4/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Formally: http://sourceforge.net/tracker/?group_id=134391.

 Eelco


 On 4/17/07, Mats Norén [EMAIL PROTECTED] wrote:
  Is there JIRA for wicket-contrib-tinymce?
  I was thinking about adding a patch for the
 
https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-tinymce/
  so that it uses 1.3.0-incubating-SNAPSHOT instead of wicket 1.2.4...
 
  /Regards Mats
 
 
-
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Problem with TinyMCE on a panel

2007-04-17 Thread Igor Vaynberg

lulian could you please sign up for wicketstuff.org/jira so i can set you as
the lead for wicket contrib tinymce

thanks

-igor


On 4/11/07, Iulian Costan [EMAIL PROTECTED] wrote:


hi,

there is an already known issue related to this; tinymce's JS/CSS imports
are lost if there is any AJAX request involved. it is on my TODO list but
unfortunately i  couldnt put my hands on it. i'll try to do it this weekend.


/iulian

On 4/11/07, Brian Topping [EMAIL PROTECTED] wrote:

 Hi all,

 I've been trying to get TinyMCE to display on a panel and haven't
 been having much luck.  I've seen it work if it's not on a panel, but
 my guess is when the panel is loaded and the contents of the panel
 are patched up in the DOM, the patches that TinyMCE made are lost.

 I talked to Igor about this one night on IRC and he suggested using a
 behavior, overriding iHeaderResponse.renderOnDomReadyJavascript() to
 call tinyMCE.init.  That all seems like it should work, but alas, it
 does not.

 If it weren't for plugging at this off and on for two weeks, I'd keep
 chugging, but I'm afraid I don't know enough to debug this.

 So if you choose to accept it, the mission is to download http://
 tetsuko.autoscraper.com/files/testTCE.tgz and see if anything looks
 out of place.  It's a large file only because it's got TinyMCE
 preloaded... there's only about 140 lines of code there.

 Any thoughts, information, RTFM, etc are gratefully accepted.  Thanks!

 Brian

 -

 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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-contrib-tinymce

2007-04-17 Thread Mats Norén
:)

btw, thanks for adding the tinymce project.

/Mats

On 4/17/07, Igor Vaynberg [EMAIL PROTECTED] wrote:
 it is the wicketstuff jira

 eelco is smoking crack again

 -igor



 On 4/17/07, Mats Norén [EMAIL PROTECTED]  wrote:
  Ah, I thought it was http://wicketstuff.org/jira
 
  Is there a reason for the two separate issuetrackers?
 
  /Regards Mats
 
  On 4/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
   Formally:
 http://sourceforge.net/tracker/?group_id=134391.
  
   Eelco
  
  
   On 4/17/07, Mats Norén  [EMAIL PROTECTED] wrote:
Is there JIRA for wicket-contrib-tinymce?
I was thinking about adding a patch for the
   
 https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-tinymce/
so that it uses 1.3.0-incubating-SNAPSHOT instead of wicket 1.2.4...
   
/Regards Mats
   
   
 -
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   
 https://lists.sourceforge.net/lists/listinfo/wicket-user
   
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
  
 https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Spring integration question

2007-04-17 Thread Igor Vaynberg

On 4/17/07, nlif [EMAIL PROTECTED] wrote:




If I go with (1), then it makes sense to use the fact that the Application
instance is created by Spring, to also inject it with the Services: I just
provide setters. But then - how do I implement the getters so that they
return the proxies?



then you cannot create proxies. the proxy needs the information needed to
lookup the bean from the context, which a returned bean does not possess. so
you have to be very careful not to keep references to those spring-injected
beans anywhere in your components like the wiki page explains.

-igor



Thanks,

Naaman
--
View this message in context:
http://www.nabble.com/Spring-integration-question-tf3590701.html#a10035142
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-contrib-tinymce

2007-04-17 Thread Eelco Hillenius
 it is the wicketstuff jira

 eelco is smoking crack again

I should've listened to my mom's warnings about that.

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-17 Thread John Krasnay
I see. In that case, you could just render the following script along
with your Registration Successful panel:

script type=text/javascript
window.setTimeout('window.location=/welcome', 5000);
/script

jk

On Tue, Apr 17, 2007 at 02:50:33PM +0200, ZedroS Schwart wrote:
 As it's on the page where the registration form is presented, I would
 have to update the page with this meta after successful submit, is
 that correct ? If so, is it possible to update the meta through ajax ?
 
 Thanks again
 ZedroS
 
 On 4/17/07, John Krasnay [EMAIL PROTECTED] wrote:
  How about doing this the old-fashioned way?
 
  meta http-equiv=refresh content=5;url=/welcome
 
  jk
 
 
  On Tue, Apr 17, 2007 at 02:16:57PM +0200, ZedroS Schwart wrote:
   First of all, thanks for your answer.
  
   Regarding this form, in fact it's the registration one. On successful
   form filling (having check that the login is unique), I would like a
   feedback message to be rendered saying Registration succesfull,
   you'll be redirected to the login page in a few seconds.
  
   Technically speaking, it means that, when the submit is ok, I want to
   hide the form and add an ajax timer to redirect the page after a short
   while.
  
   I hide the form and add the timer in the onSubmit of my form.
  
   Cheers,
   ZedroS
   On 4/17/07, Johan Compagner [EMAIL PROTECTED] wrote:
What should that submit do?
   
Set the form to none visible and then also add an timer that redirects 
after
5 seconds?
Why not directly redirect? Do you want to show a none visible form for 5
seconds and then move on?
   
But do you add the parent of the form to the to render components? So 
that
the parent of the form
is now rerendered without the form?
   
johan
   
   
   
On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:

 I'm not really familiar wih junit but I'm willing to do the test.

 I just would like to be sure the perimeter I'm considering is valid in
Wicket.

 In fact, I'm using an AjaxForm, meaning I got the submit through an
 AjaxSubmitButton.

 Then, on the onSubmit of the form, I try to do
 - form.setVisible(false);
 -  add(new
AbstractAjaxTimerBehavior(Duration.seconds(5)) {
 protected void
onTimer(AjaxRequestTarget target) {

setRedirect(true);

setResponsePage(WelcomePage.class);
 }
 });

 Should it be at least possible ?

 If so, I'll do the junit test.

 Cheers,
 ZedroS

 On 4/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
  If you please could prepare a reproducable junit test for it and add
  it to JIRA, we can fix it and keep it fixed.
 
  Eelco
 
 
  On 4/12/07, ZedroS [EMAIL PROTECTED] wrote:
  
   Hi
  
   I'm now on 1.3 and I've tried to use setVisible inside a form 
   onSubmit
and
   it doesn't work...
  
   I've tried many syntaxes, like :
   @Override
   public void onSubmit() {
   this.setVisible(false);
   setVisible(false);
   }
  
   I even made the form as an attribut of the page class, using then 
   :
   @Override
   public void onSubmit() {
   form.setVisible(false);
   }
  
   but it doesn't work.
  
   I've as well noticed that my AjaxIndicator doesn't work anymore...
  
   Do you have a clue what's going on ?
  
   BR
   ZedroS
  
   ZedroS wrote:
   
Hi
   
Thanks for your answer.
   
That's what I had done but I wondered whether there would be a
better way.
   
1.3 looks even further interesting I see ;)
   
Cheers
ZedroS
   
On 4/4/07, Johan Compagner [EMAIL PROTECTED] wrote:
in 1.2 you need to work around it by having a component.
   
in 1.3 this is fixed and it will work on a page.
   
johan
   
   
On 4/4/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:

 I use wicket 1.2.5...

 How shall I do ?

 Thanks in advance
 ZedroS


   
-
 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] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-17 Thread ZedroS Schwart
As it's on the page where the registration form is presented, I would
have to update the page with this meta after successful submit, is
that correct ? If so, is it possible to update the meta through ajax ?

Thanks again
ZedroS

On 4/17/07, John Krasnay [EMAIL PROTECTED] wrote:
 How about doing this the old-fashioned way?

 meta http-equiv=refresh content=5;url=/welcome

 jk


 On Tue, Apr 17, 2007 at 02:16:57PM +0200, ZedroS Schwart wrote:
  First of all, thanks for your answer.
 
  Regarding this form, in fact it's the registration one. On successful
  form filling (having check that the login is unique), I would like a
  feedback message to be rendered saying Registration succesfull,
  you'll be redirected to the login page in a few seconds.
 
  Technically speaking, it means that, when the submit is ok, I want to
  hide the form and add an ajax timer to redirect the page after a short
  while.
 
  I hide the form and add the timer in the onSubmit of my form.
 
  Cheers,
  ZedroS
  On 4/17/07, Johan Compagner [EMAIL PROTECTED] wrote:
   What should that submit do?
  
   Set the form to none visible and then also add an timer that redirects 
   after
   5 seconds?
   Why not directly redirect? Do you want to show a none visible form for 5
   seconds and then move on?
  
   But do you add the parent of the form to the to render components? So that
   the parent of the form
   is now rerendered without the form?
  
   johan
  
  
  
   On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
   
I'm not really familiar wih junit but I'm willing to do the test.
   
I just would like to be sure the perimeter I'm considering is valid in
   Wicket.
   
In fact, I'm using an AjaxForm, meaning I got the submit through an
AjaxSubmitButton.
   
Then, on the onSubmit of the form, I try to do
- form.setVisible(false);
-  add(new
   AbstractAjaxTimerBehavior(Duration.seconds(5)) {
protected void
   onTimer(AjaxRequestTarget target) {
   
   setRedirect(true);
   
   setResponsePage(WelcomePage.class);
}
});
   
Should it be at least possible ?
   
If so, I'll do the junit test.
   
Cheers,
ZedroS
   
On 4/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 If you please could prepare a reproducable junit test for it and add
 it to JIRA, we can fix it and keep it fixed.

 Eelco


 On 4/12/07, ZedroS [EMAIL PROTECTED] wrote:
 
  Hi
 
  I'm now on 1.3 and I've tried to use setVisible inside a form 
  onSubmit
   and
  it doesn't work...
 
  I've tried many syntaxes, like :
  @Override
  public void onSubmit() {
  this.setVisible(false);
  setVisible(false);
  }
 
  I even made the form as an attribut of the page class, using then :
  @Override
  public void onSubmit() {
  form.setVisible(false);
  }
 
  but it doesn't work.
 
  I've as well noticed that my AjaxIndicator doesn't work anymore...
 
  Do you have a clue what's going on ?
 
  BR
  ZedroS
 
  ZedroS wrote:
  
   Hi
  
   Thanks for your answer.
  
   That's what I had done but I wondered whether there would be a
   better way.
  
   1.3 looks even further interesting I see ;)
  
   Cheers
   ZedroS
  
   On 4/4/07, Johan Compagner [EMAIL PROTECTED] wrote:
   in 1.2 you need to work around it by having a component.
  
   in 1.3 this is fixed and it will work on a page.
  
   johan
  
  
   On 4/4/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
   
I use wicket 1.2.5...
   
How shall I do ?
   
Thanks in advance
ZedroS
   
   
  
   -
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] AbstractAjaxTimerBehavior on a page not possible ?

2007-04-17 Thread John Krasnay
How about doing this the old-fashioned way?

meta http-equiv=refresh content=5;url=/welcome

jk


On Tue, Apr 17, 2007 at 02:16:57PM +0200, ZedroS Schwart wrote:
 First of all, thanks for your answer.
 
 Regarding this form, in fact it's the registration one. On successful
 form filling (having check that the login is unique), I would like a
 feedback message to be rendered saying Registration succesfull,
 you'll be redirected to the login page in a few seconds.
 
 Technically speaking, it means that, when the submit is ok, I want to
 hide the form and add an ajax timer to redirect the page after a short
 while.
 
 I hide the form and add the timer in the onSubmit of my form.
 
 Cheers,
 ZedroS
 On 4/17/07, Johan Compagner [EMAIL PROTECTED] wrote:
  What should that submit do?
 
  Set the form to none visible and then also add an timer that redirects after
  5 seconds?
  Why not directly redirect? Do you want to show a none visible form for 5
  seconds and then move on?
 
  But do you add the parent of the form to the to render components? So that
  the parent of the form
  is now rerendered without the form?
 
  johan
 
 
 
  On 4/17/07, ZedroS Schwart [EMAIL PROTECTED] wrote:
  
   I'm not really familiar wih junit but I'm willing to do the test.
  
   I just would like to be sure the perimeter I'm considering is valid in
  Wicket.
  
   In fact, I'm using an AjaxForm, meaning I got the submit through an
   AjaxSubmitButton.
  
   Then, on the onSubmit of the form, I try to do
   - form.setVisible(false);
   -  add(new
  AbstractAjaxTimerBehavior(Duration.seconds(5)) {
   protected void
  onTimer(AjaxRequestTarget target) {
  
  setRedirect(true);
  
  setResponsePage(WelcomePage.class);
   }
   });
  
   Should it be at least possible ?
  
   If so, I'll do the junit test.
  
   Cheers,
   ZedroS
  
   On 4/14/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
If you please could prepare a reproducable junit test for it and add
it to JIRA, we can fix it and keep it fixed.
   
Eelco
   
   
On 4/12/07, ZedroS [EMAIL PROTECTED] wrote:

 Hi

 I'm now on 1.3 and I've tried to use setVisible inside a form onSubmit
  and
 it doesn't work...

 I've tried many syntaxes, like :
 @Override
 public void onSubmit() {
 this.setVisible(false);
 setVisible(false);
 }

 I even made the form as an attribut of the page class, using then :
 @Override
 public void onSubmit() {
 form.setVisible(false);
 }

 but it doesn't work.

 I've as well noticed that my AjaxIndicator doesn't work anymore...

 Do you have a clue what's going on ?

 BR
 ZedroS

 ZedroS wrote:
 
  Hi
 
  Thanks for your answer.
 
  That's what I had done but I wondered whether there would be a
  better way.
 
  1.3 looks even further interesting I see ;)
 
  Cheers
  ZedroS
 
  On 4/4/07, Johan Compagner [EMAIL PROTECTED] wrote:
  in 1.2 you need to work around it by having a component.
 
  in 1.3 this is fixed and it will work on a page.
 
  johan
 
 
  On 4/4/07, ZedroS Schwart  [EMAIL PROTECTED] wrote:
  
   I use wicket 1.2.5...
  
   How shall I do ?
  
   Thanks in advance
   ZedroS
  
  
 
  -
   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
 
  

Re: [Wicket-user] Wicket generating invalid URLs or am I doing it wring?

2007-04-17 Thread John RDF

Well it is there and the java doc says it returns an absolute URL but it
doesn't only the path info. So my quest continues..

Where do I get the original http servlet request so I can find the host etc?

Anyone?



John RDF wrote:
 
 Very sorry. My IDE was being weird. It is there in the RequestCycle..
 Oops..
 
 
 John RDF wrote:
 
 Thanks for your quick reply Johan.
 
 I have worked out to avoid the escaping prob.. 
 
 Now just how do I get the original request to find out the host I am
 running on? As this has to run in multiple environments I do not want to
 hard code the host.. I was expecting to be able to get the original
 request through the RequestCycle or similar but can't find it..
 
 John
 
 
 Johan Compagner wrote:
 
 We never generate hosts in the url
 in wicket 1.3 we even never generate a absolute url (all urls are
 relative)
 
 and you do have the  it is just escaped that should work fine i believe
 
 johan
 
 
 On 4/17/07, John RDF [EMAIL PROTECTED] wrote:


 In my app I need to leave wicket temporarily to detour to another site
 and
 then come back to a page in my wicket app. I used the following code to
 generate the return URL but it seems to generate an incomplete URL with
 some
 illegal characters in it also..

 String returnURL = urlFor(getPageMap(), Score.class, new
 PageParameters(applicantCheckId= + applicantCheckId)).toString();

 Produces..

 /quickstart/app?wicket:bookmarkablePage=:
 com.rdf.datacol.tenantchecker.presentation.performcheck.Scoreamp
 ;applicantCheckId=21

 Which has no host and amp; in it which prevents the link from working.

 How should I be generating a complete and valid link back to a wicket
 page?
 --
 View this message in context:
 http://www.nabble.com/Wicket-generating-invalid-URLs-or-am-I-doing-it-wring--tf3589782.html#a10032278
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user

 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Wicket-generating-invalid-URLs-or-am-I-doing-it-wring--tf3589782.html#a10033447
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-contrib-tinymce

2007-04-17 Thread Mats Norén
Ah, I thought it was http://wicketstuff.org/jira

Is there a reason for the two separate issuetrackers?

/Regards Mats

On 4/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Formally: http://sourceforge.net/tracker/?group_id=134391.

 Eelco


 On 4/17/07, Mats Norén [EMAIL PROTECTED] wrote:
  Is there JIRA for wicket-contrib-tinymce?
  I was thinking about adding a patch for the
  https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-tinymce/
  so that it uses 1.3.0-incubating-SNAPSHOT instead of wicket 1.2.4...
 
  /Regards Mats
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-contrib-tinymce

2007-04-17 Thread Eelco Hillenius
Formally: http://sourceforge.net/tracker/?group_id=134391.

Eelco


On 4/17/07, Mats Norén [EMAIL PROTECTED] wrote:
 Is there JIRA for wicket-contrib-tinymce?
 I was thinking about adding a patch for the
 https://svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.3/wicket-contrib-tinymce/
 so that it uses 1.3.0-incubating-SNAPSHOT instead of wicket 1.2.4...

 /Regards Mats

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket Examples/signin - username password fields rendered as if they are in different size in IE 6; looks fine in Firefox

2007-04-17 Thread Tony Fu

This is really annoying. Is there any way to fix it?
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Testing an External SubmitLink

2007-04-17 Thread Joe Brunner

Hello,

I originally noticed the problem with wicket version 1.2.5 and have since
reproduced the problem with the latest wicket 1.3 snapshot.  Thank you for
your quick response.  I have opened JIRA issue  WICKET-478 to address the
problem.

Thanks again,
Joe Brunner


Jean-Baptiste Quenot-3 wrote:
 
 * Joe Brunner:
 
 I'm  attempting to  test  a panel  that  contains a  SubmitLink.
 However, the WicketTester.clickLink()  method does not recognize
 the SubmitLink.

 When I run the test, I get a stack trace stating:

 wicket.WicketRuntimeException: Link  testpanel:graph  is  not  a
 Link, AjaxLink, AjaxFallbackLink or AjaxSubmitLink

 In  case  it  matters,  the   SubmitLink  is  outside  the  form
 heirarchy, taking the form as a constructor parameter.  Is there
 a method for testing a SubmitLink that I am unaware of?
 
 Hi Joe,
 
 Is it the current Wicket?  If not, can you test with a recent 1.3
 snapshot, otherwise can you file a JIRA issue?
 -- 
  Jean-Baptiste Quenot
 aka  John Banana   Qwerty
 http://caraldi.com/jbq/
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Testing-an-External-SubmitLink-tf3573171.html#a10045709
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Examples/signin - username password fields rendered as if they are in different size in IE 6; looks fine in Firefox

2007-04-17 Thread Igor Vaynberg

you can try setting style=width:400px; or something. i do remember
encountering that a while back on IE, it is quiet annoying.

-igor


On 4/17/07, Tony Fu [EMAIL PROTECTED] wrote:


This is really annoying. Is there any way to fix it?
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket performance

2007-04-17 Thread Alexey Maksimov
Hi folks.

I found a comment by Jonathan Locke claiming that Wicket is 17.4%
faster than tapestry.
From my local tests on simple 'hello world' applications on tomcat,
I got results showing that tapestry 4.0 is approximately 60% faster
than wicket 1.2.5.

Where can I get details of those benchmarks?
Maybe I missed option like 'wicket-speed = 2x'? ;-)

I'm quite new to wicket and I like the concept.
However I'm going to build an application that serves many clients at
once, so I think performance matters. Is it possible to create
a large scalable application with wicket?

Thanks.

Best regards,
Alex.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-17 Thread Matej Knopp
Well, has it occurred to you that hello world might not be the best
test-case for a benchmark?

-Matej

On 4/17/07, Alexey Maksimov [EMAIL PROTECTED] wrote:
 Hi folks.

 I found a comment by Jonathan Locke claiming that Wicket is 17.4%
 faster than tapestry.
 From my local tests on simple 'hello world' applications on tomcat,
 I got results showing that tapestry 4.0 is approximately 60% faster
 than wicket 1.2.5.

 Where can I get details of those benchmarks?
 Maybe I missed option like 'wicket-speed = 2x'? ;-)

 I'm quite new to wicket and I like the concept.
 However I'm going to build an application that serves many clients at
 once, so I think performance matters. Is it possible to create
 a large scalable application with wicket?

 Thanks.

 Best regards,
 Alex.

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-17 Thread Shailendra Pandey

Hi every one,
I am using wicket for past few months now. And the initial troubles have
started coming. One of them is my needs to choose to add or not add
components when page is being rendered. But as wicket forces me to have a
component added for every wicket:id and wicket:id for every component added
; THE ONLY way I could realise this was using WebMarkupContainer to insert
markup  of whatever component i want based on if a certain condition is true
.
Is there any way the framework supports this?? Like a text field i add to
the page on a certain condition...
Thanks
Atul
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-17 Thread Matej Knopp
There are multiple solution for this.

Either dynamically change visibility of the components, or add
WebMarkupContainer instead of the component as placeholder. Or use
some kind of repeater (ListView, RepeatingView, ...).

Also you can group the components to a panel and then just switch
panels, the possibilities are numerous.

-Matej

On 4/17/07, Shailendra Pandey [EMAIL PROTECTED] wrote:
 Hi every one,
 I am using wicket for past few months now. And the initial troubles have
 started coming. One of them is my needs to choose to add or not add
 components when page is being rendered. But as wicket forces me to have a
 component added for every wicket:id and wicket:id for every component added
 ; THE ONLY way I could realise this was using WebMarkupContainer to insert
 markup  of whatever component i want based on if a certain condition is true
 .
 Is there any way the framework supports this?? Like a text field i add to
 the page on a certain condition...
 Thanks
 Atul

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-17 Thread Eelco Hillenius
 I found a comment by Jonathan Locke claiming that Wicket is 17.4%
 faster than tapestry.
 From my local tests on simple 'hello world' applications on tomcat,
 I got results showing that tapestry 4.0 is approximately 60% faster
 than wicket 1.2.5.

 Where can I get details of those benchmarks?
 Maybe I missed option like 'wicket-speed = 2x'? ;-)

https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/branches/wicket-1.x/wicket-benchmark

 I'm quite new to wicket and I like the concept.
 However I'm going to build an application that serves many clients at
 once, so I think performance matters.

Imo, you should take any of these benchmarks with a big grain of salt.
It all depends on your setup etc.

More importantly, regarless of how interesting these tests might look,
the web framework (unless you're using RoR or something) will *not* be
the determining factor in your performance and scalability (and please
note that scalability has not much to do with performance per se).
Your database layer is much more likely to be what breaks down when
your system will start receiving big load.

 Is it possible to create
 a large scalable application with wicket?

Sure. That's what we're using it for.

Best thing to do is test yourself. And I'd recommend you to use
something more useful than HelloWorld.

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-17 Thread Igor Vaynberg

On 4/17/07, Alexey Maksimov [EMAIL PROTECTED] wrote:


Hi folks.

I found a comment by Jonathan Locke claiming that Wicket is 17.4%
faster than tapestry.
From my local tests on simple 'hello world' applications on tomcat,
I got results showing that tapestry 4.0 is approximately 60% faster
than wicket 1.2.5.

Where can I get details of those benchmarks?



see here

http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/branches/wicket-1.x/wicket-benchmark/

it has a jmeter script that executes the benchmark.


Maybe I missed option like 'wicket-speed = 2x'? ;-)


maybe you missed the point. a servlet is probably the best solution for
building a helloworld webapp.

I'm quite new to wicket and I like the concept.


glad to hear it

However I'm going to build an application that serves many clients at

once, so I think performance matters. Is it possible to create
a large scalable application with wicket?



no it is not. wicket is only good for small hobby projects that hope to
serve at most five concurrent users.

-igor


Thanks.


Best regards,
Alex.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-17 Thread Eelco Hillenius
Yep. That's the way to do it. We still really should fetch up a
dynamic example for wicket-examples. Unfortunately, the last thread
about it seems to have died. It's not difficult. But it helps if you
see a couple of examples I guess.

Eelco


On 4/17/07, Matej Knopp [EMAIL PROTECTED] wrote:
 There are multiple solution for this.

 Either dynamically change visibility of the components, or add
 WebMarkupContainer instead of the component as placeholder. Or use
 some kind of repeater (ListView, RepeatingView, ...).

 Also you can group the components to a panel and then just switch
 panels, the possibilities are numerous.

 -Matej

 On 4/17/07, Shailendra Pandey [EMAIL PROTECTED] wrote:
  Hi every one,
  I am using wicket for past few months now. And the initial troubles have
  started coming. One of them is my needs to choose to add or not add
  components when page is being rendered. But as wicket forces me to have a
  component added for every wicket:id and wicket:id for every component added
  ; THE ONLY way I could realise this was using WebMarkupContainer to insert
  markup  of whatever component i want based on if a certain condition is true
  .
  Is there any way the framework supports this?? Like a text field i add to
  the page on a certain condition...
  Thanks
  Atul
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-17 Thread Shailendra Pandey

Yeah I got it,
I had been using the Webmarkupcontainer so much i din't check if there was a
visibility method, thanks!

One thing i would like to have just views upon.something which is not
clean for me is writing javascript when i use wicket, the ids I let
generated by wicket and then mix javascript every where -- the page, the
ajax target components;  Is there any plan to have something wrap up and
generate all the javascript needed by using java alonejust thinking out
loud!!!

On 4/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote:


Yep. That's the way to do it. We still really should fetch up a
dynamic example for wicket-examples. Unfortunately, the last thread
about it seems to have died. It's not difficult. But it helps if you
see a couple of examples I guess.

Eelco


On 4/17/07, Matej Knopp [EMAIL PROTECTED] wrote:
 There are multiple solution for this.

 Either dynamically change visibility of the components, or add
 WebMarkupContainer instead of the component as placeholder. Or use
 some kind of repeater (ListView, RepeatingView, ...).

 Also you can group the components to a panel and then just switch
 panels, the possibilities are numerous.

 -Matej

 On 4/17/07, Shailendra Pandey [EMAIL PROTECTED] wrote:
  Hi every one,
  I am using wicket for past few months now. And the initial troubles
have
  started coming. One of them is my needs to choose to add or not add
  components when page is being rendered. But as wicket forces me to
have a
  component added for every wicket:id and wicket:id for every component
added
  ; THE ONLY way I could realise this was using WebMarkupContainer to
insert
  markup  of whatever component i want based on if a certain condition
is true
  .
  Is there any way the framework supports this?? Like a text field i add
to
  the page on a certain condition...
  Thanks
  Atul
 
 
-
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 


-
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] 商业合作!

2007-04-17 Thread 苏小姐
您好!
   我是深圳市逸龙贸易有限公司的,我公司为税务机关授权代理开普通发票,
公司拥有多年专业的税务代理经验(全国各大中城市均有分公司)我司本着互
惠互利的原则,合理对外代开发票。
   代开范围:
   一、   增值税专用发票、商品销售发票、工业销售发票、加工修理发票;
   二、   运输业(公路内河运输、国际货运代理、装卸、联运、海运等);
   三、   建筑安装业;
   四、   其它服务业(广告费、住宿费、会议费、餐饮、咨询费等);
   五、   其它(租凭、行政事业专用、机动车销售、房地产交易、税务代开)等专用发票;
   
如贵公司在做账或进销存方面如需要用到的话,我司可提供全方面的服务。税点优惠具体费用按照开票的金额大小洽谈。我司郑重承诺!所用票据均可上网查询验证或税务局查证后付款!
欢迎来电咨询!
   
   联系人:苏小姐
   手机号码:13510773029
   [EMAIL PROTECTED]

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-17 Thread Igor Vaynberg

maybe this should be moved to a separate thread because it is waay off
topic

-igor


On 4/17/07, Shailendra Pandey [EMAIL PROTECTED] wrote:


Yeah I got it,
I had been using the Webmarkupcontainer so much i din't check if there was
a visibility method, thanks!

One thing i would like to have just views upon.something which is not
clean for me is writing javascript when i use wicket, the ids I let
generated by wicket and then mix javascript every where -- the page, the
ajax target components;  Is there any plan to have something wrap up and
generate all the javascript needed by using java alonejust thinking out
loud!!!

On 4/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote:

 Yep. That's the way to do it. We still really should fetch up a
 dynamic example for wicket-examples. Unfortunately, the last thread
 about it seems to have died. It's not difficult. But it helps if you
 see a couple of examples I guess.

 Eelco


 On 4/17/07, Matej Knopp [EMAIL PROTECTED] wrote:
  There are multiple solution for this.
 
  Either dynamically change visibility of the components, or add
  WebMarkupContainer instead of the component as placeholder. Or use
  some kind of repeater (ListView, RepeatingView, ...).
 
  Also you can group the components to a panel and then just switch
  panels, the possibilities are numerous.
 
  -Matej
 
  On 4/17/07, Shailendra Pandey [EMAIL PROTECTED] wrote:
   Hi every one,
   I am using wicket for past few months now. And the initial troubles
 have
   started coming. One of them is my needs to choose to add or not add
   components when page is being rendered. But as wicket forces me to
 have a
   component added for every wicket:id and wicket:id for every
 component added
   ; THE ONLY way I could realise this was using WebMarkupContainer to
 insert
   markup  of whatever component i want based on if a certain condition
 is true
   .
   Is there any way the framework supports this?? Like a text field i
 add to
   the page on a certain condition...
   Thanks
   Atul
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   Wicket-user mailing list
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
  
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -

 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket Examples/signin - username password fields rendered as if they are in different size in IE 6; looks fine in Firefox

2007-04-17 Thread tfu

Thanks a lot igor; it works like a charm:)


igor.vaynberg wrote:
 
 you can try setting style=width:400px; or something. i do remember
 encountering that a while back on IE, it is quiet annoying.
 
 -igor
 
 
 On 4/17/07, Tony Fu [EMAIL PROTECTED] wrote:

 This is really annoying. Is there any way to fix it?
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/Wicket-Examples-signin---username---password-fields-rendered-as-if-they-are-in-different-size-in-IE-6--looks-fine-in-Firefox-tf3596659.html#a10048456
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-17 Thread Eelco Hillenius
 Yeah I got it,
 I had been using the Webmarkupcontainer so much i din't check if there was a
 visibility method, thanks!

 One thing i would like to have just views upon.something which is not
 clean for me is writing javascript when i use wicket, the ids I let
 generated by wicket and then mix javascript every where -- the page, the
 ajax target components;  Is there any plan to have something wrap up and
 generate all the javascript needed by using java alonejust thinking out
 loud!!!

The key thing here is flexibility vs convenience. We choose for
flexbility with Javascript; we didn't want to pin users down on 'our'
way of doing things (and this turns out to be a good thing if you look
at the activity at the Dojo contribution project) but instead leave
the door open for any Javascript backing a user may wish.

However, there are certainly things to improve I'm sure. What we need
- besides more hours in a day - are good use cases, concrete idea on
how to support them, and someone(s) who take the lead and pull such an
effort. As you can see here
http://www.nabble.com/Wicket-%2B-java-%3Ejavascript-compiler--tf3517350.html#a9817636
none of the core committers have seen the light yet in what this would
look like. But ideas are welcome and always open for discussion. :)

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Pleas let me know whether i am correct about wicket

2007-04-17 Thread legolas wood
Hi
thank you for reading my post.
Please let me know whether i understand wicket correctly

-We can create our own components in java code (in compliance with 
Wicket interfaces and standards) and then use them to create web pages.
-Wicket let us create our web page in a swing like manner (No HTML, Just 
write java code and it will create html pages using those java codes.)
-We can build a complete web application using wicket without using any 
single page of HTML




Thanks.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Pleas let me know whether i am correct about wicket

2007-04-17 Thread Igor Vaynberg

On 4/17/07, legolas wood [EMAIL PROTECTED] wrote:


Hi
thank you for reading my post.
Please let me know whether i understand wicket correctly

-We can create our own components in java code (in compliance with
Wicket interfaces and standards) and then use them to create web pages.



yes

-Wicket let us create our web page in a swing like manner (No HTML, Just

write java code and it will create html pages using those java codes.)



no. in wicket you write html templates and marry them to your components. we
chose this way for many reasons. amongst them are: it is the most flexible
way as it gives you complete control of what goes into html, it lets
designers create mockups that are then easily reused to build the
application, etc, etc, etc, etc.

for frameworks that work like you want see ehco2, gwt, wingS. these
frameworks use layout managers like swing.

-We can build a complete web application using wicket without using any

single page of HTML



see above.

-igor


Thanks.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Pleas let me know whether i am correct about wicket

2007-04-17 Thread Eelco Hillenius
 -We can create our own components in java code (in compliance with
 Wicket interfaces and standards) and then use them to create web pages.
 -Wicket let us create our web page in a swing like manner (No HTML, Just
 write java code and it will create html pages using those java codes.)
 -We can build a complete web application using wicket without using any
 single page of HTML

Incorrect. I recommend you take a peek at the examples/ WIKI (aka RTFM).

Separation of logic and presentation is a key feature, and Wicket does
that by working on clean templates for the presentation and Java for
the logic. Nothing more, nothing less.

Read http://wicketframework.org/Vision.html and note it was designed
to solve one very specific problem well: enabling component-oriented,
programmatic manipulation of markup .

If you want a pure Swing approach, you're probably best of using Echo
or GWT, which use layout managers rather than markup files.

Eelco

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket performance

2007-04-17 Thread Shailendra Pandey
Ok,
I went through it  i feel the dojo/prototype way of integration is
going to lastThe reason a java to javascript is always going to
have constraints..The direction wicket is going about this relies
on 'javascript insertion' by pulling it out of a component where in it
is safe from the developers hands and being 'buggy'. This way is
kind-of javascript to java i.e. leverage on existing
javascriptwrite correct javascript once and use time and again by
injecting it!

Well while i was thinking in this direction, i wanted to know if there
is Java in wicket which encapsulates dom object functions( for
example: window.

alert()Displays an alert box with a message and an OK button
blur()Removes focus from the current window
clearInterval()Cancels a timeout set with setInterval()
clearTimeout()Cancels a timeout set with setTimeout()
close()Closes the current window
confirm()Displays a dialog box with a message and an OK and a Cancel button
createPopup()Creates a pop-up window
focus()Sets focus to the current window
moveBy()Moves a window relative to its current position
moveTo()Moves a window to the specified position
open()Opens a new browser window
print()Prints the contents of the current window
prompt()Displays a dialog box that prompts the user for input
resizeBy()Resizes a window by the specified pixels
resizeTo()Resizes a window to the specified width and height
scrollBy()Scrolls the content by the specified number of pixels
scrollTo()Scrolls the content to the specified coordinates
setInterval()Evaluates an expression at specified intervals
setTimeout()
For example if a java component which could bind setInterval() and
clearInterval() to manipulation of some component body on client side
itself in a timed fashionI know i can write my own component
to do it, but i could write my own components then for almost
everything May be somthing like it exists in wicket already, i
don't know of ...


On 4/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
  Yeah I got it,
  I had been using the Webmarkupcontainer so much i din't check if there was a
  visibility method, thanks!
 
  One thing i would like to have just views upon.something which is not
  clean for me is writing javascript when i use wicket, the ids I let
  generated by wicket and then mix javascript every where -- the page, the
  ajax target components;  Is there any plan to have something wrap up and
  generate all the javascript needed by using java alonejust thinking out
  loud!!!

 The key thing here is flexibility vs convenience. We choose for
 flexbility with Javascript; we didn't want to pin users down on 'our'
 way of doing things (and this turns out to be a good thing if you look
 at the activity at the Dojo contribution project) but instead leave
 the door open for any Javascript backing a user may wish.

 However, there are certainly things to improve I'm sure. What we need
 - besides more hours in a day - are good use cases, concrete idea on
 how to support them, and someone(s) who take the lead and pull such an
 effort. As you can see here
 http://www.nabble.com/Wicket-%2B-java-%3Ejavascript-compiler--tf3517350.html#a9817636
 none of the core committers have seen the light yet in what this would
 look like. But ideas are welcome and always open for discussion. :)

 Eelco

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] JavaScript support in Wicket

2007-04-17 Thread Eelco Hillenius
Shailendra, please stick to one topic in a thread.

Best thing you can do is provide a working prototype with what you envision.

Eelco


On 4/17/07, Shailendra Pandey [EMAIL PROTECTED] wrote:
 Ok,
 I went through it  i feel the dojo/prototype way of integration is
 going to lastThe reason a java to javascript is always going to
 have constraints..The direction wicket is going about this relies
 on 'javascript insertion' by pulling it out of a component where in it
 is safe from the developers hands and being 'buggy'. This way is
 kind-of javascript to java i.e. leverage on existing
 javascriptwrite correct javascript once and use time and again by
 injecting it!

 Well while i was thinking in this direction, i wanted to know if there
 is Java in wicket which encapsulates dom object functions( for
 example: window.

 alert()Displays an alert box with a message and an OK button
 blur()Removes focus from the current window
 clearInterval()Cancels a timeout set with setInterval()
 clearTimeout()Cancels a timeout set with setTimeout()
 close()Closes the current window
 confirm()Displays a dialog box with a message and an OK and a Cancel button
 createPopup()Creates a pop-up window
 focus()Sets focus to the current window
 moveBy()Moves a window relative to its current position
 moveTo()Moves a window to the specified position
 open()Opens a new browser window
 print()Prints the contents of the current window
 prompt()Displays a dialog box that prompts the user for input
 resizeBy()Resizes a window by the specified pixels
 resizeTo()Resizes a window to the specified width and height
 scrollBy()Scrolls the content by the specified number of pixels
 scrollTo()Scrolls the content to the specified coordinates
 setInterval()Evaluates an expression at specified intervals
 setTimeout()
 For example if a java component which could bind setInterval() and
 clearInterval() to manipulation of some component body on client side
 itself in a timed fashionI know i can write my own component
 to do it, but i could write my own components then for almost
 everything May be somthing like it exists in wicket already, i
 don't know of ...


 On 4/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
   Yeah I got it,
   I had been using the Webmarkupcontainer so much i din't check if there 
   was a
   visibility method, thanks!
  
   One thing i would like to have just views upon.something which is not
   clean for me is writing javascript when i use wicket, the ids I let
   generated by wicket and then mix javascript every where -- the page, the
   ajax target components;  Is there any plan to have something wrap up and
   generate all the javascript needed by using java alonejust thinking 
   out
   loud!!!
 
  The key thing here is flexibility vs convenience. We choose for
  flexbility with Javascript; we didn't want to pin users down on 'our'
  way of doing things (and this turns out to be a good thing if you look
  at the activity at the Dojo contribution project) but instead leave
  the door open for any Javascript backing a user may wish.
 
  However, there are certainly things to improve I'm sure. What we need
  - besides more hours in a day - are good use cases, concrete idea on
  how to support them, and someone(s) who take the lead and pull such an
  effort. As you can see here
  http://www.nabble.com/Wicket-%2B-java-%3Ejavascript-compiler--tf3517350.html#a9817636
  none of the core committers have seen the light yet in what this would
  look like. But ideas are welcome and always open for discussion. :)
 
  Eelco
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  Wicket-user mailing list
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] WicketTester Best Practices

2007-04-17 Thread craigdd

I'm looking for some input on what is the best practices for testing Panels
that aren't inner classes to WebPage objects

If I do the following;

WicketTester tester = new WicketTester();

tester.startPanel(MyPanel.class);

tester.clickLink(logout);

I get an exception saying path: 'logout' does no exist for page:
DummyPanelPage

My alternative is to set a startPage to a WebPage that contains my panel. 
However, I don't think that a panel should have to rely on a
WebPage...meaning I can create and test a new Panel without it being
attached to a WebPage.

In the past I've created some abstraction objects that allow you to do this
but is seems like a lot of work and I was hoping that there is a better way.

-Craig
-- 
View this message in context: 
http://www.nabble.com/WicketTester-Best-Practices-tf3598521.html#a10050859
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] WicketTester Best Practices

2007-04-17 Thread Ingram Chen

well, while testing panel, one should prepend panel in wicket path like:

tester.startPanel(MyPanel.class);
tester.clickLink(panel:logout);

this is pain and ugly but current WicketTester only support full absolute
path to refer certain component.

On 4/18/07, craigdd [EMAIL PROTECTED] wrote:



I'm looking for some input on what is the best practices for testing
Panels
that aren't inner classes to WebPage objects

If I do the following;

WicketTester tester = new WicketTester();

tester.startPanel(MyPanel.class);

tester.clickLink(logout);

I get an exception saying path: 'logout' does no exist for page:
DummyPanelPage

My alternative is to set a startPage to a WebPage that contains my panel.
However, I don't think that a panel should have to rely on a
WebPage...meaning I can create and test a new Panel without it being
attached to a WebPage.

In the past I've created some abstraction objects that allow you to do
this
but is seems like a lot of work and I was hoping that there is a better
way.

-Craig
--
View this message in context:
http://www.nabble.com/WicketTester-Best-Practices-tf3598521.html#a10050859
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Ingram Chen
��便��啦: http://dinbendon.net
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Issue with form being submitted prior to onSubmit of AjaxFormSubmitBehavior

2007-04-17 Thread john mattucci
I'm using an AjaxFormSubmitBehavior  to render a little indicator on the ongoing Ajax request which gets triggered when the user clicks on the AjaxSubmitButton. The only problem is that the form is getting sumitted prior to showingthe results ignoring ajax. If I remove the AjaxFormSubmitBehavior  it works fine. The onSubmit of the AjaxSubmitButton is never called.By the time the onSubmit of AjaxFormSubmitBehavior  is called the form has already been 
submitted. How would I go about fixing this? Thank you for your time
public LookupEmployeeForm(String id, IModel model) {
super(id, model);

add(new TextField("cn"));
add(imgContainer);
add(ajaxButton = new AjaxSubmitButton("ajaxLDAPSearch", this) {
protected void onSubmit(AjaxRequestTarget target, Form form) {
System.out.println("This never gets called");
}

});
ajaxButton.add(new AjaxFormSubmitIndicator());
}

private class AjaxFormSubmitIndicator extends AjaxFormSubmitBehavior implements IAjaxIndicatorAware {

public AjaxFormSubmitIndicator() {
super(LookupEmployeeForm.this, "onclick");
}

public String getAjaxIndicatorMarkupId() {
return imgContainer.getMarkupId();
}

@Override
protected void onSubmit(AjaxRequestTarget target) {
ListLDAPUser list = ldapDao.getSearchResults((LDAPUser)employeeForm.getModelObject());
ldapUserDB.setUsers(list);
target.addComponent(ajaxTable); 
target.addComponent(imgContainer);
System.out.println("This gets called");
}
}Live U's list of the best places  to Eat, Study & Party 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Issue with form being submitted prior to onSubmit of AjaxFormSubmitBehavior

2007-04-17 Thread Igor Vaynberg

see here

https://issues.apache.org/jira/browse/WICKET-461

-igor


On 4/17/07, john mattucci [EMAIL PROTECTED] wrote:


I'm using an AjaxFormSubmitBehavior  to render a little indicator on the 
ongoing Ajax request which gets triggered

when the user clicks on the AjaxSubmitButton. The only problem is that the form 
is getting sumitted prior to showing

the results ignoring ajax. If I remove the AjaxFormSubmitBehavior  it works 
fine. The onSubmit of the AjaxSubmitButton is never called.

By the time the onSubmit of

AjaxFormSubmitBehavior is called the form has already been submitted. How
would I go about fixing this?

Thank you for your time

*public*
LookupEmployeeForm(String id, IModel model) {

*super*(id, model);

add(
*new* TextField(cn));

add(
imgContainer);

add(
ajaxButton = *new* AjaxSubmitButton(ajaxLDAPSearch, *this*) {

*protected* *void* onSubmit(AjaxRequestTarget target, Form form) {

System.*out*.println(This never gets called);

}

});

ajaxButton.add(*new* AjaxFormSubmitIndicator());

}

*private* *class* AjaxFormSubmitIndicator *extends* AjaxFormSubmitBehavior
*implements* IAjaxIndicatorAware {

*public* AjaxFormSubmitIndicator() {

*super*(LookupEmployeeForm.*this*, onclick);

}

*public* String getAjaxIndicatorMarkupId() {

*return* imgContainer.getMarkupId();

}

@Override

*protected* *void* onSubmit(AjaxRequestTarget target) {

ListLDAPUser list =
ldapDao.getSearchResults((LDAPUser)employeeForm.getModelObject());

ldapUserDB.setUsers(list);

target.addComponent(
ajaxTable);

target.addComponent(
imgContainer);

System.
*out*.println(This gets called);

}

}

--
Live U's list of the best places to Eat, Study  
Partyhttp://g.msn.com/8HMAENCA/2743??PS=47575
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] 商业合作!

2007-04-17 Thread 苏小姐
您好!
   我是深圳市逸龙贸易有限公司的,我公司为税务机关授权代理开普通发票,
公司拥有多年专业的税务代理经验(全国各大中城市均有分公司)我司本着互
惠互利的原则,合理对外代开发票。
   代开范围:
   一、   增值税专用发票、商品销售发票、工业销售发票、加工修理发票;
   二、   运输业(公路内河运输、国际货运代理、装卸、联运、海运等);
   三、   建筑安装业;
   四、   其它服务业(广告费、住宿费、会议费、餐饮、咨询费等);
   五、   其它(租凭、行政事业专用、机动车销售、房地产交易、税务代开)等专用发票;
   
如贵公司在做账或进销存方面如需要用到的话,我司可提供全方面的服务。税点优惠具体费用按照开票的金额大小洽谈。我司郑重承诺!所用票据均可上网查询验证或税务局查证后付款!
欢迎来电咨询!
   
   联系人:苏小姐
   手机号码:13510773029
   [EMAIL PROTECTED]

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-17 Thread pwillemann

I was using wicket 1.2.4.  I downloaded the quickstart 1.2.5 bin and
extracted to my machine.   I stripped out hibernate and all irrelevant
parts.  The only significant change I had to make was to the
TabbedPanelPage.html file.  I had to get rid of the wicket:extend reference. 
You will see a comment in the file.  Without removing this I could not get
the error I have been seeing.  With its removal ,you now get the error I was
seeing.  I put all my files in wicket.quickstart and this is what I have
zipped up.

Thanks Phil


http://www.nabble.com/file/7937/quickstart.zip quickstart.zip 
-- 
View this message in context: 
http://www.nabble.com/Wicket-%281.2.4%29-TabbedPanel-Guidance-Question-tf3587043.html#a10051923
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket (1.2.4) TabbedPanel Guidance Question

2007-04-17 Thread Igor Vaynberg

the example works just fine

remove the try catch block in PlaysersPanel and run it
you will see that you get an NPE on PlayersPanel:46

maybe that try catch block was hiding the exception and you missed it

change List players=null; to List players=new ArrayList();

run the example and see it work

-igor


On 4/17/07, pwillemann [EMAIL PROTECTED] wrote:



I was using wicket 1.2.4.  I downloaded the quickstart 1.2.5 bin and
extracted to my machine.   I stripped out hibernate and all irrelevant
parts.  The only significant change I had to make was to the
TabbedPanelPage.html file.  I had to get rid of the wicket:extend
reference.
You will see a comment in the file.  Without removing this I could not get
the error I have been seeing.  With its removal ,you now get the error I
was
seeing.  I put all my files in wicket.quickstart and this is what I have
zipped up.

Thanks Phil


http://www.nabble.com/file/7937/quickstart.zip quickstart.zip
--
View this message in context:
http://www.nabble.com/Wicket-%281.2.4%29-TabbedPanel-Guidance-Question-tf3587043.html#a10051923
Sent from the Wicket - User mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user