Re: hi, question about wicket maven project

2008-09-20 Thread James Carman
Try running mvn compile or mvn install in another window.

On Sat, Sep 20, 2008 at 1:19 AM, shrimpywu [EMAIL PROTECTED] wrote:

 hi, what do u mean by hot code replace??

 every time i run i app,
 i always do
 mvn clean jetty:run,

 but everytime after jetty was started, any html page i modified,
 it won`t show the change until i manually copy and replace the html
 page from src folder to target folder,
 and my project, i do using the wicket quick start to generate my project,
 and i have also try to use the start.java to start my app, it seems
 the same as i run jetty:run, it didn`t show any difference?
 i still have to manully copy and replace the html file.






 martin-g wrote:

 The easiest approach is to use Wicket's quickstart and start Start.java
 in debug mode in your favorite IDE. With hot code replace and
 DEVELOPMENT mode you will have all your changes in .java and resources
 files reloaded automatically.

 Other options are:
 1. use Jetty's Maven plugin (mvn jetty:run)
 2. use Wicket's ReloadingWicketFilter


 On Wed, 2008-09-17 at 03:01 -0700, shrimpywu wrote:
 i have just noticed that there is a command  mvn war:inplace
 which i saw from the appfuse demo
 http://static.appfuse.org/movies/2.0/helloworld.mov

 when we do modify on the code, jetty will pick it up,

 i have tried, but will no luck,
 does anybody know how to do that?



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 --
 View this message in context: 
 http://www.nabble.com/hi%2C-question-about-wicket-maven-project-tp19528847p19582777.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Kill session on closing browser

2008-09-20 Thread Johan Compagner
Normally in IE7 you also reuse the same  browser instance for many
things much more then in ie6

But this is all related to a different browser instances or not.. And
todays browsers share it way more then previous generations.

On 9/20/08, insom [EMAIL PROTECTED] wrote:

 I see what you're seeing in Firefox. I didn't clarify that the user who
 submitted the issue was using IE7, which is where I got the results
 explained previously. It seems that if I use a shortcut to the URL, or if I
 open a new IE window while logged in, it will find the existing cookie.
 Otherwise, a new window ends up creating a new session.

 I know that this conversation is meandering from the realm of Wicket into
 general web application issues. Is it bad form for me to be continuing it
 here in the forum? My own philosophy is that it's better to have the
 information available on the web for others who might need it, even if it is
 off-topic to the stated purpose of the forum.


 Maarten Bosteels wrote:

 On Sat, Sep 20, 2008 at 12:45 AM, insom [EMAIL PROTECTED] wrote:

 I figured it out. If you login to the site, then open another window and
 visit to the site you will have to login again. But if you login to the
 site, then open a shortcut in a new window that goes directly to
 http://www.foodhandler.org, you will be already logged in.

 That's not what I see:  when I am logged in (with guest account) in
 one browser tab, I don't have to in again in other tabs or other
 browser windows, no matter how I open them.
 Which is what I expect: the browser (firefox) is sending the
 JSESSIONID cookie for every request to the site.
 As soon as I log out in one tab, I am logged out in all tabs and windows.

 HTH,
 Maarten



 I have no idea why opening a blank browser window and navigating to the
 site
 is any different from opening a shortcut to the site directly -- I would
 have thought that each would request in the same way, but apparently
 that's
 not the case.


 insom wrote:

 It turns out she did have another browser window open. I witnessed the
 issue on her machine, but I haven't been able to replicate it on my own.
 I've tried visiting the website, logging in, opening another browser
 window, then closing either the new or the old window (I've tried both
 ways), reopening the browser, and going back to the site -- but it
 always
 sends me back to the login page (which is what I want the site to do,
 but
 I'm concerned about issues that I can't replicate.)

 If anyone cares to check it out (and feel under no obligation to -- it's
 not a big issue for anyone except me, who wants to figure this out) you
 can visit the site at www.foodhandler.org and login with username
 [EMAIL PROTECTED] password guest.

 Thanks again for your responses -- you're wonderful people!


 --
 View this message in context:
 http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19580513.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 --
 View this message in context:
 http://www.nabble.com/Kill-session-on-closing-browser-tp19578217p19581080.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicket not secure?

2008-09-20 Thread Johan Compagner
And that introduced a bug or unwanted behavior also, will try to fix
that in the wicket code this weekend...

If you use encrypted urls and then your session expires you get nasty
decoding errors in your logs because it suddenly uses another
key/seed Because of a new session. Some how we now have to check
for this better in that strategy and throw on that level already a
page expired or something

On 9/19/08, Jörn Zaefferer [EMAIL PROTECTED] wrote:
 Though afaik the URL encryption will be even better with 1.3.5, where
 the encryption key is session-based, that is, per user, instead of one
 default key for everything (current 1.3.4 behaviour).

 Once that is released, you get unique-per-user URLs which provide
 perfect protection against CSRF without ever getting into the way of
 the application developer. Haven't seen that anywhere else!

 Jörn

 On Thu, Sep 18, 2008 at 7:15 PM, Jonathan Locke
 [EMAIL PROTECTED] wrote:


 to be totally explicit, the third sentence should probably say explicit
 steps must be taken *by the programmer* ;-)

 the last sentence is outdated as wicket provides URL encryption if you
 want
 it


 Johan Compagner wrote:

 Why is that sentence ambiguous?

 On 9/18/08, cj91 [EMAIL PROTECTED] wrote:

 My company is planning an extremely large web project and Wicket is a
 candidate for use. My manager pointed out some unsettling words on the
 Wicket FAQ, which are ambiguous unfortunately.
 http://wicket.apache.org/features.html

Wicket is secure by default. URLs do not expose sensitive information
 and
 all component paths are
session-relative. Explicit steps must be taken to share information
 between sessions. There are plans
