Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread Kent Tong
Hi, I've written a tutorial on this topic. You may check it out at http://www.dzone.com/links/getting_started_with_scala_spring_hibernate_wicket.html - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread James Carman
Why is spring-orm version 3.0.1.RELEASE and not 3.0.3.RELEASE? Why not just uset a {spring.version} property in your POM so that it all stays in synch? On Sat, Jun 19, 2010 at 7:23 AM, Kent Tong k...@cpttm.org.mo wrote: Hi, I've written a tutorial on this topic. You may check it out at

Re: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread James Carman
Why do you have page - service - dao? Why not just talk directly to the DAO for the getAll() method. This level of indirection just causes more code (and confusion) in your simple example. Is this just a best practice that you've devised? I've never really understood folks' aversion to talking

Re: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread Kent Tong
Hi James, Why is spring-orm version 3.0.1.RELEASE and not 3.0.3.RELEASE? Why not just uset a {spring.version} property in your POM so that it all stays in synch? Thanks for your good advice. I've updated the tutorial. Why do you have page - service - dao? Why not just talk directly to

Re: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread James Carman
On Sat, Jun 19, 2010 at 10:10 AM, Kent Tong k...@cpttm.org.mo wrote: I agree that if the service is simply delegating to the DAO without adding anything, then it is probably be a good idea to merge them. However, this sample application is meant to demonstrate how to do it in a general case

Re: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread Brian Topping
The best reason for me to keep a service/business layer talking to the DAO is to provide a clean transactional boundary. Then, all I have to do is add a Spring @Transactional annotation to the method and I'm fully atomic. If my view logic is calling a half dozen DAO methods to effect an

Re: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread James Carman
On Sat, Jun 19, 2010 at 11:54 AM, Brian Topping brian.topp...@gmail.com wrote: The best reason for me to keep a service/business layer talking to the DAO is to provide a clean transactional boundary.  Then, all I have to do is add a Spring @Transactional annotation to the method and I'm fully

RE: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread Tim L Casey
That’s ok. I never understood folks who don’t use layers. -Original Message- From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On Behalf Of James Carman Sent: Saturday, June 19, 2010 5:07 AM To: users@wicket.apache.org Subject: Re: Getting started with Scala

Re: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread James Carman
On Sat, Jun 19, 2010 at 12:06 PM, Tim L Casey tca...@cataphora.com wrote: That’s ok.  I never understood folks who don’t use layers. I do use layers, when it makes sense. It's just a matter of taste, I guess. Some folks like to stick with their paradigm no matter what. I guess I've just

RE: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread Tim L Casey
that choice. -Original Message- From: jcar...@carmanconsulting.com [mailto:jcar...@carmanconsulting.com] On Behalf Of James Carman Sent: Saturday, June 19, 2010 9:12 AM To: users@wicket.apache.org; tim.ca...@cataphora.com Subject: Re: Getting started with Scala, Spring, Hibernate Wicket

Re: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread Brian Topping
On Jun 19, 2010, at 12:05 PM, James Carman wrote: On Sat, Jun 19, 2010 at 11:54 AM, Brian Topping brian.topp...@gmail.com wrote: The best reason for me to keep a service/business layer talking to the DAO is to provide a clean transactional boundary. Then, all I have to do is add a

Re: Getting started with Scala, Spring, Hibernate Wicket

2010-06-19 Thread Erik van Oosten
The latest and greatest in the domain-driven world would be CQRS where the UI code needs two types of dependencies: the command bus and a repository. No more need of a 'services' layer. I adore CQRS because it provides a simple and clear view of what code to put where. Though the amount of

Re: DZone Refcard - Getting Started with Apache Wicket

2009-07-28 Thread Erik Post
I agree. Thanks, much appreciated! On Tue, Jul 28, 2009 at 4:34 AM, Anton Veretennikovanton.veretenni...@gmail.com wrote: Congratulations! Nice work! -- Tony On Tue, Jul 28, 2009 at 12:32 AM, Andrew Lombardiand...@mysticcoders.com wrote: DZone launched a Refcard about Apache Wicket here -

DZone Refcard - Getting Started with Apache Wicket

2009-07-27 Thread Andrew Lombardi
DZone launched a Refcard about Apache Wicket here - http://dzone.it/yml A quick description from the website: Among the dizzying number of Web frameworks available today, Wicket’s simple and intuitive approach to Web development has led it to become a favorite among many Java developers.

