Re: wicket conversation scope - weld integration

2013-10-30 Thread heapifyman
seam-wicket is outdated and has been replaced by wicket-cdi if I’m not mistaken. Also, this series of blog post probably contains all you need for setting up CDI in Wicket. It helped me: https://www.42lines.net/category/blog/software-engineering/full-stack-implementation/ Am 29.10.2013 um

Wicket 6 Portlet in JBoss GateIn

2013-07-12 Thread heapifyman
Hello, I'm trying to get a Wicket 6 app running as a Portlet in JBoss GateIn 3.6 using the wicketstuff-portlet lib ( https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/portlet-parent ). So far I have managed to get the Wicket quickstart app running, i.e. I can display simple things

Re: wicket and JPA

2013-06-14 Thread heapifyman
Correct me if I'm wrong but I think as long as dbObject is still managed code like the following should persist the changes to dbObject, i.e. changes to dbObject will be saved once the transaction commits. beginTX() dbObject.setXXX(); dbObject.setYYY(); commitTX() If dbObject is detached you will

Re: Infinite Scrolling in Wicket 6

2013-02-28 Thread heapifyman
Is there some documentation or example available for wicket-bootstrap's InifiniteScrollingBehavior? 2013/2/27 Nick Pratt nbpr...@gmail.com Ive used Datatables (www.datatables.net) for similar features and it works pretty well. N On Wed, Feb 27, 2013 at 4:58 AM, Martin Dietze

Re: How to add Java Script Confirmation dialog to dropdown choice

2013-02-25 Thread heapifyman
mydropdownComponent.add(new AjaxFormComponentUpdatingBehavior(change) { @Override protected void onUpdate(AjaxRequestTarget target) { target.appendJavaScript(your javascript...); } }); 2013/2/25 Ernesto Reinaldo Barreiro reier...@gmail.com Can you just register your behavior to

Re: How to add Java Script Confirmation dialog to dropdown choice