for the next version of Wicket to add URL encryption to support highly
 secure web sites.


 Can someone please elaborate on what is meant by Explicit steps must be
 taken to share information between sessions.

 Thank you,
 -Jonathan
 --
 View this message in context:
 http://www.nabble.com/Wicket-not-secure--tp19556259p19556259.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 --
 View this message in context:
 http://www.nabble.com/Wicket-not-secure--tp19556259p19557667.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicketstuff wishlist?

2008-09-20 Thread Jörn Zaefferer
A pony? Django now got one...

Thanks for the wicket-hibernate link!

Jörn

On Sat, Sep 20, 2008 at 2:29 AM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
 Baah.. Theres already something on it:

 https://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/

 something on it here:
 http://jroller.com/wireframe/entry/hibernate_annotations_and_wicket


 Anything else for the wish list not already existing? :)

 Nino Saturnino Martinez Vazquez Wael wrote:

 Great:)

 First shot will probably be Hibernate Validation (is general and works
 without hibernate with any JPA provider), since I have a demo project for
 that, validation JSR 303 arent done yet AFAIK.. And I think im gonna try to
 use IVisitor to do it.. So it's actually a fairly simple one:)

 Jörn Zaefferer wrote:

 Oops, I missed that bit!

 Well, then I add: Annotations for form validation. Maybe integrated
 with the bean validation JSR, Hibernate Validation or standalone.
 Enabled by adding AnnotationValidator instance to a form or indivdual
 fields...

 Jörn

 On Fri, Sep 19, 2008 at 2:05 PM, Nino Saturnino Martinez Vazquez Wael
 [EMAIL PROTECTED] wrote:


 wicketstuff!=wicket :)

 And it should not go on the wicket wiki...

 Jörn Zaefferer wrote:


 Don't we have already at least one wishlist on the wicket wiki?
 http://cwiki.apache.org/WICKET/#Index-WishListforNextVersion

 Jörn

 On Fri, Sep 19, 2008 at 12:30 PM, Nino Saturnino Martinez Vazquez Wael
 [EMAIL PROTECTED] wrote:



 Hi

 I'd really like a wish list for wicketstuff. So reply with your wishes
 and I
 might have time at a point to implement it:)

 I'll start by adding this to the list:

 Integration with :  http://code.google.com/p/iui/


 I'll add a wishlist to the wiki or maybe my blog..

 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: AW: Wicket and Mootools?

2008-09-20 Thread Jörn Zaefferer
jQuery UI (ui.jquery.com) adds quite a few effects:
http://ui.jquery.com/repository/real-world/effects/

Jörn

On Fri, Sep 19, 2008 at 5:27 PM, mahone9 [EMAIL PROTECTED] wrote:

 I think I´m gonna use scriptaculous.
 It´s much more easier to use it and I guess you can also compress the js
 files as mootools does.
 Scriptaculous provides almost that much effects as mootools.
 JQuery is very poor on effects...



 Nino.Martinez wrote:



 Agent Mahone wrote:
 O, thank u very much for ur comments.

 I have some questions to you:

 1. What is the package mini under contribution package for?
 What is the difference to package contribution/wicket-mootools???

 Im not sure how well managed wicket-mootools are...
 2. I also noticed that wicket offers you scriptaculous and jquery.
Is there any comparsion between that frameworks?

 Go google:)
 I´ve seen that scriptaculous is much more easier to understand and
 difinitely to use.

 Thanks again for any comments





 - Ursprüngliche Mail 
 Von: Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
 An: users@wicket.apache.org
 Gesendet: Donnerstag, den 18. September 2008, 09:50:32 Uhr
 Betreff: Re: Wicket and Mootools?

 You can also check out the new addition to wicket stuff minis, the
 mootips integration..

 Agent Mahone wrote:

 Hi all

 What is the best way to integrate mootools in wicket ?

 Does Mootools slow down the application? Does somebody had good
 expierence with it?

 Thanks in advane for any comments


 __
 Do You Yahoo!?
 Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz
 gegen Massenmails.
 http://mail.yahoo.com





 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




 --
 View this message in context: 
 http://www.nabble.com/AW%3A-Wicket-and-Mootools--tp19550432p19574467.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: Wicket sample application

2008-09-20 Thread superoverdrive
This example is not easy to find, as it is not directly listed under examples 
on the website.

Apart from that:

http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook/

seems to be an old wicket version and there is no version for wicket 2.0 ?

Is there no sample application with database access for the current version of 
wicket?

 Original-Nachricht 
 Datum: Fri, 19 Sep 2008 20:09:37 +0100
 Von: Gwyn Evans [EMAIL PROTECTED]
 An: users@wicket.apache.org
 Betreff: Re: Wicket sample application

 http://cwiki.apache.org/WICKET/documentation-index.html#DocumentationIndex-Codeasdocumentation
 
 On Fri, Sep 19, 2008 at 7:00 PM, Eelco Hillenius
 [EMAIL PROTECTED] wrote:
  Phonebook has db access. And one of the examples that come with Wicket
  In Action has that too.
 
  Eelco
 
  On Fri, Sep 19, 2008 at 10:54 AM,  [EMAIL PROTECTED] wrote:
  But none with database access ?
 
   Original-Nachricht 
  Datum: Thu, 18 Sep 2008 05:05:21 -0700 (PDT)
  Von: Michael Sparer [EMAIL PROTECTED]
  An: users@wicket.apache.org
  Betreff: Re: Wicket sample application
 
 
  just go a click further and you'll find plenty
  http://www.wicketstuff.org/wicket13/
  http://www.wicketstuff.org/wicket13/ajax/
 
 http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-examples
  http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook
 
 
  superoverdrive wrote:
  
   Hi there!
  
   I am looking for a Wicket sample application (e.g. something like a
   Petshop) - ideally once that includes things such as: User
  registration,
   Admin area, editing data (e.g. with Ajax auto-complete) and an
 example
  of
   displaying data in a table that is read incrementally from the
 database
   (e.g. displaying huge database tables without crashing)
  
   On the Wicket homepage there are just small examples, but no
 complete
   websites done in Wicket
  
   Something like:
  
   http://bakery.cakephp.org/categories/view/3
  
   would be good for Wicket:
  
   Thanks!
  
   Toby
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
 
  -
  Michael Sparer
  http://talk-on-tech.blogspot.com
  --
  View this message in context:
 
 http://www.nabble.com/Wicket-sample-application-tp19549890p19551321.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicket sample application

