Re: Need Wicket Book

2009-08-17 Thread Haulyn R. Jason
I have both Pro Wicket and Wicket in Action. They are all great! 2009/8/18 Major Péter > Yes Wicket In Action is a great book, but there is an another book: Pro > Wicket from Karthik Gurumurthy, which could be also helpful. > > Peter > > 2009-08-18 08:26 keltezéssel, Jeroen Steenbeeke írta: > >

Re: Need Wicket Book

2009-08-17 Thread Major Péter
Yes Wicket In Action is a great book, but there is an another book: Pro Wicket from Karthik Gurumurthy, which could be also helpful. Peter 2009-08-18 08:26 keltezéssel, Jeroen Steenbeeke írta: I realize you asked for freely available information sources, but you really can't go wrong with Wick

Re: Need Wicket Book

2009-08-17 Thread Ernesto Reinaldo Barreiro
Well, expensive is a relative term: in the country I come from $27.50 is almost twice the money a developer will receive as payment for a month of hard work;-) Besides that, IMHO, the book is an excellent reading and buying it is a good way to support those who expend so much energy and time mainta

Re: Need Wicket Book

2009-08-17 Thread Jeremy Thomerson
I'll second that. Like so many things, documentation is something that "you get what you pay for". -- Jeremy Thomerson http://www.wickettraining.com On Tue, Aug 18, 2009 at 1:26 AM, Jeroen Steenbeeke wrote: > I realize you asked for freely available information sources, but you really > can't

Re: Need Wicket Book

2009-08-17 Thread Arie Fishler
Wicket in action! A must have! On Tue, Aug 18, 2009 at 9:26 AM, Jeroen Steenbeeke wrote: > I realize you asked for freely available information sources, but you > really > can't go wrong with Wicket in Action: > http://manning.com/dashorst/ > It isn't that expensive at $45, and you get a PDF cop

Re: Need Wicket Book

2009-08-17 Thread Jeroen Steenbeeke
I realize you asked for freely available information sources, but you really can't go wrong with Wicket in Action: http://manning.com/dashorst/ It isn't that expensive at $45, and you get a PDF copy as well. You can also skip the dead tree version and get just the PDF for $27.50. And I'm not just s

Re: Need Wicket Book

2009-08-17 Thread Haulyn R. Jason
you can start from wicket tutorial, live demo http://wicketstuff.org/wicket13/and the quick start is very good: http://wicket.apache.org/quickstart.html On Tue, Aug 18, 2009 at 1:26 PM, Gerald Fernando < gerald.anto.ferna...@gmail.com> wrote: > Hello Friends, > > Am Gerald Fernando as well as

Need Wicket Book

2009-08-17 Thread Gerald Fernando
Hello Friends, Am Gerald Fernando as well as new to Wicket. I was assigned to do a project using Wicket. So first i Need to study well Wicket(from the very basic steps) What can be Achieved and What cant be Achieved. please tell me the Books for Wicket(Free DownLoad). so that i can go ahead. from

RE: MarkupnotFoundException in eclipse 3.4.2

2009-08-17 Thread Dale Ogilvie
Thanks, that worked. I wonder why this isn't automatically set up in the "quickstart"? -Original Message- From: jWeekend [mailto:jweekend_for...@cabouge.com] Sent: Tuesday, 18 August 2009 5:25 a.m. To: users@wicket.apache.org Subject: Re: MarkupnotFoundException in eclipse 3.4.2 The

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread Gonzalo Aguilar Delgado
> I have several suggestions. > > The order of the web filters are important. You could also try with > with the wicket spring managed apps, im not sure how that applies. Will check. I didn't know about filter order... Will also check it. Thanks! > > And are you sure that your filter ( /hibe

Re: Improving maven/wicket deployment process

2009-08-17 Thread Tauren Mills
Janos and Jeremy, Thank you both for your feedback! After considering your answers, I think that using Maven profiles is most in line with my needs. And the suggestion to use the command line -Dwicket.configuration=deployment parameter will certainly help. I've never used Hudson before, but I'm

Re: how to use wicket tree in extension

2009-08-17 Thread jWeekend
Yes, Igor's solution is easier (and will remember other tree state beyond just which nodes are expanded) if you are able to use this panel swapping technique instead of your current markup-inheritance solution for the common menu (tree). It looks like a common decision one has to make: whether t

Re: How to use Guice to inject Service to LoadableDetachableModel

2009-08-17 Thread Igor Vaynberg
the easiest thing is to inject your component and pass the reference into your model. outside that there is salve.googlecode.com that lets you inject any object. InjectorHolder.getInjector() doesnt work with guice because it is possible to have more then one injector - one per module. -igor On

Re: how to use wicket tree in extension

2009-08-17 Thread Igor Vaynberg
instead of navigating between pages and passing the tree state around why not simply swap panels. that way the tree instance is the same and keeps its state. -igor On Mon, Aug 17, 2009 at 8:23 AM, Haulyn R. Jason wrote: > Yes, that's right, is that a way to tell the new page(and the new instance

Re: MarkupnotFoundException in eclipse 3.4.2

