Sharing property files for resources across components

2024-08-29 Thread mscoon
Hi all, We are considering the following implementation for a ComponentStringResourceLoader. The idea is not only to search for resources using the superclasses of the components, but also using interfaces implemented by the components. public class InterfaceAwareComponentStringResourceLoader exte

Re: Wicket 10 - not finding "el" properties

2024-05-27 Thread mscoon
27, 2024 at 9:33 AM mscoon wrote: > > > Hi all, > > > > We have an application in greek. We recently to wicket 10 and messages > for > > the build-in validators (e.g. Required) stopped appearing in greek and > > started appearing in english. > > >

Wicket 10 - not finding "el" properties

2024-05-26 Thread mscoon
Hi all, We have an application in greek. We recently to wicket 10 and messages for the build-in validators (e.g. Required) stopped appearing in greek and started appearing in english. We noticed that the name of the properties file in wicket-core (wicket-core\src\main\java\org\apache\wicket) is A

Re: Opening a stateful page in a new window/tab with ajax

2019-11-22 Thread mscoon
Thanks for the prompt answer. On Thu, Nov 21, 2019 at 6:38 PM Sven Meier wrote: > Hi, > > that's a perfectly valid usage. > > Have fun > Sven > > > On 21.11.19 13:44, mscoon wrote: > > Hi all, > > > > We are using the following code inside an

Opening a stateful page in a new window/tab with ajax

2019-11-21 Thread mscoon
Hi all, We are using the following code inside an ajax callback to create a new page and open it in a new window. Are there any gotchas with respect to how we create MyPage and get the url for it? Is it guaranteed to be found in the user's session when the request for it comes in? void openPageIn

Re: Java 8 access to effectively final variables/method parameters from anonymous classes

2019-08-04 Thread mscoon
that can be persisted to the DB > right away. Your ajax link is a good example. Also single-page forms where > the final "Save/Next" button persists the changes to the DB. Whenever we > have a multi-step process (like a wizard) for creating or editing domain > objects, we us

Re: Java 8 access to effectively final variables/method parameters from anonymous classes

2019-08-04 Thread mscoon
Hi, If you don't mind me following up on your comment... > Personally, I rarely encounter serialization issues. None of our domain > objects implement Serializable. They can only be used with > LoadableDetachableModels that only store the identifier. > >> >> Would you mind to elaborate on this a

Re: Java 8 access to effectively final variables/method parameters from anonymous classes

2019-08-04 Thread mscoon
of a warning (for > variables that are implicitly final) > - Checkstyle or similar tools that you can hook into your build process > might have similar inspections > > Best, > > Thomas > > On Sun, Aug 4, 2019 at 9:18 AM mscoon wrote: > > > Hi all, > > &g

Java 8 access to effectively final variables/method parameters from anonymous classes

2019-08-04 Thread mscoon
Hi all, Java 8 introduced the ability to access effectively final variables/method parameters from anonymous classes without having to add explicitly the "final" keyword. This has resulted in a lot of cases where the programmer does not notice that they are referencing a model object from an anon

Re: ExportToolbar and caching

2019-04-13 Thread mscoon
updates to the > data are not reflected in repeated exports. > > We should improve that: > > - no caching as default > - users should be able to change this easily > > Can you create a Jira issue please? > > Thanks > Sven > > > Am 12.04.19 um 11:24 schrieb

ExportToolbar and caching

2019-04-12 Thread mscoon
Hi all, We have run into some problems when using the ExportToolbar the generated file seems to be cached in some browsers so that user's don't get a new version if the table contents change. I think there should be a way to tell the ExportToolbar to call setCacheDuraction(Duration.NONE) to the R

Re: AjaxDownloadBehavior with location=blob and greek filenames problems

2019-04-05 Thread mscoon
Thank you! On Fri, Apr 5, 2019 at 1:14 PM Martin Grigorov wrote: > https://issues.apache.org/jira/browse/WICKET-6650 > > On Thu, Apr 4, 2019 at 5:29 PM Sven Meier wrote: > > > > > > > Hi, > > > > > > > > You're right, our JavaScript should decode the filename. > > > > > > > > Please open a Jira

