Re: Quick Start Error with 8.7.0 - The desired archetype does not exist

2020-04-10 Thread Bruce Lombardi
gt; > [INFO] BUILD SUCCESS > [INFO] > ---- > [INFO] Total time: 2.944 s > [INFO] Finished at: 2020-04-10T15:35:22+03:00 > [INFO

Re: Quick Start Error with 8.7.0 - The desired archetype does not exist

2020-04-10 Thread Bruce Lombardi
--- > [INFO] BUILD SUCCESS > [INFO] > ---- > [INFO] Total time: 2.944 s > [INFO] Finished at: 2020-04-10T15:35:22+03:00 > [INFO] > ---

Re: Quick Start Error with 8.7.0 - The desired archetype does not exist

2020-04-10 Thread Bruce Lombardi
> [INFO] Parameter: version, Value: 1.0-SNAPSHOT > [INFO] Project created from Archetype in dir: /tmp/testWicket8 > [INFO] > > [INFO] BUILD SUCCESS > [INFO] > ---- > [INFO] To

Quick Start Error with 8.7.0 - The desired archetype does not exist

2020-04-10 Thread Bruce Lombardi
Hi, I tried to use the Quick Start to get wicket 8.7.0 . The command line generated on the Wicked site is as follows (except I added the -X switch and ran it again after getting the error to get more information). mvn -X archetype:generate -DarchetypeGroupId=org.apache.wicket

Help with java.net.SocketException: Connection reset by peer: socket write error

2015-06-25 Thread Bruce Lombardi
Wehave deployed a Wicket application that runs fine, but every once in a while I see a stacktrace in my Tomcat logs that says ERROR - DefaultExceptionMapper:mapExpectedExceptions.144 - Connection lost, give up responding. Which appears to be caused by: java.net.SocketException: Connection

Re: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-15 Thread Bruce Lombardi
/... On Mar 14, 2015 7:37 PM, Bruce Lombardi brlom...@gmail.com wrote: Interesting, When I run your code I see that the url is as you say: ./wicket/resource/org.apache.wicket.Application/pdfProducer Whereas in my working code (wicket version 6.12) it is: ./resource

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-14 Thread Bruce Lombardi
Interesting, When I run your code I see that the url is as you say: ./wicket/resource/org.apache.wicket.Application/pdfProducer Whereas in my working code (wicket version 6.12) it is: ./resource/org.apache.wicket.Application/pdfProducer And in my non-working code (wicket versions 6.13 -

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-14 Thread Bruce Lombardi
Thanks Andrea. I'll work with your quickstart and see what I can find. Bruce -Original Message- From: Andrea Del Bene [mailto:an.delb...@gmail.com] Sent: Saturday, March 14, 2015 11:58 AM To: users@wicket.apache.org Subject: Re: PDF viewed in panel via ResourceReference works in 6.12

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
in the logs. I see nothing component specific in your ResRef so I'd #mountResource() it. This way it will be always available. Martin Grigorov Freelancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Mar 13, 2015 at 6:40 PM, Bruce Lombardi brlom

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Mar 13, 2015 at 6:40 PM, Bruce Lombardi brlom...@gmail.com wrote: I have a PdfViewer page that contains a panel that displays a dynamically generated PDF using a resource reference. This works fine in Wicket 6.12.0

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
but not in 6.13 Pass the info as parameters on the request to the mounted resource? On Fri, Mar 13, 2015 at 7:15 PM, Bruce Lombardi brlom...@gmail.com wrote: Martin, I'm looking into mounting the resource but there is something that I don't understand. Currently I am creating the resource

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
, Bruce Lombardi brlom...@gmail.com wrote: Martin, I'm looking into mounting the resource but there is something that I don't understand. Currently I am creating the resource in my panel and passing the pdf I want to display into the constructor of the resource. If I mount the resource, how

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
@wicket.apache.org Subject: RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13 Passing something that allows you to produce the byte []? Sent from Samsung Mobile Original message From: Bruce Lombardi brlom...@gmail.com Date:13/03/2015 20:20 (GMT+01:00

RE: PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
Training and Consulting https://twitter.com/mtgrigorov On Fri, Mar 13, 2015 at 8:15 PM, Bruce Lombardi brlom...@gmail.com wrote: Martin, I'm looking into mounting the resource but there is something that I don't understand. Currently I am creating the resource in my panel and passing the pdf I

PDF viewed in panel via ResourceReference works in 6.12 but not in 6.13

2015-03-13 Thread Bruce Lombardi
I have a PdfViewer page that contains a panel that displays a dynamically generated PDF using a resource reference. This works fine in Wicket 6.12.0, but when I upgrade to 6.13.0 it stops working (just changed Maven dependency - no code changes). No errors are displayed and the html is generated

RE: Can I process a POST with simple non-Json parameters using wicket-restannotations

2014-08-06 Thread Bruce Lombardi
care if the request is POST or GET? Wicket abstracts that out for you via the query parameters. ~ Thank you, Paul Bors On Aug 5, 2014, at 5:07 PM, Bruce Lombardi brlom...@gmail.com wrote: Hi, I have successfully setup a restful service using Wicketstuff wicket-restannotation

Can I process a POST with simple non-Json parameters using wicket-restannotations

2014-08-05 Thread Bruce Lombardi
Hi, I have successfully setup a restful service using Wicketstuff wicket-restannotation that accepts Json parameters. But I need to write something in Wicket that will accepts a post of an order confirmation from another source that does not use Json. Is there a simple way of doing that with

Re: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-08-02 Thread Bruce Lombardi
Thanks again! Bruce Sent from my iPad On Aug 2, 2014, at 6:26 AM, Andrea Del Bene an.delb...@gmail.com wrote: You can use method AbstractRestResource.setResponseStatusCode Thanks Andrea. I'm working this out. Now I have one more question: How can I return an Http 401 Status Code of

RE: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-08-01 Thread Bruce Lombardi
Thanks Andrea. I'm working this out. Now I have one more question: How can I return an Http 401 Status Code of Unauthorized if the password is incorrect? I know I can return values, such as the PersonPojo in the example, and I can return error messages from the from a registered validator, but

Re: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-07-31 Thread Bruce Lombardi
I just stated it by running Start.java as a java application to start Jetty from Eclipse. Bruce Sent from my iPad On Jul 31, 2014, at 6:09 AM, Andrea Del Bene an.delb...@gmail.com wrote: Hi, how did you started the example application? I want to use the wicketstuff-restannotations

Re: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-07-31 Thread Bruce Lombardi
Thanks, I'll try it with another approach. I'll let you know. Bruce Sent from my iPad On Jul 31, 2014, at 8:05 AM, Andrea Del Bene an.delb...@gmail.com wrote: I started the example app with Maven and enabling the SSL port. I've tested it with Firefox, although I had to disable the flag

RE: Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-07-31 Thread Bruce Lombardi
Andrea, I have the SSL working fine when I call it from a Java program using HttpsURLConnection. So it was something with curl. I wonder if you could suggest how I could pass a username and password along with the json string and authenticate the request. Thanks, Bruce -Original

Wicketstuff restannotations example throws IllegalStateException: STREAMED with https

2014-07-30 Thread Bruce Lombardi
I want to use the wicketstuff-restannotations library to implement a restful web service. It seem very handy and I was able to get the example code working fine. To make sure I understood how everything was working and how to access from another server I used curl from the command line to send an

RE: Ajax timer not counting when tab doesn't have focus?

2014-05-27 Thread Bruce Lombardi
a bit with the links your provided and come up with a more robust solution. On Fri, May 16, 2014 at 3:57 PM, Bruce Lombardi brlom...@gmail.com wrote: First, thank you for your continuing interest. This is the best support group experience I've ever had. I hope the message come

Re: How can I display modal dialog only if validation is sucessful?

2014-05-23 Thread Bruce Lombardi
Meillet Formation Wicket - Développement Wicket Le 21 mai 2014 à 16:15, Bruce Lombardi brlom...@gmail.com a écrit : Hi, I have a form with several question that a user must answer. If the answers are correct, an email is sent to the user and the user is returned to the login page

How can I display modal dialog only if validation is sucessful?

2014-05-21 Thread Bruce Lombardi
Hi, I have a form with several question that a user must answer. If the answers are correct, an email is sent to the user and the user is returned to the login page. That's a bit abrupt for the user and I would like to provide a simple modal dialog that confirms that the email is sent before

RE: Ajax timer not counting when tab doesn't have focus?

2014-05-16 Thread Bruce Lombardi
during weekend to play a bit with the links your provided and come up with a more robust solution. On Fri, May 16, 2014 at 3:57 PM, Bruce Lombardi brlom...@gmail.com wrote: First, thank you for your continuing interest. This is the best support group experience I've ever had. I hope

RE: Ajax timer not counting when tab doesn't have focus?

2014-05-16 Thread Bruce Lombardi
try with 6.16.0-SNAPSHOT if you can. Martin Grigorov Wicket Training and Consulting On Mon, May 12, 2014 at 8:02 PM, Bruce Lombardi brlom...@gmail.com wrote: Thanks Ernesto. Yes, I do mean another browser tab. I have some new information. The timer seems to slow way down

Re: problem with message order delivered to wicket users list

2014-05-16 Thread Bruce Lombardi
Yes, I have been seeing the same thing. I also saw a reply that didn't include someone else's previous response. Bruce Sent from my iPad On May 14, 2014, at 12:21 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, I the last couple of days I have been experiencing problems

Ajax timer not counting when tab doesn't have focus?

2014-05-15 Thread Bruce Lombardi
/src/main/java/com/antilia Thanks, Bruce -Original Message- From: Bruce Lombardi [mailto:brlom...@gmail.com] Sent: Monday, March 17, 2014 8:24 AM To: users@wicket.apache.org Subject: Re: Link to Wicket page from Javascript Thanks, this is very helpful. Bruce Sent from my iPad On Mar 17

RE: Ajax timer not counting when tab doesn't have focus?

2014-05-13 Thread Bruce Lombardi
Subject: Re: Ajax timer not counting when tab doesn't have focus? It could be that https://issues.apache.org/jira/browse/WICKET-5570 is the issue. Please try with 6.16.0-SNAPSHOT if you can. Martin Grigorov Wicket Training and Consulting On Mon, May 12, 2014 at 8:02 PM, Bruce Lombardi brlom

Ajax timer not counting when tab doesn't have focus?

2014-05-12 Thread Bruce Lombardi
/client-sign-out-paren t/client-sign-out-demo/src/main/java/com/antilia Thanks, Bruce -Original Message- From: Bruce Lombardi [mailto:brlom...@gmail.com] Sent: Monday, March 17, 2014 8:24 AM To: users@wicket.apache.org Subject: Re: Link to Wicket page from Javascript

RE: Ajax timer not counting when tab doesn't have focus?

2014-05-12 Thread Bruce Lombardi
)); } }); } -Original Message- From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Sent: Monday, May 12, 2014 11:39 AM To: users@wicket.apache.org Subject: Re: Ajax timer not counting when tab doesn't have focus? Hi Bruce, On Mon, May 12, 2014 at 4:52 PM, Bruce Lombardi brlom