2008-09-20 Thread James Carman
I think you might find that if you started with some of the tutorials
and perhaps some maven archetypes, you could have probably made up
your own example of wicket with database access and all of the
features you're looking for with far less keystrokes than you've spent
writing emails asking where the examples are.  Don't get me wrong, I
do agree that there should be some good examples out there (and there
are), but you will quickly realize that developing with Wicket really
is just that darn easy and you can get stuff up and running very
quickly by piecing together tidbits from the smaller examples.

On Sat, Sep 20, 2008 at 7:59 AM,  [EMAIL PROTECTED] wrote:
 This example is not easy to find, as it is not directly listed under examples 
 on the website.

 Apart from that:

 http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook/

 seems to be an old wicket version and there is no version for wicket 2.0 ?

 Is there no sample application with database access for the current version 
 of wicket?

  Original-Nachricht 
 Datum: Fri, 19 Sep 2008 20:09:37 +0100
 Von: Gwyn Evans [EMAIL PROTECTED]
 An: users@wicket.apache.org
 Betreff: Re: Wicket sample application

 http://cwiki.apache.org/WICKET/documentation-index.html#DocumentationIndex-Codeasdocumentation

 On Fri, Sep 19, 2008 at 7:00 PM, Eelco Hillenius
 [EMAIL PROTECTED] wrote:
  Phonebook has db access. And one of the examples that come with Wicket
  In Action has that too.
 
  Eelco
 
  On Fri, Sep 19, 2008 at 10:54 AM,  [EMAIL PROTECTED] wrote:
  But none with database access ?
 
   Original-Nachricht 
  Datum: Thu, 18 Sep 2008 05:05:21 -0700 (PDT)
  Von: Michael Sparer [EMAIL PROTECTED]
  An: users@wicket.apache.org
  Betreff: Re: Wicket sample application
 
 
  just go a click further and you'll find plenty
  http://www.wicketstuff.org/wicket13/
  http://www.wicketstuff.org/wicket13/ajax/
 
 http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-examples
  http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook
 
 
  superoverdrive wrote:
  
   Hi there!
  
   I am looking for a Wicket sample application (e.g. something like a
   Petshop) - ideally once that includes things such as: User
  registration,
   Admin area, editing data (e.g. with Ajax auto-complete) and an
 example
  of
   displaying data in a table that is read incrementally from the
 database
   (e.g. displaying huge database tables without crashing)
  
   On the Wicket homepage there are just small examples, but no
 complete
   websites done in Wicket
  
   Something like:
  
   http://bakery.cakephp.org/categories/view/3
  
   would be good for Wicket:
  
   Thanks!
  
   Toby
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
 
  -
  Michael Sparer
  http://talk-on-tech.blogspot.com
  --
  View this message in context:
 
 http://www.nabble.com/Wicket-sample-application-tp19549890p19551321.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicket sample application

2008-09-20 Thread James Carman
A quick perusal of Wicket in Action over a weekend wouldn't hurt
either (if you like Cheese)! :)

On Sat, Sep 20, 2008 at 8:08 AM, James Carman
[EMAIL PROTECTED] wrote:
 I think you might find that if you started with some of the tutorials
 and perhaps some maven archetypes, you could have probably made up
 your own example of wicket with database access and all of the
 features you're looking for with far less keystrokes than you've spent
 writing emails asking where the examples are.  Don't get me wrong, I
 do agree that there should be some good examples out there (and there
 are), but you will quickly realize that developing with Wicket really
 is just that darn easy and you can get stuff up and running very
 quickly by piecing together tidbits from the smaller examples.

 On Sat, Sep 20, 2008 at 7:59 AM,  [EMAIL PROTECTED] wrote:
 This example is not easy to find, as it is not directly listed under 
 examples on the website.

 Apart from that:

 http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook/

 seems to be an old wicket version and there is no version for wicket 2.0 ?

 Is there no sample application with database access for the current version 
 of wicket?

  Original-Nachricht 
 Datum: Fri, 19 Sep 2008 20:09:37 +0100
 Von: Gwyn Evans [EMAIL PROTECTED]
 An: users@wicket.apache.org
 Betreff: Re: Wicket sample application

 http://cwiki.apache.org/WICKET/documentation-index.html#DocumentationIndex-Codeasdocumentation

 On Fri, Sep 19, 2008 at 7:00 PM, Eelco Hillenius
 [EMAIL PROTECTED] wrote:
  Phonebook has db access. And one of the examples that come with Wicket
  In Action has that too.
 
  Eelco
 
  On Fri, Sep 19, 2008 at 10:54 AM,  [EMAIL PROTECTED] wrote:
  But none with database access ?
 
   Original-Nachricht 
  Datum: Thu, 18 Sep 2008 05:05:21 -0700 (PDT)
  Von: Michael Sparer [EMAIL PROTECTED]
  An: users@wicket.apache.org
  Betreff: Re: Wicket sample application
 
 
  just go a click further and you'll find plenty
  http://www.wicketstuff.org/wicket13/
  http://www.wicketstuff.org/wicket13/ajax/
 
 http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-examples
  http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook
 
 
  superoverdrive wrote:
  
   Hi there!
  
   I am looking for a Wicket sample application (e.g. something like a
   Petshop) - ideally once that includes things such as: User
  registration,
   Admin area, editing data (e.g. with Ajax auto-complete) and an
 example
  of
   displaying data in a table that is read incrementally from the
 database
   (e.g. displaying huge database tables without crashing)
  
   On the Wicket homepage there are just small examples, but no
 complete
   websites done in Wicket
  
   Something like:
  
   http://bakery.cakephp.org/categories/view/3
  
   would be good for Wicket:
  
   Thanks!
  
   Toby
  
  
 -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
 
  -
  Michael Sparer
  http://talk-on-tech.blogspot.com
  --
  View this message in context:
 
 http://www.nabble.com/Wicket-sample-application-tp19549890p19551321.html
  Sent from the Wicket - User mailing list archive at Nabble.com.
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicket sample application