Re: getting started with swarm/wasp - rendering links to secure pages

2009-06-11 Thread Christopher L Merrill
Warren Bell wrote: Try securing the link on your HomePage and do not secure the HomePage itself. The link has to implement ISecureComponent. Warren, I've followed your suggestion but the link is still rendering, so I'm still missing something. First, I made my own component MyPageLink that

Re: getting started with swarm/wasp - rendering links to secure pages

2009-06-11 Thread Christopher L Merrill
Now I'm embarrassed for posting that question. I see there is a SecurePageLink class that already does that I need...and I see from that source how I can create the LinkSecurityCheck if I wanted to do it myself. Thanks Warren! I've got it working now. Like everything else in Wicket, that was

Re: getting started with swarm/wasp - rendering links to secure pages

2009-06-10 Thread Luca Provenzani
permission for this page until login. The link is enabled (though the user is redirected to the login page when clicked). I've made my way through the getting-started guide ( http://wicketstuff.org/confluence/display/STUFFWIKI/Getting+started+with+Swarm ) and have a simple example

Re: getting started with swarm/wasp - rendering links to secure pages

2009-06-10 Thread Warren Bell
). I've made my way through the getting-started guide ( http://wicketstuff.org/confluence/display/STUFFWIKI/Getting+started+with+Swarm ) and have a simple example working in my prototype. I have 3 pages: - HomePage (non-secure) - LoginPage (non-secure...obviously) - Page2 (secure) My

getting started with swarm/wasp - rendering links to secure pages

2009-06-09 Thread Christopher L Merrill
not grant the enable permission for this page until login. The link is enabled (though the user is redirected to the login page when clicked). I've made my way through the getting-started guide (http://wicketstuff.org/confluence/display/STUFFWIKI/Getting+started+with+Swarm) and have

Re: more getting started documents

2008-05-29 Thread Gwyn Evans
On Wed, May 28, 2008 at 10:30 PM, anirelles [EMAIL PROTECTED] wrote: is there any step by step CRUD for wicket? i would like to use wicked for a personal website but i'm losing to much time integrating the live examples in my own project i'll return to wicket when more documentation for

Re: more getting started documents

2008-05-29 Thread Nino Saturnino Martinez Vazquez Wael
You could also try the wicket iolite maven archetype.. It's a extremely simple crud application... anirelles wrote: is there any step by step CRUD for wicket? i would like to use wicked for a personal website but i'm losing to much time integrating the live examples in my own project i'll

more getting started documents

2008-05-28 Thread anirelles
://www.nabble.com/more-getting-started-documents-tp17522590p17522590.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: more getting started documents

2008-05-28 Thread Robby O'Connor
There is a wicket plugin for grails if you want a quick and easy CRUD wicket site. --rob anirelles wrote: is there any step by step CRUD for wicket? i would like to use wicked for a personal website but i'm losing to much time integrating the live examples in my own project i'll return

Re: more getting started documents

2008-05-28 Thread Eelco Hillenius
is there any step by step CRUD for wicket? The phonebook example in wicket-stuff. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: more getting started documents

2008-05-28 Thread Johan Compagner
for a personal website but i'm losing to much time integrating the live examples in my own project i'll return to wicket when more documentation for new users will be available -- View this message in context: http://www.nabble.com/more-getting-started-documents-tp17522590p17522590.html Sent

Re: more getting started documents

2008-05-28 Thread anirelles
examples in my own project i'll return to wicket when more documentation for new users will be available -- View this message in context: http://www.nabble.com/more-getting-started-documents-tp17522590p17523853.html Sent from the Wicket - User mailing list archive at Nabble.com

Re: Getting started

2007-11-23 Thread James Perry
Bonjour Gervais, To help you understand the fundamentals of Wicket, I would strongly recommend reading the first few chapters of Wicket in Action. It's available for the Manning Early Access Program. To answer your third qestion on how to bind more then one domain model to a form, I would

Getting started

2007-11-22 Thread Gervais
Hy all, I'm new in the famous wicket world ! I need to start learning Wicket but i can't found docs that explain more than just doing a HelloWrold or a GuestBook. In fact i need to use Wicket with Spring but for that i first need to understand and play with wicket. So i have many questions.

Re: Getting started

2007-11-22 Thread Dipu Seminlal
We don't do imports, we extends ! checkout markup inheritance http://cwiki.apache.org/WICKET/markup-inheritance.html regards dipu On Nov 22, 2007 2:48 PM, Gervais [EMAIL PROTECTED] wrote: Hy all, I'm new in the famous wicket world ! I need to start learning Wicket but i can't found docs