Spring bean not injected into class extending WebApplication

2014-04-02 Thread Bruce Lombardi
I have an application that is integrated with Spring and a new requirement is forcing me to update user login status for all users on application restart. I want to do this using Springs JdbcOperations to do a simple execute of a sql statement since Spring and Spring JPA are used throughout

RE: Spring bean not injected into class extending WebApplication

2014-04-02 Thread Bruce Lombardi
/server/web/NextServerApplication.java#L224 Martin Grigorov Wicket Training and Consulting On Wed, Apr 2, 2014 at 6:43 PM, Bruce Lombardi brlom...@gmail.com wrote: I have an application that is integrated with Spring and a new requirement is forcing me to update user login status for all

Re: Link to Wicket page from Javascript

2014-03-17 Thread Bruce Lombardi
. But this can be used to do what is needed here - Wicket will redirect to the configured PageExpiredErrorPage. 3- On the respond of AJAXBehavior you redirect to SessionTimeoutPage and invalidate the session. On Fri, Mar 14, 2014 at 8:07 PM, Bruce Lombardi brlom...@gmail.com wrote: Hi

Link to Wicket page from Javascript

2014-03-14 Thread Bruce Lombardi
Hi, An earlier question I asked about session timeouts was answered by Martin Grigorov. I am implementing his suggestion and have a JQuery script what sets a timer that times out after a certain period of inactivity. The timeout triggers a function call. Currently, for a quick test, I have