2008-09-20 Thread superoverdrive
I don't think there need to be a 1000 examples - a single, complete, convincing 
example would be sufficient...one that can be used as a starting point for a 
website (authentication, a good database layer...some ajax samples).

I am currently looking at several webprograming frameworks, including T5, 
Wicket and PHP based frameworks such as Akelos and CakePHP.

For a new project I want to use the fastest webprograming framework, that 
will both show results in little time and that does not require a lot of time 
to get it running and to be able to get going with it.

So far, T5 is quite good as you do not need a lot of configuration and tools 
exist to generate mapping files etcor annotated java daosand you can 
either start from a database or object-driven point of view. The problem in T5 
is that it is very flexible and different people use the lego bricks of 
Tapestry in a different way so that it is hard to re-use code of others. There 
is no general agreement on how to do those projects and everyone does his own 
user authentication etcso in my opinion it is only good if you start from 
scratch and do everything on your own.

My first impression of wicket (after looking at the phonebook application) is, 
that lots of code examples for Ajax exist and that it looks quite good. However 
there seem to be lots of configuration files, so whenever you make a new object 
you need new hibernate mapping files, and several class files and interfaces - 
so lots of writing. I also happenned to see a .vm file - and I think velocity 
is really out-of-dateand I dont know why this is needed.

So I think you could re-use existing code of others and save time with Wicket 
and make nice-Ajax applications - but it seems to be a lot of code-writing and 
configuration work.


Akelos looks like a great framework - like Ruby on Rails for PHP. However there 
is not much code available but you are a lot faster then doing webprogramming 
using Java frameworks...

CakePHP is a good alternative - a different approach and much more code samples 
and a bigger community.

E.g. there was a sample application (a complete CMS!!!), and I wanted to 
replace a text field on the registration page by a date. So I opened phpMyAdmin 
and replaced the column type by date - reloaded the page (without a restart or 
additional code-generation) - and there was already a date-picker on the page 
instead of the text field. So you save lots of time. You dont even need a 
mapping for your objects as it uses the meta information of the database tables 
and in general a general definition of what column names need to look like 
etcso a great time-saver.

So my favourite would be cakePHP right now although I would prefer a Java 
framework - but they are either incomplete or involve much configuration files, 
restart of the server every time and often you end up in problems that require 
to debug the core code - and then you end up wasting one day or several day for 
nothing.

 Original-Nachricht 
 Datum: Sat, 20 Sep 2008 08:10:01 -0400
 Von: James Carman [EMAIL PROTECTED]
 An: users@wicket.apache.org
 Betreff: Re: Wicket sample application

 A quick perusal of Wicket in Action over a weekend wouldn't hurt
 either (if you like Cheese)! :)
 
 On Sat, Sep 20, 2008 at 8:08 AM, James Carman
 [EMAIL PROTECTED] wrote:
  I think you might find that if you started with some of the tutorials
  and perhaps some maven archetypes, you could have probably made up
  your own example of wicket with database access and all of the
  features you're looking for with far less keystrokes than you've spent
  writing emails asking where the examples are.  Don't get me wrong, I
  do agree that there should be some good examples out there (and there
  are), but you will quickly realize that developing with Wicket really
  is just that darn easy and you can get stuff up and running very
  quickly by piecing together tidbits from the smaller examples.
 
  On Sat, Sep 20, 2008 at 7:59 AM,  [EMAIL PROTECTED] wrote:
  This example is not easy to find, as it is not directly listed under
 examples on the website.
 
  Apart from that:
 
  http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook/
 
  seems to be an old wicket version and there is no version for wicket
 2.0 ?
 
  Is there no sample application with database access for the current
 version of wicket?
 
   Original-Nachricht 
  Datum: Fri, 19 Sep 2008 20:09:37 +0100
  Von: Gwyn Evans [EMAIL PROTECTED]
  An: users@wicket.apache.org
  Betreff: Re: Wicket sample application
 
 
 http://cwiki.apache.org/WICKET/documentation-index.html#DocumentationIndex-Codeasdocumentation
 
  On Fri, Sep 19, 2008 at 7:00 PM, Eelco Hillenius
  [EMAIL PROTECTED] wrote:
   Phonebook has db access. And one of the examples that come with
 Wicket
   In Action has that too.
  
   Eelco
  
   On Fri, Sep 19, 2008 at 10:54 AM,  [EMAIL PROTECTED] wrote:
   But none with database access ?
  

Best approach dealing with error

2008-09-20 Thread Mathias P.W Nilsson

Hi!

I often get this messages when the application has been running 10-50
minutes.
I don't know how to track it down.

15:08:33,920 ERROR [RequestCycle] Internal error parsing wicket:interface =
:6
org.apache.wicket.WicketRuntimeException: Internal error parsing
wicket:interfac
e = :6
at
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.addI
nterfaceParameters(WebRequestCodingStrategy.java:583)
at
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.addI
nterfaceParameters(WebRequestCodingStrategy.java:554)
at
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.deco
de(WebRequestCodingStrategy.java:199)
at org.apache.wicket.Request.getRequestParameters(Request.java:171)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1229)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
387)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja
va:199)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doF
ilterInternal(OpenEntityManagerInViewFilter.java:111)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR
equestFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:525)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
at java.lang.Thread.run(Thread.java:619)

