Re: [Wicket-user] CTRL+click

2006-08-07 Thread Frank Bille
On 8/3/06, 
p.jasson 
[EMAIL PROTECTED] wrote:I have a markup container with AjaxEvenBehavior for 'onclick'.
In the onEvent method i need to know whether CTRL was pressed during theclick or no.How can it be done?If you need to know it on the server you have to change the request url on the AJAX request to add some parameters for it. Something like this perhaps:
package wicket.sandbox.pages;import java.util.regex.Matcher;import java.util.regex.Pattern;import wicket.Request;import wicket.RequestCycle;import wicket.ajax.AjaxEventBehavior;
import wicket.ajax.AjaxRequestTarget;/*** AJAX Behavior which returns the client side click information to the server. You get information like* is CTRL/ALT/SHIFT key pressed and x and y of the mouse position. 
* * @author Frank Bille (billen)*/public abstract class ClickBehavior extends AjaxEventBehavior { public ClickBehavior() {  super(onclick); }  protected CharSequence getCallbackScript(CharSequence partialCall, CharSequence onSuccessScript, CharSequence onFailureScript) {
  String superCallbackScript = super.getCallbackScript(partialCall, onSuccessScript, onFailureScript).toString();Pattern pat = Pattern.compile(^wicketAjaxGet\\('([^']+)'$);
  Matcher mat = pat.matcher(partialCall);if (mat.matches()) {   StringBuffer url = "" StringBuffer(mat.group(1));  // CtrlClick   url.append
();   url.append(ctrlKey='+event.ctrlKey+');   url.append();   url.append(altKey='+event.altKey+');   url.append
();   url.append(shiftKey='+event.shiftKey+');   url.append();   url.append(xPos='+event.clientX+');   url.append
();   url.append(yPos='+event.clientY+');  superCallbackScript = superCallbackScript.replace(mat.group(1), url.toString());  }  
  return superCallbackScript; } protected final void onEvent(AjaxRequestTarget target) {  Request request = RequestCycle.get().getRequest();boolean ck = Boolean.parseBoolean
(request.getParameter(ctrlKey));  boolean ak = Boolean.parseBoolean(request.getParameter(altKey));  boolean sk = Boolean.parseBoolean(request.getParameter(shiftKey));
  int x = Integer.parseInt(request.getParameter(xPos));  int y = Integer.parseInt(request.getParameter(yPos));onEvent(target, new ClickEvent(ck, ak, sk, x, y));
 } protected abstract void onEvent(AjaxRequestTarget target, ClickEvent event);  public static class ClickEvent {  private boolean ctrlKey;private boolean altKey;
private boolean shiftKey;private int x;private int y;public ClickEvent(boolean ctrlKey, boolean altKey, boolean shiftKey, int x, int y) {
   this.ctrlKey = ctrlKey;   this.altKey = altKey;   this.shiftKey = shiftKey;   this.x = x;   this.y = y;  }  public boolean isAltKey() {
   return altKey;  }  public boolean isCtrlKey() {   return ctrlKey;  }  public boolean isShiftKey() {   return shiftKey;  }
  public int getX() {   return x;  }  public int getY() {   return y;  } }}
-
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] qwicket

2006-08-07 Thread Md Mozammel Haque
Yes, I also tried to run it but fell into same problem. Can you please explain little more regarding massage your maven repository? Or, the documentation/script that you are developing may be real helpful for running qwicket apps out of the box.
- MozammelOn 8/6/06, Justin Lee [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-Hash: RIPEMD160It does run out of the box, but you do need to massage your mavenrepository first.I'm working on some documentation and a script tohelp do that as simply as possible.The problem is that sun restricts
the distribution of their jar files so that they can't be bundled.Michael Welter wrote: I used the qwicket web page to generate a skeleton project.When I compiled, it was unable to get the jar files.I added the jars manually.
 When I move the war file to Tomcat and try to bring up the first page, I get 404 not found. Will the skeleton project run out of the box (at least the first page)? Thanks,
- --Justin Leehttp://www.antwerkz.comAIM : evan choolySkype : evanchooly-BEGIN PGP SIGNATURE-Version: GnuPG v1.4.2.1 (Cygwin)iD8DBQFE1fQzJnQfEGuJ90MRA1V0AJ4kBrE4SpYKSx2qJnFGMTh3gNHivgCfXiRt
osB0GEOeSKEuY3KYE4iz9wY==/Vec-END PGP SIGNATURE--Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net
's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] qwicket

2006-08-07 Thread Janne Hietamäki
Version 1.4 of javamail can be redistributed, the jars can be found from ibiblio's maven repository.                dependency                        groupIdjavax.activation/groupId                        artifactIdactivation/artifactId                        version1.1/version                        typejar/type                        scopecompile/scope                /dependency                dependency                        groupIdjavax.mail/groupId                        artifactIdmail/artifactId                        version1.4/version                        typejar/type                        scopecompile/scope                /dependencyOn 7.8.2006, at 9.38, Igor Vaynberg wrote:the problem is that some jars provided by sun are not allowed to beredistributed. in this case javax.mail is the problem. you have to goand manually download the file from sun and put it into your localrepo.  Janne HietamäkiCemron Ltdhttp://www.cemron.fi -
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] qwicket

2006-08-07 Thread Igor Vaynberg
thats good stuff, justin mind updating qwicket to 1.4?

-Igor


On 8/7/06, Janne Hietamäki [EMAIL PROTECTED] wrote:


 Version 1.4 of javamail can be redistributed, the jars can be found from
 ibiblio's maven repository.

 dependency
 groupIdjavax.activation/groupId
 artifactIdactivation/artifactId
 version1.1/version
 typejar/type
 scopecompile/scope
 /dependency
 dependency
 groupIdjavax.mail/groupId
 artifactIdmail/artifactId
 version1.4/version
 typejar/type
 scopecompile/scope
 /dependency



 On 7.8.2006, at 9.38, Igor Vaynberg wrote:

 the problem is that some jars provided by sun are not allowed to be
 redistributed. in this case javax.mail is the problem. you have to go
 and manually download the file from sun and put it into your local
 repo.


  Janne Hietamäki
 Cemron Ltd
 http://www.cemron.fi




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

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




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


Re: [Wicket-user] Wicket J5EE combo?

2006-08-07 Thread Ayodeji Aladejebi
hi jonas,thanks for the earlier committment...i have successfully put together a NB5.5 + Wicket + EJB3 + Glassfish together and i was so excited seeing everything working smoothly. I really really love this J5EE combo.
On 8/3/06, Janos Cserep [EMAIL PROTECTED]
 wrote:
I'll try to put something together tomorrow if it's ok for you...2006/8/2, Ayodeji Aladejebi 

[EMAIL PROTECTED]:
-- Forwarded message --From: Ayodeji Aladejebi 


[EMAIL PROTECTED]Date: Aug 2, 2006 7:07 AM
Subject: Re: [Wicket-user] Wicket J5EE combo?To: wicket-user@lists.sourceforge.net


janos,really? yeah can i get a step by step guide...or maybe a stripped down NB project zipped folder that i can download and try out but i think the step by step stuff will be great.

On 8/2/06, Janos Cserep [EMAIL PROTECTED] wrote:




who has successfully implemented these comboGlassfish + EJB3 + Wicket + 
NB5.5anyone
 with some quick start for theseI did, on three projects (a community portal-thingy for myself, and internal applications for two companies) during the last 4 months. Would you need a step-by-step guide or do you have any specific questions to answer?
I'm using a single .ear file approach with a separate .war for the Wicket app and an EJB Module with the EJB3s and dao and facade style stateless session beans. The web layer is calling the local interface of the stateless beans which encapsulate most of the business logic (leaving only the ui logic in the web app tier of the application). 
Janos

-Take Surveys. Earn Cash. Influence the Future of ITJoin 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.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- It takes insanity to drive in sanity - MeAladejebi Ayodeji A., DabarObjects SolutionsEmail: 

[EMAIL PROTECTED]Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity:



www.cowblock.net

-- It takes insanity to drive in sanity - MeAladejebi Ayodeji A., DabarObjects SolutionsEmail: 


[EMAIL PROTECTED]
Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity:


www.cowblock.net



-- It takes insanity to drive in sanity - MeAladejebi Ayodeji A., DabarObjects SolutionsEmail: 
[EMAIL PROTECTED]
Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity:
www.cowblock.net

-
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] HTML template missing

2006-08-07 Thread Pierre-Yves Saumont
Hello,

I am trynig to run the PageablesPage example after having copied the 
bare minimum to my project. Obviously, something is missing but I can't 
figure what. I get the followinig error message :

Markup of type 'html' for component 'com.volgadev.aloha.web.AjaxTest' 
not found. Enable debug messages for wicket.util.resource to get a list 
of all filenames tried.

Obviously, it is not AjaxTest.html which is missing. The root cause is :

wicket.markup.MarkupNotFoundException: Parent markup of inherited markup 
not found. Component class: com.volgadev.aloha.web.AjaxTest

Surely enabling debug for wicket.util.resource.Resource would help. I 
put a property file in the classpath with the following line :

log4j.logger.wicket.util.resource=DEBUG

but it doesn't change anything.

Does any one has an idea of what markup element is missing or how to get 
log4j to work ?

thanks,

Pierre-Yves


-
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] CSS background images

2006-08-07 Thread Johan Compagner
is it already in (haven't seen the commit i think)else do make a patch for it on sourceforge.johanOn 8/1/06, Al Maw 
[EMAIL PROTECTED] wrote:Igor Vaynberg wrote: i guess it is not something that we support right now, but something
 that is cleary needed. we need to build a resource that can load a css file, parse for images, replace them, and then serve the altered content. i know almaw has been working on something like this but i dont know how
 far he got. a patch would be welcome, if not then i guess you will have to wait until one of the core devels has the time.Sorry for the late reply - been on holiday. Please find attachedsomething that might be useful.
You'll need to change CssResource#getResourceStream() to understand howto tell if your app is in debug mode or not (see discussion on the devlist a week or two ago about that).Best regards,
Al Maw-Take Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___Wicket-user mailing listWicket-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] OT: Gmail invitation? Good SVN hosts?

2006-08-07 Thread Per Ejeklint
Fellows,

I'm trying out free hosting services - need a place to hold my spiffy  
wicket-application that I finally got started with. Want to try out  
Google Code but apparently you need Gmail. Can anyone invite me (Per  
Ejeklint, [EMAIL PROTECTED])?

Also, any experience with free (or low-priced) SVN repo services that  
you want to share? I've tried OpenSVN.csie.org but it's awfully slow  
and unreliable - at least for me.

Cheers,

Per Ejeklint


-
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] OT: Gmail invitation? Good SVN hosts?

2006-08-07 Thread Frank Bille
On 8/7/06, Per Ejeklint [EMAIL PROTECTED] wrote:
Fellows,I'm trying out free hosting services - need a place to hold my spiffywicket-application that I finally got started with. Want to try outGoogle Code but apparently you need Gmail. Can anyone invite me (Per
Ejeklint, [EMAIL PROTECTED])?I can invite you if you haven't been already?Frank
-
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] HTML template missing

2006-08-07 Thread Pierre-Yves Saumont
Thanks a lot, Juergen. I had copied the html and java code, bypassing 
the class inhéritence since the parent class was empty. But the parent 
template was not !

Pierre-Yves

Juergen Donnerstag a écrit :
 Obviously AjaxTest has inherited markup. Markup inheritance works kind
 of like java class inheritence. Hence you need the parents markup as
 well. Look at AjaxTest.java and what classes it is derived from and
 copy the *.java and *.html as well. E.g. PageablesPage is derived from
 BasePage and BasePage.html.
 
 Juergen
 
 On 8/7/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
 Hello,

 I am trynig to run the PageablesPage example after having copied the
 bare minimum to my project. Obviously, something is missing but I can't
 figure what. I get the followinig error message :

 Markup of type 'html' for component 'com.volgadev.aloha.web.AjaxTest'
 not found. Enable debug messages for wicket.util.resource to get a list
 of all filenames tried.

 Obviously, it is not AjaxTest.html which is missing. The root cause is :

 wicket.markup.MarkupNotFoundException: Parent markup of inherited markup
 not found. Component class: com.volgadev.aloha.web.AjaxTest

 Surely enabling debug for wicket.util.resource.Resource would help. I
 put a property file in the classpath with the following line :

 log4j.logger.wicket.util.resource=DEBUG

 but it doesn't change anything.

 Does any one has an idea of what markup element is missing or how to get
 log4j to work ?

 thanks,

 Pierre-Yves


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

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


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


Re: [Wicket-user] HTML template missing

2006-08-07 Thread Gwyn Evans
On 07/08/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:

 Surely enabling debug for wicket.util.resource.Resource would help. I
 put a property file in the classpath with the following line :

 log4j.logger.wicket.util.resource=DEBUG

 but it doesn't change anything.

 Does any one has an idea of what markup element is missing or how to get
 log4j to work ?

Wicket uses commons-logging internally, so it should just be a matter
of a log4j.properties, but you might want to try also having a
commons-logging.properties with a
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
inside too.

(Personally, I'm now tending to go with clogging redirected to Simple
Logging (https://simple-log.dev.java.net/) just to be sure I don't get
issues with 'rogue' log4j configs being found where I don't expect
them.)

/Gwyn
-- 
Download Wicket 1.2.1 now! - http://wicketframework.org

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


Re: [Wicket-user] Wicket J5EE combo?

2006-08-07 Thread Korbinian Bachl



Ayodeji,

would you mind to mail me the same doc/ proejct ? - and 
perhaps link it in the wicket-wiki, as i think there might be more interest in 
it - 

Best thanks and Regards,

Korbinian

  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von 
  Ayodeji AladejebiGesendet: Montag, 7. August 2006 
  10:13An: Janos Cserep; 
  wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Wicket 
  J5EE combo?
  hi jonas,thanks for the earlier committment...i 
  have successfully put together a NB5.5 + Wicket + EJB3 + Glassfish together 
  and i was so excited seeing everything working smoothly. I really 
  really love this J5EE combo. 
  On 8/3/06, Janos 
  Cserep [EMAIL PROTECTED]  
  wrote:
  
I'll try to put something together tomorrow if it's ok for 
you...
2006/8/2, Ayodeji Aladejebi  
[EMAIL PROTECTED]:


  -- Forwarded message --From: Ayodeji Aladejebi 
   
  [EMAIL PROTECTED]Date: Aug 2, 2006 7:07 AM Subject: Re: 
  [Wicket-user] Wicket J5EE combo?To: wicket-user@lists.sourceforge.net
  janos,really? yeah can i get a step by step guide...or maybe a 
  stripped down NB project zipped folder that i can download and try out but 
  i think the step by step stuff will be great. 
  
  On 8/2/06, Janos Cserep [EMAIL PROTECTED] 
  wrote:
  
  
  
  
  
  who 
has successfully implemented these comboGlassfish + EJB3 + 
Wicket + NB5.5anyone with some quick start for 
  these
  I did, on three projects (a community portal-thingy for myself, and 
  internal applications for two companies) during the last 4 months. Would 
  you need a step-by-step guide or do you have any specific questions to 
  answer? I'm using a single .ear file approach with a separate .war 
  for the Wicket app and an EJB Module with the EJB3s and "dao" and "facade" 
  style stateless session beans. The web layer is calling the local 
  interface of the stateless beans which encapsulate most of the business 
  logic (leaving only the ui logic in the web app tier of the application). 
  
  Janos
  -Take 
  Surveys. Earn Cash. Influence the Future of ITJoin SourceForge.net's 
  Techsay panel and you'll get the chance to share your opinions on IT 
   business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user 
  mailing listWicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user 
  
  -- "It takes insanity to drive in 
  sanity" - MeAladejebi Ayodeji A., DabarObjects 
  SolutionsEmail: [EMAIL PROTECTED]Mobile: +234 803 589 
  1780Web: www.dabarobjects.comCommunity:www.cowblock.net 
  -- "It takes insanity to drive in 
  sanity" - MeAladejebi Ayodeji A., DabarObjects 
  SolutionsEmail: [EMAIL PROTECTED] 
  Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity:www.cowblock.net 
  
-- "It takes 
  insanity to drive in sanity" - MeAladejebi Ayodeji A., 
  DabarObjects SolutionsEmail: [EMAIL PROTECTED] 
  Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity:www.cowblock.net 

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


Re: [Wicket-user] Wicket J5EE combo?

2006-08-07 Thread Ayodeji Aladejebi
yeah sure...On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:





Ayodeji,

would you mind to mail me the same doc/ proejct ? - and 
perhaps link it in the wicket-wiki, as i think there might be more interest in 
it - 

Best thanks and Regards,

Korbinian

  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]] Im Auftrag von 
  Ayodeji AladejebiGesendet: Montag, 7. August 2006 
  10:13An: Janos Cserep; 
  wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] Wicket 
  J5EE combo?
  hi jonas,thanks for the earlier committment...i 
  have successfully put together a NB5.5 + Wicket + EJB3 + Glassfish together 
  and i was so excited seeing everything working smoothly. I really 
  really love this J5EE combo. 
  On 8/3/06, Janos 
  Cserep [EMAIL PROTECTED]  
  wrote:
  