AjaxDownloadBehavior with location=blob and greek filenames problems

2019-04-04 Thread mscoon
Hi all, When using the AjaxDownloadBehavior with Location=Blob and a greek filename, the filename is url encoded. E.g. if the file is "αρχείο.txt" (as defined in ResourceStreamResource.setFilename()), the downloaded file is "%CE%B1%CF%81%CF%87%CE%B5%CE%AF%CE%BF.txt" which is the url encoded resul

Re: Undesirable behavior of AutoLabelMarker

2019-02-12 Thread mscoon
Hi Ernesto, Yes, that is possible but it opens the route for lazy initialization exceptions and such problems. Really, why is it so hard to send multiple component values with an ajax request? Maybe an AjaxFormComponentUpdating behavior which can update multiple components? On Mon, Feb 11, 2019

Re: Undesirable behavior of AutoLabelMarker

2019-02-11 Thread mscoon
s() called from Form.onFormSubmitted()) since onValidateObjectModel checks them and finds them empty Cheers Marios On Mon, Feb 11, 2019 at 9:08 AM Martin Grigorov wrote: > Hi, > > On Sun, Feb 10, 2019 at 10:29 PM mscoon wrote: > > > Hi Martin, > > > > The form reloads th

Re: Undesirable behavior of AutoLabelMarker

2019-02-10 Thread mscoon
all > its form components. > I think you want to use AjaxForm[Choice]ComponentUpdatingBehavior - it will > submit only the value of the modified field. > > On Fri, Feb 8, 2019 at 2:57 PM mscoon wrote: > > > Hi all, > > > > We have an outer form and an inner form. The in

Undesirable behavior of AutoLabelMarker

2019-02-08 Thread mscoon
Hi all, We have an outer form and an inner form. The inner form contains some form components which all have an AjaxFormSubmitBehavior in order to update each - other when the user changes one of them. The actual submitting button is in the outer form. When the AjaxFormSubmitBehavior runs and so

Re: How to handle "Service Unavailable" errors in ajax requests

2018-06-15 Thread mscoon
irect will work only if the error page is served by something that > is still up, because "Service Unavailable" means that the web server (e.g. > Tomcat) is down. > > On Mon, Jun 11, 2018 at 3:10 PM, mscoon wrote: > > > Hi all, > > > > I have an AjaxSu

How to handle "Service Unavailable" errors in ajax requests

2018-06-11 Thread mscoon
Hi all, I have an AjaxSubmitLink which fails silently if the back-end server goes away. In debug mode, the ajax debug console shows: ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Service Unavailable This is in Wicket 6.x Is there a way to catch these kinds of errors and show a

wicket-rest - logging requests and responses

2018-02-13 Thread mscoon
Hi everyone, Is there an example or some guidelines for logging requests and responses (including request and response headers and body) to resources implemented with wicket-rest-annotations? I'm looking for something low-level and cross-cutting, such as the cxf logging interceptors - i.e. someth

Wicket rest annotations - introduction

2018-01-26 Thread mscoon
Hi all, We are considering using wicket rest annotations for extending a large existing application with a small (for now at least) rest api. Could you share your opinions on the state of the rest annotations project and also any pointers to examples and documentation? Thank you in advance Mario

Re: log4j MDC IRequestLogger

2016-02-17 Thread mscoon
Hi, In a similar situation we have sub-classed RequestLogger and we are clearing the thread context in the end of MyRequestLogger.log(), so that the thread context is available when super.log() is called. It is not as clean as using AbstractRequestCycleListener.onDetach, but it works. Marios On

Re: Initializer problem - resources not being loaded

2015-05-12 Thread mscoon
> Do you have a broken wicket-sol artefact in your local maven repository? > > Regards > Sven > > > > On 12.05.2015 13:35, mscoon wrote: > >> Hi all, >> >> We have a web application which is using an internal library called >> wicket-sol. The library

Initializer problem - resources not being loaded

2015-05-12 Thread mscoon
Hi all, We have a web application which is using an internal library called wicket-sol. The library is installed in our local maven repository. wicket-sol contains a property file "wicket.properties" which has a single entry: initializer=gr.sol.wicket.Initializer The gr.sol.wicket.Initializer c

