Wicket with JPA and container managed transactions

2012-10-08 Thread Dieter Tremel
managed transactions wicket how is the simpliest way do achieve it? All examples I googled and also these in the book Wicket in Action are only reading data or using Spring, what I do not want to do. Thank you for any hint Dieter Tremel

Re: Wicket with JPA and container managed transactions

2012-10-08 Thread Dieter Tremel
java.lang.reflect.InvocationHandler java.lang.reflect.Proxy.h [class=com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate] - field that is not serializable I suppose with javaee-inject-parent I would have the same error after rendering. Thank You Dieter -- Tremel Computerhttp

Re: Wicket with JPA and container managed transactions

2012-10-08 Thread Dieter Tremel
Am 08.10.2012 15:34, schrieb Martin Grigorov: javaee-inject uses wicket-ioc and injects a serializable Proxy instead of the EJB bean itself that was returned by the container. This is the same as how Spring and Guice work. See the response of heapifyman. The simplest would be use only CDI in

Re: Wicket with JPA and container managed transactions

2012-10-08 Thread Dieter Tremel
I found a different solution I would like to post for discussion: I encapsulated the Facade in a LoadableDetachableModel like this: /** * Model for JPA facade beans. * @author Dieter Tremel tre...@tremel-computer.de */ public class EntityFacadeModelE extends JPAEntity extends

Re: Wicket with JPA and container managed transactions

2012-10-09 Thread Dieter Tremel
Am 08.10.2012 17:37, schrieb Martin Grigorov: The JNDI lookup just done for you in normal JavaEE setup as well. So I think your code is OK. Thank you Martin for your useful answers. I posted a little more generic solution of an AbstractEjbModel in my blog in

String Resources associated with entity classes

2012-10-27 Thread Dieter Tremel
from the properties encapsulated in a model. But wickets resource handling is so sophisticated, that I suppose there is a more elegant way, I do not see. How would you implement resource loading fore files associated to entity classes, not to component hierarchy? Thank You Dieter Tremel

Re: String Resources associated with entity classes

2012-10-28 Thread Dieter Tremel
the Entity class name as part of the key, so it can be significant for caching. I modified my custom string resource loader as you suggested and added the EntityClassName. to my ResourceModels and it works! Thank You Dieter Tremel

Re: Asking for user confirmation - Wicket 6

2012-11-16 Thread Dieter Tremel
Am 15.11.2012 18:47, schrieb Sven Meier: ajaxCallListener.onPrecondition(return confirm('are you sure'?);); I made a test and found the small Typo, should be: ajaxCallListener.onPrecondition(return confirm('are you sure?');); Dieter

wicket-cdi fails when netbeans deploys to Glassfish with maven

2013-01-09 Thread Dieter Tremel
in the simplest way, but same problem. Dependency to wicket-cdi 6.4.0 has transient dependency to seam-conversation-spi, which is included in war/WEB-INF/libs. With ant based project, no error. Any idea? Thank You Dieter Tremel

Re: wicket-cdi fails when netbeans deploys to Glassfish with maven

2013-01-09 Thread Dieter Tremel
Thanks, Igor, worked instantly. I should have been more precise here. Thank You Dieter Am 09.01.2013 21:17, schrieb Igor Vaynberg: you need to add seam-conversation-your cdi impl.jar as well. -igor On Wed, Jan 9, 2013 at 10:55 AM, Dieter Tremel tre...@tremel-computer.de wrote: Hello

Re: Gmap3 Geocoding shows Status 610

2013-03-18 Thread Dieter Tremel
Am 16.03.2013 22:43, schrieb Vishal Popat: I am using GMap3 from here: https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/gmap3-parent/gmap3. My Geocoding has recently stopped working and is showing Status 610. Google searching shows that this is all related to GMap2 being

Re: Gmap3 Geocoding shows Status 610

2013-03-19 Thread Dieter Tremel
without complains. Sorry, I never committed to github or any other open source project. If you think I should do so, please give me some short instruction what I should do. Dieter Tremel The central part of Geocoder is private final String output = OUTPUT_JSON; public GLatLng decode

Re: Gmap3 Geocoding shows Status 610

2013-03-19 Thread Dieter Tremel
Am 19.03.2013 13:25, schrieb Martin Grigorov: Welcome to the Open Source community! :-) You can follow the guide at https://help.github.com/articles/fork-a-repo to send a Pull Request with your fix. If you have not time for this then please send me the changes in .patch format and I will

wicketstuff gmap GInfoWindow with Component content

2013-03-22 Thread Dieter Tremel
the component should be rendered in fact, I ask here. Should there be one panel supported with data by a model of the entity, rendered somehow hidden in another place? Any hint for way to do it or a solution welcome. Thank You Dieter Tremel

Re: wicketstuff gmap GInfoWindow with Component content

