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] Total

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 -Darchetyp

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 r

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

2015-03-15 Thread Bruce Lombardi
o onInitialize. This makes URL generation safer although it >> doesn't explain why your code worked until 6.12.0. >>> I guess it depends on the mount path of your page. >>> Most probably it is /wicket/bookmarkable/... >>>> On Mar 14, 2015 7:37 PM, "Bru

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

2015-03-15 Thread Bruce Lombardi
guess it depends on the mount path of your page. > Most probably it is /wicket/bookmarkable/... > On Mar 14, 2015 7:37 PM, "Bruce Lombardi" wrote: > >> Interesting, >> >> When I run your code I see that the url is as you say: >> >> ./wicket/resource/org.

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 - 6.19

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 but

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

2015-03-13 Thread Bruce Lombardi
elancer, available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Mar 13, 2015 at 8:15 PM, Bruce Lombardi wrote: > Martin, > > I'm looking into mounting the resource but there is something that I > don't understand. > Currently I am c

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

2015-03-13 Thread Bruce Lombardi
n you need to implement IResourceListener interface. In #onResourceRequested() you can generate the bytes and write them to the Response: getResponse().write(byte[]). The change you need to do is in #urlFor(): urlFor(ResourceListener.INTERFACE, parameters)) Martin Grigorov Freelancer, available f

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

2015-03-13 Thread Bruce Lombardi
users@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 Date:13/03/2015 20:20 (GMT+01:00) To:

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

2015-03-13 Thread Bruce Lombardi
6.12 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 wrote: > Martin, > > I'm looking into mounting the resource but there is something that I > don't understand. > Currently I am cre

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

2015-03-13 Thread Bruce Lombardi
me WARNs 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 Lombar

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

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

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 ex

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

2014-08-06 Thread Bruce Lombardi
o you 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 wrote: > Hi, > > > > I have successfully setup a restful service using Wicketstuff > wicket-restannot

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 wi

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 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 Unauthorized if

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 I

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 Messag

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 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 > security.mixed_c

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 wrote: > > Hi, > > how did you started the example application? >> I want to use the wicketstuff-restannotations library to imple

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
nd 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 wrote: > First, thank you for your continuing interest. This is the best > support group experience I've ever had. I hope the message come in

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

2014-05-23 Thread Bruce Lombardi
> > François Meillet > Formation Wicket - Développement Wicket > > > > > >> Le 21 mai 2014 à 16:15, Bruce Lombardi a écrit : >> >> Hi, >> >> >> >> I have a form with several question that a user must answer. If the answers

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 s

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 > wrote: > > Hi, > > I the last couple of days I have been experiencing problems with the order

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

2014-05-16 Thread Bruce Lombardi
ues.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 > wrote: > > > Thanks Ernesto. > > > &

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

2014-05-16 Thread Bruce Lombardi
time 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 wrote: > First, thank you for your continuing interest. This is the best > support group experience I've ever had. I hope the

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

2014-05-15 Thread Bruce Lombardi
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 Thanks, this is very helpful. Bruce Sent fr

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

2014-05-13 Thread Bruce Lombardi
3:28 PM To: users@wicket.apache.org 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

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

2014-05-12 Thread Bruce Lombardi
der(JavaScriptHeaderItem.forReference(JS)); } }); } -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, 20

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

2014-05-12 Thread Bruce Lombardi
lia-bits/tree/master/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

RE: Spring bean not injected into class extending WebApplication

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

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 the

Re: Link to Wicket page from Javascript

2014-03-17 Thread Bruce Lombardi
ontext for AJAX request on 1). >>> >>> at that time the session should be already expired. >>> >>> But this can be used to do what is needed here - Wicket will redirect to >>> the configured PageExpiredErrorPage. >>> >>> >>&

RE: Link to Wicket page from Javascript

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

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: 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 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 di

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 subcl

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 re

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 f