2013-02-25 Thread heapifyman
Care to share this precondition handling? 2013/2/25 Martin Grigorov mgrigo...@apache.org Hi, On Mon, Feb 25, 2013 at 1:35 PM, heapifyman heapify...@gmail.com wrote: mydropdownComponent.add(new AjaxFormComponentUpdatingBehavior(change) { @Override protected void onUpdate

Re: How to add Java Script Confirmation dialog to dropdown choice

2013-02-25 Thread heapifyman
(AjaxRequestTarget) { // never called } protected boolean isDefaultAllowed() {return false;} abstract protected String getBeforeHandler(); } The user of this class can only use before handlers. On Mon, Feb 25, 2013 at 5:10 PM, heapifyman heapify...@gmail.com wrote: Care to share

Re: get rid of LazyLoadException

2013-02-24 Thread heapifyman
I found this blog post (and the rest of the series) very helpful: https://www.42lines.net/2011/11/21/adding-jpahibernate-into-the-cdi-and-wicket-mix/ Or maybe try to use an EXTENDED EntityManager in your project to keep entities managed and get rid of LazyLoadException. Am 23.02.2013 um 19:22

Re: BeanValidation - IllegalStateException: Could not resolve Property from component

2013-01-07 Thread heapifyman
The PropertyValidator is added in the BeanValidationBorder. Unfortunately, I don't know what property the FormComponent is for, when BeanValidationBorder is created. So I guess, I have to get rid of CompoundPropertyModel and pass PropertyModels to my FormComponents' constructors. Interestingly,

BeanValidation - IllegalStateException: Could not resolve Property from component

2013-01-04 Thread heapifyman
Hello, I switched from using net.ftlines.wicket-bean-validation to org.apache.wicket.wicket-bean-validation and now I get the exception mentioned in the subject when using a Form with CompoundPropertyModel.(see stack trace at the end of the message). My code looks like this: FormUser form = new

Re: [ANNOUNCE] Apache Wicket 6.4.0 released

2013-01-03 Thread heapifyman
Hello, I've been using net.ftlines.wicket-bean-validation for a while now and I suppose that the new experimantal org.apache.wicket.wicket-bean-validation is based on the ftlines version and will eventually replace it (at least for wicket 6 and above)? Can I just replace the ftlines version with

Re: [ANNOUNCE] Apache Wicket 6.4.0 released

2013-01-03 Thread heapifyman
belongs. so, no, it is not a drop in replacement and, yes, this code deprecates the net.ftlines code for wicket 6+ -igor On Thu, Jan 3, 2013 at 3:44 AM, heapifyman heapify...@gmail.com wrote: Hello, I've been using net.ftlines.wicket-bean-validation for a while now and I suppose

Re: How to handle failing calls to external systems within a Component without resorting to an error page?

2012-12-13 Thread heapifyman
Maybe an AjaxLazyLoadPanel could help? I think you could catch service exceptions in getLazyLoadComponent() and return an error panel instead of the real one. 2012/12/13 Stefan Renz s.r...@efonds.com Hi, my searches didn't turn up anything, so I figured I ask on the mailing list: Consider

Re: wicket-bootstrap navbar - SEARCH button

2012-11-15 Thread heapifyman
As far as I know, wicket-bootstrap's Navbar currently does not support adding a search form out of the box because you can only add buttons/links to the Navbar. I have been advised to override Navbar and adapt the html markup according to my needs, which was pretty easy to do and works just fine.

Re: Wicket 6.2.0 and MultipartServletWebRequestImpl

2012-11-01 Thread heapifyman
:14 PM, heapifyman heapify...@gmail.com wrote: Ok, now I am kind of lost again. Sorry for the stupid question: Before I had - in WicketApplication: mount(new FileUploader(/fileupload)); - where FileUploader extends AbstractMapper and calls return new FileUploadRequestHandler

Wicket 6.2.0 and MultipartServletWebRequestImpl

2012-10-31 Thread heapifyman
Hello, Just updated from 6.1.1 to 6.2.0 and now I'm having a problem with file uploads. I have a public class FileUploadRequestHandler implements IRequestHandler that handles jquery fileupload requests. In its respond() method I call Request request = requestCycle.getRequest(); which in

Re: Wicket 6.2.0 and MultipartServletWebRequestImpl

2012-10-31 Thread heapifyman
Sorry, could you elaborate a bit on that? I don't see the connection... :( 2012/10/31 Martin Grigorov mgrigo...@apache.org https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=3355b5af68a238855a602f5161980d65024a1e92 On Wed, Oct 31, 2012 at 12:49 PM, heapifyman

Re: Wicket 6.2.0 and MultipartServletWebRequestImpl

2012-10-31 Thread heapifyman
**65024a1e92https://git-wip-us.apache.org/repos/asf/wicket/repo?p=wicket.git;a=commitdiff;h=3355b5af68a238855a602f5161980d65024a1e92 On Wed, Oct 31, 2012 at 12:49 PM, heapifyman heapify...@gmail.com wrote: Hello, Just updated from 6.1.1 to 6.2.0 and now I'm having a problem with file uploads. I have

Re: Wicket 6.2.0 and MultipartServletWebRequestImpl

2012-10-31 Thread heapifyman
...@apache.org Hi, As Andrea explained (and the ticket you mentioned yourself) the change in MyApp#newWebRequest caused several problems, so better do not do it there. Move the code that creates the MultipartWebRequest in your own IResource impl. On Wed, Oct 31, 2012 at 1:55 PM, heapifyman heapify

Re: Wicket and file upload with blueimp jquery file upload

2012-10-24 Thread heapifyman
stuff in this ajax request } } ); Met vriendelijke groet, Kind regards, Bas Gooren Op 16-10-2012 19:09, schreef heapifyman: Thanks. Would you mind sharing the mounted resource's code? I'm not completely sure how to implement that. 2012/10/16 Bas Gooren

Re: Wicket and file upload with blueimp jquery file upload