I'll try to put something together tomorrow if it's ok for 
you...
2006/8/2, Ayodeji Aladejebi  
[EMAIL PROTECTED]:


  -- Forwarded message --From: Ayodeji Aladejebi 
   
  [EMAIL PROTECTED]Date: Aug 2, 2006 7:07 AM Subject: Re: 
  [Wicket-user] Wicket J5EE combo?To: wicket-user@lists.sourceforge.net

  janos,really? yeah can i get a step by step guide...or maybe a 
  stripped down NB project zipped folder that i can download and try out but 
  i think the step by step stuff will be great. 
  
  On 8/2/06, Janos Cserep [EMAIL PROTECTED]
 
  wrote:
  
  
  
  
  
  who 
has successfully implemented these comboGlassfish + EJB3 + 
Wicket + NB5.5anyone with some quick start for 
  these
  I did, on three projects (a community portal-thingy for myself, and 
  internal applications for two companies) during the last 4 months. Would 
  you need a step-by-step guide or do you have any specific questions to 
  answer? I'm using a single .ear file approach with a separate .war 
  for the Wicket app and an EJB Module with the EJB3s and dao and facade 
  style stateless session beans. The web layer is calling the local 
  interface of the stateless beans which encapsulate most of the business 
  logic (leaving only the ui logic in the web app tier of the application). 
  
  Janos
  -Take 
  Surveys. Earn Cash. Influence the Future of ITJoin 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 listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user 
  
  -- It takes insanity to drive in 
  sanity - MeAladejebi Ayodeji A., DabarObjects 
  SolutionsEmail: [EMAIL PROTECTED]Mobile: +234 803 589 
  1780Web: www.dabarobjects.comCommunity:
www.cowblock.net 
  -- It takes insanity to drive in 
  sanity - MeAladejebi Ayodeji A., DabarObjects 
  SolutionsEmail: [EMAIL PROTECTED] 
  Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity:
www.cowblock.net 
  
-- It takes 
  insanity to drive in sanity - MeAladejebi Ayodeji A., 
  DabarObjects SolutionsEmail: [EMAIL PROTECTED] 
  Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity:
www.cowblock.net 


-Take Surveys. Earn Cash. Influence the Future of ITJoin 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.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-- It takes insanity to drive in sanity - MeAladejebi Ayodeji A., DabarObjects SolutionsEmail: 
[EMAIL PROTECTED]Mobile: +234 803 589 1780Web: www.dabarobjects.comCommunity:www.cowblock.net
-
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] CSS not found

2006-08-07 Thread James Cook
I wouldn't be too quick to judge developers that struggle with your platform to be new to _good_ java programming. I have many years of Swing development experience and web experience dating back to the pre-servlet, pre-framework era. That said, Wicket does interest me because it is radically different that the page-based frameworks *and* JSF-based component frameworks available today. 
From my own experience, I would say the hardest part about _using_ Wicket is _learning_ Wicket. There is a hodgepodge of documentation scattered in a lot of different places. You are transitioning to a new version, and without a good collection of documents/best practices it seems a bit hopeless at times.
Your Wicket in Action book is many months off. Hopefully it is geared for Wicket 2.0. Also, perhaps you can get Manning to release it in their early access program. I know I would buy it today if a few initial chapters were available online.
-- jimOn 8/6/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
I'd like to add to that that Wicket requires you to know your Java,while e.g. using JSP allows to build whole web sites with hardly anyJava knowledge. Whether that is a good thing or not is debatable.Eelco
On 8/6/06, Eelco Hillenius [EMAIL PROTECTED] wrote: What were/ are the problems you are experiencing Pierre-Yves? Usually the largest obstacle for people with Wicket (and Tapestry,
 Echo and GWT for that matter) is getting rid of the bad practices they got used to when working with frameworks like Struts etc. A lot of people learned programming Java web apps on frameworks like that, and
 never got much of the OO part. Otoh, if you're coming from e.g. Swing programming, Wicket should be easier for you. Wicket vs Stripes... it's oranges and pears - except for the fact that
 you both make web apps with them. Stripes is geared towards simplifying the common model 2 paradigm, and it does a very good job at that as far as I've seen, While Wicket is all about stateful, self
 contained, reusable components. Personally, I don't think Stripes is always easier than Wicket, especially when you look at e.g. 
http://mc4j.org/confluence/display/stripes/Binding+directly+to+your+domain+model ; Wicket's equivalent would be quite a lot easier imo, but for some things Stripes probably is easier, like when you are prototyping/
 moving your HTML structure around a lot. In the end, just choose which framework that gives you a warm and fuzzy feeling :) Stripes seems to be the best choice if you want to go for a model 2 framework.
 Read some more here: http://www.virtuas.com/articles/webframework-sweetspots.html Eelco
 On 8/6/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:  I would be very interested to know how you compare Wicket and Stripes  and why you're leaning toward Wicket. (I didn't know about Stripes, but
  at first glance, it seems much simpler than Wicket, which I have been  struggling with for two weeks now without much success!).   Pierre-Yves   Bill Bruyn a écrit :
   I have an opportunity to use a new framework on a current project, and   I've been trying to decide between Wicket and Stripes.Both look really   nice, but at the moment I'm leaning toward Wicket.Got a skeleton
   project set up with 1.2.1 (via Wicket Bench 0.3.0) and am running it   with a JettyLauncher from Eclipse.So far, so good, but my wicket page   markup (e.g., SomePage.html
) doesn't find my css. I've tried it at the root of my webapp and in the same directory as the   markup (looks like from the examples I should just be able to drop it on
   the root).I've tried adding a resource to the class via   super.getResourceSettings().addResourceFolder (though I shouldn't need   that, right?) and nothing seems to work.I'm sure this is trivial, and
   it's a bit of a disappointment that I've already had to ask for help,   but I've done some googling, and some browsing of the Wiki and the FAQ   to no avail.  
   BTW, I should also mention that when I request non-existent resources   from the app (e.g., foo.html) I am always redirected to the app's   homepage instead of getting a 404.Is that the desired behavior?Is it
   configurable?   Thanks very much in advance, Bill   
 -   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 

Re: [Wicket-user] A thought on Links Bookmarkable links

2006-08-07 Thread Dorel Vaida
Johan Compagner wrote:
 There is no way to use state when you use bookmarkable/stateless pages
Sorry, where can I read more on stateless pages ?
Thanks
 for your link clicks or other things. Because there is no page at the 
 server where
 that state is...

 johan


 On 8/5/06, *Gwyn Evans* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 On 05/08/06, Eelco Hillenius [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
  The key thing about bookmarkable pages is that they can be
 constructed
  directly/ without the need to have a session upfront/ without
 having
  to rely on other pages. This means that the URL is the only
 thing that
  is available for a bookmarkable page.

 Yes, I've got that, thanks, it's just that there are two way I might
 arrive there, one being the normal case, arriving 'cold'.  The other,
 though, where I just happened to have the information it would need
 'to hand', lead me to wonder if there was a way to pass it while
 keeping the bookmarkable feature...

  Think whether you need that detail page to be bookmarkable... do
 you
  expect users to actually bookmark it or have some reason to directly
  want to access that page/

 In this case, yes, I probably would, or at least the convienience of
 doing so is worth the extra DB call in this case!  It's not going to
 be a high-volume app!

 /Gwyn

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


 

 -
 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

 __ NOD32 1.1523 (20060505) Information __

 This message was checked by NOD32 Antivirus System.
 http://www.nod32.com

   
 

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


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


Re: [Wicket-user] A thought on Links Bookmarkable links

2006-08-07 Thread Johan Compagner
I don't think there is real documentation for that (i can't really find anything on wiki for that yet)But it is also a thing that can be done in 1.2 but then you just need to use everywhere bookmarkable linksAnd don't use a form on that page. Then the page will be stateless because there are no callbacks.
In 2.0 (and maybe some backport to 1.3) we will improve stateless working much more. We have then lazy session initialisationSo the session will only be there when really needed. And pages can be come much more stateless because
you now have StatelessForm and StatelessLink besides the BookmarkableLink.StatelessLink is just like a normal link so you have to implement the onClick() but with one exception. You can't depend on model data
of that link. Because the link is or can be completely newly constructed for you and then onClick is called.i think this kind of link must be a little bit improved to make it easier to give some state (x=y) to the url when clicked on and that can then be used.
StatelessForm is again just a normal form. But with this is almost completely looks like a normal form. because most of the state is pushedby the submit anyway. You just can't rely on state of the page or other components you only have the state that is submitted from the browser
But this means that in the StatelessForm.onSubmit() you do pretty much the exact same stuff that you did in Form.onSubmit()johanOn 8/7/06, 
Dorel Vaida [EMAIL PROTECTED] wrote:
Johan Compagner wrote: There is no way to use state when you use bookmarkable/stateless pagesSorry, where can I read more on stateless pages ?Thanks for your link clicks or other things. Because there is no page at the
 server where that state is... johan On 8/5/06, *Gwyn Evans* [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote: On 05/08/06, Eelco Hillenius [EMAIL PROTECTED] mailto:
[EMAIL PROTECTED] wrote:  The key thing about bookmarkable pages is that they can be constructed  directly/ without the need to have a session upfront/ without
 having  to rely on other pages. This means that the URL is the only thing that  is available for a bookmarkable page. Yes, I've got that, thanks, it's just that there are two way I might
 arrive there, one being the normal case, arriving 'cold'.The other, though, where I just happened to have the information it would need 'to hand', lead me to wonder if there was a way to pass it while
 keeping the bookmarkable feature...  Think whether you need that detail page to be bookmarkable... do you  expect users to actually bookmark it or have some reason to directly
  want to access that page/ In this case, yes, I probably would, or at least the convienience of doing so is worth the extra DB call in this case!It's not going to be a high-volume app!
 /Gwyn - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to
 share your opinions on IT  business topics through brief surveys -- and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net mailto:
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user
  - 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 __ NOD32 1.1523 (20060505) Information __ This message was checked by NOD32 Antivirus System.
 http://www.nod32.com  ___
 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 ITJoin SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cashhttp://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___Wicket-user mailing listWicket-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] qwicket

2006-08-07 Thread Justin Lee
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

I'm pushing out a new version with updated docs today (and the bean
builder!).  The javamail 1.3.3 dep comes from commons-email but i'll see
if I can't override it that manually.  Thanks for the heads up, janne.

Igor Vaynberg wrote:
 thats good stuff, justin mind updating qwicket to 1.4?
 
 -Igor
 
 
 On 8/7/06, Janne Hietamäki [EMAIL PROTECTED] wrote:

 Version 1.4 of javamail can be redistributed, the jars can be found from
 ibiblio's maven repository.

 dependency
 groupIdjavax.activation/groupId
 artifactIdactivation/artifactId
 version1.1/version
 typejar/type
 scopecompile/scope
 /dependency
 dependency
 groupIdjavax.mail/groupId
 artifactIdmail/artifactId
 version1.4/version
 typejar/type
 scopecompile/scope
 /dependency



 On 7.8.2006, at 9.38, Igor Vaynberg wrote:

 the problem is that some jars provided by sun are not allowed to be
 redistributed. in this case javax.mail is the problem. you have to go
 and manually download the file from sun and put it into your local
 repo.


  Janne Hietamäki
 Cemron Ltd
 http://www.cemron.fi




 -
 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

- --
Justin Lee
http://www.antwerkz.com
AIM : evan chooly
Skype : evanchooly
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.1 (Cygwin)

iD8DBQFE1zssJnQfEGuJ90MRA+6DAJ9CeCSu8AdOMBAncfbxgcZrE5bMdQCePIeY
45e424wdRY0GRLDBnytGfI4=
=ImMk
-END PGP SIGNATURE-

-
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] CSS not found

2006-08-07 Thread Pierre-Yves Saumont
I will also by the book as soon as it is available... unless I give up 
before :-(

Pierre-Yves

James Cook a écrit :
 I wouldn't be too quick to judge developers that struggle with your 
 platform to be new to _good_ java programming. I have many years of 
 Swing development experience and web experience dating back to the 
 pre-servlet, pre-framework era. That said, Wicket does interest me 
 because it is radically different that the page-based frameworks *and* 
 JSF-based component frameworks available today.
 
  From my own experience, I would say the hardest part about _using_ 
 Wicket is _learning_ Wicket. There is a hodgepodge of documentation 
 scattered in a lot of different places. You are transitioning to a new 
 version, and without a good collection of documents/best practices it 
 seems a bit hopeless at times.
 
 Your Wicket in Action book is many months off. Hopefully it is geared 
 for Wicket 2.0. Also, perhaps you can get Manning to release it in their 
 early access program. I know I would buy it today if a few initial 
 chapters were available online.
 
 -- jim
 
 On 8/6/06, *Eelco Hillenius* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 I'd like to add to that that Wicket requires you to know your Java,
 while e.g. using JSP allows to build whole web sites with hardly any
 Java knowledge. Whether that is a good thing or not is debatable.
 
 Eelco
 
 
 On 8/6/06, Eelco Hillenius [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
   What were/ are the problems you are experiencing Pierre-Yves?
  
   Usually the largest obstacle for people with Wicket (and Tapestry,
   Echo and GWT for that matter) is getting rid of the bad practices
 they
   got used to when working with frameworks like Struts etc. A lot of
   people learned programming Java web apps on frameworks like that,
 and
   never got much of the OO part. Otoh, if you're coming from e.g. Swing
   programming, Wicket should be easier for you.
  
   Wicket vs Stripes... it's oranges and pears - except for the fact
 that
   you both make web apps with them. Stripes is geared towards
   simplifying the common model 2 paradigm, and it does a very good job
   at that as far as I've seen, While Wicket is all about stateful, self
   contained, reusable components.
  
   Personally, I don't think Stripes is always easier than Wicket,
   especially when you look at e.g.
  
 
 http://mc4j.org/confluence/display/stripes/Binding+directly+to+your+domain+model
   ; Wicket's equivalent would be quite a lot easier imo, but for some
   things Stripes probably is easier, like when you are prototyping/
   moving your HTML structure around a lot.
  
   In the end, just choose which framework that gives you a warm and
   fuzzy feeling :) Stripes seems to be the best choice if you want
 to go
   for a model 2 framework.
  
   Read some more here:
   http://www.virtuas.com/articles/webframework-sweetspots.html
  
   Eelco
  
  
  
   On 8/6/06, Pierre-Yves Saumont [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
I would be very interested to know how you compare Wicket and
 Stripes
and why you're leaning toward Wicket. (I didn't know about
 Stripes, but
at first glance, it seems much simpler than Wicket, which I
 have been
struggling with for two weeks now without much success!).
   
Pierre-Yves
   
Bill Bruyn a écrit :
 I have an opportunity to use a new framework on a current
 project, and
 I've been trying to decide between Wicket and Stripes.  Both
 look really
 nice, but at the moment I'm leaning toward Wicket.  Got a
 skeleton
 project set up with 1.2.1 (via Wicket Bench 0.3.0) and am
 running it
 with a JettyLauncher from Eclipse.  So far, so good, but my
 wicket page
 markup (e.g., SomePage.html ) doesn't find my css.

 I've tried it at the root of my webapp and in the same
 directory as the
 markup (looks like from the examples I should just be able to
 drop it on
 the root).  I've tried adding a resource to the class via
 super.getResourceSettings().addResourceFolder (though I
 shouldn't need
 that, right?) and nothing seems to work.  I'm sure this is
 trivial, and
 it's a bit of a disappointment that I've already had to ask
 for help,
 but I've done some googling, and some browsing of the Wiki
 and the FAQ
 to no avail.

 BTW, I should also mention that when I request non-existent
 resources
 from the app (e.g., foo.html) I am always redirected to the app's
 homepage instead of getting a 404.  Is that the desired
 behavior?  Is it
 configurable?


 

[Wicket-user] Ajax Tab Panel

2006-08-07 Thread Pierre-Yves Saumont
Hi,

Is there a way to control the AbstractTabPanel HTML template ? What I 
need to do is to have the tabs in a div and the panels in another one 
(so they can be formated as a whole). I also needs to have the tabs div 
come AFTER the panels div in the template (because I cannot use z-index 
and must have the tabs over the panels). Is this possible ?

Pierre-Yves


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


Re: [Wicket-user] CSS not found

2006-08-07 Thread Wilko Hische

Hey Pierre-Yves,

I have to admit it was new experience to me too, to have to resort to the
source  javadocs for examples and framework alike, but now that I am used
to it (and have attached source  apidocs to my Eclipse wicket user library
;-) I don't think it's that bad.
I rather prefer it to having to struggle through for instance Tapestry in
Action* over and over again.

Cheers,

Wilko

*) I hope Wicket in Action will turn out to be a bit more functional btw