-- 
View this message in context: 
http://www.nabble.com/Best-approach-dealing-with-error-tp19585579p19585579.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicket sample application

2008-09-20 Thread James Carman
On Sat, Sep 20, 2008 at 9:38 AM,  [EMAIL PROTECTED] wrote:
 I don't think there need to be a 1000 examples - a single, complete, 
 convincing example would be sufficient...one that can be used as a starting 
 point for a website (authentication, a good database layer...some ajax 
 samples).

Agreed.  That would be nice to see a fully-functional example out
there.  My point was that even if there isn't one, it doesn't take
long to create the stuff on your own with Wicket because it's just
that easy.

 My first impression of wicket (after looking at the phonebook application) 
 is, that lots of code examples for Ajax exist and that it looks quite good. 
 However there seem to be lots of configuration files, so whenever you make a 
 new object you need new hibernate mapping files, and several class files and 
 interfaces - so lots of writing. I also happenned to see a .vm file - and I 
 think velocity is really out-of-dateand I dont know why this is needed.

1.  What configuration files are you talking about?  The only
configuration file required by Wicket is the web.xml file (to set up
the wicket filter/servlet).  That's the same as T5.  Until the servlet
specification comes up with a way to auto-discover web configuration
objects (like the Wicket filter), we're all stuck with that one.
2.  Using hibernate in Wicket is the same as any other project out
there.  The Wicket folks didn't write Hibernate.  If you're going to
use Hibernate, you have to tell it certain things to get it to work
correctly.
3.  Velocity isn't required at all for Wicket.  However, they do have
support for it in an optional library.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Re: Wicketstuff wishlist?

2008-09-20 Thread bruno . borges
I'm the one who developed HibernateFormComponentValidator and  
HibernateFormValidator, which does the validation in a different way  
compared with the annotations package.


We really should improve this project. :-)

cheers
Bruno

On Sep 20, 2008 6:47am, Jörn Zaefferer [EMAIL PROTECTED]  
wrote:

A pony? Django now got one...



Thanks for the wicket-hibernate link!



Jörn



On Sat, Sep 20, 2008 at 2:29 AM, Nino Saturnino Martinez Vazquez Wael

wrote:

 Baah.. Theres already something on it:



  

https://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/




 something on it here:

 http://jroller.com/wireframe/entry/hibernate_annotations_and_wicket





 Anything else for the wish list not already existing? :)



 Nino Saturnino Martinez Vazquez Wael wrote:



 Great:)



 First shot will probably be Hibernate Validation (is general and works

 without hibernate with any JPA provider), since I have a demo project  

for


 that, validation JSR 303 arent done yet AFAIK.. And I think im gonna  

try to


 use IVisitor to do it.. So it's actually a fairly simple one:)



 Jörn Zaefferer wrote:



 Oops, I missed that bit!



 Well, then I add: Annotations for form validation. Maybe integrated

 with the bean validation JSR, Hibernate Validation or standalone.

 Enabled by adding AnnotationValidator instance to a form or indivdual

 fields...



 Jörn



 On Fri, Sep 19, 2008 at 2:05 PM, Nino Saturnino Martinez Vazquez Wael

 wrote:





 wicketstuff!=wicket :)



 And it should not go on the wicket wiki...



 Jörn Zaefferer wrote:





 Don't we have already at least one wishlist on the wicket wiki?

 http://cwiki.apache.org/WICKET/#Index-WishListforNextVersion



 Jörn



 On Fri, Sep 19, 2008 at 12:30 PM, Nino Saturnino Martinez Vazquez  

Wael


 wrote:







 Hi



 I'd really like a wish list for wicketstuff. So reply with your  

wishes


 and I

 might have time at a point to implement it:)



 I'll start by adding this to the list:



 Integration with : http://code.google.com/p/iui/





 I'll add a wishlist to the wiki or maybe my blog..



 --

 -Wicket for love



 Nino Martinez Wael

 Java Specialist @ Jayway DK

 http://www.jayway.dk

 +45 2936 7684





  

-


 To unsubscribe, e-mail: [EMAIL PROTECTED]

 For additional commands, e-mail: [EMAIL PROTECTED]











 --

 -Wicket for love



 Nino Martinez Wael

 Java Specialist @ Jayway DK

 http://www.jayway.dk

 +45 2936 7684





 -

 To unsubscribe, e-mail: [EMAIL PROTECTED]

 For additional commands, e-mail: [EMAIL PROTECTED]











 --

 -Wicket for love



 Nino Martinez Wael

 Java Specialist @ Jayway DK

 http://www.jayway.dk

 +45 2936 7684





 -

 To unsubscribe, e-mail: [EMAIL PROTECTED]

 For additional commands, e-mail: [EMAIL PROTECTED]







Re: Wicketstuff wishlist?

2008-09-20 Thread Nino Saturnino Martinez Vazquez Wael



[EMAIL PROTECTED] wrote:
I'm the one who developed HibernateFormComponentValidator and 
HibernateFormValidator, which does the validation in a different way 
compared with the annotations package.


We really should improve this project. :-)
Hows it lacking.. A less intrusive way..? Maybe instead just provide an 
HibernateValidatedForm, just use the form and it will and the correct 
validators using vistor etc?


cheers
Bruno

On Sep 20, 2008 6:47am, Jörn Zaefferer 
[EMAIL PROTECTED] wrote:

A pony? Django now got one...



Thanks for the wicket-hibernate link!



Jörn



On Sat, Sep 20, 2008 at 2:29 AM, Nino Saturnino Martinez Vazquez Wael

wrote:

 Baah.. Theres already something on it:



 