2009-08-17 Thread jWeekend
The quick fix is: in Project Properties/Java Build Path/Source) set "Included: *.*" (and make sure *.html is not "Excluded") for the folder your html is in, most likely src/main/java if you keep your templates next to your Java source files. Regards - Cemal jWeekend OO & Java Technologies, Wi

Re: How to use Guice to inject Service to LoadableDetachableModel

2009-08-17 Thread Haulyn R. Jason
Hi, I got these blow: java.lang.IllegalStateException: InjectorHolder has not been assigned an injector. Use InjectorHolder.setInjector() to assign an injector. In most cases this should be done once inside SpringWebApplication subclass's init() method. I didn't use spring. I use wicket with guic

Re: how to use wicket tree in extension

2009-08-17 Thread jWeekend
Assuming the class diagram at http://jweekend.com/dev/ArticlesPage/ is up-to-date for your version of Wicket, perhaps you can override "protected ITreeState newTreeState()" to return an ITreeState that you pass between pages (or, put in your custom WebSession if that makes more sense in your app o

Re: ListView Validation

2009-08-17 Thread Major Péter
Yes, with the setReuseItems(true) you just enabled that, the list won't forget the contents on validation fail. If you would like to use custom validation messages, check out the Application.properties file in wicket.jar, there you can see the original messages, and also the format of message

Re: How to use Guice to inject Service to LoadableDetachableModel

2009-08-17 Thread Haulyn R. Jason
I try to add this line, but it doesn't work. I try to test a simple service binding in guice module, it works well with : @Inject ITestService testService; Thanks. On Tue, Aug 18, 2009 at 12:01 AM, Arie Fishler wrote: > in the ctor just add this line > > InjectorHolder.*getInjector*().inject

Re: How to use Guice to inject Service to LoadableDetachableModel