Pierre-Yves Saumont wrote:
 
 I will also by the book as soon as it is available... unless I give up 
 before :-(
 
 Pierre-Yves
 
 James Cook a écrit :
 I wouldn't be too quick to judge developers that struggle with your 
 platform to be new to _good_ java programming. I have many years of 
 Swing development experience and web experience dating back to the 
 pre-servlet, pre-framework era. That said, Wicket does interest me 
 because it is radically different that the page-based frameworks *and* 
 JSF-based component frameworks available today.
 
  From my own experience, I would say the hardest part about _using_ 
 Wicket is _learning_ Wicket. There is a hodgepodge of documentation 
 scattered in a lot of different places. You are transitioning to a new 
 version, and without a good collection of documents/best practices it 
 seems a bit hopeless at times.
 
 Your Wicket in Action book is many months off. Hopefully it is geared 
 for Wicket 2.0. Also, perhaps you can get Manning to release it in their 
 early access program. I know I would buy it today if a few initial 
 chapters were available online.
 
 -- jim
 
 On 8/6/06, *Eelco Hillenius* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:
 
 I'd like to add to that that Wicket requires you to know your Java,
 while e.g. using JSP allows to build whole web sites with hardly any
 Java knowledge. Whether that is a good thing or not is debatable.
 
 Eelco
 
 
 On 8/6/06, Eelco Hillenius [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
   What were/ are the problems you are experiencing Pierre-Yves?
  
   Usually the largest obstacle for people with Wicket (and Tapestry,
   Echo and GWT for that matter) is getting rid of the bad practices
 they
   got used to when working with frameworks like Struts etc. A lot of
   people learned programming Java web apps on frameworks like that,
 and
   never got much of the OO part. Otoh, if you're coming from e.g.
 Swing
   programming, Wicket should be easier for you.
  
   Wicket vs Stripes... it's oranges and pears - except for the fact
 that
   you both make web apps with them. Stripes is geared towards
   simplifying the common model 2 paradigm, and it does a very good
 job
   at that as far as I've seen, While Wicket is all about stateful,
 self
   contained, reusable components.
  
   Personally, I don't think Stripes is always easier than Wicket,
   especially when you look at e.g.
  

 http://mc4j.org/confluence/display/stripes/Binding+directly+to+your+domain+model
   ; Wicket's equivalent would be quite a lot easier imo, but for
 some
   things Stripes probably is easier, like when you are prototyping/
   moving your HTML structure around a lot.
  
   In the end, just choose which framework that gives you a warm and
   fuzzy feeling :) Stripes seems to be the best choice if you want
 to go
   for a model 2 framework.
  
   Read some more here:
   http://www.virtuas.com/articles/webframework-sweetspots.html
  
   Eelco
  
  
  
   On 8/6/06, Pierre-Yves Saumont [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
I would be very interested to know how you compare Wicket and
 Stripes
and why you're leaning toward Wicket. (I didn't know about
 Stripes, but
at first glance, it seems much simpler than Wicket, which I
 have been
struggling with for two weeks now without much success!).
   
Pierre-Yves
   
Bill Bruyn a écrit :
 I have an opportunity to use a new framework on a current
 project, and
 I've been trying to decide between Wicket and Stripes.  Both
 look really
 nice, but at the moment I'm leaning toward Wicket.  Got a
 skeleton
 project set up with 1.2.1 (via Wicket Bench 0.3.0) and am
 running it
 with a JettyLauncher from Eclipse.  So far, so good, but my
 wicket page
 markup (e.g., SomePage.html ) doesn't find my css.

 I've tried it at the root of my webapp and in the same
 directory as the
 markup (looks like from the examples I should just be able to
 drop it on
 the root).  I've tried adding a resource to the class via
 super.getResourceSettings().addResourceFolder (though I
 shouldn't need
 that, right?) and nothing seems to work.  I'm sure this is
 

[Wicket-user] New User Documentation

2006-08-07 Thread Gwyn Evans
To anyone getting started, there's a new Wiki page, Documentation
Index at http://www.wicket-wiki.org.uk/wiki/index.php/Documentation_Index
which is an attempt to provide an overview to the primary sources of
information.

Hopefully it'll help, but if not, please let us know what sort of
documentation/information you feel we need to focus on, please!

/Gwyn
-- 
Download Wicket 1.2.1 now! - http://wicketframework.org

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


Re: [Wicket-user] Ajax Tab Panel

2006-08-07 Thread Juergen Donnerstag
Subclass the Ajax Test Panel java class and create your own *.html.

Juergen

On 8/7/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
 Hi,

 Is there a way to control the AbstractTabPanel HTML template ? What I
 need to do is to have the tabs in a div and the panels in another one
 (so they can be formated as a whole). I also needs to have the tabs div
 come AFTER the panels div in the template (because I cannot use z-index
 and must have the tabs over the panels). Is this possible ?

 Pierre-Yves


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


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


Re: [Wicket-user] OT: Gmail invitation? Good SVN hosts?

2006-08-07 Thread Nick Heudecker
I've had decent luck with svn-hosting.com. On 8/7/06, Frank Bille 
[EMAIL PROTECTED] wrote:
On 8/7/06, Per Ejeklint [EMAIL PROTECTED] wrote:

Fellows,I'm trying out free hosting services - need a place to hold my spiffywicket-application that I finally got started with. Want to try outGoogle Code but apparently you need Gmail. Can anyone invite me (Per
Ejeklint, [EMAIL PROTECTED])?I can invite you if you haven't been already?
Frank

-Take Surveys. Earn Cash. Influence the Future of ITJoin 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.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user

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


Re: [Wicket-user] CSS not found

2006-08-07 Thread Pierre-Yves Saumont
Hi Wilko,

Attaching source and Javadoc to my IDEA user library is of course the 
first thing I did ;-). However, it is not always sufficient! For the 
time being, life is a constant struggle, facing one problem after 
another. It's very easy to forget all the bad things about Struts and 
remember only how easy it was. (In fact, it was horrible.) The main 
advantage of Struts was that I was paid to learn it! Switching to Wicket 
was my personnal choice and I hope it will be rewarding in the end!

Cheers,

Pierre-Yves

Wilko Hische a écrit :
 Hey Pierre-Yves,
 
 I have to admit it was new experience to me too, to have to resort to the
 source  javadocs for examples and framework alike, but now that I am used
 to it (and have attached source  apidocs to my Eclipse wicket user library
 ;-) I don't think it's that bad.
 I rather prefer it to having to struggle through for instance Tapestry in
 Action* over and over again.
 
 Cheers,
 
 Wilko
 
 *) I hope Wicket in Action will turn out to be a bit more functional btw
 
 
 Pierre-Yves Saumont wrote:
 I will also by the book as soon as it is available... unless I give up 
 before :-(

 Pierre-Yves

 James Cook a écrit :
 I wouldn't be too quick to judge developers that struggle with your 
 platform to be new to _good_ java programming. I have many years of 
 Swing development experience and web experience dating back to the 
 pre-servlet, pre-framework era. That said, Wicket does interest me 
 because it is radically different that the page-based frameworks *and* 
 JSF-based component frameworks available today.

  From my own experience, I would say the hardest part about _using_ 
 Wicket is _learning_ Wicket. There is a hodgepodge of documentation 
 scattered in a lot of different places. You are transitioning to a new 
 version, and without a good collection of documents/best practices it 
 seems a bit hopeless at times.

 Your Wicket in Action book is many months off. Hopefully it is geared 
 for Wicket 2.0. Also, perhaps you can get Manning to release it in their 
 early access program. I know I would buy it today if a few initial 
 chapters were available online.

 -- jim

 On 8/6/06, *Eelco Hillenius* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 I'd like to add to that that Wicket requires you to know your Java,
 while e.g. using JSP allows to build whole web sites with hardly any
 Java knowledge. Whether that is a good thing or not is debatable.

 Eelco


 On 8/6/06, Eelco Hillenius [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
   What were/ are the problems you are experiencing Pierre-Yves?
  
   Usually the largest obstacle for people with Wicket (and Tapestry,
   Echo and GWT for that matter) is getting rid of the bad practices
 they
   got used to when working with frameworks like Struts etc. A lot of
   people learned programming Java web apps on frameworks like that,
 and
   never got much of the OO part. Otoh, if you're coming from e.g.
 Swing
   programming, Wicket should be easier for you.
  
   Wicket vs Stripes... it's oranges and pears - except for the fact
 that
   you both make web apps with them. Stripes is geared towards
   simplifying the common model 2 paradigm, and it does a very good
 job
   at that as far as I've seen, While Wicket is all about stateful,
 self
   contained, reusable components.
  
   Personally, I don't think Stripes is always easier than Wicket,
   especially when you look at e.g.
  

 http://mc4j.org/confluence/display/stripes/Binding+directly+to+your+domain+model
   ; Wicket's equivalent would be quite a lot easier imo, but for
 some
   things Stripes probably is easier, like when you are prototyping/
   moving your HTML structure around a lot.
  
   In the end, just choose which framework that gives you a warm and
   fuzzy feeling :) Stripes seems to be the best choice if you want
 to go
   for a model 2 framework.
  
   Read some more here:
   http://www.virtuas.com/articles/webframework-sweetspots.html
  
   Eelco
  
  
  
   On 8/6/06, Pierre-Yves Saumont [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:
I would be very interested to know how you compare Wicket and
 Stripes
and why you're leaning toward Wicket. (I didn't know about
 Stripes, but
at first glance, it seems much simpler than Wicket, which I
 have been
struggling with for two weeks now without much success!).
   
Pierre-Yves
   
Bill Bruyn a écrit :
 I have an opportunity to use a new framework on a current
 project, and
 I've been trying to decide between Wicket and Stripes.  Both
 look really
 nice, but at the moment I'm leaning toward Wicket.  Got a
 skeleton
 project set up with 1.2.1 (via Wicket Bench 0.3.0) and am
 running it
   

Re: [Wicket-user] CSS not found

2006-08-07 Thread Eelco Hillenius
 *) I hope Wicket in Action will turn out to be a bit more functional btw

We're trying the best we can of course :) We're certainly trying to
let Wicket In Action be more than just a how-to, but instead shed some
light on best practices, backgrounds, etc. Unfortunately, the fact
that we want to do the best job we can, and the fact that we're both
new to book writing, makes that it takes longer than we've hoped.

Eelco

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


Re: [Wicket-user] OT: Gmail invitation? Good SVN hosts?

2006-08-07 Thread Scott Swank
sent...

-- 
Scott Swank
reformed mathematician

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


Re: [Wicket-user] CSS not found

2006-08-07 Thread Eelco Hillenius
On 8/7/06, James Cook [EMAIL PROTECTED] wrote:
 I wouldn't be too quick to judge developers that struggle with your platform
 to be new to _good_ java programming. I have many years of Swing development
 experience and web experience dating back to the pre-servlet, pre-framework
 era. That said, Wicket does interest me because it is radically different
 that the page-based frameworks *and* JSF-based component frameworks
 available today.

Quick judgement is always bad. Sorry if that offended anyone.

 From my own experience, I would say the hardest part about _using_ Wicket is
 _learning_ Wicket. There is a hodgepodge of documentation scattered in a lot
 of different places. You are transitioning to a new version, and without a
 good collection of documents/best practices it seems a bit hopeless at
 times.
 Your Wicket in Action book is many months off. Hopefully it is geared for
 Wicket 2.0. Also, perhaps you can get Manning to release it in their early
 access program. I know I would buy it today if a few initial chapters were
 available online.

The documentation is scattered, but I would hope by now the many
examples we have would make up for that. But sure, one of the main
goals of Wicket In Action is that you'll learn it the proper way,
including the ins and outs/ tradeoffs and whys.

It will be a couple of months before Wicket In Action comes out, and
it will cover Wicket 2.0. Karthik Gurumurthy is working on another
book on Wicket, pro Wicket:
http://www.apress.com/book/bookDisplay.html?bID=10189, which should be
out and of which you can download parts today.

Eelco

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


Re: [Wicket-user] OT: Gmail invitation? Good SVN hosts?

2006-08-07 Thread Per Ejeklint
Thank you all for all the invitations. No more are needed, I'm now  
[EMAIL PROTECTED] and have put up my first project at the  
hosting site, to test it out.

/Per

7 aug 2006 kl. 12.40 skrev Per Ejeklint:

 Fellows,

 I'm trying out free hosting services - need a place to hold my spiffy
 wicket-application that I finally got started with. Want to try out
 Google Code but apparently you need Gmail. Can anyone invite me (Per
 Ejeklint, [EMAIL PROTECTED])?

 Also, any experience with free (or low-priced) SVN repo services that
 you want to share? I've tried OpenSVN.csie.org but it's awfully slow
 and unreliable - at least for me.

 Cheers,

 Per Ejeklint


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


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


Re: [Wicket-user] CSS background images

2006-08-07 Thread Eelco Hillenius
It's with Al Maw's earlier mail. We should consider whether/ where we
can integrate this functionality in existing parts instead of bluntly
copying it though. I haven't looked into it yet.

Eelco


On 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote:
 is it already in (haven't seen the commit i think)
 else do make a patch for it on sourceforge.

 johan



 On 8/1/06, Al Maw  [EMAIL PROTECTED] wrote:
 
 Igor Vaynberg wrote:
  i guess it is not something that we support right now, but something
  that is cleary needed. we need to build a resource that can load a css
  file, parse for images, replace them, and then serve the altered content.
 
  i know almaw has been working on something like this but i dont know how
  far he got. a patch would be welcome, if not then i guess you will have
  to wait until one of the core devels has the time.

 Sorry for the late reply - been on holiday. Please find attached
 something that might be useful.

 You'll need to change CssResource#getResourceStream() to understand how
 to tell if your app is in debug mode or not (see discussion on the dev
 list a week or two ago about that).

 Best regards,

  Al Maw


 -
 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




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


Re: [Wicket-user] OT: Gmail invitation? Good SVN hosts?

2006-08-07 Thread Igor Vaynberg
got a link to that project? :)

-Igor


On 8/7/06, Per Ejeklint [EMAIL PROTECTED] wrote:
 Thank you all for all the invitations. No more are needed, I'm now
 [EMAIL PROTECTED] and have put up my first project at the
 hosting site, to test it out.

 /Per

 7 aug 2006 kl. 12.40 skrev Per Ejeklint:

  Fellows,
 
  I'm trying out free hosting services - need a place to hold my spiffy
  wicket-application that I finally got started with. Want to try out
  Google Code but apparently you need Gmail. Can anyone invite me (Per
  Ejeklint, [EMAIL PROTECTED])?
 
  Also, any experience with free (or low-priced) SVN repo services that
  you want to share? I've tried OpenSVN.csie.org but it's awfully slow
  and unreliable - at least for me.
 
  Cheers,
 
  Per Ejeklint
 
 
  --
  ---
  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


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


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


Re: [Wicket-user] CSS not found

2006-08-07 Thread Pierre-Yves Saumont
 Karthik Gurumurthy is working on another
 book on Wicket, pro Wicket:
 http://www.apress.com/book/bookDisplay.html?bID=10189, which should be
 out and of which you can download parts today.

Yes, according to APres web site, it is possible to buy the Beta eBook 
now and download immediatly the 0 chapter(s) that are available ;-)

Pierre-Yves


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


[Wicket-user] - Page redirect infinite loop

2006-08-07 Thread Paolo Di Tommaso
Guys, I'm experiencing a very strange problem using Wicket (1.2.x) that I was unable to fix until now. I have mounted some pages overriding WebApplication#init() method like this: 
public void init() { mount( /test, new QueryStringUrlCodingStrategy(/test, MyPage.class) );
}So I can references the page by an url like 
http://host.com/web-path/servlet-path/test.But // SOMETIMES // invoking that page an infinite redirect loop occurs and the only way to stop the page loading is to press the browser stop button. I'm unable to replicate the problem because it happens in some aleatory way. But I've noticed two things: 
* wicket append to the URL the following parameter wicket:pageMapName=wicket-0
 like that:http://localhost:9080/coin-budget/budget/print?request_id=1521wicket:pageMapName=wicket-0
 