https://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/ 





 something on it here:

 http://jroller.com/wireframe/entry/hibernate_annotations_and_wicket





 Anything else for the wish list not already existing? :)



 Nino Saturnino Martinez Vazquez Wael wrote:



 Great:)



 First shot will probably be Hibernate Validation (is general and 
works


 without hibernate with any JPA provider), since I have a demo project 

for


 that, validation JSR 303 arent done yet AFAIK.. And I think im gonna 

try to


 use IVisitor to do it.. So it's actually a fairly simple one:)



 Jörn Zaefferer wrote:



 Oops, I missed that bit!



 Well, then I add: Annotations for form validation. Maybe integrated

 with the bean validation JSR, Hibernate Validation or standalone.

 Enabled by adding AnnotationValidator instance to a form or 
indivdual


 fields...



 Jörn



 On Fri, Sep 19, 2008 at 2:05 PM, Nino Saturnino Martinez Vazquez 
Wael


 wrote:





 wicketstuff!=wicket :)



 And it should not go on the wicket wiki...



 Jörn Zaefferer wrote:





 Don't we have already at least one wishlist on the wicket wiki?

 http://cwiki.apache.org/WICKET/#Index-WishListforNextVersion



 Jörn



 On Fri, Sep 19, 2008 at 12:30 PM, Nino Saturnino Martinez Vazquez 

Wael


 wrote:







 Hi



 I'd really like a wish list for wicketstuff. So reply with your 

wishes


 and I

 might have time at a point to implement it:)



 I'll start by adding this to the list:



 Integration with : http://code.google.com/p/iui/





 I'll add a wishlist to the wiki or maybe my blog..



 --

 -Wicket for love



 Nino Martinez Wael

 Java Specialist @ Jayway DK

 http://www.jayway.dk

 +45 2936 7684





 

-


 To unsubscribe, e-mail: [EMAIL PROTECTED]

 For additional commands, e-mail: [EMAIL PROTECTED]











 --

 -Wicket for love



 Nino Martinez Wael

 Java Specialist @ Jayway DK

 http://www.jayway.dk

 +45 2936 7684





 
-


 To unsubscribe, e-mail: [EMAIL PROTECTED]

 For additional commands, e-mail: [EMAIL PROTECTED]











 --

 -Wicket for love



 Nino Martinez Wael

 Java Specialist @ Jayway DK

 http://www.jayway.dk

 +45 2936 7684





 -

 To unsubscribe, e-mail: [EMAIL PROTECTED]

 For additional commands, e-mail: [EMAIL PROTECTED]







--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Best approach dealing with error

2008-09-20 Thread Nino Saturnino Martinez Vazquez Wael
What about running the app in debug mode and just set eclipse or 
whatever to  halt on execeptions.. Then you just have to wait for it?


Mathias P.W Nilsson wrote:

Hi!

I often get this messages when the application has been running 10-50
minutes.
I don't know how to track it down.

15:08:33,920 ERROR [RequestCycle] Internal error parsing wicket:interface =
:6
org.apache.wicket.WicketRuntimeException: Internal error parsing
wicket:interfac
e = :6
at
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.addI
nterfaceParameters(WebRequestCodingStrategy.java:583)
at
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.addI
nterfaceParameters(WebRequestCodingStrategy.java:554)
at
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.deco
de(WebRequestCodingStrategy.java:199)
at org.apache.wicket.Request.getRequestParameters(Request.java:171)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1229)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1349)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:
387)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.ja
va:199)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at
org.springframework.orm.jpa.support.OpenEntityManagerInViewFilter.doF
ilterInternal(OpenEntityManagerInViewFilter.java:111)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR
equestFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:525)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
at java.lang.Thread.run(Thread.java:619)

  


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Best approach dealing with error

2008-09-20 Thread Mathias P.W Nilsson

Yes, but I don't get these exceptions local. It is when the application is
deployed so I wont be able to set 
any breakpoints.
-- 
View this message in context: 
http://www.nabble.com/Best-approach-dealing-with-error-tp19585579p19586354.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Best approach dealing with error

2008-09-20 Thread Nino Saturnino Martinez Vazquez Wael

You could use remote debuggin,

http://wiki.apache.org/tomcat/FAQ/Developing#Q1

Mathias P.W Nilsson wrote:

Yes, but I don't get these exceptions local. It is when the application is
deployed so I wont be able to set 
any breakpoints.
  


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Best approach dealing with error

2008-09-20 Thread Mathias P.W Nilsson

Thank you. I will look into this right now.
-- 
View this message in context: 
http://www.nabble.com/Best-approach-dealing-with-error-tp19585579p19586484.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicketstuff wishlist?

2008-09-20 Thread Jörn Zaefferer
How about a IFormValidator? That has access to the form's components
and is more flexible to use (composition instead of inheritance).

Jörn