2009-08-17 Thread Arie Fishler
in the ctor just add this line InjectorHolder.*getInjector*().inject(*this*); On Mon, Aug 17, 2009 at 6:26 PM, Haulyn R. Jason wrote: > Hi, all: > I have a class which is likes below: > > > public class DetachableMemberModel extends LoadableDetachableModel > { > >private final long id; > >

Re: ListView Validation

2009-08-17 Thread jpalmer1026
I have setReuseItems set to true but I'm still only seeing the generic Wicket validation messages and not the custom validation messages that I created. Is there a way to display custom validation messages to items in a ListView? jWeekend wrote: > > see setReuseItems on ListView. > > Regards

How to use Guice to inject Service to LoadableDetachableModel

2009-08-17 Thread Haulyn R. Jason
Hi, all: I have a class which is likes below: public class DetachableMemberModel extends LoadableDetachableModel { private final long id; public DetachableMemberModel(Member m) { this(m.getId()); } public DetachableMemberModel(long id) { if (id == 0) {

Re: how to use wicket tree in extension

2009-08-17 Thread Haulyn R. Jason
Yes, that's right, is that a way to tell the new page(and the new instance of the tree), the status of the old tree? I means expand the node which I clicked? Thanks! On Sat, Aug 15, 2009 at 9:00 AM, jWeekend wrote: > > Is your menu (tree) in some parent page class that both the first and the >

Re: ListView Validation

2009-08-17 Thread jWeekend
see setReuseItems on ListView. Regards - Cemal jWeekend OO & Java Technologies, Wicket Training and Development http://jWeekend.com jpalmer1026 wrote: > > I'm trying to display a validation message for an item contained in a list > view but the validation message isn't getting displayed. Is

Re: Tree based on database

2009-08-17 Thread Oliver-Sven Fritsch
Cemal, thanks for your reply! right now I'am at step 3 of your guide. I got the database schema with entries in it, my connection works well and queries the database and delivers a ResultSet. :-) The code I posted in my first email does work perfectly well, it even sorts the child nodes in t

ListView Validation

2009-08-17 Thread jpalmer1026
I'm trying to display a validation message for an item contained in a list view but the validation message isn't getting displayed. Is there something special that needs to be done to display validation messages for list view items?

Re: Tree based on database

2009-08-17 Thread jWeekend
Oliver, It's not difficult but you may need to break the problem down a bit if you are new to some of this stuff. Then we can address any bits you really need help with. Broadly speaking, you could: 1 - create a simple database schema to experiment with and populate the relevant table(s) with ju

Re: Removing an element from ListView with AjaxFallbackButton

2009-08-17 Thread Erik van Oosten
Perhaps you can use the list editor: http://wicketinaction.com/2008/10/building-a-listeditor-form-component/ Regards, Erik. Major Péter wrote: Any help would be appreciated. Thanks Regards, Peter -- Erik van Oosten http://day-to-day-stuff.blogspot.com/ ---

Re: MarkupnotFoundException in eclipse 3.4.2

2009-08-17 Thread Mathias Nilsson
After plugin in the pom file false src/main/resources false src/main/java ** **/*.java -- View this message in context: http://www.nabble.com/MarkupnotFoundException-in-eclipse-3.4.2-tp25001104p25006663.html Sent from the Wicket -

Re: Tree based on database

2009-08-17 Thread Oliver-Sven Fritsch
Thanks for your reply. I guess defining the TreeModel is exactly my problem. I tried to find a tutorial on how to do so based on my database entries but I don't seem to find any. Maybe this is basic java knowledge and I'm searching at the wrong spots. But a little how to would be great because

Re: Removing an element from ListView with AjaxFallbackButton

2009-08-17 Thread Major Péter
So I'm populating an item into the LV, which is gonna have a Remove button, so when I'm add the AFB in the onsubmit I write to remove the ListItem which I'm currently populating?? The LV looks like this final ListView listview = new ListView("ims", new PropertyModel(person, "ImAccounts")) {...

Re: how to create a TabPanel as a separate class.

2009-08-17 Thread Eyal Golan
it's exactly what it says. TabbedPanel doesn't have the default constructor. You must give it at least ID. Eyal Golan egola...@gmail.com Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessar

Re: Tree based on database

2009-08-17 Thread jWeekend
Oliver, Wicket (core and extensions) has several tree components and they all currently use Swing's TreeModel (javax.swing.tree.TreeModel). I say currently as this is the case upto and including Wicket 1.4 but there is some discussion about using a new type of model, more suited to webapps, in Wi

how to create a TabPanel as a separate class.

2009-08-17 Thread Gerald Fernando
Hello Friends, This is my need what i want whenever i need this tabbedPanel i want to place in any page public class choicePanel extends TabbedPanel{ super(); } not like public class choicePanel extends webpage i have created the above one but it shows the error that he constructor Tabbe

Tree based on database

2009-08-17 Thread Oliver-Sven Fritsch
Hi everybody! Still new to Wicket I'm trying to get a wicket tree with nodes from a database. What I got so far is a simple JTree put onto a JFrame. What I don't understand is how to geht my tree onto a wicket web page. I'm kinda confused on how to get things working. As far as I now wicket tr

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread nino martinez wael
Hmm I have several suggestions. The order of the web filters are important. You could also try with with the wicket spring managed apps, im not sure how that applies. And are you sure that your filter ( /hibernate/*), get's hit? What's your wicket filter url, the same or? 2009/8/17 Gonzalo Agui

Re: crud app with wicket

2009-08-17 Thread Ivan Dudko
Thank you guys! - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread Gonzalo Aguilar Delgado
Ok. Maybe I don't understand... Let me show the situation. I have Spring + portlet + hibernate config with transactions working with the current configuration: I have my DAO objects under package com.level2crm.hibernate.enterprise.dao.contact And model under com.level2crm.model I configured one

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread nino martinez wael
Why will you lose that? 2009/8/17 Gonzalo Aguilar Delgado : > Sure? > > > But I will loose control over how transactions are managed... > > > > El vie, 14-08-2009 a las 22:14 +0200, nino martinez wael escribió: > >> Yup so you should either use open session in view or more preferred >> AFAIK detac

Re: Controlling the order of resource files

2009-08-17 Thread Arie Fishler
Many thanks guys...this is exactly what I meant. Happy this is found in the base of wicket. Anoter example of how flexible and great wicket is:) Cheers..great day to all. Arie. On Mon, Aug 17, 2009 at 11:17 AM, Wilhelmsen Tor Iver wrote: > > It is like I need another selection mechanism for res

Re: DefaultDataTable gets no CSS styling

2009-08-17 Thread Kringlan
For anyone who might be interested... for all I know Igor is right and the DataTable component does not add any CSS itself. This seems very odd to me as a default styling would be nice to have. Anyway, I managed to find the styling used in the Wicket-examples page and i just added it to my own CSS

SV: Controlling the order of resource files

2009-08-17 Thread Wilhelmsen Tor Iver
> It is like I need another selection mechanism for resource file which > is not > the locale but something that is specific to the logic of my > application. Look at "styles", i.e. Session.setStyle(String) and the documentation there for resource lookup. Basically the style "tag" goes before the

Re: Controlling the order of resource files

2009-08-17 Thread bgooren
Arie, This is possible out-of-the-box using Session.setStyle(); Setting a style will make wicket consider resource files and property files with the style you've specified. The following is from the Component javadoc: Style - The style ("skin") for a component is available through getStyle(),

Controlling the order of resource files

2009-08-17 Thread Arie Fishler
Hello, The normal way wicket goes over resource files is based on locale and different component names, application name etc. What's the best practice for a situation in which I would like my application to find the resource file based on a "skin". This means that for the same classes set (same w

Re: CORRECT portlet+spring+hibernate configuration (Two options, what's right?)

2009-08-17 Thread Gonzalo Aguilar Delgado
Sure? But I will loose control over how transactions are managed... El vie, 14-08-2009 a las 22:14 +0200, nino martinez wael escribió: > Yup so you should either use open session in view or more preferred > AFAIK detachable models. > > 2009/8/14 Russell Simpkins : > > > > Errors like those

Re: Design of components utilizing JS, was: Wicket and JQuery - lavalamp

2009-08-17 Thread Joseph Pachod
m a totally newbie in the JS domain so your ramark really helps me learning this stuff. Have a look at http://docs.jquery.com/Plugins/Authoring It provides lot of interesting hints on how to write jQuery plugins :) ++ - T