Re: Getting started

2007-11-22 Thread Gervais
Ok thanks. But y have another question. (i try to translate it corretcly). For beginning i have created an application named Startup with one page named StartupPage. Below is my StartupPage code : # Code start

Re: Getting started

2007-11-22 Thread Dipu Seminlal
Is the content of your page (paragraph, links, list etc ) static in nature, then you can just write it directly in html, If it is not static in nature where do you get it from and in what form If you have an object that is initialised with the data to populate in you StartupPage, you can have a

Re: Getting started

2007-11-22 Thread Gervais
Ho, yes i imagine it like that. But in my case, and i suppose many other, i get information from many object/beans that contains values stored in database. In fact i surrely use two java.util.List (Annoucements and Notes) and other objects for paragraph and links but i don't now what kinds

Re: Getting started

2007-11-22 Thread Dipu Seminlal
Is it not possible to pass those objects itself to the page in the constructor. Thats how i do it, may be i don't understand your problem correctly, hopefully someone else here will be able to help you. regards dipu On Nov 22, 2007 4:01 PM, Gervais [EMAIL PROTECTED] wrote: Ho, yes i imagine

Re: Getting started

2007-11-22 Thread Gwyn Evans
On 22/11/2007, Gervais [EMAIL PROTECTED] wrote: I'm new in the famous wicket world ! I need to start learning Wicket but i can't found docs that explain more than just doing a HelloWrold or a GuestBook. http://wicket.apache.org/examples.html http://www.wicketstuff.org/wicket13/compref/

Getting started with Wicket getting even easier?

2007-11-06 Thread jweekend
up the pom.xml in IDEA! Everything just works. He says it made getting started and writing his first toy program with Wicket really easy. And, he has never used Maven (or Wicket) before today. It sounds like things are getting even easier (although, in reality, it's quite hard to get much easier

Re: Getting started with Wicket getting even easier?

2007-11-06 Thread Nick Heudecker
who had also just upgraded to http://www.jetbrains.com/idea/ IDEA 7 (from 6.0.2). He showed me how easy it was to load his Wicket project by just opening up the pom.xml in IDEA! Everything just works. He says it made getting started and writing his first toy program with Wicket really easy

Getting started with Hibernate and Wicket

2007-10-03 Thread Neil B. Cohen
I'm trying to learn both Hibernate and Wicket at the same time, and I could use a couple of pointers... I have managed to take the Wicket 'signin' example and added a tiny Hibernate database which I can access to extract a 'User' object to validate the user's name and password. That works

Re: Getting started with Hibernate and Wicket

2007-10-03 Thread Landry Soules
You will find good examples here : http://www.wicketstuff.org/wicket13/repeater/ and http://cwiki.apache.org/WICKET/reading-from-a-database.html Neil B. Cohen a écrit : I'm trying to learn both Hibernate and Wicket at the same time, and I could use a couple of pointers... I have managed

Re: Getting started with Hibernate and Wicket

2007-10-03 Thread Alexandre Bairos
http://databinder.net does a good job. On 10/3/07, Neil B. Cohen [EMAIL PROTECTED] wrote: I'm trying to learn both Hibernate and Wicket at the same time, and I could use a couple of pointers... I have managed to take the Wicket 'signin' example and added a tiny Hibernate database which I

Re: Getting started with Hibernate and Wicket

2007-10-03 Thread Tauren Mills
Wicketstuff Phonebook is a good starting place for wicket/spring/hibernate integration: http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-phonebook On 10/3/07, Alexandre Bairos [EMAIL PROTECTED] wrote: http://databinder.net does a good job. On 10/3/07, Neil B. Cohen [EMAIL

Getting started question...

2007-09-25 Thread Neil B. Cohen
Hi - This looks like a very interesting package. I have been doing most of my development work using Netbeans 5.5.1 recently - is Wicket development supported by Netbeans? Are there modules I need to install to do that? How would you compare the VWP package in Netbeans to Wicket - are they

Re: Getting started question...

2007-09-25 Thread Martijn Dashorst
There has been some development for Wicket support in netbeans, though no core Wicket committers have contributed to that. Have you looked at the wicket website? And clicked on the IDE plugins link? This would have shown you a page with the IDE plugins: http://wicket.apache.org/ides.html