RE: Link to Wicket page from Javascript

2014-03-14 Thread Bruce Lombardi
of AJAXBehavior you redirect to SessionTimeoutPage and invalidate the session. On Fri, Mar 14, 2014 at 8:07 PM, Bruce Lombardi brlom...@gmail.com wrote: Hi, An earlier question I asked about session timeouts was answered by Martin Grigorov. I am implementing his suggestion and have a JQuery

How di I display a new page on session timeout without requiring the user to do anything?

2014-03-12 Thread Bruce Lombardi
Hi, I have a requirement that says that, for security purposes, when a session times out, the application must go to a different page so that any data displayed is hidden and that the user must be informed that the session has timed out. In the init method of my Application class, which

RE: How di I display a new page on session timeout without requiring the user to do anything?

2014-03-12 Thread Bruce Lombardi
timeout without requiring the user to do anything? Hi, On Wed, Mar 12, 2014 at 5:09 PM, Bruce Lombardi brlom...@gmail.com wrote: Hi, I have a requirement that says that, for security purposes, when a session times out, the application must go to a different page so that any data displayed

RE: How to make a Wiket DropDownChoice with complex a model return a simple String

2014-02-12 Thread Bruce Lombardi
Thanks Andrea, I was trying what you sent in your previous message and I was having trouble figuring out how to get the value set on the target property model. Your code here, especially this line: targetModel.setObject(getChoiceRenderer().getIdValue(newSelection, choiceIndex)); was

How to make a Wiket DropDownChoice with complex a model return a simple String

2014-02-11 Thread Bruce Lombardi
To make this easier to understand, let's say that I have a list of state abbreviations for example AL, AK, AZ, AR etcetera (the actual example has two letter abbreviations also, but much longer names). I need a DropDownChoice that shows the abbreviations for selection (e.g., AK) but will show the