On Sat, Sep 20, 2008 at 4:56 PM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:


 [EMAIL PROTECTED] wrote:

 I'm the one who developed HibernateFormComponentValidator and
 HibernateFormValidator, which does the validation in a different way
 compared with the annotations package.

 We really should improve this project. :-)

 Hows it lacking.. A less intrusive way..? Maybe instead just provide an
 HibernateValidatedForm, just use the form and it will and the correct
 validators using vistor etc?

 cheers
 Bruno

 On Sep 20, 2008 6:47am, Jörn Zaefferer [EMAIL PROTECTED]
 wrote:

 A pony? Django now got one...



 Thanks for the wicket-hibernate link!



 Jörn



 On Sat, Sep 20, 2008 at 2:29 AM, Nino Saturnino Martinez Vazquez Wael

 wrote:

  Baah.. Theres already something on it:

 

 


 https://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/

 

  something on it here:

  http://jroller.com/wireframe/entry/hibernate_annotations_and_wicket

 

 

  Anything else for the wish list not already existing? :)

 

  Nino Saturnino Martinez Vazquez Wael wrote:

 

  Great:)

 

  First shot will probably be Hibernate Validation (is general and works

  without hibernate with any JPA provider), since I have a demo project

 for

  that, validation JSR 303 arent done yet AFAIK.. And I think im gonna

 try to

  use IVisitor to do it.. So it's actually a fairly simple one:)

 

  Jörn Zaefferer wrote:

 

  Oops, I missed that bit!

 

  Well, then I add: Annotations for form validation. Maybe integrated

  with the bean validation JSR, Hibernate Validation or standalone.

  Enabled by adding AnnotationValidator instance to a form or indivdual

  fields...

 

  Jörn

 

  On Fri, Sep 19, 2008 at 2:05 PM, Nino Saturnino Martinez Vazquez Wael

  wrote:

 

 

  wicketstuff!=wicket :)

 

  And it should not go on the wicket wiki...

 

  Jörn Zaefferer wrote:

 

 

  Don't we have already at least one wishlist on the wicket wiki?

  http://cwiki.apache.org/WICKET/#Index-WishListforNextVersion

 

  Jörn

 

  On Fri, Sep 19, 2008 at 12:30 PM, Nino Saturnino Martinez Vazquez

 Wael

  wrote:

 

 

 

  Hi

 

  I'd really like a wish list for wicketstuff. So reply with your

 wishes

  and I

  might have time at a point to implement it:)

 

  I'll start by adding this to the list:

 

  Integration with : http://code.google.com/p/iui/

 

 

  I'll add a wishlist to the wiki or maybe my blog..

 

  --

  -Wicket for love

 

  Nino Martinez Wael

  Java Specialist @ Jayway DK

  http://www.jayway.dk

  +45 2936 7684

 

 

 

 -

  To unsubscribe, e-mail: [EMAIL PROTECTED]

  For additional commands, e-mail: [EMAIL PROTECTED]

 

 

 

 

 

  --

  -Wicket for love

 

  Nino Martinez Wael

  Java Specialist @ Jayway DK

  http://www.jayway.dk

  +45 2936 7684

 

 

 
  -

  To unsubscribe, e-mail: [EMAIL PROTECTED]

  For additional commands, e-mail: [EMAIL PROTECTED]

 

 

 

 

 

  --

  -Wicket for love

 

  Nino Martinez Wael

  Java Specialist @ Jayway DK

  http://www.jayway.dk

  +45 2936 7684

 

 

  -

  To unsubscribe, e-mail: [EMAIL PROTECTED]

  For additional commands, e-mail: [EMAIL PROTECTED]

 

 


 --
 -Wicket for love

 Nino Martinez Wael
 Java Specialist @ Jayway DK
 http://www.jayway.dk
 +45 2936 7684


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




Re: Best approach dealing with error

2008-09-20 Thread Nino Saturnino Martinez Vazquez Wael

HTH :)

Mathias P.W Nilsson wrote:

Thank you. I will look into this right now.
  


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Minis veil?

2008-09-20 Thread Nino Saturnino Martinez Vazquez Wael

How are the veil supposed to be used?

I want to put a veil over a form once I submit it can I do that with the 
veil from minis? Im using the one from 1.3..


--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Wicketstuff wishlist?

2008-09-20 Thread Nino Saturnino Martinez Vazquez Wael
Yeah that would work too... And you can always add validators.. So it's 
really flexible.. And if you want a form that always has the validator 
you can just extend a form and add the validator yourself...


Jörn Zaefferer wrote:

How about a IFormValidator? That has access to the form's components
and is more flexible to use (composition instead of inheritance).

Jörn

On Sat, Sep 20, 2008 at 4:56 PM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
  

[EMAIL PROTECTED] wrote:


I'm the one who developed HibernateFormComponentValidator and
HibernateFormValidator, which does the validation in a different way
compared with the annotations package.

We really should improve this project. :-)
  

Hows it lacking.. A less intrusive way..? Maybe instead just provide an
HibernateValidatedForm, just use the form and it will and the correct
validators using vistor etc?


cheers
Bruno

On Sep 20, 2008 6:47am, Jörn Zaefferer [EMAIL PROTECTED]
wrote:
  

A pony? Django now got one...



Thanks for the wicket-hibernate link!



Jörn



On Sat, Sep 20, 2008 at 2:29 AM, Nino Saturnino Martinez Vazquez Wael

wrote:



Baah.. Theres already something on it:
  

https://wicket-stuff.svn.sf.net/svnroot/wicket-stuff/trunk/wicketstuff-hibernate-behavior/
  

something on it here:
  
http://jroller.com/wireframe/entry/hibernate_annotations_and_wicket
  
Anything else for the wish list not already existing? :)
  
Nino Saturnino Martinez Vazquez Wael wrote:
  

Great:)

First shot will probably be Hibernate Validation (is general and works

without hibernate with any JPA provider), since I have a demo project


for
  

that, validation JSR 303 arent done yet AFAIK.. And I think im gonna


try to
  

use IVisitor to do it.. So it's actually a fairly simple one:)

Jörn Zaefferer wrote:


Oops, I missed that bit!
  
Well, then I add: Annotations for form validation. Maybe integrated
  
with the bean validation JSR, Hibernate Validation or standalone.
  
Enabled by adding AnnotationValidator instance to a form or indivdual
  
fields...
  
Jörn
  
On Fri, Sep 19, 2008 at 2:05 PM, Nino Saturnino Martinez Vazquez Wael
  
wrote:
  

wicketstuff!=wicket :)

And it should not go on the wicket wiki...

Jörn Zaefferer wrote:


Don't we have already at least one wishlist on the wicket wiki?
  
http://cwiki.apache.org/WICKET/#Index-WishListforNextVersion
  
Jörn
  
On Fri, Sep 19, 2008 at 12:30 PM, Nino Saturnino Martinez Vazquez
  

Wael
  

wrote:
  