Re: Checking obscure serialization bugs during development

2015-05-03 Thread mscoon
Heh, and a wrong carriage-return in the end makes me look like I'm trying to assume Martin's identity :) So anyway, thanks for the help Martin, as always you give very good guidance! Marios On Sun, May 3, 2015 at 7:01 PM, mscoon wrote: > Hi, > > it turns out that r

Re: Checking obscure serialization bugs during development

2015-05-03 Thread mscoon
ide/guide/internals.html#pagestoring for > some more details. > > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, Jan 13, 2015 at 6:30 PM, mscoon wrote: > > > Hi all, > > > > There are some application

Re: FormComponentPanel and propagating model value to components

2015-04-09 Thread mscoon
s MyFormComponentPanel extends FormComponentPanel { > public MyFormComponentPanel(IModel myModel){ > add(new TextField("id", myModel)); > } > } > (add generics if needed) > > > Patrick > > > Am 08.04.2015 um 09:27 schrieb mscoon: > >> Hi

FormComponentPanel and propagating model value to components

2015-04-08 Thread mscoon
Hi all, I have a FormComponentPanel. Is it okay if I set its components models using a behavior that overrides onConfigure() as below? public class MyFormComponentPanel extends FormComponentPanel { protected void onInitialize() { super.onInitialize(); componentA = new TextFie

Re: onchange control visibility according to multiple controls values

2015-03-31 Thread mscoon
Hi, This is kind of tricky. What you need is to attach AjaxFormSubmitBehavior's to the components that trigger changes, so that the entire form is submitted whenever a control's value changes. Then you can access the other controls' values through the form's model. The tricky part is that if som

Re: Issues with multiple FeedbackPanels

2015-03-26 Thread mscoon
Note sure what may be wrong unless you show more code. Some guesses: 1. You are refreshing the feedback panels in the ajax request target? I.e. in your ajax link's on click: void onClick(AjaxRequestTarget target) { ... do stuff, add message target.add(feedback1, feedback2); } 2. Neither

Re: Issues with multiple FeedbackPanels

2015-03-25 Thread mscoon
Hi, Feedback panels show all messages by default. You will need to provide a way for them to filter the messages that each should show. Look at FeedbackPanel#setFilter(IFeedbackMessageFilter). Marios On Wed, Mar 25, 2015 at 2:46 PM, avchavan wrote: > Hi, I have 2 FeedbackPanels on my screen a

Re: Ajax submit form with FileUploadField

2015-02-12 Thread mscoon
at > > https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js#L623 > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Feb 12, 2015 at 11:36 PM, mscoon wrot

Re: Ajax submit form with FileUploadField

2015-02-12 Thread mscoon
Since no-one has responded, let me try to rephrase the question: is wicket doing something different when submitting a form via ajx without and with a FileUploadField? If yes, could you please give me some pointers in the code to look at? Thanks Marios On Tue, Feb 10, 2015 at 4:36 PM, mscoon

Ajax submit form with FileUploadField

2015-02-10 Thread mscoon
Hi all, We are seeing strange behavior in a form that contains a FileUploadField when submitted with an AjaxSubmitLink. What happens is: 1. The form is embedded in another form, so wicket renders it as a div 2. The form is removed from it's parent element and placed within a JQuery dialog 3. The o

Checking obscure serialization bugs during development

2015-01-13 Thread mscoon
Hi all, There are some application (not wicket!) bugs that occur only when wicket serializes a page, while the same code works if the page is kept in memory during subsequent requests. For instance a == comparison may fail if either side of the expression is serialized/deserialized. These bugs o

Wicket 7 for production use?

2015-01-09 Thread mscoon
Hi all, Is there any estimate when wicket 7 will be ready for production use? We would really like to migrate our applications to it, and help with testing, but we are worried that we may encounter bugs in things that work in wicket 6 (such as wicket-5800 that I recently reported). Since there is

Re: Wicket 7.0.4M - bug related to queueing and wicket:enclosure

2015-01-09 Thread mscoon
Thanks Andrea. On Mon, Jan 5, 2015 at 2:29 PM, andrea del bene wrote: > Hi, > > now the snapshot should work. > > Andrea. > > On 05/01/2015 11:32, mscoon wrote: > >> Hi Martin, >> >> I just tried it with 7.0.0-SNAPSHOT and I get the same exception.

Re: How to solve this login problem?

2015-01-07 Thread mscoon
If I recall correctly I read a description of a QR-Code login in which the page is "constantly" (periodically most likely) polling the server to see if the user has been authenticated. I.e.: You probably need two resources (or one with parameters): One to authenticate and one to ask if the user ha

Re: Wicket 7.0.4M - bug related to queueing and wicket:enclosure

2015-01-05 Thread mscoon
in 7.0.0-SNAPSHOT. > Please try it if you can. > Thanks! > On Dec 24, 2014 9:47 AM, "mscoon" wrote: > > > Hi, > > > > I have a component extending a FormComponentPanel which includes > > wicket:enclosures. It is embedded in tab in an ajax tabbed panel. >

Wicket 7.0.4M - bug related to queueing and wicket:enclosure

2014-12-23 Thread mscoon
Hi, I have a component extending a FormComponentPanel which includes wicket:enclosures. It is embedded in tab in an ajax tabbed panel. I am getting the following exception when trying to change the active tab. It was working fine with wicket 6.15.0. I saw there are some issues in jira related to

Re: Should I use a (stateless) WebPage or a Resource to return a json response for an autocomplete component?

2014-12-15 Thread mscoon
Ref()) > - CharSequence url = RequestCycle.get().urlFor(new MyResRef(), null); > i.e. two different instances! They are matched by #equals(), not by > identity > > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, Dec 15,

Re: Should I use a (stateless) WebPage or a Resource to return a json response for an autocomplete component?

2014-12-15 Thread mscoon
es. > But I think you won't need to retrieve it later at all. So just make sure > it is not added several times > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, Dec 15, 2014 at 10:31 PM, mscoon wrote: > > >

Re: Should I use a (stateless) WebPage or a Resource to return a json response for an autocomplete component?

2014-12-15 Thread mscoon
at 12:08 AM, mscoon wrote: > > > > Thank you both for your answers. > > > > I have reasons to roll my own autocomplete component. But I did take a > look > > at the way wiqiery and wicket-jquery are serving the choices. > > > > As far as I can tell neit

Re: Should I use a (stateless) WebPage or a Resource to return a json response for an autocomplete component?

2014-12-13 Thread mscoon
Thank you both for your answers. I have reasons to roll my own autocomplete component. But I did take a look at the way wiqiery and wicket-jquery are serving the choices. As far as I can tell neither is using a stateless/lightweight way for serving the choices. Both serve them with a request to t

Should I use a (stateless) WebPage or a Resource to return a json response for an autocomplete component?

2014-12-13 Thread mscoon
Hi all, I am making an autocomplete component based on jquery-autocomplete. I have currently implemented the data source using a stateless web page which writes the json response. What I don't like about this is that it is a separate file/class from my autocomplete component. But I like that it'

Re: IComponentOnBeforeRenderListener and ListView

2014-11-25 Thread mscoon
On Tue, Nov 25, 2014 at 11:40 PM, Martin Grigorov wrote: > On Tue, Nov 25, 2014 at 11:33 PM, mscoon wrote: > > > I don't want to use an IComponentOnBeforeRenderListener as it is an > > application wide facility whereas what I'm doing applies to a couple of >

Re: IComponentOnBeforeRenderListener and ListView

2014-11-25 Thread mscoon
m components as invalid with > IComponentOnBeforeRenderListener too ? > Just add the new IComponentOnBeforeRenderListener in the collection before > FormErrorDecorator. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Tue, Nov 25, 2014 at 4:15 PM,

Re: IComponentOnBeforeRenderListener and ListView

2014-11-25 Thread mscoon
, and this record has some wrong data in it, I want to immediately show the validation errors when the page renders and not have to wait until a submit. On Tue, Nov 25, 2014 at 11:50 AM, Martin Grigorov wrote: > Hi, > > On Mon, Nov 24, 2014 at 10:34 PM, mscoon wrote: > > > Martin

Re: IComponentOnBeforeRenderListener and ListView

2014-11-24 Thread mscoon
ts. So > IComponentOnBeforeRenderListener should be notified. > > Maybe a quickstart will make it easier for understanding where is the > problem. > > > On Mon, Nov 24, 2014 at 4:52 PM, mscoon wrote: > > > Martin, > > > > Application#getComponentPostOnBefo

Re: IComponentOnBeforeRenderListener and ListView

2014-11-24 Thread mscoon
n, Nov 24, 2014 at 3:23 PM, Martin Grigorov wrote: > Hi, > > Try with org.apache.wicket.Application#getComponent*Post* > OnBeforeRenderListeners() > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, Nov 24, 2014 at 2:50

IComponentOnBeforeRenderListener and ListView

2014-11-24 Thread mscoon
Hi all, I am using a FormErrorDecorator that implements an IComponentOnBeforeRenderListener in order to automatically attach a css class to form components with validation errors (see https://cwiki.apache.org/confluence/display/WICKET/Automatic+styling+of+form+errors ). Sometimes I want to manual

Re: Auto-reloading markup during development

2014-11-23 Thread mscoon
You are both right, thank you for your answers. I'm not sure what I was doing wrong, but I tried again and markup files are being reloaded. On Sun, Nov 23, 2014 at 11:56 AM, Martin Grigorov wrote: > Hi, > > > On Sun, Nov 23, 2014 at 11:46 AM, Thorsten Schöning > > wrote:

Auto-reloading markup during development

2014-11-22 Thread mscoon
Hi all, Is it possible to set wicket to reload markup and other resources during development so that one does not need to redeploy-restart the server in order to see their changes? I have figured out how to do the equivalent for changes in java code using DCEVM but I can't seem to make it work fo

Re: turning off page versioning

2014-09-26 Thread mscoon
ill have to test and > optimize it further. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Sep 26, 2014 at 12:58 PM, mscoon wrote: > > > I just tried your demo, it does seem to redirect (the requested url is ?0 > > while

Re: turning off page versioning

2014-09-26 Thread mscoon
has no way of knowing which version should be used. Redirect to buffer apparently works because the response was buffered during the initial request that did include a page version in the url. On Fri, Sep 26, 2014 at 1:34 PM, Martin Grigorov wrote: > On Fri, Sep 26, 2014 at 12:23 PM, msc

Re: turning off page versioning

2014-09-26 Thread mscoon
> lose the state too. > This is the reason why NoVersionMapper is not in the official Wicket > distro. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Sep 26, 2014 at 10:52 AM, mscoon wrote: > > > Martin, > > >

Re: turning off page versioning

2014-09-26 Thread mscoon
Martin, I found you "single-page-instance" sample very interesting. I have the following question if you can spare some time: What happens if you completely remove the local map in SinglePageManager (and the associated) code? I.e. if SinglePageManager#getPage(int id) always delegates to the und

Re: JQWicket - Modal/Dialog to an External URL, Or Something Like It?

2014-09-25 Thread mscoon
Hi, You could simply put an iframe inside your dialog div: In case the url is dynamic you can attach the iframe to a wicket component and use an attribute modifier to set the src attribute. On Thu, Sep 25, 2014 at 2:04 AM, MissOvenMitts < chantal.lucette.da...@gmail.com> wrote: > Go

Re: turning off page versioning

2014-09-23 Thread mscoon
It is true that page version does seem kind of redundant or even annoying at times. If you have a wicket app that is full ajax (remember that ajax requests don't increment the page version), the only reason you need the page version is so you can have the same page open in two different tabs with d

Re: Unit tests that use wicket's session and spring session

2014-09-02 Thread mscoon
Thank you both for your answers. Recent versions of Spring have their own way of creating a mock servlet context and their own mock sessions and requests (MockHttpServletRequest) and those cannot be combined with wicket (at least I didn't find a way to do it), because if you go that route there is

Unit tests that use wicket's session and spring session

2014-09-01 Thread mscoon
Hi all, Might I ask if there are any pointers to writing tests for wicket that can successfully access wicket's session (i.e. Session.get()) and spring's session (i.e. use session scoped beans either by autowiring or using the spring injector)? Thanks Marios

Re: Dynamically changing column visibility on DataTable during ajax refresh

2014-06-04 Thread mscoon
> > new DataTable(id, columns, ...); > > onConfigure() { > columns.clear(); > columns.addAll(...); > } > > onClick() { > target.add(dataTable); > } > > Regards > Sven > > > > On 06/04/2014 12:20 PM, mscoon wr

Dynamically changing column visibility on DataTable during ajax refresh

2014-06-04 Thread mscoon
Hi all, Is there a way to change the visibility of one or more columns of a DataTable during an ajax refresh? The only way I've found so far is to create a new list of columns and replace the DataTable but this is a bit cumbersome compared to simply writing ajaxRequestTarget.add(dataTable); Mari

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-17 Thread mscoon
System.err.println("Kunde"); > } > > before the save > > everything is fine > > But I hoped to avoid such lines by AbstractEntityModel. > > My idea was to implant Kunde through the form. > > But how could you do it only by a Label. > > Am 05.05.2014

Re: AjaxTabbedPanel and validation for all tabs

2014-05-17 Thread mscoon
e easiest solution I can think of. Why do you want to avoid that? > > Cheers, >-Tom > > On 06.05.2014, at 16:13, mscoon wrote: > > > Is there a way to solve this? Client side tabs are a solution I guess but > > one I'd like to avoid if possible. > > > > >

AjaxTabbedPanel and validation for all tabs

2014-05-06 Thread mscoon
Hi all, I have a complex form for editing existing objects. I am planning to use AjaxTabbedPanel with adapted ajax links for the tabs to submit the current tab when the user switches tabs. There will be a "save" button under the tabbed panel that will save the entire object. For new objects, I c

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-05 Thread mscoon
may be causing the problem if hibernate tries to save kunde with > nachweiseform.getModelObject() > which is a new object with a null id. > > You may try to move this line to saveNachweise(). > > > On Mon, May 5, 2014 at 2:54 PM, Yahoo wrote: > >> >> Am 05.

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-05 Thread mscoon
u may try to move this line to saveNachweise(). On Mon, May 5, 2014 at 2:54 PM, Yahoo wrote: > > Am 05.05.2014 11:05, schrieb mscoon: > > In a previous message you sent the following snippets: >> >> //@XmlTransient >> @ManyToOne(cascade = CascadeType.MERGE,f

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-05 Thread mscoon
r code. Marios On Mon, May 5, 2014 at 11:26 AM, Yahoo wrote: > First I have to tell you concerning the mapping I used the wrong word the > dependencies in the mapping are not recursive bur circular. > > Am 04.05.2014 22:24, schrieb mscoon: > > I'm not sure I see somet

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-04 Thread mscoon
t;nachweisnr").toLong()>0)) > { > > if (pars.getPosition("kundennr")>=0&&pars.get("kundennr").toLong()>0) > { > Kunde kunde=kundeManager.get(new Long(pars.get("kundennr"). > toString())); > System.err.println(&quo

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-03 Thread mscoon
t; I have a MANYTOONE-Field which is preset and not set in the Form. > This field is not stored. > > Am 02.05.2014 01:24, schrieb mscoon: > > No you don't. The referenced objects will be serialized along with the >> entity you are serializing and everything should work just

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-01 Thread mscoon
ships which are set > byDropDownChoices. > In the case of a new entity, do I have to load all these Entities too and > to save their ids ? > > > Am 01.05.2014 15:01, schrieb mscoon: > > Heiner, >> >> You didn't tell us which dependency injection framework you you using.

Re: problem with AbstractEntityModel from Igor Vaynberg

2014-05-01 Thread mscoon
Heiner, You didn't tell us which dependency injection framework you you using. If you're using Spring then simply use the @SpringBean annotation to get a reference to an EntityManager or a Dao. @SpringBean automatically works only for components so you'll also need to add a call to injector to