* moreover after the first time it happens it will persist for every subsequent request to that page unless I don't close the browser and start it again ...It's a very nasty problem, any idea to fix? 
Thank for helping.- Paolo
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] - Page redirect infinite loop

2006-08-07 Thread Johan Compagner
I think i did a fix for it just this weekend so this is fixed in the current trunk of 1.2.johanOn 8/7/06, Paolo Di Tommaso 
[EMAIL PROTECTED] wrote:Guys, I'm experiencing a very strange problem using Wicket (
1.2.x) that I was unable to fix until now. I have mounted some pages overriding WebApplication#init() method like this: 
public void init() { mount( /test, new QueryStringUrlCodingStrategy(/test, MyPage.class) );
}So I can references the page by an url like 

http://host.com/web-path/servlet-path/test.But // SOMETIMES // invoking that page an infinite redirect loop occurs and the only way to stop the page loading is to press the browser stop button. 
I'm unable to replicate the problem because it happens in some aleatory way. But I've noticed two things: 
* wicket append to the URL the following parameter 
wicket:pageMapName=wicket-0
 like that:
http://localhost:9080/coin-budget/budget/print?request_id=1521wicket:pageMapName=wicket-0
 
* moreover after the first time it happens it will persist for every subsequent request to that page unless I don't close the browser and start it again ...It's a very nasty problem, any idea to fix? 
Thank for helping.- Paolo

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

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


Re: [Wicket-user] CSS not found

2006-08-07 Thread Eelco Hillenius
Oh. Karthik is a member of this list afaik. Karthik, maybe you want to
tell people more about your schedule etc?

Eelco


On 8/7/06, Pierre-Yves Saumont [EMAIL PROTECTED] wrote:
  Karthik Gurumurthy is working on another
  book on Wicket, pro Wicket:
  http://www.apress.com/book/bookDisplay.html?bID=10189, which should be
  out and of which you can download parts today.

 Yes, according to APres web site, it is possible to buy the Beta eBook
 now and download immediatly the 0 chapter(s) that are available ;-)

 Pierre-Yves


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


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


Re: [Wicket-user] - Page redirect infinite loop

2006-08-07 Thread Johan Compagner
nopebecause the window.name code did his jobbut the QueryStringUrlCodingStrategy didn't pass on the pagemap that the window code did setso it was constantly again in the default pagemap and the 
window.name code kicks in again to do a redirect..johanOn 8/7/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:shouldnt the window.name
 have fixed this?-IgorOn 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote: I think i did a fix for it just this weekend so this is fixed in the current
 trunk of 1.2. johan On 8/7/06, Paolo Di Tommaso  [EMAIL PROTECTED] wrote: 
 Guys, I'm experiencing a very strange problem using Wicket ( 1.2.x) that I was unable to fix until now. I have mounted some pages overriding WebApplication#init() method like this:
public void init() {mount( /test, new QueryStringUrlCodingStrategy(/test, MyPage.class) ); } So I can references the page by an url like 
 http://host.com/web-path/servlet-path/test. But // SOMETIMES // invoking that page an infinite redirect loop occurs and the only way to stop the page loading is to press the browser stop button.
I'm unable to replicate the problem because it happens in some aleatory way. But I've noticed two things: * wicket append to the URL the following parameter  wicket:pageMapName=wicket-0  like that:
 http://localhost:9080/coin-budget/budget/print?request_id=1521wicket:pageMapName=wicket-0
 * moreover after the first time it happens it will persist for every subsequent request to that page unless I don't close the browser and start it again ... It's a very nasty problem, any idea to fix?
 Thank for helping. - Paolo - Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo 
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Wicket-user mailing list
Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user -
 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server 
v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___ Wicket-user mailing list Wicket-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wicket-user-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Korbinian Bachl



Hi,

after i played 3 
days withwicket, its time to come to a small conlcsion. To have it short, 
ill just write the pro and cons in my opinion. Later on i describe a problem i 
have with the mount i applied to the navomatic demo 
application.

Wicket 
Pro:
+ good idea and 
model
+ intuitive and easy 
to understand
+ few code needed 

+ 
OO

Cons:
- 
documentation isn worth the word...
(wiki tells you 
things thatdont work, are deprecated etc - has anyone a clue what is the 
non-deprecated alternativeto getSettings() ??? )
- wicket Markup output is on by default (pls care for VALID 
html)
- wicket-webage 
looks nice, but try to find sth. specific on it is horrific (e.g. Wicket Library 
under Related Projets instead under Documentation... as a newbie i want docs and 
didnt think a minute for any additional projects)
- mount seems broken 
completely if you use more than 1 package

Mount problem 
description:

i programmed the 
navomatic border example found on http://wicket.sourceforge.net/ExampleNavomatic.htmland 
enhanced it with a fourth page (page4) wich lies in a subpackage (my default is 
de.navo, where navomatic, page1/page2/page3 are and the package de.navo.test 
helds the page4).