2012-10-16 Thread heapifyman
, 2012 at 12:49 PM, heapifyman heapify...@gmail.com wrote: Hello, has anyone tried yet to integrate blueimp's jQuery File Upload http://blueimp.github.com/jQuery-File-Upload/ with Wicket FileUpload? Especially in combination with additional input fields input type=text I'm kind of stuck

Re: Wicket and file upload with blueimp jquery file upload

2012-10-16 Thread heapifyman
parameter, which allows other components in the page to respond to the upload. To prevent overflow in the uploader cache we use a map with a maximum size which evicts old entries on overflow. Met vriendelijke groet, Kind regards, Bas Gooren Op 16-10-2012 12:59, schreef heapifyman: Not sure

Re: Wicket with JPA and container managed transactions

2012-10-08 Thread heapifyman
As far as I understood you have two possibilities: 1. Inject your EJB into a CDI component and inject that component into your wicket pages using @Inject annotation. That should solve the serialization problem but you will have an additional layer. 2. Use javaee-inject from wicketstuff [1] to

Re: Wicket 6 + EJB

2012-09-24 Thread heapifyman
https://github.com/wicketstuff/core/wiki/Java-EE-Inject allows injecting EJBs, etc. in wicket-6 applications. 2012/9/24 Michael Zhavzharov mzhavzha...@alee.ru Hello Everyone. I have a question about how to include EJB into my wicket web application. When I was looking for solution for

Re: Adding the same panel with different parameters...

2012-09-13 Thread heapifyman
Make CPanel extend GenericPanel. Then use cPanel.setModelObject() and pass it newObject or editObject depending on which button has been clicked. 2012/9/13 theivorykitty chantal.da...@frontier.com Hey guys! First time post - So, I have a page that has two buttons (among other things) - one

Re: Apache wicket cookbook ch5 - Filtering form example

