Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
I'm not allowed to re-open the issue, so I added a comment to the closed issue. Thank you so far -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dateparsing-error-kendo-AjaxDateTimePicker-only-in-March-May-October-tp4673756p4673787.html Sent from the Users forum mail

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
EEE is the abbreviated day, the full day-name. But EEE doesn't work either. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dateparsing-error-kendo-AjaxDateTimePicker-only-in-March-May-October-tp4673756p4673782.html Sent from the Users forum mailing list archive a

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
That solved the problem, thank you Sebastian! By he way, when I use E in my date pattern, like in " d ", that still doesn't work. When the datetimepicker is displayed first, it renders ok: dinsdag 1 maart 2016 (dinsdag=tuesday, maart=march in Dutch) But when I change the date, I

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
It's a Locale thing... I Have: @Override public Locale getLocale() { return new Locale("nl", "NL"); } When I change this to ("en", "US") it works fine for me too. And I discovered another thing: the dutch short, three letter forms for months are the same as in English, except for March,

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
It's not a DatePicker, but a AjaxDateTimePicker. I discovered it is indeed a pattern issue. This is my code: private final static String dateDisplay = "dd MMM "; private final static String timeDisplay = "HH.mm"; scheduleDateTimeField = new AjaxDateTimePicker("scheduledatumtijd", planDateMode

Re: Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
I upgraded Wicket, Wicket JQuery and KendoUI to 7.2.0. Same problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Dateparsing-error-kendo-AjaxDateTimePicker-only-in-March-May-October-tp4673756p4673758.html Sent from the Users forum mailing list archive at Nabble.co

Dateparsing error kendo AjaxDateTimePicker only in March, May, October

2016-03-01 Thread hfriederichs
Good morning/afternoon/evening I'm using a com.googlecode.wicket.kendo.ui.form.datetime.AjaxDateTimePicker version 7.1.0 on top of Wicket 7.1.0 Since today, march 1st, I get this error when I pick a month: Error while parsing datetime: date was '01 Mar 2016' and time was '17:30'. And this is ve

Re: Bug in wicket-jqueryui Kendo DateTimePicker?

2015-12-28 Thread hfriederichs
Hello Sebastien, Thank you for your quick response! Best regards, Hans -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Bug-in-wicket-jqueryui-Kendo-DateTimePicker-tp4673069p4673116.html Sent from the Users forum mailing list archive at Nabble.com. --

Re: Bug in wicket-jqueryui Kendo DateTimePicker?

2015-12-24 Thread hfriederichs
Hello Sebastien, It's the day of the week. SimpleDateFormat's javadoc: Date and TimePattern Result "EEE, MMM d, ''yy" Wed, Jul 4, '01 Hans -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Bug-in-wicket-jqueryui-Kendo-DateTimePicker-tp4673069p467

Bug in wicket-jqueryui Kendo DateTimePicker?

2015-12-24 Thread hfriederichs
Hello, I'm using wicket-jquery-ui version 6.21.0. (and Wicket 6.20.0) I'm adding a com.googlecode.wicket.kendo.ui.form.datetime.AjaxDateTimePicker: private final static String dateDisplay = "EEE d MMM "; private final static String timeDisplay = "HH.mm"; DateTimePicker scheduleDateTimeField

Re: HomePage reloads on every Ajax submit

2015-10-30 Thread hfriederichs
I figured it out, it wasn't a Wicket thing. Someone changed our script for setting up an application server in Eclipse WDT, making it ssl-only (secure cookie). So when I switched to https, everything worked fine. Makes perfect sense, in hindsight, the page comes up in http, but no request can be

Re: HomePage reloads on every Ajax submit

2015-10-29 Thread hfriederichs
I stripped my application to essntials: one application, one webpage, one form, two textfields, the first one with AjaxFormComponentUpdatingBehavior the second with AjaxFormSubmitBehavior. The page reloads when, after I enter something in tf1: * I place the cursor in tf2 * I click on empty space a

Re: HomePage reloads on every Ajax submit

2015-10-28 Thread hfriederichs
That didn't make any difference... Still no errors. When I open the application in a browser, the homepage loads once. Strangely, on every Ajax submit, the homepage loads twice. Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/HomePage-reloads-on-every-Ajax-sub

HomePage reloads on every Ajax submit

2015-10-28 Thread hfriederichs
Hello, I'm using Wicket 6.8.0 on Eclipse WDT (WebSphere application server). This is my nth Wicket Application, but I can't figure out why keeps happening. Whether a TextField or a Button, the corresponding AjaxFormSubmitBehavior is never executed, instead, the Constructor of the homepage is exec