I then created the 
init this way (i saw this recommended on javalobby and it makes sense to me, as 
i like putting things in a hirarchical way and ordered by their use 
-

public void 
init() {getSettings().setStripWicketTags(true);mount("/main", 
PackageName.forClass(navomatic.class));}

First i was happy, 
as it works as intended, but then i checked the pages - while the first 3 pages 
in main package are ok, the 4th in the subpackage has big problems - its link is 
http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Page4instead 
of the http://localhost:8080/Navo2/main/test/Page4 
and if youre on page4, all links, includig to the page4 itself, are completly 
untouched (the code wicket should replace isnt replaced) - so i thought to set 
each page individually,

try 2 was 
this:

public void init() 
{getSettings().setStripWicketTags(true);mountBookmarkablePage("/Page1", Page1.class);mountBookmarkablePage("/Page2", Page2.class);mountBookmarkablePage("/Page3", Page3.class);mountBookmarkablePage("/Page4", Page4.class);}
there 
the first 3 pages work as intended, however on page4 all the links become 
untouched again and present the dummy text
Best Regards,

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


Re: [Wicket-user] - Page redirect infinite loop

2006-08-07 Thread Paolo Di Tommaso
Can you give me more details on which classes to fix or would be better to make a full build? Thank.- Paolo On 8/7/06, Johan Compagner 
[EMAIL PROTECTED] wrote:I think i did a fix for it just this weekend so this is fixed in the current trunk of 
1.2.johan
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Johan Compagner
Settings object is dividedThe StripWicketTags is a part of the IMarkupSettings settings interface.PackageMounting is really the package not subpackages (as far as i know)What that second attempt failed i have to check out for myself first what exactly goes wrong.
johanOn 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:





Hi,

after i played 3 
days withwicket, its time to come to a small conlcsion. To have it short, 
ill just write the pro and cons in my opinion. Later on i describe a problem i 
have with the mount i applied to the navomatic demo 
application.

Wicket 
Pro:
+ good idea and 
model
+ intuitive and easy 
to understand
+ few code needed 

+ 
OO

Cons:
- 
documentation isn worth the word...
(wiki tells you 
things thatdont work, are deprecated etc - has anyone a clue what is the 
non-deprecated alternativeto getSettings() ??? )
- wicket Markup output is on by default (pls care for VALID 
html)
- wicket-webage 
looks nice, but try to find sth. specific on it is horrific (e.g. Wicket Library 
under Related Projets instead under Documentation... as a newbie i want docs and 
didnt think a minute for any additional projects)
- mount seems broken 
completely if you use more than 1 package

Mount problem 
description:

i programmed the 
navomatic border example found on 
http://wicket.sourceforge.net/ExampleNavomatic.htmland 
enhanced it with a fourth page (page4) wich lies in a subpackage (my default is 
de.navo, where navomatic, page1/page2/page3 are and the package de.navo.test 
helds the page4).

I then created the 
init this way (i saw this recommended on javalobby and it makes sense to me, as 
i like putting things in a hirarchical way and ordered by their use 
-

public void 
init() {getSettings().setStripWicketTags(true);
mount(/main, 
PackageName.forClass(navomatic.class));}

First i was happy, 
as it works as intended, but then i checked the pages - while the first 3 pages 
in main package are ok, the 4th in the subpackage has big problems - its link is 

http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Page4instead 
of the http://localhost:8080/Navo2/main/test/Page4
 
and if youre on page4, all links, includig to the page4 itself, are completly 
untouched (the code wicket should replace isnt replaced) - so i thought to set 
each page individually,

try 2 was 
this:

public void init() 
{getSettings().setStripWicketTags(true);
mountBookmarkablePage(/Page1, Page1.class);mountBookmarkablePage(
/Page2, Page2.class);mountBookmarkablePage(
/Page3, Page3.class);mountBookmarkablePage(/Page4
, Page4.class);}
there 
the first 3 pages work as intended, however on page4 all the links become 
untouched again and present the dummy text
Best Regards,

Korbinian

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

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


Re: [Wicket-user] New User Documentation

2006-08-07 Thread landry soules
Hi,I'm a very new (and very happy) Wicket user. Thanks a lot for this documentation index.About documentation, i think wicket examples are GREAT, and the best possible start for a newnie like me.The only thing i would like to be more documented, is the Model stuff, as it remains quite abstract for me.
2006/8/7, Gwyn Evans [EMAIL PROTECTED]:
To anyone getting started, there's a new Wiki page, DocumentationIndex at http://www.wicket-wiki.org.uk/wiki/index.php/Documentation_Index
which is an attempt to provide an overview to the primary sources ofinformation.Hopefully it'll help, but if not, please let us know what sort ofdocumentation/information you feel we need to focus on, please!
/Gwyn--Download Wicket 1.2.1 now! - http://wicketframework.org-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___Wicket-user mailing list
Wicket-user@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Johan Compagner
ahh ok tested it, i made a subpackage test and added there Page4.class and Page4.htmlThen i looked at NavomaticBorder.html and changed this: wicket:link a href = ""
Page1.htmlPage1/abr/ a href = ""> a href = ""
 a href = ""> /wicket:linkPage1 works then and the Page4 link i can click on.That shows me the Page4 but I reused the navomaticborder in page4 so Wicket:Link (auto link)
tries to suddenly resolve the same hrefs to urls. But Page1 and Page2 are not relative to Page4 so that will fail.So that won't work with auto links..johanOn 8/7/06, 
Korbinian Bachl [EMAIL PROTECTED] wrote:





Hi,

after i played 3 
days withwicket, its time to come to a small conlcsion. To have it short, 
ill just write the pro and cons in my opinion. Later on i describe a problem i 
have with the mount i applied to the navomatic demo 
application.

Wicket 
Pro:
+ good idea and 
model
+ intuitive and easy 
to understand
+ few code needed 

+ 
OO

Cons:
- 
documentation isn worth the word...
(wiki tells you 
things thatdont work, are deprecated etc - has anyone a clue what is the 
non-deprecated alternativeto getSettings() ??? )
- wicket Markup output is on by default (pls care for VALID 
html)
- wicket-webage 
looks nice, but try to find sth. specific on it is horrific (e.g. Wicket Library 
under Related Projets instead under Documentation... as a newbie i want docs and 
didnt think a minute for any additional projects)
- mount seems broken 
completely if you use more than 1 package

Mount problem 
description:

i programmed the 
navomatic border example found on 
http://wicket.sourceforge.net/ExampleNavomatic.htmland 
enhanced it with a fourth page (page4) wich lies in a subpackage (my default is 
de.navo, where navomatic, page1/page2/page3 are and the package de.navo.test 
helds the page4).

I then created the 
init this way (i saw this recommended on javalobby and it makes sense to me, as 
i like putting things in a hirarchical way and ordered by their use 
-

public void 
init() {getSettings().setStripWicketTags(true);
mount(/main, 
PackageName.forClass(navomatic.class));}

First i was happy, 
as it works as intended, but then i checked the pages - while the first 3 pages 
in main package are ok, the 4th in the subpackage has big problems - its link is 

http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Page4instead 
of the http://localhost:8080/Navo2/main/test/Page4
 
and if youre on page4, all links, includig to the page4 itself, are completly 
untouched (the code wicket should replace isnt replaced) - so i thought to set 
each page individually,

try 2 was 
this:

public void init() 
{getSettings().setStripWicketTags(true);
mountBookmarkablePage(/Page1, Page1.class);mountBookmarkablePage(
/Page2, Page2.class);mountBookmarkablePage(
/Page3, Page3.class);mountBookmarkablePage(/Page4
, Page4.class);}
there 
the first 3 pages work as intended, however on page4 all the links become 
untouched again and present the dummy text
Best Regards,

Korbinian

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

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


Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Igor Vaynberg
and we are back to autolinking. autolinking is really a /convinience/
feature that is meant to help you with simple situations. this usecase
is really an abuse of autolinking. dont expect it to do everything for
you, use regular links or page links instead.

-Igor


On 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote:
 ahh ok tested it, i made a subpackage test and added there Page4.class and
 Page4.html
 Then i looked at NavomaticBorder.html and changed this:



  wicket:link
   a href =  Page1.htmlPage1/abr/
   a href = Page2.htmlPage2/abr/
   a href = Page3.htmlPage3/a
   a href = test/Page4.htmlPage4/a
 /wicket:link

 Page1 works then and the Page4 link i can click on.
 That shows me the Page4 but I reused the navomaticborder in page4 so
 Wicket:Link (auto link)
 tries to suddenly resolve the same hrefs to urls. But Page1 and Page2 are
 not relative to Page4 so that will fail.

 So that won't work with auto links..

 johan



 On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 
 
 
 
  Hi,
 
  after i played 3 days with wicket, its time to come to a small conlcsion.
 To have it short, ill just write the pro and cons in my opinion. Later on i
 describe a problem i have with the mount i applied to the navomatic demo
 application.
 
  Wicket Pro:
  + good idea and model
  + intuitive and easy to understand
  + few code needed
  + OO
 
  Cons:
   - documentation isn worth the word...
  (wiki tells you things that dont work, are deprecated etc - has anyone a
 clue what is the non-deprecated alternative to getSettings() ??? )
  -  wicket Markup output is on by default (pls care for VALID html)
  - wicket-webage looks nice, but try to find sth. specific on it is
 horrific (e.g. Wicket Library under Related Projets instead under
 Documentation... as a newbie i want docs and didnt think a minute for any
 additional projects)
  - mount seems broken completely if you use more than 1 package
 
  Mount problem description:
 
  i programmed the navomatic border example found on
 http://wicket.sourceforge.net/ExampleNavomatic.html and
 enhanced it with a fourth page (page4) wich lies in a subpackage (my default
 is de.navo, where navomatic, page1/page2/page3 are and the package
 de.navo.test helds the page4).
 
  I then created the init this way (i saw this recommended on javalobby and
 it makes sense to me, as i like putting things in a hirarchical way and
 ordered by their use -
 
  public void init() {
  getSettings().setStripWicketTags(true);
  mount(/main, PackageName.forClass(navomatic.class));
  }
 
  First i was happy, as it works as intended, but then i checked the pages -
 while the first 3 pages in main package are ok, the 4th in the subpackage
 has big problems - its link is
 http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Page4
 instead of the http://localhost:8080/Navo2/main/test/Page4
 and if youre on page4, all links, includig to the page4 itself, are
 completly untouched (the code wicket should replace isnt replaced) - so i
 thought to set each page individually,
 
  try 2 was this:
 
 
  public void init() {
  getSettings().setStripWicketTags(true);
  mountBookmarkablePage(/Page1, Page1.class);
  mountBookmarkablePage( /Page2, Page2.class);
  mountBookmarkablePage( /Page3, Page3.class);
  mountBookmarkablePage(/Page4 , Page4.class);
  }
 
  there the first 3 pages work as intended, however on page4 all the links
 become untouched again and present the dummy text
 
  Best Regards,
 
 
 
  Korbinian
 

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

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




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

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




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

Re: [Wicket-user] New User Documentation

2006-08-07 Thread Johan Compagner
i love AbstractModels! ;)johanOn 8/7/06, landry soules [EMAIL PROTECTED] wrote:
Hi,I'm a very new (and very happy) Wicket user. Thanks a lot for this documentation index.
About documentation, i think wicket examples are GREAT, and the best possible start for a newnie like me.The only thing i would like to be more documented, is the Model stuff, as it remains quite abstract for me.
2006/8/7, Gwyn Evans [EMAIL PROTECTED]
:
To anyone getting started, there's a new Wiki page, DocumentationIndex at 
http://www.wicket-wiki.org.uk/wiki/index.php/Documentation_Index
which is an attempt to provide an overview to the primary sources ofinformation.Hopefully it'll help, but if not, please let us know what sort ofdocumentation/information you feel we need to focus on, please!
/Gwyn--Download Wicket 1.2.1 now! - http://wicketframework.org
-Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

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

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

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

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


Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Korbinian Bachl



Hi Johan,

if you want i can mail you the complete eclipse-project, so 
you dont have to do it yourself.

That 
the Settings object is divided is sth. i found out- but its quite hard (and 
unlogic for me) that the settings are scattered over various interfaces... 
however, the 
IMarkupSettings settings
hasnt 
got a setStripWicketTags method...is there any overview of all (!) settings 
possibilites and their execution ?
To the 
PackageMount - does this mean i have to define a mount for every 
subpackage?

Thanks 
for help,

Best 
Regards,

Korbinian


  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Johan 
  CompagnerGesendet: Montag, 7. August 2006 19:43An: 
  wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] 3 day 
  beginners overview / broken mounts
  Settings object is dividedThe StripWicketTags is a part of 
  the IMarkupSettings settings interface.PackageMounting is really the 
  package not subpackages (as far as i know)What that second attempt 
  failed i have to check out for myself first what exactly goes wrong. 
  johan
  On 8/7/06, Korbinian 
  Bachl [EMAIL PROTECTED] 
  wrote:
  


Hi,

after i played 3 days withwicket, 
its time to come to a small conlcsion. To have it short, ill just write the 
pro and cons in my opinion. Later on i describe a problem i have with the 
mount i applied to the navomatic demo application.

Wicket Pro:
+ good idea and model
+ intuitive and easy to 
understand
+ few code needed 
+ OO

Cons:
- documentation isn worth the 
word...
(wiki tells you things thatdont 
work, are deprecated etc - has anyone a clue what is the non-deprecated 
alternativeto getSettings() ??? )
- wicket Markup output is on by default (pls care for VALID 
html)
- wicket-webage looks nice, but try to 
find sth. specific on it is horrific (e.g. Wicket Library under Related 
Projets instead under Documentation... as a newbie i want docs and didnt 
think a minute for any additional projects)
- mount seems broken completely if you 
use more than 1 package

Mount problem 
description:

i programmed the navomatic border example 
found on http://wicket.sourceforge.net/ExampleNavomatic.htmland 
enhanced it with a fourth page (page4) wich lies in a subpackage (my default 
is de.navo, where navomatic, page1/page2/page3 are and the package 
de.navo.test helds the page4).

I then created the init this way (i saw 
this recommended on javalobby and it makes sense to me, as i like putting 
things in a hirarchical way and ordered by their use -

public void 
init() {getSettings().setStripWicketTags(true);mount("/main", 
PackageName.forClass(navomatic.class));}

First i was happy, as it works as 
intended, but then i checked the pages - while the first 3 pages in main 
package are ok, the 4th in the subpackage has big problems - its link is http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Page4instead 
of the http://localhost:8080/Navo2/main/test/Page4 and if youre 
on page4, all links, includig to the page4 itself, are completly untouched 
(the code wicket should replace isnt replaced) - so i thought to set each 
page individually,

try 2 was this:

public void init() 
{getSettings().setStripWicketTags(true);mountBookmarkablePage("/Page1", 
Page1.class);mountBookmarkablePage( 
"/Page2", Page2.class);mountBookmarkablePage( "/Page3", 
Page3.class);mountBookmarkablePage("/Page4" , 
Page4.class);}
there the first 3 
pages work as intended, however on page4 all the links become untouched 
again and present the dummy text
Best 
Regards,

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

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


Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Johan Compagner
Hi,IMarkupSettings: /** * Sets whether to remove wicket tags from the output. *  * @param stripWicketTags * whether to remove wicket tags from the output */
 void setStripWicketTags(boolean stripWicketTags);Yes you need to mound package by package. How would we else handle collisions?You can have a PageX in both packages. Or then suddenly add a piece of that dir that is left also to the url?
Packages in java are standalone things. There is not really such a thing as subpackages Thats only how we view them if we view them as a directory structure..johan
On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:





Hi Johan,

if you want i can mail you the complete eclipse-project, so 
you dont have to do it yourself.

That 
the Settings object is divided is sth. i found out- but its quite hard (and 
unlogic for me) that the settings are scattered over various interfaces... 
however, the 
IMarkupSettings settings
hasnt 
got a setStripWicketTags method...is there any overview of all (!) settings 
possibilites and their execution ?
To the 
PackageMount - does this mean i have to define a mount for every 
subpackage?

Thanks 
for help,

Best 
Regards,

Korbinian


  
  
  Von: 
[EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]
] Im Auftrag von Johan 
  CompagnerGesendet: Montag, 7. August 2006 19:43An: 
  wicket-user@lists.sourceforge.netBetreff:
 Re: [Wicket-user] 3 day 
  beginners overview / broken mounts
  Settings object is dividedThe StripWicketTags is a part of 
  the IMarkupSettings settings interface.PackageMounting is really the 
  package not subpackages (as far as i know)What that second attempt 
  failed i have to check out for myself first what exactly goes wrong. 
  johan
  On 8/7/06, Korbinian 
  Bachl [EMAIL PROTECTED] 
  wrote:
  


Hi,

after i played 3 days withwicket, 
its time to come to a small conlcsion. To have it short, ill just write the 
pro and cons in my opinion. Later on i describe a problem i have with the 
mount i applied to the navomatic demo application.

Wicket Pro:
+ good idea and model
+ intuitive and easy to 
understand
+ few code needed 
+ OO

Cons:
- documentation isn worth the 
word...
(wiki tells you things thatdont 
work, are deprecated etc - has anyone a clue what is the non-deprecated 
alternativeto getSettings() ??? )
- wicket Markup output is on by default (pls care for VALID 
html)
- wicket-webage looks nice, but try to 
find sth. specific on it is horrific (e.g. Wicket Library under Related 
Projets instead under Documentation... as a newbie i want docs and didnt 
think a minute for any additional projects)
- mount seems broken completely if you 
use more than 1 package

Mount problem 
description:

i programmed the navomatic border example 
found on 
http://wicket.sourceforge.net/ExampleNavomatic.htmland 
enhanced it with a fourth page (page4) wich lies in a subpackage (my default 
is de.navo, where navomatic, page1/page2/page3 are and the package 
de.navo.test helds the page4).

I then created the init this way (i saw 
this recommended on javalobby and it makes sense to me, as i like putting 
things in a hirarchical way and ordered by their use -

public void 
init() {getSettings().setStripWicketTags(true);
mount(/main, 
PackageName.forClass(navomatic.class));}

First i was happy, as it works as 
intended, but then i checked the pages - while the first 3 pages in main 
package are ok, the 4th in the subpackage has big problems - its link is 
http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Page4instead 
of the 
http://localhost:8080/Navo2/main/test/Page4 and if youre 
on page4, all links, includig to the page4 itself, are completly untouched 
(the code wicket should replace isnt replaced) - so i thought to set each 
page individually,

try 2 was this:

public void init() 
{getSettings().setStripWicketTags(true);
mountBookmarkablePage(/Page1, 
Page1.class);mountBookmarkablePage( 
/Page2, Page2.class);mountBookmarkablePage(
 /Page3, 
Page3.class);mountBookmarkablePage(/Page4 , 
Page4.class);}
there the first 3 
pages work as intended, however on page4 all the links become untouched 
again and present the dummy text
Best 
Regards,

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

Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Igor Vaynberg
well, i have often argued to remove autolinking. we have got a lot of
complaints/things people thought were bugs because of it.

-Igor


On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 thats a problem with my wicketed-mind! as wicket does so much, i just
 expectet it will do this, too :P

  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im Auftrag
  von Igor Vaynberg
  Gesendet: Montag, 7. August 2006 19:59
  An: wicket-user@lists.sourceforge.net
  Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts
 
  and we are back to autolinking. autolinking is really a
  /convinience/ feature that is meant to help you with simple
  situations. this usecase is really an abuse of autolinking.
  dont expect it to do everything for you, use regular links or
  page links instead.
 
  -Igor
 
 
  On 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote:
   ahh ok tested it, i made a subpackage test and added there
  Page4.class
   and Page4.html Then i looked at NavomaticBorder.html and
  changed this:
  
  
  
wicket:link
 a href =  Page1.htmlPage1/abr/
 a href = Page2.htmlPage2/abr/
 a href = Page3.htmlPage3/a
 a href = test/Page4.htmlPage4/a
   /wicket:link
  
   Page1 works then and the Page4 link i can click on.
   That shows me the Page4 but I reused the navomaticborder in
  page4 so
   Wicket:Link (auto link) tries to suddenly resolve the same hrefs to
   urls. But Page1 and Page2 are not relative to Page4 so that
  will fail.
  
   So that won't work with auto links..
  
   johan
  
  
  
   On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
   
   
   
   
Hi,
   
after i played 3 days with wicket, its time to come to a
  small conlcsion.
   To have it short, ill just write the pro and cons in my
  opinion. Later
   on i describe a problem i have with the mount i applied to the
   navomatic demo application.
   
Wicket Pro:
+ good idea and model
+ intuitive and easy to understand
+ few code needed
+ OO
   
Cons:
 - documentation isn worth the word...
(wiki tells you things that dont work, are deprecated etc - has
anyone a
   clue what is the non-deprecated alternative to getSettings() ??? )
-  wicket Markup output is on by default (pls care for VALID
html)
- wicket-webage looks nice, but try to find sth. specific on it is
   horrific (e.g. Wicket Library under Related Projets instead under
   Documentation... as a newbie i want docs and didnt think a
  minute for
   any additional projects)
- mount seems broken completely if you use more than 1 package
   
Mount problem description:
   
i programmed the navomatic border example found on
   http://wicket.sourceforge.net/ExampleNavomatic.html and enhanced it
   with a fourth page (page4) wich lies in a subpackage (my default is
   de.navo, where navomatic, page1/page2/page3 are and the package
   de.navo.test helds the page4).
   
I then created the init this way (i saw this recommended on
javalobby and
   it makes sense to me, as i like putting things in a hirarchical way
   and ordered by their use -
   
public void init() {
getSettings().setStripWicketTags(true);
mount(/main, PackageName.forClass(navomatic.class));
}
   
First i was happy, as it works as intended, but then i
  checked the
pages -
   while the first 3 pages in main package are ok, the 4th in the
   subpackage has big problems - its link is
  
  http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Page
   4 instead of the http://localhost:8080/Navo2/main/test/Page4
   and if youre on page4, all links, includig to the page4 itself, are
   completly untouched (the code wicket should replace isnt
  replaced) -
   so i thought to set each page individually,
   
try 2 was this:
   
   
public void init() {
getSettings().setStripWicketTags(true);
mountBookmarkablePage(/Page1, Page1.class);
  mountBookmarkablePage(
/Page2, Page2.class); mountBookmarkablePage( /Page3,
Page3.class); mountBookmarkablePage(/Page4 , Page4.class); }
   
there the first 3 pages work as intended, however on
  page4 all the
links
   become untouched again and present the dummy text
   
Best Regards,
   
   
   
Korbinian
   
  
  
  --
   --- Using Tomcat but need to do more? Need to support web services,
   security?
   Get stuff done quickly with pre-integrated technology to
  make your job
   easier Download IBM WebSphere Application Server v.1.0.1 based on
   Apache Geronimo
  
  http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=1216
   42
  
   ___
   Wicket-user mailing list
Wicket-user@lists.sourceforge.net
   

Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Igor Vaynberg
if you look in wicket.settings package you will see all the setting
interfaces. wicket has /a lot/ of options you can configure and having
them in a single object is overwhelming. just look at Settings in the
same package - this is the aggregate all interfaces point to - its
insane. the idea was to compartmentalize settings into units that will
make it easier for users to find - so if you want to change something
related to markup such as stripping wicket tags you just do
getMarkupSettings(). and your ide will show you all settings related
to markup.

-Igor


On 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote:
 Hi,

 IMarkupSettings:

 /**
  * Sets whether to remove wicket tags from the output.
  *
  * @param stripWicketTags
  *whether to remove wicket tags from the output
  */
 void setStripWicketTags(boolean stripWicketTags);


 Yes you need to mound package by package. How would we else handle
 collisions?
 You can have a PageX in both packages. Or then suddenly add a piece of that
 dir that is left also to the url?

 Packages in java are standalone things. There is not really such a thing as
 subpackages
 Thats only how we view them if we view them as a directory structure..


 johan



  On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 
 
 
  Hi Johan,
 
  if you want i can mail you the complete eclipse-project, so you dont have
 to do it yourself.
 
  That the Settings object is divided is sth. i found out- but its quite
 hard (and unlogic for me) that the settings are scattered over various
 interfaces... however, the
 
  IMarkupSettings settings
 
  hasnt got a setStripWicketTags method...
  is there any overview of all (!) settings possibilites and their execution
 ?
  To the PackageMount - does this mean i have to define a mount for every
 subpackage?
 
  Thanks for help,
 
  Best Regards,
 
  Korbinian
 
 
 
  
  Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] ] Im
 Auftrag von Johan Compagner
  Gesendet: Montag, 7. August 2006 19:43
  An: wicket-user@lists.sourceforge.net
  Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts
 
 
 
  Settings object is divided
 
  The StripWicketTags is a part of the IMarkupSettings settings interface.
 
  PackageMounting is really the package not subpackages (as far as i know)
 
  What that second attempt failed i have to check out for myself first what
 exactly goes wrong.
 
  johan
 
 
 
  On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
  
  
  
   Hi,
  
   after i played 3 days with wicket, its time to come to a small
 conlcsion. To have it short, ill just write the pro and cons in my opinion.
 Later on i describe a problem i have with the mount i applied to the
 navomatic demo application.
  
   Wicket Pro:
   + good idea and model
   + intuitive and easy to understand
   + few code needed
   + OO
  
   Cons:
- documentation isn worth the word...
   (wiki tells you things that dont work, are deprecated etc - has anyone a
 clue what is the non-deprecated alternative to getSettings() ??? )
   -  wicket Markup output is on by default (pls care for VALID html)
   - wicket-webage looks nice, but try to find sth. specific on it is
 horrific (e.g. Wicket Library under Related Projets instead under
 Documentation... as a newbie i want docs and didnt think a minute for any
 additional projects)
   - mount seems broken completely if you use more than 1 package
  
   Mount problem description:
  
   i programmed the navomatic border example found on
 http://wicket.sourceforge.net/ExampleNavomatic.html and
 enhanced it with a fourth page (page4) wich lies in a subpackage (my default
 is de.navo, where navomatic, page1/page2/page3 are and the package
 de.navo.test helds the page4).
  
   I then created the init this way (i saw this recommended on javalobby
 and it makes sense to me, as i like putting things in a hirarchical way and
 ordered by their use -
  
   public void init() {
   getSettings().setStripWicketTags(true);
   mount(/main, PackageName.forClass(navomatic.class));
   }
  
   First i was happy, as it works as intended, but then i checked the pages
 - while the first 3 pages in main package are ok, the 4th in the subpackage
 has big problems - its link is
 http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Page4
 instead of the http://localhost:8080/Navo2/main/test/Page4
 and if youre on page4, all links, includig to the page4 itself, are
 completly untouched (the code wicket should replace isnt replaced) - so i
 thought to set each page individually,
  
   try 2 was this:
  
  
   public void init() {
   getSettings().setStripWicketTags(true);
   mountBookmarkablePage(/Page1, Page1.class);
   mountBookmarkablePage( /Page2, Page2.class);
   mountBookmarkablePage( /Page3, Page3.class);
   mountBookmarkablePage(/Page4 , Page4.class);
   }
  
   there the first 3 pages work as intended, however on page4 all the links
 become untouched 

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-07 Thread Johan Compagner
Do enlighting me..Why would you override a request cycle?What other cycle would you then generate?The only thing you want to really replace is the Response..Replace the response. Render the page that you want as email
Restore the response and render the real output page (that says email sent or something)What would you replace a complete request cycle for that?johanOn 8/4/06, 
Igor Vaynberg [EMAIL PROTECTED] wrote:
add an rfe so it doesnt slip, or of course a patch would be welcome :)-Igor
On 8/4/06, Alexei Sokolov 
[EMAIL PROTECTED] wrote:
And if you can do it in 1.2.2 it would be great.
AlexOn 8/4/06, Igor Vaynberg 

[EMAIL PROTECTED]
 wrote:
we can add a set() to request cycle as well :)
-IgorOn 8/4/06, Alexei Sokolov 


[EMAIL PROTECTED]
 wrote:
For Application  Session you have set() methods. So, you can backup current values and then restore them.
AlexOn 8/4/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:



request cycle is not the only problem. we have application and session threadlocals as well.
-IgorOn 8/4/06, Alexei Sokolov 





[EMAIL PROTECTED] wrote:




You can introduce push/pop methods on RequestCycle in the next version of wicket.
AlexOn 8/4/06, Igor Vaynberg 






[EMAIL PROTECTED] wrote:





yeah, the threadlocal context vars are prob going to be a problem. you can spin off a worker thread to do the render and wait for it.
-IgorOn 8/4/06, 
Alexei Sokolov [EMAIL PROTECTED] wrote:







One more roadblock... RequestCycle constructor  current ThreadLocal variable. There is no way to alter value of current RequestCycle after it was set in the constructor, which means that I cannot suspend current request cycle, generate my page into a string, and then resume the original request cycle.
AlexOn 8/4/06, Alexei Sokolov 







[EMAIL PROTECTED] wrote:
Well, for some reason I cannot render a page using MockupWebApplication. I get an exception saying that all components on the page failed to render. Log file, however, says that every one of them was rendered. I think that the problem lies inside 
ComponentRequestTarget.respond(final RequestCycle requestCycle) method. This code will call checkRendering() as part of page.renderPage() call: if (component instanceof Page)  {   // Use the default Page request target, if component is a Page
   new PageRequestTarget((Page)component).respond(requestCycle);  }checkRendering() method will clear page.renderedComponents collection. But then this code will call checkRendering() again and will fail because renderedComponents is null:   
if (page != null)  {   page.endComponentRender(component);  }Is it a bug in wicket?Alex
On 8/3/06, Eelco Hillenius
 [EMAIL PROTECTED] wrote:









Well, for instance if you need something like I needed forwww.burgerweeshuis.nl
 (years ago): administrators maintain a template
with basic scripting facilities (accessing context variables,
conditionals, etc). In that case using Velocity is simpler.EelcoOn 8/3/06, Igor Vaynberg 








[EMAIL PROTECTED] wrote: well...if you are generating html emails and you have common display panels
 already in place for pojos, why not reuse those? you get to reuse the layout, css, etc with almost no effort. -IgorOn 8/3/06, Eelco Hillenius 









[EMAIL PROTECTED] wrote: Fair enough. I wouldn't say I'm against it per se. But for many cases imo it is overkill. Eelco On 8/3/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:  i disagree, i think wicket is in itself a great templating engine
  in 3.0 i would like to separate the layers more so you can easily build up
  components and render them to anywhere - gets you a component-oriented  templating engine :)   -Igor On 8/3/06, Eelco Hillenius 