Hi

I'd really like a wish list for wicketstuff. So reply with your


wishes
  

and I

might have time at a point to implement it:)

I'll start by adding this to the list:

Integration with : http://code.google.com/p/iui/

I'll add a wishlist to the wiki or maybe my blog..

--

-Wicket for love

Nino Martinez Wael

Java Specialist @ Jayway DK

http://www.jayway.dk

+45 2936 7684


-
  

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]


--

-Wicket for love

Nino Martinez Wael

Java Specialist @ Jayway DK

http://www.jayway.dk

+45 2936 7684

-

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]


--
  
-Wicket for love
  
Nino Martinez Wael
  
Java Specialist @ Jayway DK
  
http://www.jayway.dk
  
+45 2936 7684
  
-
  
To unsubscribe, e-mail: [EMAIL PROTECTED]
  
For additional commands, e-mail: [EMAIL PROTECTED]
  

--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For 

Re: Wicket sample application

2008-09-20 Thread Nino Saturnino Martinez Vazquez Wael
I talked with a guy on doing this http://www.askeet.com/ for wicket as a 
tutorial... However progress are slow (mainly because of motivation).



If you take a look at wicket Iolite  archetype you will get at project 
that are setup with spring, JPA/hibernate, the last combo means that you 
do not have configuration files for you entities but they are 
represented as meta data via annotations. Easy to use etc..


[EMAIL PROTECTED] wrote:

I don't think there need to be a 1000 examples - a single, complete, convincing 
example would be sufficient...one that can be used as a starting point for a 
website (authentication, a good database layer...some ajax samples).

I am currently looking at several webprograming frameworks, including T5, 
Wicket and PHP based frameworks such as Akelos and CakePHP.

For a new project I want to use the fastest webprograming framework, that 
will both show results in little time and that does not require a lot of time to get it 
running and to be able to get going with it.

So far, T5 is quite good as you do not need a lot of configuration and tools exist to 
generate mapping files etcor annotated java daosand you can either start from a 
database or object-driven point of view. The problem in T5 is that it is very flexible 
and different people use the lego bricks of Tapestry in a different way so 
that it is hard to re-use code of others. There is no general agreement on how to do 
those projects and everyone does his own user authentication etcso in my opinion it 
is only good if you start from scratch and do everything on your own.

My first impression of wicket (after looking at the phonebook application) is, 
that lots of code examples for Ajax exist and that it looks quite good. However 
there seem to be lots of configuration files, so whenever you make a new object 
you need new hibernate mapping files, and several class files and interfaces - 
so lots of writing. I also happenned to see a .vm file - and I think velocity 
is really out-of-dateand I dont know why this is needed.

So I think you could re-use existing code of others and save time with Wicket 
and make nice-Ajax applications - but it seems to be a lot of code-writing and 
configuration work.


Akelos looks like a great framework - like Ruby on Rails for PHP. However there 
is not much code available but you are a lot faster then doing webprogramming 
using Java frameworks...

CakePHP is a good alternative - a different approach and much more code samples 
and a bigger community.

E.g. there was a sample application (a complete CMS!!!), and I wanted to 
replace a text field on the registration page by a date. So I opened phpMyAdmin 
and replaced the column type by date - reloaded the page (without a restart or 
additional code-generation) - and there was already a date-picker on the page 
instead of the text field. So you save lots of time. You dont even need a 
mapping for your objects as it uses the meta information of the database tables 
and in general a general definition of what column names need to look like 
etcso a great time-saver.

So my favourite would be cakePHP right now although I would prefer a Java 
framework - but they are either incomplete or involve much configuration files, 
restart of the server every time and often you end up in problems that require 
to debug the core code - and then you end up wasting one day or several day for 
nothing.

 Original-Nachricht 
  

Datum: Sat, 20 Sep 2008 08:10:01 -0400
Von: James Carman [EMAIL PROTECTED]
An: users@wicket.apache.org
Betreff: Re: Wicket sample application



  

A quick perusal of Wicket in Action over a weekend wouldn't hurt
either (if you like Cheese)! :)

On Sat, Sep 20, 2008 at 8:08 AM, James Carman
[EMAIL PROTECTED] wrote:


I think you might find that if you started with some of the tutorials
and perhaps some maven archetypes, you could have probably made up
your own example of wicket with database access and all of the
features you're looking for with far less keystrokes than you've spent
writing emails asking where the examples are.  Don't get me wrong, I
do agree that there should be some good examples out there (and there
are), but you will quickly realize that developing with Wicket really
is just that darn easy and you can get stuff up and running very
quickly by piecing together tidbits from the smaller examples.

On Sat, Sep 20, 2008 at 7:59 AM,  [EMAIL PROTECTED] wrote:
  

This example is not easy to find, as it is not directly listed under


examples on the website.


Apart from that:

http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook/

seems to be an old wicket version and there is no version for wicket


2.0 ?


Is there no sample application with database access for the current


version of wicket?


 Original-Nachricht 


Datum: Fri, 19 Sep 2008 20:09:37 +0100
Von: Gwyn Evans [EMAIL 

Re: Wicketstuff wishlist?

2008-09-20 Thread Nino Saturnino Martinez Vazquez Wael

What about this one?

http://www.bubbling-library.com/ ?

Jörn Zaefferer wrote:

Don't we have already at least one wishlist on the wicket wiki?
http://cwiki.apache.org/WICKET/#Index-WishListforNextVersion

Jörn

On Fri, Sep 19, 2008 at 12:30 PM, Nino Saturnino Martinez Vazquez Wael
[EMAIL PROTECTED] wrote:
  

Hi

I'd really like a wish list for wicketstuff. So reply with your wishes and I
might have time at a point to implement it:)

I'll start by adding this to the list:

Integration with :  http://code.google.com/p/iui/


I'll add a wishlist to the wiki or maybe my blog..

--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]