Re: Wicket 6 migration (AbstractValidator has been removed)

2013-06-11 Thread hfriederichs
Same here. What should you do? Implement an IValidor? Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-6-migration-AbstractValidator-has-been-removed-tp4657184p4659386.html Sent from the Users forum mailing list archive at Nabble.com. ---

Re: Infomessage ExternalLink in case of a missing URL

2013-04-18 Thread hfriederichs
I'm sorry, but I don't understand you at all. How is iteration over a javascript array of urls give me a button that opens a wikipage if a url can be found in a database, and how does that same iteration produce a feedback message if not? I'm completely lost here. -- View this message in cont

Re: Infomessage ExternalLink in case of a missing URL

2013-04-18 Thread hfriederichs
But I want the button to be there allways, and to be clickable allways. Just conditional behaviour on it's Click event Can't this be done? It seems so simple? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Infomessage-ExternalLink-in-case-of-a-missing-URL-tp4658015

Re: Infomessage ExternalLink in case of a missing URL

2013-04-16 Thread hfriederichs
Hi, Thank you, but isn't that only possible during the first load of the page? When a user is finished with one application/wiki-url, he might enter a new code for another application, while he stays on the same page. At that point, I can't add or remove components anymore...? Grts, Hans --

Infomessage ExternalLink in case of a missing URL

2013-04-16 Thread hfriederichs
Hello to y'all, I'm facing a nasty problem for a very simple requirement. In my application a user can enter an application code for working with that application (deployments and so on). Now I want to add a button that opens a Wiki-documentation page for that application in a new browser tab. The

Re: Conditional Popup