[EMAIL PROTECTED] wrote:   It is possible, and you should look at our junit test cases to get
  some inspiration. Whether it is recommended... I don't know. I'd go
  for something simple like a Velocity template. Wicket components are  meant for interaction, something you don't need when creating email  messages.   Eelco









On 8/3/06, Alexei Sokolov [EMAIL PROTECTED]
 wrote:







   Hello, I would like to reuse some of the components I have to generate e-mail
   reports. Is it possible? Thank you,   Alex  -
   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 

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-07 Thread Igor Vaynberg
while processing a wicket request - you want to generate a separate
email by rendering a separate page into a separate response and then
email that. right now you have to use wickettester to do that but that
sets up its own application/session/request cycle so it messes with
the threadlocals currently set.

feel enlightened?

-Igor


On 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote:
 Do enlighting me..
 Why would you override a request cycle?
 What other cycle would you then generate?
 The only thing you want to really replace is the Response..
 Replace the response. Render the page that you want as email
 Restore the response and render the real output page (that says email sent
 or something)

 What would you replace a complete request cycle for that?

 johan



 On 8/4/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 

 add an rfe so it doesnt slip, or of course a patch would be welcome :)

 -Igor



  On 8/4/06, Alexei Sokolov  [EMAIL PROTECTED] wrote:
 

 And if you can do it in 1.2.2 it would be great.

 Alex


 On 8/4/06, Igor Vaynberg  [EMAIL PROTECTED]  wrote:
 

 we can add a set() to request cycle as well :)

 -Igor



 On 8/4/06, Alexei Sokolov  [EMAIL PROTECTED]  wrote:
 

 For Application  Session you have set() methods. So, you can backup current
 values and then restore them.

 Alex


 On 8/4/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 

 request cycle is not the only problem. we have application and session
 threadlocals as well.

 -Igor



 On 8/4/06, Alexei Sokolov  [EMAIL PROTECTED] wrote:
 

 You can introduce push/pop methods on RequestCycle in the next version of
 wicket.

 Alex


 On 8/4/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 

 yeah, the threadlocal context vars are prob going to be a problem. you can
 spin off a worker thread to do the render and wait for it.

 -Igor



 On 8/4/06, Alexei Sokolov [EMAIL PROTECTED] wrote:
 

 One more roadblock... RequestCycle constructor  current ThreadLocal
 variable. There is no way to alter value of current RequestCycle after it
 was set in the constructor, which means that I cannot suspend current
 request cycle, generate my page into a string, and then resume the original
 request cycle.

 Alex


 On 8/4/06, Alexei Sokolov  [EMAIL PROTECTED] wrote:
 
  Well, for some reason I cannot render a page using MockupWebApplication. I
 get an exception saying that all components on the page failed to render.
 Log file, however, says that every one of them was rendered. I think that
 the problem lies inside ComponentRequestTarget.respond(final RequestCycle
 requestCycle) method. This code will call checkRendering() as part of
 page.renderPage() call:
 
  if (component instanceof Page)
  {
  // Use the default Page request target, if component is a Page
  new
 PageRequestTarget((Page)component).respond(requestCycle);
  }
 
  checkRendering() method will clear page.renderedComponents collection. But
 then this code will call checkRendering() again and will fail because
 renderedComponents is null:
  if (page != null)
  {
  page.endComponentRender(component);
  }
 
  Is it a bug in wicket?
 
  Alex
 
 
  On 8/3/06, Eelco Hillenius [EMAIL PROTECTED] wrote:
   Well, for instance if you need something like I needed for
   www.burgerweeshuis.nl (years ago): administrators maintain a template
   with basic scripting facilities (accessing context variables,
   conditionals, etc). In that case using Velocity is simpler.
  
   Eelco
  
  
   On 8/3/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
well...if you are generating html emails and you have common display
 panels
already in place for pojos, why not reuse those? you get to reuse the
layout, css, etc with almost no effort.
   
-Igor
   
   
   
 On 8/3/06, Eelco Hillenius  [EMAIL PROTECTED] wrote:

 Fair enough. I wouldn't say I'm against it per se. But for many cases
imo it is overkill.
   
Eelco
   
   
On 8/3/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
 i disagree, i think wicket is in itself a great templating engine
 in 3.0 i would like to separate the layers more so you can easily
 build up
 components and render them to anywhere - gets you a
 component-oriented
 templating engine :)

 -Igor



 On 8/3/06, Eelco Hillenius  [EMAIL PROTECTED] wrote:
 
  It is possible, and you should look at our junit test cases to get
 some inspiration. Whether it is recommended... I don't know. I'd go
 for something simple like a Velocity template. Wicket components are
 meant for interaction, something you don't need when creating email
 messages.

 Eelco


 On 8/3/06, Alexei Sokolov [EMAIL PROTECTED]  wrote:
  Hello,
 
  I would like to reuse some of the components I have to generate
 e-mail
  reports. Is it possible?
 
  Thank you,
  Alex
 
 

   
 

Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Korbinian Bachl



Ah, sorry, had implemented a wrong interface 


The collision is logic, but could be resolved as the 
highest level gets the primary attention... but ok, writing some lines 
mount-code is not a big problem.

Thanks for your help!

  
  
  Von: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] Im Auftrag von Johan 
  CompagnerGesendet: Montag, 7. August 2006 20:07An: 
  wicket-user@lists.sourceforge.netBetreff: Re: [Wicket-user] 3 day 
  beginners overview / broken mounts
  Hi,IMarkupSettings: 
  /** * Sets whether to remove wicket tags from the 
  output. *  * @param 
  stripWicketTags 
  * 
  whether to remove wicket tags from the output */ 
   void setStripWicketTags(boolean 
  stripWicketTags);Yes you need to mound package by package. How 
  would we else handle collisions?You can have a PageX in both packages. Or 
  then suddenly add a piece of that dir that is left also to the url? 
  Packages in java are standalone things. There is not really such a 
  thing as subpackages Thats only how we view them if we view them as a 
  directory structure..johan
  On 8/7/06, Korbinian 
  Bachl [EMAIL PROTECTED] 
  wrote:
  


Hi 
Johan,

if you 
want i can mail you the complete eclipse-project, so you dont have to do it 
yourself.

That the Settings object is 
divided is sth. i found out- but its quite hard (and unlogic for me) that 
the settings are scattered over various interfaces... however, the 
IMarkupSettings settings
hasnt got a 
setStripWicketTags method...is there any overview of all (!) settings 
possibilites and their execution ?
To the PackageMount - does 
this mean i have to define a mount for every subpackage?

Thanks for 
help,

Best 
Regards,

Korbinian


  
  
  Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] Im 
  Auftrag von Johan CompagnerGesendet: Montag, 7. August 2006 
  19:43An: wicket-user@lists.sourceforge.netBetreff: Re: 
  [Wicket-user] 3 day beginners overview / broken 
mounts