2013-03-22 Thread Dieter Tremel
Am 22.03.2013 10:09, schrieb Thijs: There is an example to: https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/info/advanced Must have been blind not to recognize it. Thank You Dieter

wicketstuff-jasperreports dependency to jasper reports

2013-05-28 Thread Dieter Tremel
/net.sf.jasperreports/jasperreports/5.1.0, so the newer version could be used. Is there any reason to keep the older version (repository)? Thank You Dieter Tremel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Re: wicketstuff-jasperreports dependency to jasper reports

2013-05-28 Thread Dieter Tremel
/wicketstuff/core/pull/224 Dieter -- Tremel Computerhttp://www.tremel-computer.de Dieter Tremel mailto:tre...@tremel-computer.de Rebenring 16 Tel +49 871 9357080 84032 Altdorf Fax +49 871 9357081

Re: wicketstuff-jasperreports dependency to jasper reports

2013-05-29 Thread Dieter Tremel
of configuration. Any hint to improve my maven knowledge would be great. Thank You Dieter Tremel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

wiki down

2013-06-22 Thread Dieter Tremel
Calling the wiki at https://cwiki.apache.org/WICKET/ results in Not Found The requested URL /WICKET/ was not found on this server. Is this known already? Thank You Dieter Tremel - To unsubscribe, e-mail: users-unsubscr

wicket-cdi 6.9.0 on Glassfish 4: Warning WELD-001529

2013-07-02 Thread Dieter Tremel
not have any appropriate constructor. I suppose the first two warnings are a missing dependency, does anybody know which? Any hint how to get rid of the other warnings? Thank You Dieter Tremel - To unsubscribe, e-mail

Re: wicket-cdi 6.9.0 on Glassfish 4: Warning WELD-001529

2013-07-02 Thread Dieter Tremel
- From: Dieter Tremel [mailto:tre...@tremel-computer.de] Sent: Tuesday, July 02, 2013 10:11 AM To: users@wicket.apache.org Subject: wicket-cdi 6.9.0 on Glassfish 4: Warning WELD-001529 Hello, after using wicket 6.9.0 which solved https://issues.apache.org/jira/browse/WICKET-5226 I gave

Re: DateTextField, image is displayed on line below

2013-07-11 Thread Dieter Tremel
I used white-space: nowrap; on the containing element. Dieter Am 11.07.2013 23:23, schrieb Delange: I use css for positioning my fields, but Datatextfield ICON is always displayed a line below the input For example: Orderdate B

Re: Google Maps refuses access

2013-09-14 Thread Dieter Tremel
Am 14.09.2013 14:36, schrieb Piratenvisier: I don't know from where I got the software wicket.contrib.gmap.api What softwarepackage do you recommend for Google Maps integratiopn Have a look at https://github.com/wicketstuff/core/wiki/Gmap3 Dieter

getPage(pageReference) == null since Wicket 6.10.0

2013-10-12 Thread Dieter Tremel
Hello wicket-community, in the last time I had to work on another project, so my wicket-work paused and I just upgraded to the new versions. So I was rather astonished that the mechanism I implemented for the return page after canceling an edit was not working any more, since getPage(pageref)

Re: getPage(pageReference) == null since Wicket 6.10.0

2013-10-12 Thread Dieter Tremel
are not a couple in great love. Thank you very much Dieter Am 12.10.2013 10:47, schrieb Sven Meier: See WICKET-5380 Sven On 10/12/2013 10:20 AM, Dieter Tremel wrote: Hello wicket-community, in the last time I had to work on another project, so my wicket-work paused and I just upgraded

Re: getPage(pageReference) == null since Wicket 6.10.0

2013-10-14 Thread Dieter Tremel
stack of doing that with Tomcat without reinventing the wheel: - with or without Spring? - What are key libs (Guice, http://jotm.ow2.org/, ...) - How do you it implement, what are your suggestions? - What is important not to forget? Dieter -- Tremel Computerhttp://www.tremel

Re: getPage(pageReference) == null since Wicket 6.10.0

2013-11-05 Thread Dieter Tremel
Am 12.10.2013 12:19, schrieb Dieter Tremel: Sometimes I have the impression that a Glassfish and wicket are not a couple in great love. Seems that Glassfish and Oracle are not in great love either, since commercial Glassfish is dead, and this is no good future for the open source edition

Re: getPage(pageReference) == null since Wicket 6.10.0

2013-11-06 Thread Dieter Tremel
that with Wicket 6.x. Ondra On 5.11.2013 18:19, Dieter Tremel wrote: Am 12.10.2013 12:19, schrieb Dieter Tremel: Sometimes I have the impression that a Glassfish and wicket are not a couple in great love. Seems that Glassfish and Oracle are not in great love either, since commercial

Resolution of url() in ContextRelativeResourceReference

2015-10-07 Thread Dieter Tremel
th no difference, the errors are still there. What is the correct way of resource handling at java side? Thank You Dieter Tremel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Resolution of url() in ContextRelativeResourceReference

2015-10-08 Thread Dieter Tremel
> this.cachingEnabled = true; > } With a JavaScriptHeaderItem the slash makes no difference, only with CssHeaderItem. Dieter Am 07.10.2015 um 21:41 schrieb Martin Grigorov: > Hi, > > What is the generated url for the .css resource ? > > Martin Grigorov &

