Please do and I will contribute :-)
On Tue, Jun 8, 2010 at 8:46 PM, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:
> Hi yaniv
>
> Taking your idea a little further, one could also just get the LDM
> injected, which actually archives what I wanted. However this has
> strayed a lot from
Hi yaniv
Taking your idea a little further, one could also just get the LDM
injected, which actually archives what I wanted. However this has
strayed a lot from the topic. So I think we should start a new thread
on howto manage Wicket with IOC frameworks..
regards Nino
2010/6/8 yaniv kessler :
>
Cemal are you talking about guice persist?
Anyhow very nice :)
2010/6/8 Cemal Bayramoglu :
> Nino,
>
> Now that a Warp 2.0 snapshot (which works with Guice 2) is on a Maven
> repo, we will upgrade the affected LegUp s [1]. Look out for an
> announcement, hopefully in the next week or so.
>
> Rega
Nino,
Now that a Warp 2.0 snapshot (which works with Guice 2) is on a Maven
repo, we will upgrade the affected LegUp s [1]. Look out for an
announcement, hopefully in the next week or so.
Regards - Cemal
jWeekend
OO & Java Technologies, Wicket
Consulting, Development, Training
http://jWeekend.com
Hi yaniv
replying inline.. And thanks for the ideas.
2010/6/8 yaniv kessler :
> Perhaps inject the model instead of manually creating it or maybe inject a
> data service into the page and use that reference in the model. My point is,
> passing the injector around (or in this case InjectorHolder),
Perhaps inject the model instead of manually creating it or maybe inject a
data service into the page and use that reference in the model. My point is,
passing the injector around (or in this case InjectorHolder), should be
avoided, since as it degrades the entire Guice DI into a simple service
loc
Well as I manually create the the loadabledetachmodel which extends
the ClassWithDao, it has to call injectorholder. I am not aware of any
other method that can solve this..
2010/6/8 yaniv kessler :
> I agree with Jorge here and additionally, would like to ask what is the
> motivation to use Injec
in my trying to fix the problem, I read about a bug regarding this.
However it is probably fixed now (was an old thread)..
2010/6/7 Jorge Rodrigez :
> Why phoneDao is transient ?
> Wicket-Guice injects a Serializable proxy and thus after deserialization the
> field will be non-null.
>
> On Mon, Ju
I agree with Jorge here and additionally, would like to ask what is the
motivation to use InjectorHolder directly?
Are you simply doing new ClassWithDao() somewhere in your code ?
On Mon, Jun 7, 2010 at 9:21 PM, Jorge Rodrigez wrote:
> Why phoneDao is transient ?
> Wicket-Guice injects a Serial
Why phoneDao is transient ?
Wicket-Guice injects a Serializable proxy and thus after deserialization the
field will be non-null.
On Mon, Jun 7, 2010 at 7:31 PM, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:
> sure:
>
> public class ClassWithDao {
>
> public ClassWithDao() {
>
sure:
public class ClassWithDao {
public ClassWithDao() {
InjectorHolder.getInjector().inject(this);
}
@Inject
private transient PhoneDao phoneDao;
public PhoneDao getPhoneDao() {
return phoneDao;
}
public void setPhone
Nino, can you show the ClassWithDao code before the so called "ugliness" was
introduced?
On Sun, Jun 6, 2010 at 1:44 PM, nino martinez wael <
nino.martinez.w...@gmail.com> wrote:
> im still working on the quickstart.. So far I've been unable to
> replicate.. I'll continue tomorrow
>
> 2010/6/5 ni
im still working on the quickstart.. So far I've been unable to
replicate.. I'll continue tomorrow
2010/6/5 nino martinez wael :
> I was too quick to say it worked, as it appears it does not. I'll try
> to make a quickstart based on legup, where should I put it? Just on
> jira?
>
> -Nino
>
> 2010/
I was too quick to say it worked, as it appears it does not. I'll try
to make a quickstart based on legup, where should I put it? Just on
jira?
-Nino
2010/6/4 nino martinez wael :
> yeah me too, what Igor said worked so must be true or a bug.. I don't
> think it's a bug..
>
> 2010/6/3 James Carma
yeah me too, what Igor said worked so must be true or a bug.. I don't
think it's a bug..
2010/6/3 James Carman :
> I thought the filters were executed in the order of their
> filter-mappings, not their filter definitions.
>
> On Thu, Jun 3, 2010 at 5:23 PM, nino martinez wael
> wrote:
>> Argh, ho
I thought the filters were executed in the order of their
filter-mappings, not their filter definitions.
On Thu, Jun 3, 2010 at 5:23 PM, nino martinez wael
wrote:
> Argh, how stupid.. Thanks a lot igor, how can I buy you a beer or Coke?
>
> I spend a tremendous time trying to figure out what was
Argh, how stupid.. Thanks a lot igor, how can I buy you a beer or Coke?
I spend a tremendous time trying to figure out what was wrong. I even
considered going back to spring..
regards Nino
2010/6/3 Igor Vaynberg :
> noep, the filters are processed in the order they are defined in
> web.xml, move
noep, the filters are processed in the order they are defined in
web.xml, move the wicket filter decl below the warp persist stuff.
-igor
On Thu, Jun 3, 2010 at 1:05 PM, nino martinez wael
wrote:
> yes, i think so:
>
>
> http://java.sun.com/xml/ns/j2ee";
> xmlns:xsi="http://www.w3.org/2001/XMLS
yes, i think so:
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
version="2.4">
IVR Web frontend
wicket
did you install warp's open entity manager in view filter *before*
wicket's filter?
-igor
On Wed, Jun 2, 2010 at 5:46 AM, nino martinez wael
wrote:
> Hi I somehow think theres something wrong with the Wicket Guice proxy
> (probably only if you are using guice 2 & possibly warp persist)
>
> Anyho
Hi I somehow think theres something wrong with the Wicket Guice proxy
(probably only if you are using guice 2 & possibly warp persist)
Anyhow I have had to change my LDM's to this code, notice the injector
holder in the getter method really really bad. But if not I get an
"entity manager is closed
21 matches
Mail list logo