2012-06-04 Thread hfriederichs
Thomas Götz-2 wrote > > As an alternative, you could use an AjaxLink and push the popup-opener JS > to teh frontend, then you could have your decision logic (wether to open > it or not) in the backend (Wicket layer). > > But, how would you do that? if (condition) { info("Do this first"

Re: Conditional Popup

2012-06-04 Thread hfriederichs
No suggestions? Anyone? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-Popup-tp4649649p4649706.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

Re: Conditional Popup

2012-06-01 Thread hfriederichs
Martin Grigorov-4 wrote > > try with: > > if (condition) { setPopupSettings(nonNull) } else { setPopupSettings(null) > } > > This doesn't work. The condition has to be checked every time the link is clicked, so within the onCLick(). setPopupSettings(null) gives the current page as popup. May

Re: Conditional Popup

2012-06-01 Thread hfriederichs
Thomas Götz-2 wrote > > > PopupSettings popupSettings = new PopupSettings() { > @Override > public String getPopupJavaScript() { > return "if(!condition) return false; " + > super.getPopupJavaScript(); > } > }; > > I'm sorry, but I don't understand your code. My condition

Re: Conditional Popup

2012-06-01 Thread hfriederichs
For other questions I had earlier on, I created quickstarts, but, since I'm working on a very complex application, I couldn't reproduce the problem in a quickstart. I spent hours and hours copying more and more of my application into the quickstart, but to no avail. So again, it's a simple questio

Re: Conditional Popup

2012-06-01 Thread hfriederichs
A quick-start costs me one or two hours; in the end, maybe I will. But I think this is a reasonably simple question, so I'll await some straightforward suggestions first. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Conditional-Popup-tp4649649p4649651.html Sent from

Conditional Popup

2012-06-01 Thread hfriederichs
Hello, I have a wicket PopupPage that answers a wicket link, but I don't want it to popup when certain conditions are not met. In that case I want an info-message. So I tried something like: final Link theLink = new Link(...) { public void onClick() { if (conditio

Re: Wicket and JPA: please a simple way to go

2012-05-16 Thread hfriederichs
Martin Grigorov-4 wrote > > Apart of that, doing manual transaction management is just silly. > Better let the "layers" to do this for you instead of spreading such > kind of logic all over your code. > Martin, I have that logic at one place in my little silly application, and it's perfect for

Re: Wicket and JPA: please a simple way to go

2012-05-16 Thread hfriederichs
Tom Eugelink wrote > > For example, wicket convention dictates that all labels should be put in > property files. I decided not to do that. I fully understand the > advantages, but for this project I'm simply not going to add an additional > label component and a property file just to get "Name"

Re: Wicket and JPA: please a simple way to go

2012-05-14 Thread hfriederichs
It isn't; the database requirements are. I expected to get that done in an hour or so, so that I could quickly continue with the more advanced and complex functions. In the end it cost me a day. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-and-JPA-i-please-i-

Re: Wicket and JPA: please a simple way to go

2012-05-13 Thread hfriederichs
Tom, I couldn't agree more, you hit the spot. Indeed it's all about balance, don't over- (nor under-)architecture things. My application will be used by maybe 5 people, and requires some very simple CRUD-implemetations on a database table with maybe 100 rows (eventually). Here's what I will do: s

RE: Wicket and JPA: please a simple way to go

2012-05-13 Thread hfriederichs
All standards are equal, but some (like JPA) are more equal than others, that's what you mean? Well, a short look at the history of computing shows that technologies with obvious and proven qualities, unanimously supported by experts, sometimes still don't survive. Other qualities are needed...

Re: Wicket and JPA: please a simple way to go

2012-05-12 Thread hfriederichs
Igor, I suspect you didn't realize when you got up this morning that at the end of the day you would acquire eternal fame, but there it is. To get it working with WebSphere is another matter; let's call it a challenge... I'll consider all the things mentioned here, thanks to you all. Regards et

Re: Wicket and JPA: please a simple way to go

2012-05-12 Thread hfriederichs
I have things working, in two versions: one with a 'PersistenceManagerSingleton' I wrote, ugly, and one based on jndi-lookups of both the EntityManager and the UserTransaction, ugly too, for sticking to jndi-lookups. A third I am thinking of is create an EJB-project alongside my WebModule, so I can

Re: Wicket and JPA: please a simple way to go

2012-05-12 Thread hfriederichs
James, what is technology specific about JPA? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-and-JPA-i-please-i-a-simple-way-to-go-tp4628562p4629309.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Wicket and JPA: please a simple way to go

2012-05-12 Thread hfriederichs
Igor, Josh suggested CDI as an alternative, in that respect it's the same as other approaches I've tried: to cumbersome, to complex for my goals, so in respect to what I want I don't think it's great. I'll look into the wicket-jee module in wicketstuff, but it is yet another extra 'thingy' you n

Re: Wicket and JPA: please a simple way to go

2012-05-12 Thread hfriederichs
I looked at it, shortly. It's a perfect example of what I mean. I looked at a blog by Igor V. And there we go again: you have to do this; and than that. And then configure this. And don't forget to add a line in xml. And in the end, put it all together and it's so great. I don't think so. I

Wicket and JPA: please a simple way to go

2012-05-12 Thread hfriederichs
Hello, I'm using wicket 1.5.4, and I tried various approaches in using Wicket and JPA (using webshere/open jpa). I looked at several posts here, but I keep ending up writing /more/ boiler plate code and configuration than with plain old jdbc. So. I don't want to write factories. I don't want to wr

Re: wicket 1.5.4 on websphere 7

2012-01-31 Thread hfriederichs
Hello, I doubt if I can help, but in my company we also have wicket (1.5.4) on WebSphere 7 (fp21). And it works fine, no problems. In addition to com.ibm.ws.webcontainer.invokeFiltersCompatibility we also have com.ibm.ws.webcontainer.assumefiltersuccessonsecurityerror set to true in the webcontain

Re: Error 404: File not found: /bookmarkable/org.apache.wicket.markup.html.link.PopupCloseLink$ClosePopupPage

2012-01-29 Thread hfriederichs
Just to get this out of my system: I spent hours and hours and hours trying to solve this (Error 404: File not found: /bookmarkable/org.apache.wicket.markup.html.link.PopupCloseLink$ClosePopupPage). Nobody could help me here. Tried a quickstart, couldn't reproduce it there, so obviously in my speci

Re: Error 404: File not found: /bookmarkable/org.apache.wicket.markup.html.link.PopupCloseLink$ClosePopupPage

2011-12-07 Thread hfriederichs
I found this in my application server log: FFDC Exception:com.ibm.ws.webcontainer.webapp.WebAppErrorReport SourceId:com.ibm.ws.webcontainer.servlet.FilterProxyServlet.dispatch ProbeId:312 Reporter:com.ibm.ws.webcontainer.servlet.FilterProxyServlet@6d846d84 com.ibm.ws.webcontainer.webapp.WebAppErro

Error 404: File not found: /bookmarkable/org.apache.wicket.markup.html.link.PopupCloseLink$ClosePopupPage

2011-12-07 Thread hfriederichs
See the subject for my issue. I have a popuppage: public class ThePopupPage extends WebPage { public ThePopupPage (long processID) { // Do stuff for the page's content PopupCloseLink closeLink = new PopupCloseLink("close"); closeLink.setOutputMarkupId

Re: Event or Notice when a ListView's Model changes

2011-12-06 Thread hfriederichs
But when the event is processed, I'm not in an AjaxRequest. Anyway, I have something working, now, I am able to update a version field (by sending an inter-component event in the onBeforeRender() of the ListView that has it's own Form; the Event is processed by another Form at the top of the same

Re: Event or Notice when a ListView's Model changes

2011-12-06 Thread hfriederichs
I'm trying to do this, to send an Event in the DataView's onBeforeRender(), but now I encounter another issue. On the receiving side of the Event, in the onEvent(Component component, IEvent event), I need a AjaxRequestTarget. Can I create an AjaxRequestTarget and pass it with the Event? I tried t

Re: Event or Notice when a ListView's Model changes

2011-12-04 Thread hfriederichs
I'm sorry if my writing is confusing. But there isn't a label that outputs the state, because the list shows /only/ finished processes. Maybe the following flow explains what happens: - A user chooses an application he wants to deploy to a certain stage, let's say production - When he has chosen,

Re: Event or Notice when a ListView's Model changes

2011-12-04 Thread hfriederichs
But the List isn't updated by a user's action. There's a decoupling here: the user's action inserts a row that has a 'state-column' that's initialized with, let's call it 'unfinished'. The processes are executed asynchronously by another thread, that, after some minutes, updates the state-column to

Re: Event or Notice when a ListView's Model changes

2011-12-04 Thread hfriederichs
Yes, I'm sorry, I wrote /I tried various methods, onChange and the like/ by which I meant onModelChanged(). But onModelChanged() isn't called when a row is added. I think that makes sense, because the backing List on itself hasn't changed. Furthermore, I experimented by replacing the ListView by a

Event or Notice when a ListView's Model changes

2011-12-04 Thread hfriederichs
Hello, I have a Wicket ListView, who's Model is based on a select on a process-database. Users can initiate a (deploy-)process, and when the process is finished, a row is added in the database, and so also in the ListView's Model's backing List. When this happens, I want to rerender another part o

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread hfriederichs
heikki wrote: > > - and in my opinion the stuff you need to do to achieve "normal" URLs (no > ?, no version number, no nothing) is just a pain. *Every* URL, for > stateless or stateless pages or whatever, should be "normal", otherwise it > is just not acceptable -- users never want to see those >

Unchanging url's

2011-11-17 Thread hfriederichs
Hello, I read many posts on this, tried may suggestions, must be stupid, but I can't figure it out. I'm using Wicket 1.5.3, an application with a number of tabbed panels. My application's url is, lets say http://localhost:9080/context/ When I enter this URL, the browse immediately changes this t

Re: Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler (2)

2011-11-16 Thread hfriederichs
Hello, Yes, I did, realizing that it's a bit of a coarse solution. As it happens, my application main function is to execute scripts for automated deployment on a WebSphere platform, so users work with a JEE-application they select from a wicket Ajax-textfield with application build versions that'

Re: Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler (2)

2011-11-12 Thread hfriederichs
I solved the issue by many trial and error sessions. Maybe I can spare someone else this ordeal. In Firefox an Chrome it now works as in IE, by adding this statement in the init() of my WicketApplication: getResourceSettings().setDefaultCacheDuration(Duration.NONE); Regards, Hans Friederichs --

Re: Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler (2)

2011-11-09 Thread hfriederichs
Made a quick start, but couldn't reproduce the issue, it worked in FireFox... Be it on a Jetty-server, and I have to cope with WebSphere... Well, I'll strip my application down to the essentials that I have in the quick start, and then build up one by one, I guess. Many thanks, so far! -- View

Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler (2)

2011-11-09 Thread hfriederichs
I managed to pinpoint my issue. I'm starting a new topic in order to exclude information I now think isn't relevant anymore. I don't think it's a caching problem any longer, but that is has to do with a hanging thread or something that's not closed properly, that is, when using Firefox and Chrome.

Re: Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler

2011-11-08 Thread hfriederichs
In adddition: it works fine in IE8! I'm using firefox 8.0; Chrome 11.0.696.71: same problem as Firefox... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Migrating-a-ResourceStreamRequestTarget-to-a-ResourceStreamRequestHandler-tp3998969p4017378.html Sent from the Use

Re: Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler

2011-11-08 Thread hfriederichs
I will try these suggestions, but I't is quite frustrating that migrating such a simple function causes so much problems. In the meanwhile, I read the improvements in the caching mechanisms of Wicket 1.5 on https://cwiki.apache.org/WICKET/caching-in-wicket-15.html It says: /Caching is uniformly d

Re: Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler

2011-11-07 Thread hfriederichs
Can anyone explain to me why an onClick() is executed only once after two refreshes and then never again? What blocks the firing of this event? Maybe that gives me a clue so that I can figure it out. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Migrating-a-Resourc

Re: Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler

2011-11-07 Thread hfriederichs
I added this to my Page: @Override protected void setHeaders(WebResponse response) { response.setHeader("Pragma", "no-cache"); response.setHeader("Cache-Control", "no-cache, max-age=0, must-revalidate, no-store"); } It doesn't help. The onClick is still only executed once

Re: Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler

2011-11-07 Thread hfriederichs
Hi Martin, I forgot to mention: I tried that, but to no avail. As the onClick isn't executed, the disableCaching isn't either. Even when the onClick executes after two refreshes, it doesn't after that single occasion. Hans -- View this message in context: http://apache-wicket.1842946.n4.nabble

Migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler

2011-11-07 Thread hfriederichs
I'm experiencing strange behaviour in migrating a ResourceStreamRequestTarget to a ResourceStreamRequestHandler. It worked fine in Wicket 1.4.x I have a button for downloading an installation manual. Which manual should be downloaded depends on the user's input. In some cases there isn't a manual

Re: MIgration to 1.5.2 seems a disaster

2011-11-05 Thread hfriederichs
I'm sorry, but my initial question was how to debug my migrated application. No matter what I do - for example I commented vast amounts of code, to reduce the scope of the problem - nothing works. One click: [ERROR] 2011-11-05 20:07:10 org.apache.wicket.request.cycle.RequestCycle:314 - Error

MIgration to 1.5.2 seems a disaster

2011-11-05 Thread hfriederichs
Hello, I am trying to migrate from 1.4.18 to 1.5.2. I followed the suggestions on https://cwiki.apache.org/WICKET/migration-to-wicket-15.html I have a Wicket application with 6 tabs. After starting the server and a browser-instance, I get: [ WARN] 2011-11-05 17:00:26 org.apache.wicket.request.han

Re: I just want the entered value of a WIcket DateTimeField...

2011-10-30 Thread hfriederichs
For your convenience, I present only the most essential code. To avoid misunderstandings, by "popup" I don't mean a self created Popup panel, but the browser's save or open panel: import java.io.IOException; import java.io.InputStream; import java.util.Date; import org.apache.wicket.RequestCycle;

Re: I just want the entered value of a WIcket DateTimeField...

2011-10-30 Thread hfriederichs
I'm not sure what you mean by the popup being a separate issue, it is what my usecase is all about, a download of a dynamically created excel-file, for which I need a fromDate... Anyways, it surprise me that this is so complex, that there isn't a straightforward solution. I spend many hours trying

Re: I just want the entered value of a WIcket DateTimeField...

2011-10-30 Thread hfriederichs
Hello Martin, I tried that, but at the end of the link's onClick there's the code to download the excel-file: IResourceStream resourceStream = new AbstractResourceStream() { (all the necessary stuff here }; String fileName = "DeployV

I just want the entered value of a WIcket DateTimeField...

2011-10-30 Thread hfriederichs
Goodday, I'm working on an Panel that has one function: downloading an excelsheet that is a view to a database. IN constructing the excel-sheet, I need a fromdate for a whereclause. There are other clauses, but for simplicity's sake: In a Wicket Form I have one DateTimeField fromDateTimePicker, a

Re: How to Handle ResourceStreamNotFoundException

2011-08-19 Thread hfriederichs
Hi Dan, This is /exactly/ what I was looking for! A simple solution for a simple problem. I used a (subclass) of a WebResource before for another use case, and that worked fine, so I got blinded by wanting to reuse the same solution, at least that is what I think has happened. Whatever. Thank you

Re: How to Handle ResourceStreamNotFoundException

2011-08-18 Thread hfriederichs
Firstly, thank you very much for your advice, it helps to a certain extend, but it also raises new questions. Unfortunately, there's only one way to determine whether a zip-file contains an installation manual. Since the zip-file is on another server (where the nexus repository resides), I have to

How to Handle ResourceStreamNotFoundException

2011-08-17 Thread hfriederichs
Hello to you all, First of all, I apologise for submitting this post for the second time, but the first didn't use the correct user group. I'm adding a new feature to a Wicket application that manages JEE-applications (I'm using 1.4.18). For example, it's possible to install and configure a JEE-