Re: Resolution of url() in ContextRelativeResourceReference

2015-10-08 Thread Dieter Tremel
Am 08.10.2015 um 08:14 schrieb Dieter Tremel: > With a JavaScriptHeaderItem the slash makes no difference, only with > CssHeaderItem. Sorry, this is wrong, same problem with js. - To unsubscribe, e-mail: users-un

Re: Resolution of url() in ContextRelativeResourceReference

2015-10-08 Thread Dieter Tremel
Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Oct 8, 2015 at 10:01 AM, Dieter Tremel <tre...@tremel-computer.de> > wrote: > >> Am 08.10.2015 um 08:14 schrieb Dieter Tremel: >>> With a JavaScriptHeaderItem the slash makes

Re: Resolution of url() in ContextRelativeResourceReference

2015-10-19 Thread Dieter Tremel
trap > 3.3.5 > If WebjarsCssResourceReference is used, the problem of the Glyphicons fonts is solved. Dieter Am 07.10.2015 um 10:12 schrieb Dieter Tremel: > Hello list, > > Using Bootstrap 3.3.5 I want to include the stylesheet, js and font > resources myself, not us

wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-14 Thread Dieter Tremel
plication as a link to the non serializable JPA objects and using detachable models to handle the on pages. Any hints for my confused mind welcome. Thanks! Dieter Tremel - To unsubscribe, e-mail: users-unsubscr...@wicket.a

Re: wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-15 Thread Dieter Tremel
page. The stack trace will prove me right or wrong :-) > > Met vriendelijke groet, > Kind regards, > > Bas Gooren > > Op 15 juni 2016 bij 13:29:24, Dieter Tremel (tre...@tremel-computer.de > <mailto:tre...@tremel-computer.de>) schreef: > >> Hello Bas, >> &g

Re: wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-15 Thread Dieter Tremel
that should work out of the box - it does for > us. > > Bas > > Verstuurd vanaf mijn iPhone > >> Op 15 jun. 2016 om 07:53 heeft Dieter Tremel <tre...@tremel-computer.de> het >> volgende geschreven: >> >> Hallo wicket-user, >> >> IMHO combin

Re: wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-15 Thread Dieter Tremel
apInProxies'. It must be 'true'. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, Jun 15, 2016 at 2:18 PM, Dieter Tremel <tre...@tremel-computer.de> > wrote: > >> Hi Bas, >> >> I put it in http://pastie

Re: wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-17 Thread Dieter Tremel
onClick(AjaxRequestTarget target) { > > DAO dao = getDaoFromPageOrElsewhere(); > > dao.performAction(); > > } > > > My guess is that you’ll find the culprit by simply looking at all places > in your code where you use the PersonenDao. > > > Met vrie

Re: wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-17 Thread Dieter Tremel
being thrown. > Once you have the debugger stopped there you could click on the stack > methods to see what was the parent object of the currently failing one. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Jun 17, 2016 at 11

Re: wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-17 Thread Dieter Tremel
t; you actually need it: > > > public void onClick(AjaxRequestTarget target) { > > DAO dao = getDaoFromPageOrElsewhere(); > > dao.performAction(); > > } > > > My guess is that you’ll find the culprit by simply looking at all places in > your code where you use

Re: wicket-guice and recursive injection of non serializable JPA2 objects

2016-06-19 Thread Dieter Tremel
ropped my Caching implementation. ;-) In German I say "Wissen ist Macht, wir wissen nichts, macht nichts" Thank You Dieter -- Tremel Computerhttp://www.tremel-computer.de Dieter Tremel mailto:tre...@tremel-computer.de Rebenring 16

Re: Attributes integrity and crossorigin for UrlResourceReference

2018-02-28 Thread Dieter Tremel
Hi Martin, I am watching https://issues.apache.org/jira/browse/WICKET-6321 now and will think about it, if I have an inspiration, I will suggest it ;-) Dieter Tremel Am 28.02.2018 um 13:24 schrieb Martin Grigorov: > Hi Dieter, > > There is a ticket in JIRA about this. > P

Attributes integrity and crossorigin for UrlResourceReference

2018-02-27 Thread Dieter Tremel
header items as given on http://getbootstrap.com/docs/4.0/getting-started/introduction/? Thank you for any answer Dieter Tremel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h