Re: Caching Imagages, CSS, JS in Wicket 1.5.3

2012-07-04 Thread Martin Grigorov
Hi, On Tue, Jul 3, 2012 at 11:32 PM, sardo mark.willi...@power-oasis.com wrote: Thanks Martin, that helps. Forgive my naivety, but why do I have the option of adding CSS via the Java code? Surely it's better to follow convention and add it into the appropriate .war directory? If you provide

Re: Caching Imagages, CSS, JS in Wicket 1.5.3

2012-07-04 Thread sardo
Martin Grigorov-4 wrote If you provide components library then you need to distribute the resources too, not just the classes. Shared resources is more for delivering dynamically generated content. A content that is different depending on some external condition (request parameter, session

ModalWindow 404 error in IE8

2012-07-04 Thread Rick te Brake
Hello, In our application we have a ModalWindow (Which resides in another ModalWindow...) which responds with a 404 error when opening. In the log a ClassCastException appears. This problem only occurs in IE8. It works fine in IE9, Chrome and Firefox. It looks like it's the same problem

Re: Caching Imagages, CSS, JS in Wicket 1.5.3

2012-07-04 Thread sardo
UPDATE: I created a new TestBasePage and a new class that extends TestBasePage. The markup for TestBasePage has the same head mark up as that in my application's BasePage class. When I tested the rendered html it still has two head tags. I then added the wicket:head tag to the child class of

Re: Caching Imagages, CSS, JS in Wicket 1.5.3

2012-07-04 Thread Martin Grigorov
Hi, If you can reproduce this in a mini application (aka quickstart) then please attach it to a ticket in our Jira and we will have a look. On Wed, Jul 4, 2012 at 1:08 PM, sardo mark.willi...@power-oasis.com wrote: UPDATE: I created a new TestBasePage and a new class that extends

Re: Generate html page from java POJO in Wickets

2012-07-04 Thread Decebal Suiu
https://sites.google.com/site/wicketrad/ http://wicketwebbeans.sourceforge.net/ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generate-html-page-from-java-POJO-in-Wickets-tp4650360p4650361.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Generate html page from java POJO in Wickets

2012-07-04 Thread Martin Grigorov
As far as I know both of these projects are not developed since a long time. Use them just for inspiration. On Wed, Jul 4, 2012 at 3:20 PM, Decebal Suiu decebal.s...@asf.ro wrote: https://sites.google.com/site/wicketrad/ http://wicketwebbeans.sourceforge.net/ -- View this message in

WICKET-4387: StringIndexOutOfBoundsException when forwarding requests

2012-07-04 Thread W Mazur
Hi, Wicket-4387 is marked as resolved (on May 18), but there are notes from July 20th, that the issue is still reproducible on 1.5.7. We've got very similar issue ( exactly the same exception stack when ERROR and REQUEST dispatchers are in web.xml and an error-page tag is used in web.xml ), so I'd

Re: WICKET-4387: StringIndexOutOfBoundsException when forwarding requests

2012-07-04 Thread Martin Grigorov
Hi, Enable DEBUG logging level for ServletWebRequest and paste the details together with the stacktrace when you reproduce the problem in the ticket. Thanks! On Wed, Jul 4, 2012 at 3:39 PM, W Mazur wlodekma...@gmail.com wrote: Hi, Wicket-4387 is marked as resolved (on May 18), but there are

Re: setResponsePage swallows my session feedback messages

2012-07-04 Thread Bertrand Guay-Paquet
Hi Martin, Following Andrea's comments from issue Wicket-4637, I modified the NonResettingRestartException to fix the error I reported. Here's the modified version: public class NonResettingRestartException extends ReplaceHandlerException { public NonResettingRestartException(final

Required wicket rad sample example

2012-07-04 Thread venkatnsm
hi, If anybody has Wicket rad sample example/code to generate java pogo to HTML form. I want to genarate html form dynamaically with validations. Please send the JPA jar file link also. -- View this message in context:

Re: Generate html page from java POJO in Wickets

2012-07-04 Thread venkatnsm
other than bean @Textfiled annotation, can we generate Text field in HTML.. How can we validate these bean properties. i want to validate. - String value if bean property is string type, Integer value if bean property is Int type - Max length min lenth. can we do these in pogo using wickets?

Generate html page from java POJO in Wickets

2012-07-04 Thread venkatnsm
hi, how to generate html page from java POJO. (Apache wickets) Suppose in pogo i have name age, for these fields i want to generate text field automatically in HTML with validations. Thanks in advance. -- View this message in context:

java pojo/Bean to generate html (textfield, dropdown,radio buttons)

2012-07-04 Thread venkatnsm
hi, how to generate html page from java POJO. Suppose in pogo i have name age, for these fields i want to generate text field automatically in HTML with validations. Thanks in advance. -- View this message in context:

Re: Generate html page from java POJO in Wickets

2012-07-04 Thread Martin Grigorov
See IValidator class and all its implementations. On Wed, Jul 4, 2012 at 3:40 PM, venkatnsm venkat.s...@gmail.com wrote: other than bean @Textfiled annotation, can we generate Text field in HTML.. How can we validate these bean properties. i want to validate. - String value if bean property

Re: Required wicket rad sample example

2012-07-04 Thread Martin Grigorov
On Wed, Jul 4, 2012 at 4:25 PM, venkatnsm venkat.s...@gmail.com wrote: hi, If anybody has Wicket rad sample example/code to generate java pogo to HTML form. I want to genarate html form dynamaically with validations. Please send the JPA jar file link also. Please send the beer first

Re: Model is not created

2012-07-04 Thread Andre Schütz
No idea? Anybody? On Tue, 3 Jul 2012 22:50:04 +0200 Andre Schütz wic...@faustas.de wrote: Hello, here is an abstract code example of my problem with my application. # StartPage class StartPage extends WebPage { public

Re: Model is not created

2012-07-04 Thread Andre Schütz
I found out that I get the same pageID in both browsers for the MyFormPage. Should the pageID not be different when I open this site in two different browsers? Thanks, Andre On Wed, 4 Jul 2012 19:38:28 +0200 Andre Schütz wic...@faustas.de wrote: No idea? Anybody? On Tue, 3 Jul 2012 22:50:04

Re: Model is not created

2012-07-04 Thread Martin Grigorov
On Wed, Jul 4, 2012 at 9:14 PM, Andre Schütz wic...@faustas.de wrote: I found out that I get the same pageID in both browsers for the MyFormPage. Should the pageID not be different when I open this site in two different browsers? No. Page id is session scoped. Thanks, Andre On Wed, 4

Re: Model is not created

2012-07-04 Thread Andre Schütz
Thanks for the answer. Do you see any mistakes in my code that can be the reason for my problems? On Wed, 4 Jul 2012 21:20:31 +0200 Martin Grigorov mgrigo...@apache.org wrote: On Wed, Jul 4, 2012 at 9:14 PM, Andre Schütz wic...@faustas.de wrote: I found out that I get the same pageID in both

wicket and using @SpringBean annotation

2012-07-04 Thread Dan12321
Hi, could you help me, what I need for using @SpringBean annnotation? In pom.xml I have got: And in WicketApplication class: But I cannot run the application: [ERROR] FATAL ERROR [INFO] [INFO]

Re: wicket and using @SpringBean annotation

2012-07-04 Thread Martin Grigorov
On Wed, Jul 4, 2012 at 9:36 PM, Dan12321 wee...@centrum.cz wrote: Hi, could you help me, what I need for using @SpringBean annnotation? In pom.xml I have got: And in WicketApplication class: But I cannot run the application: [ERROR] FATAL ERROR [INFO]

Re: wicket and using @SpringBean annotation

2012-07-04 Thread Dan12321
Thanks. I had not spring-web in classpath, so I add it into pom.xml and now it works. Thanks. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-and-using-SpringBean-annotation-tp4650375p4650377.html Sent from the Users forum mailing list archive at Nabble.com.

Re: java pojo/Bean to generate html (textfield, dropdown,radio buttons)

2012-07-04 Thread Thomas Götz
Nothing easier than that! MyBean bean = new MyBean(); System.out.println(bean.toHtmlWithFieldsAndValidationAndEverything()); Seriously: if you want us to help you should ask serious questions. Nobody will be able to explain how to automatically generate a HTML page from a POJO. You might as

image from outside web application directory

2012-07-04 Thread lang
I need to show images from c:/pictures on my website. I searched and searched and there should be something on old.nabble but that link is giving null pointer results. Who can help? -- View this message in context:

Re: image from outside web application directory

2012-07-04 Thread Martin Grigorov
Hi, Read this: http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ On Thu, Jul 5, 2012 at 12:49 AM, lang delan...@telfort.nl wrote: I need to show images from c:/pictures on my website. I searched and searched and there should be something on old.nabble but that link is giving