looking for example wicket and hibernate

2009-12-23 Thread Johan den Boer
Hi

I am looking for a real working example on wicket and hibernate. I have read
the books 'Wcket in Action', 'Pro Wicket' and other books but none of them
give a real working example. Can somebody point me to a real working example
or can sent to me.

The most problem i have with the configuration in web.xml and using the
spring integration.

-- 
regards,

John


Location of html files

2009-12-05 Thread Johan den Boer
Hi,

I place my html files in the same package where my java classes resides. Is
it possible to change this. I want to place my html files in the
WEB-INF/page directory

-- 
thanks a lot,

Johan den Boer


Re: Location of html files

2009-12-05 Thread Johan den Boer

Hi,

I not like my html files / css files / images are all locates in the same
package but seperated in directories i.e.

html files goto  ../html
css files go to  ../css
images go to   ../images

why is this not possible

johan


Marat Radchenko-2 wrote:
 
 With custom IResourceFinder, you can put them wherever you want. But
 why? You should have a strong reason to not follow defaults.
 
 2009/12/6, Johan den Boer johanj.denb...@gmail.com:
 Hi,

  I place my html files in the same package where my java classes resides.
 Is
  it possible to change this. I want to place my html files in the
  WEB-INF/page directory

  --
  thanks a lot,


  Johan den Boer

 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Location-of-html-files-tp26662782p26662799.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Add method in wicket 1.4.3

2009-12-04 Thread Johan den Boer
Hi

I am new to wicket so this question may already been answered. In my java
class which is extended from WebPage I can not add a Label.

add(new Label(message, Hello World))

does not work. Is this method been replaced in 1.4.3

can you point me to the url so i can read about it or can you give me an
answer

thanks a lot


Johan


Re: Add method in wicket 1.4.3

2009-12-04 Thread Johan den Boer

No is not working. 

the error message is 

The method add(Component[]) in the type MarkupContainer is not applicable
for the arguments (Label)

I am using eclipse 3.5 and maven. In my pom file 

  dependencies
dependency
  groupIdorg.apache.wicket/groupId
  artifactIdwicket/artifactId
  version1.4.3/version
/dependency
  /dependencies

here is my java class

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;

public class Index extends WebPage {

public Index() {
add(new Label(message, Hello Wicket));  
}
}

the add method
 




igor.vaynberg wrote:
 
 im pretty sure its still there
 
 -igor
 
 On Fri, Dec 4, 2009 at 10:12 PM, Johan den Boer
 johanj.denb...@gmail.com wrote:
 Hi

 I am new to wicket so this question may already been answered. In my java
 class which is extended from WebPage I can not add a Label.

 add(new Label(message, Hello World))

 does not work. Is this method been replaced in 1.4.3

 can you point me to the url so i can read about it or can you give me an
 answer

 thanks a lot


 Johan

 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Add-method-in-wicket-1.4.3-tp26653262p26653357.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Add method in wicket 1.4.3

2009-12-04 Thread Johan den Boer

Hi,

ok, now is working

thanks





igor.vaynberg wrote:
 
 wicket 1.4.3 is jdk5+
 
 -igor
 
 On Fri, Dec 4, 2009 at 10:46 PM, Johan den Boer
 johanj.denb...@gmail.com wrote:

 No is not working.

 the error message is

 The method add(Component[]) in the type MarkupContainer is not applicable
 for the arguments (Label)

 I am using eclipse 3.5 and maven. In my pom file

  dependencies
    dependency
      groupIdorg.apache.wicket/groupId
      artifactIdwicket/artifactId
      version1.4.3/version
    /dependency
  /dependencies

 here is my java class

 import org.apache.wicket.markup.html.WebPage;
 import org.apache.wicket.markup.html.basic.Label;

 public class Index extends WebPage {

        public Index() {
                add(new Label(message, Hello Wicket));
        }
 }

 the add method





 igor.vaynberg wrote:

 im pretty sure its still there

 -igor

 On Fri, Dec 4, 2009 at 10:12 PM, Johan den Boer
 johanj.denb...@gmail.com wrote:
 Hi

 I am new to wicket so this question may already been answered. In my
 java
 class which is extended from WebPage I can not add a Label.

 add(new Label(message, Hello World))

 does not work. Is this method been replaced in 1.4.3

 can you point me to the url so i can read about it or can you give me
 an
 answer

 thanks a lot


 Johan


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 View this message in context:
 http://old.nabble.com/Add-method-in-wicket-1.4.3-tp26653262p26653357.html
 Sent from the Wicket - User mailing list archive at Nabble.com.


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org


 
 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 

-- 
View this message in context: 
http://old.nabble.com/Add-method-in-wicket-1.4.3-tp26653262p26653404.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org