Settings object is dividedThe StripWicketTags is a part 
of the IMarkupSettings settings interface.PackageMounting is really 
the package not subpackages (as far as i know)What that second 
attempt failed i have to check out for myself first what exactly goes wrong. 
johan
On 8/7/06, Korbinian 
Bachl [EMAIL PROTECTED] wrote: 

  
  
  Hi,
  
  after i played 3 days withwicket, 
  its time to come to a small conlcsion. To have it short, ill just write 
  the pro and cons in my opinion. Later on i describe a problem i have with 
  the mount i applied to the navomatic demo application.
  
  Wicket Pro:
  + good idea and 
  model
  + intuitive and easy to 
  understand
  + few code needed 
  + OO
  
  Cons:
  - documentation isn worth the 
  word...
  (wiki tells you things thatdont 
  work, are deprecated etc - has anyone a clue what is the non-deprecated 
  alternativeto getSettings() ??? )
  - wicket Markup output is on by default (pls care for VALID 
  html)
  - wicket-webage looks nice, but try to 
  find sth. specific on it is horrific (e.g. Wicket Library under Related 
  Projets instead under Documentation... as a newbie i want docs and didnt 
  think a minute for any additional projects)
  - mount seems broken completely if you 
  use more than 1 package
  
  Mount problem 
  description:
  
  i programmed the navomatic border 
  example found on http://wicket.sourceforge.net/ExampleNavomatic.htmland 
  enhanced it with a fourth page (page4) wich lies in a subpackage (my 
  default is de.navo, where navomatic, page1/page2/page3 are and the package 
  de.navo.test helds the page4).
  
  I then created the init this way (i saw 
  this recommended on javalobby and it makes sense to me, as i like putting 
  things in a hirarchical way and ordered by their use -
  
  public void 
  init() {getSettings().setStripWicketTags(true);mount("/main", 
  PackageName.forClass(navomatic.class));}
  
  First i was happy, as it works as 
  intended, but then i checked the pages - while the first 3 pages in main 
  package are ok, the 4th in the subpackage has big problems - its link is 
  http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Page4instead 
  of the http://localhost:8080/Navo2/main/test/Page4 and if youre 
  on page4, all links, includig to the page4 itself, are completly untouched 
  (the code wicket should replace isnt replaced) - so i thought to set each 
  page individually,
  
  try 2 was this:
  
  public void 
  init() {getSettings().setStripWicketTags(true);mountBookmarkablePage("/Page1", 
  Page1.class);mountBookmarkablePage( "/Page2", 
  

Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Korbinian Bachl
Perhaps disabling it by default and creating a doc-page that explains its
limits and usage would do the trick  

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Igor Vaynberg
 Gesendet: Montag, 7. August 2006 20:08
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts
 
 well, i have often argued to remove autolinking. we have got 
 a lot of complaints/things people thought were bugs because of it.
 
 -Igor
 
 
 On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
  thats a problem with my wicketed-mind! as wicket does so much, i 
  just expectet it will do this, too :P
 
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Im Auftrag von 
   Igor Vaynberg
   Gesendet: Montag, 7. August 2006 19:59
   An: wicket-user@lists.sourceforge.net
   Betreff: Re: [Wicket-user] 3 day beginners overview / 
 broken mounts
  
   and we are back to autolinking. autolinking is really a 
   /convinience/ feature that is meant to help you with simple 
   situations. this usecase is really an abuse of autolinking.
   dont expect it to do everything for you, use regular 
 links or page 
   links instead.
  
   -Igor
  
  
   On 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote:
ahh ok tested it, i made a subpackage test and added there
   Page4.class
and Page4.html Then i looked at NavomaticBorder.html and
   changed this:
   
   
   
 wicket:link
  a href =  Page1.htmlPage1/abr/
  a href = Page2.htmlPage2/abr/
  a href = Page3.htmlPage3/a
  a href = test/Page4.htmlPage4/a
/wicket:link
   
Page1 works then and the Page4 link i can click on.
That shows me the Page4 but I reused the navomaticborder in
   page4 so
Wicket:Link (auto link) tries to suddenly resolve the 
 same hrefs 
to urls. But Page1 and Page2 are not relative to Page4 so that
   will fail.
   
So that won't work with auto links..
   
johan
   
   
   
On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:




 Hi,

 after i played 3 days with wicket, its time to come to a
   small conlcsion.
To have it short, ill just write the pro and cons in my
   opinion. Later
on i describe a problem i have with the mount i applied to the 
navomatic demo application.

 Wicket Pro:
 + good idea and model
 + intuitive and easy to understand few code needed OO

 Cons:
  - documentation isn worth the word...
 (wiki tells you things that dont work, are deprecated 
 etc - has 
 anyone a
clue what is the non-deprecated alternative to 
 getSettings() ??? )
 -  wicket Markup output is on by default (pls care for VALID
 html)
 - wicket-webage looks nice, but try to find sth. 
 specific on it 
 is
horrific (e.g. Wicket Library under Related Projets 
 instead under 
Documentation... as a newbie i want docs and didnt think a
   minute for
any additional projects)
 - mount seems broken completely if you use more than 1 package

 Mount problem description:

 i programmed the navomatic border example found on
http://wicket.sourceforge.net/ExampleNavomatic.html and 
 enhanced 
it with a fourth page (page4) wich lies in a subpackage (my 
default is de.navo, where navomatic, page1/page2/page3 
 are and the 
package de.navo.test helds the page4).

 I then created the init this way (i saw this recommended on 
 javalobby and
it makes sense to me, as i like putting things in a hirarchical 
way and ordered by their use -

 public void init() {
 getSettings().setStripWicketTags(true);
 mount(/main, PackageName.forClass(navomatic.class));
 }

 First i was happy, as it works as intended, but then i
   checked the
 pages -
while the first 3 pages in main package are ok, the 4th in the 
subpackage has big problems - its link is
   
   
 http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Pa
   ge
4 instead of the http://localhost:8080/Navo2/main/test/Page4
and if youre on page4, all links, includig to the page4 itself, 
are completly untouched (the code wicket should replace isnt
   replaced) -
so i thought to set each page individually,

 try 2 was this:


 public void init() {
 getSettings().setStripWicketTags(true);
 mountBookmarkablePage(/Page1, Page1.class);
   mountBookmarkablePage(
 /Page2, Page2.class); mountBookmarkablePage( /Page3, 
 Page3.class); mountBookmarkablePage(/Page4 , Page4.class); }

 there the first 3 pages work as intended, however on
   page4 all the
 links
become untouched again and present the dummy text

 Best Regards,



 

Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Eelco Hillenius
Yeah. And I argued to have it not in there in the first place. But
many users and some team members felt really strong about this
feature, and probably still feel like that today. Convenience isn't
always the right thing.

Anyway, we have to live with this feature now, and we should support
it in the best way we can. Maybe the best way here is to document the
catches in a place that is easy to find.

Eelco


On 8/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 well, i have often argued to remove autolinking. we have got a lot of
 complaints/things people thought were bugs because of it.

 -Igor


 On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
  thats a problem with my wicketed-mind! as wicket does so much, i just
  expectet it will do this, too :P
 
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Im Auftrag
   von Igor Vaynberg
   Gesendet: Montag, 7. August 2006 19:59
   An: wicket-user@lists.sourceforge.net
   Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts
  
   and we are back to autolinking. autolinking is really a
   /convinience/ feature that is meant to help you with simple
   situations. this usecase is really an abuse of autolinking.
   dont expect it to do everything for you, use regular links or
   page links instead.
  
   -Igor
  
  
   On 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote:
ahh ok tested it, i made a subpackage test and added there
   Page4.class
and Page4.html Then i looked at NavomaticBorder.html and
   changed this:
   
   
   
 wicket:link
  a href =  Page1.htmlPage1/abr/
  a href = Page2.htmlPage2/abr/
  a href = Page3.htmlPage3/a
  a href = test/Page4.htmlPage4/a
/wicket:link
   
Page1 works then and the Page4 link i can click on.
That shows me the Page4 but I reused the navomaticborder in
   page4 so
Wicket:Link (auto link) tries to suddenly resolve the same hrefs to
urls. But Page1 and Page2 are not relative to Page4 so that
   will fail.
   
So that won't work with auto links..
   
johan
   
   
   
On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:




 Hi,

 after i played 3 days with wicket, its time to come to a
   small conlcsion.
To have it short, ill just write the pro and cons in my
   opinion. Later
on i describe a problem i have with the mount i applied to the
navomatic demo application.

 Wicket Pro:
 + good idea and model
 + intuitive and easy to understand
 + few code needed
 + OO

 Cons:
  - documentation isn worth the word...
 (wiki tells you things that dont work, are deprecated etc - has
 anyone a
clue what is the non-deprecated alternative to getSettings() ??? )
 -  wicket Markup output is on by default (pls care for VALID
 html)
 - wicket-webage looks nice, but try to find sth. specific on it is
horrific (e.g. Wicket Library under Related Projets instead under
Documentation... as a newbie i want docs and didnt think a
   minute for
any additional projects)
 - mount seems broken completely if you use more than 1 package

 Mount problem description:

 i programmed the navomatic border example found on
http://wicket.sourceforge.net/ExampleNavomatic.html and enhanced it
with a fourth page (page4) wich lies in a subpackage (my default is
de.navo, where navomatic, page1/page2/page3 are and the package
de.navo.test helds the page4).

 I then created the init this way (i saw this recommended on
 javalobby and
it makes sense to me, as i like putting things in a hirarchical way
and ordered by their use -

 public void init() {
 getSettings().setStripWicketTags(true);
 mount(/main, PackageName.forClass(navomatic.class));
 }

 First i was happy, as it works as intended, but then i
   checked the
 pages -
while the first 3 pages in main package are ok, the 4th in the
subpackage has big problems - its link is
   
   http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Page
4 instead of the http://localhost:8080/Navo2/main/test/Page4
and if youre on page4, all links, includig to the page4 itself, are
completly untouched (the code wicket should replace isnt
   replaced) -
so i thought to set each page individually,

 try 2 was this:


 public void init() {
 getSettings().setStripWicketTags(true);
 mountBookmarkablePage(/Page1, Page1.class);
   mountBookmarkablePage(
 /Page2, Page2.class); mountBookmarkablePage( /Page3,
 Page3.class); mountBookmarkablePage(/Page4 , Page4.class); }

 there the first 3 pages work as intended, however on
   page4 all the
 links
become untouched again and present the dummy text
 

Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Igor Vaynberg
are you willing to do that? :) we rely on users to create wiki
articles because we ourselves lack the time.

-Igor


On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 Perhaps disabling it by default and creating a doc-page that explains its
 limits and usage would do the trick

  -Ursprüngliche Nachricht-
  Von: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Im Auftrag
  von Igor Vaynberg
  Gesendet: Montag, 7. August 2006 20:08
  An: wicket-user@lists.sourceforge.net
  Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts
 
  well, i have often argued to remove autolinking. we have got
  a lot of complaints/things people thought were bugs because of it.
 
  -Igor
 
 
  On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
   thats a problem with my wicketed-mind! as wicket does so much, i
   just expectet it will do this, too :P
  
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Igor Vaynberg
Gesendet: Montag, 7. August 2006 19:59
An: wicket-user@lists.sourceforge.net
Betreff: Re: [Wicket-user] 3 day beginners overview /
  broken mounts
   
and we are back to autolinking. autolinking is really a
/convinience/ feature that is meant to help you with simple
situations. this usecase is really an abuse of autolinking.
dont expect it to do everything for you, use regular
  links or page
links instead.
   
-Igor
   
   
On 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote:
 ahh ok tested it, i made a subpackage test and added there
Page4.class
 and Page4.html Then i looked at NavomaticBorder.html and
changed this:



  wicket:link
   a href =  Page1.htmlPage1/abr/
   a href = Page2.htmlPage2/abr/
   a href = Page3.htmlPage3/a
   a href = test/Page4.htmlPage4/a
 /wicket:link

 Page1 works then and the Page4 link i can click on.
 That shows me the Page4 but I reused the navomaticborder in
page4 so
 Wicket:Link (auto link) tries to suddenly resolve the
  same hrefs
 to urls. But Page1 and Page2 are not relative to Page4 so that
will fail.

 So that won't work with auto links..

 johan



 On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
 
 
 
 
  Hi,
 
  after i played 3 days with wicket, its time to come to a
small conlcsion.
 To have it short, ill just write the pro and cons in my
opinion. Later
 on i describe a problem i have with the mount i applied to the
 navomatic demo application.
 
  Wicket Pro:
  + good idea and model
  + intuitive and easy to understand few code needed OO
 
  Cons:
   - documentation isn worth the word...
  (wiki tells you things that dont work, are deprecated
  etc - has
  anyone a
 clue what is the non-deprecated alternative to
  getSettings() ??? )
  -  wicket Markup output is on by default (pls care for VALID
  html)
  - wicket-webage looks nice, but try to find sth.
  specific on it
  is
 horrific (e.g. Wicket Library under Related Projets
  instead under
 Documentation... as a newbie i want docs and didnt think a
minute for
 any additional projects)
  - mount seems broken completely if you use more than 1 package
 
  Mount problem description:
 
  i programmed the navomatic border example found on
 http://wicket.sourceforge.net/ExampleNavomatic.html and
  enhanced
 it with a fourth page (page4) wich lies in a subpackage (my
 default is de.navo, where navomatic, page1/page2/page3
  are and the
 package de.navo.test helds the page4).
 
  I then created the init this way (i saw this recommended on
  javalobby and
 it makes sense to me, as i like putting things in a hirarchical
 way and ordered by their use -
 
  public void init() {
  getSettings().setStripWicketTags(true);
  mount(/main, PackageName.forClass(navomatic.class));
  }
 
  First i was happy, as it works as intended, but then i
checked the
  pages -
 while the first 3 pages in main package are ok, the 4th in the
 subpackage has big problems - its link is

   
  http://localhost:8080/Navo2?wicket:bookmarkablePage=:de.navo.test.Pa
ge
 4 instead of the http://localhost:8080/Navo2/main/test/Page4
 and if youre on page4, all links, includig to the page4 itself,
 are completly untouched (the code wicket should replace isnt
replaced) -
 so i thought to set each page individually,
 
  try 2 was this:
 
 
  public void init() {
  getSettings().setStripWicketTags(true);
  mountBookmarkablePage(/Page1, Page1.class);
mountBookmarkablePage(
  /Page2, Page2.class); 

Re: [Wicket-user] qwicket

2006-08-07 Thread Md Mozammel Haque
Thanks Igor! After manually adding most of the required jar files, and fixing/changing several jar files (for versioning issues), I am able to run my first qwicket webapp. It took quite an effort, though it was worth it. On my way to explore it to more detail...
- MozammelOn 8/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
the problem is that some jars provided by sun are not allowed to beredistributed. in this case javax.mail is the problem. you have to goand manually download the file from sun and put it into your localrepo.
if you try to run qwicket's maven build and then look under your mavenrepo you will see a folder javax/mail/mail/1.3.3. inside this folderyou will see mail-1.3.3.pom but no jar - because it is only available
from sun. inside the pom is a url to go download this file, once youdownload it rename the jar to mail-1.3.3.jar and put it into thatfolder.run the maven build again and you should be good to go. notice you
might have to repeat this procedure for other dependencies that areonly available from sun.but once you install them you wont have this problem anymore so its aone time deal.-IgorOn 8/6/06, Md Mozammel Haque 
[EMAIL PROTECTED] wrote: Yes, I also tried to run it but fell into same problem. Can you please explain little more regarding massage your maven repository? Or, the
 documentation/script that you are developing may be real helpful for running qwicket apps out of the box. - Mozammel On 8/6/06, Justin Lee 
[EMAIL PROTECTED] wrote:  -BEGIN PGP SIGNED MESSAGE-  Hash: RIPEMD160   It does run out of the box, but you do need to massage your maven  repository first.I'm working on some documentation and a script to
  help do that as simply as possible.The problem is that sun restricts  the distribution of their jar files so that they can't be bundled.   Michael Welter wrote:   I used the qwicket web page to generate a skeleton project.When I
   compiled, it was unable to get the jar files.I added the jars manually. When I move the war file to Tomcat and try to bring up the first page, I   get 404 not found.
 Will the skeleton project run out of the box (at least the first page)? Thanks, - --  Justin Lee
  http://www.antwerkz.com  AIM : evan chooly  Skype : evanchooly  -BEGIN PGP SIGNATURE-  Version: GnuPG v1.4.2.1 (Cygwin)
   iD8DBQFE1fQzJnQfEGuJ90MRA1V0AJ4kBrE4SpYKSx2qJnFGMTh3gNHivgCfXiRt  osB0GEOeSKEuY3KYE4iz9wY=  =/Vec  -END PGP SIGNATURE-  
 -  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 ITJoin SourceForge.net's Techsay panel and you'll get the chance to share youropinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user-- Md Mozammel Haque
http://www.mozammelhaque.comCell: (+88) 015 231 7067
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] generating e-mail reports with wicket

2006-08-07 Thread Johan Compagner
not not reallyi must be missing something..Link.onClick(){ StirngResponse response = new StringResponse(); RequestCycle.setResponse(response); MyEmailPage page = new MyEmailPage(); 
page.renderPage(); REquestCycle.setResonse(previous); smtpServer.sent(response.toString()); setResponePage(new EmailSendPage());}johanOn 8/7/06, 
Igor Vaynberg [EMAIL PROTECTED] wrote:
while processing a wicket request - you want to generate a separateemail by rendering a separate page into a separate response and thenemail that. right now you have to use wickettester to do that but thatsets up its own application/session/request cycle so it messes with
the threadlocals currently set.feel enlightened?-IgorOn 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote: Do enlighting me.. Why would you override a request cycle?
 What other cycle would you then generate? The only thing you want to really replace is the Response.. Replace the response. Render the page that you want as email Restore the response and render the real output page (that says email sent
 or something) What would you replace a complete request cycle for that? johan On 8/4/06, Igor Vaynberg 
[EMAIL PROTECTED] wrote:  add an rfe so it doesnt slip, or of course a patch would be welcome :) -IgorOn 8/4/06, Alexei Sokolov  
[EMAIL PROTECTED] wrote:  And if you can do it in 1.2.2 it would be great. Alex On 8/4/06, Igor Vaynberg  
[EMAIL PROTECTED]  wrote:  we can add a set() to request cycle as well :) -Igor On 8/4/06, Alexei Sokolov  
[EMAIL PROTECTED]  wrote:  For Application  Session you have set() methods. So, you can backup current values and then restore them.
 Alex On 8/4/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:  request cycle is not the only problem. we have application and session
 threadlocals as well. -Igor On 8/4/06, Alexei Sokolov  [EMAIL PROTECTED] wrote: 
 You can introduce push/pop methods on RequestCycle in the next version of wicket. Alex On 8/4/06, Igor Vaynberg  [EMAIL PROTECTED]
 wrote:  yeah, the threadlocal context vars are prob going to be a problem. you can spin off a worker thread to do the render and wait for it. -Igor
 On 8/4/06, Alexei Sokolov [EMAIL PROTECTED] wrote:  One more roadblock... RequestCycle constructor  current ThreadLocal
 variable. There is no way to alter value of current RequestCycle after it was set in the constructor, which means that I cannot suspend current request cycle, generate my page into a string, and then resume the original
 request cycle. Alex On 8/4/06, Alexei Sokolov  [EMAIL PROTECTED] wrote:   Well, for some reason I cannot render a page using MockupWebApplication. I
 get an exception saying that all components on the page failed to render. Log file, however, says that every one of them was rendered. I think that the problem lies inside ComponentRequestTarget.respond
(final RequestCycle requestCycle) method. This code will call checkRendering() as part of page.renderPage() call:   if (component instanceof Page)  {  // Use the default Page request target, if component is a Page
  new PageRequestTarget((Page)component).respond(requestCycle);  }   checkRendering() method will clear page.renderedComponents collection. But
 then this code will call checkRendering() again and will fail because renderedComponents is null:  if (page != null)  {  page.endComponentRender(component);
  }   Is it a bug in wicket?   AlexOn 8/3/06, Eelco Hillenius [EMAIL PROTECTED]
 wrote:   Well, for instance if you need something like I needed for   www.burgerweeshuis.nl (years ago): administrators maintain a template
   with basic scripting facilities (accessing context variables,   conditionals, etc). In that case using Velocity is simpler. Eelco  
 On 8/3/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:well...if you are generating html emails and you have common display
 panelsalready in place for pojos, why not reuse those? you get to reuse thelayout, css, etc with almost no effort.   -Igor
On 8/3/06, Eelco Hillenius  [EMAIL PROTECTED] wrote:
   Fair enough. I wouldn't say I'm against it per se. But for many casesimo it is overkill.   Eelco  
On 8/3/06, Igor Vaynberg  [EMAIL PROTECTED] wrote: i disagree, i think wicket is in itself a great templating engine
 in 3.0 i would like to separate the layers more so you can easily build up components and render them to anywhere - gets you a component-oriented
 templating engine :) -Igor On 8/3/06, Eelco Hillenius  
[EMAIL PROTECTED] wrote: It is possible, and you should look at our junit test cases to get some inspiration. Whether it is recommended... I don't know. I'd go
 for something simple like a Velocity template. Wicket components are meant for interaction, something you don't need when creating email messages.
 Eelco On 8/3/06, Alexei Sokolov [EMAIL PROTECTED]
  wrote:  Hello,   I would like to reuse some of the components I have to 

Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Korbinian Bachl
well, after playing around for only 3 days it might be a bit too early,
but basicly i would do some work in that way - 

btw: you mentioned the wiki and sth, that had was a big problem is that the
wiki never tells you what version is covered with the current page, so you
should add a needed field there where the users have to enter the version of
wicket they write this for

Reagrds, Korbinian

PS: if i use mount for e.g. /dummy can i then use another mount for
/dummy/dummy2 or would this create big problems for wicket ?



 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Igor Vaynberg
 Gesendet: Montag, 7. August 2006 20:22
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts
 
 are you willing to do that? :) we rely on users to create 
 wiki articles because we ourselves lack the time.
 
 -Igor
 
 
 On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
  Perhaps disabling it by default and creating a doc-page 
 that explains 
  its limits and usage would do the trick
 
   -Ursprüngliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Im Auftrag von 
   Igor Vaynberg
   Gesendet: Montag, 7. August 2006 20:08
   An: wicket-user@lists.sourceforge.net
   Betreff: Re: [Wicket-user] 3 day beginners overview / 
 broken mounts
  
   well, i have often argued to remove autolinking. we have 
 got a lot 
   of complaints/things people thought were bugs because of it.
  
   -Igor
  
  
   On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
thats a problem with my wicketed-mind! as wicket does 
 so much, i 
just expectet it will do this, too :P
   
 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Im Auftrag 
 von Igor Vaynberg
 Gesendet: Montag, 7. August 2006 19:59
 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] 3 day beginners overview /
   broken mounts

 and we are back to autolinking. autolinking is really a 
 /convinience/ feature that is meant to help you with simple 
 situations. this usecase is really an abuse of autolinking.
 dont expect it to do everything for you, use regular
   links or page
 links instead.

 -Igor


 On 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote:
  ahh ok tested it, i made a subpackage test and added there
 Page4.class
  and Page4.html Then i looked at NavomaticBorder.html and
 changed this:
 
 
 
   wicket:link
a href =  
 Page1.htmlPage1/abr/
a href = 
 Page2.htmlPage2/abr/
a href = Page3.htmlPage3/a
a href = 
 test/Page4.htmlPage4/a
  /wicket:link
 
  Page1 works then and the Page4 link i can click on.
  That shows me the Page4 but I reused the navomaticborder in
 page4 so
  Wicket:Link (auto link) tries to suddenly resolve the
   same hrefs
  to urls. But Page1 and Page2 are not relative to 
 Page4 so that
 will fail.
 
  So that won't work with auto links..
 
  johan
 
 
 
  On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
  
  
  
  
   Hi,
  
   after i played 3 days with wicket, its time to come to a
 small conlcsion.
  To have it short, ill just write the pro and cons in my
 opinion. Later
  on i describe a problem i have with the mount i 
 applied to the 
  navomatic demo application.
  
   Wicket Pro:
   + good idea and model
   + intuitive and easy to understand few code needed OO
  
   Cons:
- documentation isn worth the word...
   (wiki tells you things that dont work, are deprecated
   etc - has
   anyone a
  clue what is the non-deprecated alternative to
   getSettings() ??? )
   -  wicket Markup output is on by default (pls 
 care for VALID
   html)
   - wicket-webage looks nice, but try to find sth.
   specific on it
   is
  horrific (e.g. Wicket Library under Related Projets
   instead under
  Documentation... as a newbie i want docs and didnt think a
 minute for
  any additional projects)
   - mount seems broken completely if you use more than 1 
   package
  
   Mount problem description:
  
   i programmed the navomatic border example found on
  http://wicket.sourceforge.net/ExampleNavomatic.html and
   enhanced
  it with a fourth page (page4) wich lies in a subpackage (my 
  default is de.navo, where navomatic, page1/page2/page3
   are and the
  package de.navo.test helds the page4).
  
   I then created the init this way (i saw this 
 recommended on 
   javalobby and
  it makes sense to me, as i like putting things in a 
  hirarchical way 

Re: [Wicket-user] generating e-mail reports with wicket

2006-08-07 Thread Johan Compagner
and doing that in a different RequestCycle doesn't have that effect??I think it does.. Is exactly the same.But in this case i dont think it will have anyside effects.. Because if that pageis not stateless then it really also can't be sent as an email!!
So generating pages for other then sent it back to the browser must be stateless anywaySo pagemap will not be touched.johanOn 8/7/06, 
Igor Vaynberg [EMAIL PROTECTED] wrote:
but this can have nasty sideeffects on the pagemap, you might end upevicting the current page.-IgorOn 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote:
 not not really i must be missing something.. Link.onClick() {StirngResponse response = new StringResponse(); RequestCycle.setResponse(response);MyEmailPage page = new MyEmailPage();
page.renderPage();REquestCycle.setResonse(previous);smtpServer.sent(response.toString());setResponePage(new EmailSendPage()); } johan
 On 8/7/06, Igor Vaynberg [EMAIL PROTECTED] wrote:  while processing a wicket request - you want to generate a separate  email by rendering a separate page into a separate response and then
  email that. right now you have to use wickettester to do that but that  sets up its own application/session/request cycle so it messes with  the threadlocals currently set. 
  feel enlightened?   -IgorOn 8/7/06, Johan Compagner [EMAIL PROTECTED] wrote:   Do enlighting me..
   Why would you override a request cycle?   What other cycle would you then generate?   The only thing you want to really replace is the Response..   Replace the response. Render the page that you want as email
   Restore the response and render the real output page (that says email sent   or something) What would you replace a complete request cycle for that?
 johan On 8/4/06, Igor Vaynberg  [EMAIL PROTECTED] wrote:
add an rfe so it doesnt slip, or of course a patch would be welcome :) -Igor  
  On 8/4/06, Alexei Sokolov  [EMAIL PROTECTED] wrote:And if you can do it in 1.2.2
 it would be great. Alex   On 8/4/06, Igor Vaynberg  [EMAIL PROTECTED]  wrote:
we can add a set() to request cycle as well :) -Igor On 8/4/06, Alexei Sokolov  
[EMAIL PROTECTED]  wrote:For Application  Session you have set() methods. So, you can backup current
   values and then restore them. Alex   On 8/4/06, Igor Vaynberg  [EMAIL PROTECTED]
 wrote:request cycle is not the only problem. we have application and session   threadlocals as well. -Igor
 On 8/4/06, Alexei Sokolov  [EMAIL PROTECTED] wrote: 
   You can introduce push/pop methods on RequestCycle in the next version of   wicket. Alex   On 8/4/06, Igor Vaynberg  
[EMAIL PROTECTED]  wrote:yeah, the threadlocal context vars are prob going to be a problem. you can
   spin off a worker thread to do the render and wait for it. -Igor On 8/4/06, Alexei Sokolov 
[EMAIL PROTECTED] wrote:One more roadblock... RequestCycle constructor  current ThreadLocal   variable. There is no way to alter value of current RequestCycle after
 it   was set in the constructor, which means that I cannot suspend current   request cycle, generate my page into a string, and then resume the original   request cycle.
 Alex   On 8/4/06, Alexei Sokolov  [EMAIL PROTECTED] wrote:   
Well, for some reason I cannot render a page using MockupWebApplication. I   get an exception saying that all components on the page failed to render.   Log file, however, says that every one of them was rendered. I think
 that   the problem lies inside ComponentRequestTarget.respond (final RequestCycle   requestCycle) method. This code will call checkRendering() as part of   
page.renderPage() call:   if (component instanceof Page){// Use the default Page request target, if component is a
 Pagenew   PageRequestTarget((Page)component).respond(requestCycle);}   checkRendering() method will clear 
page.renderedComponents collection. But   then this code will call checkRendering() again and will fail because   renderedComponents is null:if (page != null)
{page.endComponentRender(component);}   Is it a bug in wicket?   
Alex  On 8/3/06, Eelco Hillenius [EMAIL PROTECTED]  wrote: Well, for instance if you need something like I needed for
 www.burgerweeshuis.nl (years ago): administrators maintain a template with basic scripting facilities (accessing context variables,
 conditionals, etc). In that case using Velocity is simpler. Eelco On 8/3/06, Igor Vaynberg  
[EMAIL PROTECTED] wrote:  well...if you are generating html emails and you have common display   panels  already in place for pojos, why not reuse those? you get to reuse
 the  layout, css, etc with almost no effort.   -Igor  
  On 8/3/06, Eelco Hillenius  [EMAIL PROTECTED] wrote:  
 Fair enough. I wouldn't say I'm against it per se. But for many cases  

Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Johan Compagner
i think we can handle those nested mountsI believe that is igors code (sorting on length) :)johanOn 8/7/06, Korbinian Bachl 
[EMAIL PROTECTED] wrote:well, after playing around for only 3 days it might be a bit too early,
but basicly i would do some work in that way -btw: you mentioned the wiki and sth, that had was a big problem is that thewiki never tells you what version is covered with the current page, so youshould add a needed field there where the users have to enter the version of
wicket they write this forReagrds, KorbinianPS: if i use mount for e.g. /dummy can i then use another mount for/dummy/dummy2 or would this create big problems for wicket ?
 -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED]] Im Auftrag von Igor Vaynberg Gesendet: Montag, 7. August 2006 20:22 An: wicket-user@lists.sourceforge.net
 Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts are you willing to do that? :) we rely on users to create wiki articles because we ourselves lack the time.
 -Igor On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:  Perhaps disabling it by default and creating a doc-page that explains
  its limits and usage would do the trick-Ursprüngliche Nachricht-   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]] Im Auftrag von   Igor Vaynberg   Gesendet: Montag, 7. August 2006 20:08
   An: wicket-user@lists.sourceforge.net   Betreff: Re: [Wicket-user] 3 day beginners overview / broken mounts  
   well, i have often argued to remove autolinking. we have got a lot   of complaints/things people thought were bugs because of it. -Igor  
 On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:thats a problem with my wicketed-mind! as wicket does
 so much, ijust expectet it will do this, too :P-Ursprüngliche Nachricht- Von: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Im Auftrag von Igor Vaynberg
 Gesendet: Montag, 7. August 2006 19:59 An: wicket-user@lists.sourceforge.net Betreff: Re: [Wicket-user] 3 day beginners overview /
   broken mounts and we are back to autolinking. autolinking is really a /convinience/ feature that is meant to help you with simple
 situations. this usecase is really an abuse of autolinking. dont expect it to do everything for you, use regular   links or page links instead.
 -Igor On 8/7/06, Johan Compagner [EMAIL PROTECTED]
 wrote:  ahh ok tested it, i made a subpackage test and added there Page4.class  and Page4.html Then i looked at NavomaticBorder.html
 and changed this:wicket:link
  a href = ""> Page1.htmlPage1/abr/  a href =""> 
Page2.htmlPage2/abr/  a href = "">  a href =
""> test/Page4.htmlPage4/a  /wicket:link   Page1 works then and the Page4 link i can click on.
  That shows me the Page4 but I reused the navomaticborder in page4 so  Wicket:Link (auto link) tries to suddenly resolve the
   same hrefs  to urls. But Page1 and Page2 are not relative to Page4 so that will fail.   So that won't work with auto links..
   johan On 8/7/06, Korbinian Bachl 
[EMAIL PROTECTED] wrote:
   Hi, after i played 3 days with wicket, its time to come to a small conlcsion.
  To have it short, ill just write the pro and cons in my opinion. Later  on i describe a problem i have with the mount i applied to the
  navomatic demo application. Wicket Pro:   + good idea and model   + intuitive and easy to understand few code needed OO
 Cons:  - documentation isn worth the word...   (wiki tells you things that dont work, are deprecated
   etc - has   anyone a  clue what is the non-deprecated alternative to   getSettings() ??? )   -wicket Markup output is on by default (pls
 care for VALID   html)   - wicket-webage looks nice, but try to find sth.   specific on it   is
  horrific (e.g. Wicket Library under Related Projets   instead under  Documentation... as a newbie i want docs and didnt think a minute for
  any additional projects)   - mount seems broken completely if you use more than 1   package  
   Mount problem description: i programmed the navomatic border example found on  
http://wicket.sourceforge.net/ExampleNavomatic.html and   enhanced  it with a fourth page (page4) wich lies in a subpackage (my
  default is de.navo, where navomatic, page1/page2/page3   are and the  package de.navo.test helds the page4).  
   I then created the init this way (i saw this recommended on   javalobby and  it makes sense to me, as i like putting things in a
  hirarchical way and ordered by their use - public void init() {   getSettings().setStripWicketTags(true);
   mount(/main, 

Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Eelco Hillenius
 Wicket Pro:
 + good idea and model
 + intuitive and easy to understand
 + few code needed
 + OO

 Cons:
  - documentation isn worth the word...

We've had this discussion many times and it depends on what you think
documentation should be. If you mean a manual you are right. That
completely sucks and the little there is is horribly out-of-date. On
the other hand, we have very decent JavaDocs (whereas most OSS project
pretty much suck at that in my opinion) and we put a lot of effort in
our examples: wicket-examples (including the compref),
wicket-phonebook, wicket-extensions-examples, etc. Personally I prefer
to work with examples and test cases over manuals.

That said, what we need is someone to take care of the documentation
and site. We're an open source project, the current team members are
awfully busy with things like supporting this list, fixing and
improving Wicket's code, writing a book, etc. There are just no more
hours in a day.

I other words - like we've consistently been asking through the years
- we need people in our team for documentation! Anyone can start right
now by going to the WIKI, fix what is wrong, and write something up
that you might think would be helpful for others.

 (wiki tells you things that dont work, are deprecated etc

It is maintained by anyone that feels like it (though we try not to allow bots).

Eelco

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


Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Gwyn Evans
On 07/08/06, Igor Vaynberg [EMAIL PROTECTED] wrote:
 im not a wiki admin so hopefully gwyn is reading with us ;)

You are, actually! :-)

Anyway, it's certainly worth suggesting to people who're adding code
that they mention the version they're using, but I'm not sure how easy
it'd be to tweak the wiki to ensure there's a field to be set...

/Gwyn

 as far as the mounts it shouldnt be a problem, wicket resolves the
 longest mount it can first.

 -Igor


 On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:
  well, after playing around for only 3 days it might be a bit too early,
  but basicly i would do some work in that way -
 
  btw: you mentioned the wiki and sth, that had was a big problem is that the
  wiki never tells you what version is covered with the current page, so you
  should add a needed field there where the users have to enter the version of
  wicket they write this for
 

-- 
Download Wicket 1.2.1 now! - http://wicketframework.org

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


Re: [Wicket-user] 3 day beginners overview / broken mounts

2006-08-07 Thread Nick Heudecker
Maybe just add some notification text to the edit page to remind people to add it. I know the Hibernate forums provide default text in the textarea to remind people to enter as much relevant info as possible, which could be another option.
On 8/7/06, Gwyn Evans [EMAIL PROTECTED] wrote:
On 07/08/06, Igor Vaynberg [EMAIL PROTECTED] wrote: im not a wiki admin so hopefully gwyn is reading with us ;)You are, actually! :-)Anyway, it's certainly worth suggesting to people who're adding code
that they mention the version they're using, but I'm not sure how easyit'd be to tweak the wiki to ensure there's a field to be set.../Gwyn as far as the mounts it shouldnt be a problem, wicket resolves the
 longest mount it can first. -Igor On 8/7/06, Korbinian Bachl [EMAIL PROTECTED] wrote:  well, after playing around for only 3 days it might be a bit too early,
  but basicly i would do some work in that way -   btw: you mentioned the wiki and sth, that had was a big problem is that the  wiki never tells you what version is covered with the current page, so you
  should add a needed field there where the users have to enter the version of  wicket they write this for --Download Wicket 1.2.1 now! - 
http://wicketframework.org-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] CSS not found

2006-08-07 Thread Wilko Hische

I am looking forward to it. My 2cts: The more it can serve as a reference
(after reading it) the better it probably is. I have read several of the in
Action series and I found Hibernate in Action for instance pretty well
structured. I can aways find what I am looking for in no time. TIA on the
other hand is rather talkative but I often found myself looking for some
little detail I knew I had seen somewhere without succes. Less is more i
suppose.

Wilko


Eelco Hillenius wrote:
 
 *) I hope Wicket in Action will turn out to be a bit more functional btw
 
 We're trying the best we can of course :) We're certainly trying to
 let Wicket In Action be more than just a how-to, but instead shed some
 light on best practices, backgrounds, etc. Unfortunately, the fact
 that we want to do the best job we can, and the fact that we're both
 new to book writing, makes that it takes longer than we've hoped.
 
 Eelco
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 
-- 
View this message in context: 
http://www.nabble.com/CSS-not-found-tf2057337.html#a5696097
Sent from the Wicket - User forum at Nabble.com.


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


[Wicket-user] WicketTester migrating from 1.1 to 1.2

2006-08-07 Thread David Hansen
For the last little while, we've been doing just fine under 1.1 with  
the following( for generation of email, the text of which is pulled  
from the response ):

 WicketTester tester = new WicketTester( );

 StringResponse response = new StringResponse( );
 RequestCycle cycle = tester.createRequestCycle( );

 tester.getWicketSession( ).setRequestCycle 
( cycle );
 cycle.setResponse( response );

 Page page = tester.startPage( new  
OrderPlaced.XPageSource( order ) );
 page.getSession( ).setRequestCycle( cycle );
 page.render( );

As part of our effort to migrate to 1.2, however,  
Session#setRequestCycle( ) no longer exists, so we tried assuming  
that WicketTester would create a RequestCycle and put it into  
threadlocal where the result of tester.startPage( ) would have access  
to it, but no dice.  page.getRequestCycle( ) returns null and  
page.render( ) results in an NPE thrown in Page#configureResponse( )

Any ways around this?  Bear in mind this is being run inside a worker  
thread completely outside the main wicket app, so pushing and popping  
sessions won't work here.  Thanks.

  - Dave



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


Re: [Wicket-user] WicketTester migrating from 1.1 to 1.2

2006-08-07 Thread Juergen Donnerstag
This is how WicketTestCase does it and it is used in hundreds of tests

application = new WicketTester(null);
application.setHomePage(pageClass);

// Do the processing
application.setupRequestAndResponse();
application.processRequestCycle();

assertEquals(pageClass, 
application.getLastRenderedPage().getClass());

// Validate the document
String document = 
application.getServletResponse().getDocument();

Juergen

On 8/8/06, David Hansen [EMAIL PROTECTED] wrote:
 For the last little while, we've been doing just fine under 1.1 with
 the following( for generation of email, the text of which is pulled
 from the response ):

  WicketTester tester = new WicketTester( );

  StringResponse response = new StringResponse( );
  RequestCycle cycle = tester.createRequestCycle( );

  tester.getWicketSession( ).setRequestCycle
 ( cycle );
  cycle.setResponse( response );

  Page page = tester.startPage( new
 OrderPlaced.XPageSource( order ) );
  page.getSession( ).setRequestCycle( cycle );
  page.render( );

 As part of our effort to migrate to 1.2, however,
 Session#setRequestCycle( ) no longer exists, so we tried assuming
 that WicketTester would create a RequestCycle and put it into
 threadlocal where the result of tester.startPage( ) would have access
 to it, but no dice.  page.getRequestCycle( ) returns null and
 page.render( ) results in an NPE thrown in Page#configureResponse( )

 Any ways around this?  Bear in mind this is being run inside a worker
 thread completely outside the main wicket app, so pushing and popping
 sessions won't work here.  Thanks.

   - Dave



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


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