2012-09-07 Thread heapifyman
Turn the submit button into an AjaxButton: input type=submit wicket:id=submit value=search/ form.add(new AjaxButton(submit, form) {...} and in the button's onSubmit method add the table to the AjaxRequestTarget. I believe that should do it. 2012/9/7 lucast lucastol...@hotmail.com Dear

Re: Wicket 6 and CDI

2012-09-07 Thread heapifyman
Now that wicket 6 final is out, will there be a wicket 6 compatible release of wicket-cdi? Or is it already available on one of the maven repos? Or should I get the source from github and build it myself if I want to use wicket-cdi with wicket 6? 2012/7/16 Igor Vaynberg igor.vaynb...@gmail.com

Re: Wicket 6 and CDI

2012-09-07 Thread heapifyman
looks like org.jboss.weld.weld-core and org.jboss.weld.servlet.weld-servlet-core are there. though not in version 1.1.2.Final. wicket-cdi might have upgrade to at least 1.1.4.Final 2012/9/7 Martijn Dashorst martijn.dasho...@gmail.com On Fri, Sep 7, 2012 at 4:00 PM, Martin Grigorov

Re: [1.5] AjaxFormComponentUpdatingBehavior and Cancel AjaxButton to reset form

2012-08-07 Thread heapifyman
PM, heapifyman wrote: Hello, I've been struggling for a while now with a problem that a Cancel AjaxButton (with setDefaultFormProcessing(**false)) calling form.clearInput() would not reset my form to original values. The problem seems to be that I have AjaxFormComponentUpdatingBehav**ior

Re: [1.5] AjaxFormComponentUpdatingBehavior and Cancel AjaxButton to reset form

2012-08-07 Thread heapifyman
object again? Thanks, -David Phillips -Original Message- From: heapifyman [mailto:heapify...@gmail.com] Sent: Tuesday, August 07, 2012 5:07 AM To: users@wicket.apache.org Subject: Re: [1.5] AjaxFormComponentUpdatingBehavior and Cancel AjaxButton to reset form If I use

[1.5] AjaxFormComponentUpdatingBehavior and Cancel AjaxButton to reset form

2012-08-06 Thread heapifyman
Hello, I've been struggling for a while now with a problem that a Cancel AjaxButton (with setDefaultFormProcessing(false)) calling form.clearInput() would not reset my form to original values. The problem seems to be that I have AjaxFormComponentUpdatingBehavior (onchange event) for validation

Re: wicket-atmosphere NullPointerException at initialization

2012-06-13 Thread heapifyman
I think I had the same problem and was able to overcome it by adding atmosphere.xml file in src/main/webapp/META-INF and changing the web.xml. Both I took from the wicket examples. atmosphere.xml looks like this: atmosphere-handlers atmosphere-handler context-root=/*

Re: wicket ajax push

2012-05-31 Thread heapifyman
If you are looking for examples, wicketstuff has a push module ( https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/push-parent), atmosphere examples also contain a wicket example ( https://github.com/Atmosphere/atmosphere/tree/master/samples) and the just released wicket 6 beta2 comes

Re: Loadable-detachable model for ListView

2012-05-10 Thread heapifyman
The examples page does not seem to be working: HTTP Status 500 - -- *type* Exception report *message*** *description* *The server encountered an internal error () that prevented it from fulfilling this request.* *exception* javax.servlet.ServletException: Filter

Re: Loadable-detachable model for ListView

2012-05-10 Thread heapifyman
by examples page I meant: http://www.wicket-library.com/wicket-examples/repeater/ 2012/5/10 heapifyman heapify...@gmail.com The examples page does not seem to be working: HTTP Status 500 - -- *type* Exception report *message*** *description* *The server

Cancelling form submit in ModalWindow causes validation errors in Form of underlying base page?

2012-01-12 Thread heapifyman
Hello everyone, first, sorry for the bad subject. I didn't know how to describe this problem in a short line. I have a page with a form with two AjaxButtons (Add and Delete) and an AjaxFallbackDefaultDataTable. The first button opens a ModalWindow with another form to add new entries to the

Re: Download file from ModalWindow problem

2011-12-20 Thread heapifyman
interested in that to see if it's a Chrome or a Wicket issue? If so, where should I put it? Thanks 2011/12/9 Ernesto Reinaldo Barreiro reier...@gmail.com Can you please create a quick-start application that we can test? Ernesto On Fri, Dec 9, 2011 at 1:38 AM, heapifyman heapify...@gmail.com wrote

Re: Download file from ModalWindow problem

2011-12-09 Thread heapifyman
in that to see if it's a Chrome or a Wicket issue? If so, where should I put it? Thanks 2011/12/9 Ernesto Reinaldo Barreiro reier...@gmail.com Can you please create a quick-start application that we can test? Ernesto On Fri, Dec 9, 2011 at 1:38 AM, heapifyman heapify...@gmail.com wrote: I did

Re: Download file from ModalWindow problem

2011-12-08 Thread heapifyman
it to the button on my page that opens the ModalWindow? Thanks in advance. 2011/12/7 heapifyman heapify...@gmail.com Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF

Re: Download file from ModalWindow problem

2011-12-08 Thread heapifyman
heapifyman heapify...@gmail.com: Hello again. Here's some more information about my problem: in the ModalWindow's SubmitButton's onSubmit() I call at the end: ModalWindow.closeCurrent(target); download.initiate(target); The AJAXDownload behaviour is added to the SubmitButton

Re: Download file from ModalWindow problem

2011-12-08 Thread heapifyman
doesn't look nested, yet. You may nest forms in Wicket, where the modal windows markup is in between. This worked for me when I experienced a similar problem. Von meinem iPad gesendet Am 08.12.2011 um 14:12 schrieb heapifyman heapify...@gmail.com: I believe it already is. My markup looks like

Re: Updating model object on AjaxFallbackDefaultDataTable page change

2011-12-08 Thread heapifyman
Hello Mark, did you manage to solve this? I'm facing the same problem and tried to implement my own navigation links (as AjaxSubmitLink) as Igor suggested. But still my checkgroup state is not preserved when changing the table pages. If you had some code example that would be a huge help.

Re: Download file from ModalWindow problem

2011-12-08 Thread heapifyman
08.12.2011 um 21:34 schrieb Martin Grigorov: See ModalWindow's javadoc. It explains about the need of a form On Thu, Dec 8, 2011 at 8:24 PM, heapifyman heapify...@gmail.com wrote: You mean putting an additional form around the modal window like below? form wicket:id=form fieldset button

Download file from ModalWindow problem

2011-12-07 Thread heapifyman
Hello all, I have a problem with a file download from a ModalWindow. The ModalWindow contains a form in which the user can specify some parameters. When clicking submit I generate a PDF based on the chosen parameters and offer it for download. The ModalWindow is closed then. I followed the

Re: how to implement a Form with Ajax Paginated List of Checkboxes?

2011-12-06 Thread heapifyman
Hi, I have the same problem and I would appreciate if you could post a code example of how you solved your problem? Specifically what you put into the AjaxCheckBox' onUpdate() method? Thanks 2011/8/11 bad boy badmas...@yahoo.com AjaxFormChoiceComponentUpdatingBehavior did not work. For some

Re: AjaxLazyLoadPanel question

2011-11-18 Thread heapifyman
Great, it's working. Thanks for the quick response, Philip 2011/11/17 Igor Vaynberg igor.vaynb...@gmail.com you can replace the lazy load panel instance: //check other selections myLazyLoadPanel=myLazyLoadPanel.replaceWith(new MyLazyLoadPanel(myLazyLoadPanel.getId(), ..)

Re: AjaxLazyLoadPanel question

2011-11-18 Thread heapifyman
in the payload to add my changed components to it, right? And I don't really know how to get the AjaxRequestTarget in the getLazyLoadComponent() method. Thanks in advance for any hints, Philip 2011/11/18 heapifyman heapify...@gmail.com Great, it's working. Thanks for the quick response, Philip

Re: AjaxLazyLoadPanel question

2011-11-18 Thread heapifyman
Hm, looks like AjaxRequestTarget.get() is what I was looking for? 2011/11/18 heapifyman heapify...@gmail.com Hello again, I have a follow-up question. Can I somehow update other components once the AjaxLazyLoadPanel's getLazyLoadComponent() method has completed? I thought I could use

Re: AjaxLazyLoadPanel question

2011-11-17 Thread heapifyman
Hello, I'm facing the same problem as the Matt above but honestly I must admit that I do not really understand Pedro's advice. Did you manage to implement his advice, Matt? Could I get a little more information about how this IAjaxCallDecorator might actually look like? That would be a great

Help with AjaxLazyLoadPanel

2011-11-16 Thread heapifyman
Hello everyone, I'm using an AjaxLazyLoadPanel in one of my pages to lazily load a datatable where the data is read in from some files, which might take a while. This is working fine so far. However, I also need to provide functionality to clear the whole table and read in the data from the files

AjaxTabbedPanel - intercept switching tabs

2011-10-20 Thread heapifyman
Hello, is there a default way to determine when a user switches between tabs in an AjaxTabbedPanel? I see onAjaxUpdate(final AjaxRequestTarget target) but that is called after the new tab has been set. I would like to add a confirmation dialog before the new tab is set in case the user had

AutoCompleteTextField problems

2011-10-09 Thread heapifyman
Hello everyone, I'm having problems with my AutoCompleteTextField. I would like to have one of my domain objects bound to the AutoCompleteTextField's model but in the autocomplete dropdown list I would like to see only the name property of that domain object, not the whole toString()

Jump to specific page of AjaxFallbackDefaultDataTable

2011-10-06 Thread heapifyman
Hello all, I would like to ask, if there is a built-in functionality to display a particular page of an AjaxFallbackDefaultDataTable when displaying the table, i.e. instead of page 1 of 5 I would like to have it display page 3 of 5 initially because an entry of interest is on that page? Thanks

Re: Jump to specific page of AjaxFallbackDefaultDataTable

2011-10-06 Thread heapifyman
Am 06.10.2011 um 16:08 schrieb Hans Lesmeister 2: DataTable.setCurrentPage(int) Thanks. When would be the best moment to call that method if I wanted to accomplish the following: I add a new entry to the table and afterwards want to display the page where the new entry appears in the

Re: Show feedback message from modal window in parent page

2011-10-04 Thread heapifyman
close button callback response. A hacky solution might be including the page-level FeedbackPanel in the onSubmit() response, and *not* in the close button callback response. Let us know if you come up with a better solution. On Mon, Oct 3, 2011 at 8:57 AM, heapifyman heapify...@gmail.com

Re: Show feedback message from modal window in parent page

2011-10-03 Thread heapifyman
are then cleared from the session and won't be included in subsequent responses. Are you closing the modal in a way that immediately generates a second request? Dan On Fri, Sep 30, 2011 at 9:02 AM, heapifyman heapify...@gmail.com wrote: Hello, I have a page that contains a list of entries

Show feedback message from modal window in parent page

2011-09-30 Thread heapifyman
Hello, I have a page that contains a list of entries and a modal window opened from that page. The modal window contains a form to add new entries to the list on the parent page. Submitting the form in the modal window adds the new entry, closes the modal window and updates the list of entries in

Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-13 Thread heapifyman
Am 12.05.2011 15:41, schrieb Martin Grigorov: I am not sure whether you solution actually works. I think they will be always the same. it is working fine for me here. On Thu, May 12, 2011 at 3:35 PM, heapifyman heapify...@gmail.com wrote: Am 12.05.2011 15:17, schrieb Martin Grigorov

CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread heapifyman
Hello, I have a CheckGroup and the CheckGroupSelector. Everythings working fine so far except for one thing. If I check all checkboxes in the group (manually or through checking the CheckGroupSelector), save this to a database and reload the page, the individual checkboxes are correctly

Re: CheckGroupSelector - set checked if all Checkboxes are already selected

2011-05-12 Thread heapifyman
be added to the documentation for the CheckGroup? On Thu, May 12, 2011 at 1:44 PM, heapifyman heapify...@gmail.com wrote: Hello, I have a CheckGroup and the CheckGroupSelector. Everythings working fine so far except for one thing. If I check all checkboxes in the group (manually or through

Re: wicket via websocket

2010-11-22 Thread heapifyman
wicket plus atmosphere framework might also be a possibility. one tutorial here: http://jfarcand.wordpress.com/2010/10/07/writing-websocket-application-using-apache-wicket/ On Sun, Nov 21, 2010 at 5:05 PM, kamiseq kami...@gmail.com wrote: ok, thanks, I will try that pozdrawiam Paweł Kamiński

Customizing URLs in Ajax-Forms, -buttons and -links

2010-07-19 Thread heapifyman
Hello all, I'm trying to kind of embed a wicket app into another web page, meaning that the wicket pages are loaded into a modal jQuery panel. All submits, links, buttons in the wicket pages are thus realised using wicket's ajax features. Unfortunately, the wicketSubmitFormById call in an Ajax

Using absolute URLs in Ajax-Forms, -buttons and -links

2010-07-08 Thread heapifyman
Hello all, I'm trying to kind of embed a wicket app into another web page, meaning that the wicket pages are included as part of the other web page. All submits, links, buttons in the wicket pages are realised using wicket's ajax features. Unfortunately, the wicketSubmitFormById call in an Ajax

Re: Markup Inheritance example with Ajax?

2010-07-02 Thread heapifyman
. Then swap the panel in your link and add it to the ajax response. You can make these bookmarkable through PageParameters. Thank you both. Panels are what I've been looking for. Jeremy Thomerson On Fri, Jun 25, 2010 at 12:29 PM, heapifyman heapify...@gmail.com wrote: Hello all, I would

Markup Inheritance example with Ajax?

2010-06-25 Thread heapifyman
Hello all, I would like to extend the Markup Inheritance example (http://wicket.apache.org/examplemarkupinheritance.html) by replacing the content part of the page (i.e. the wicket:child) using Ajax. I tried to replace the BookmarkablePageLink on the BasePage with an AjaxLink but this does not