Hi,
you're probably holding on an outdated user object, use this instead:
add(new Label(houses_amount,
new AbstractReadOnlyModelString() {
public String getObject() {
return MySession.get().getUser().getVillage();
}
}));
Sven
On 10/06/2011 10:17 AM,
Why would there be a difference between local and deployed versions?
And won't it negatively affect performance?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PropertyModel-not-refreshing-tp3877389p3877621.html
Sent from the Users forum mailing list archive at
Might have something to do with when the session is created and/or
serialized.
And won't it negatively affect performance?
I'm not sure what you mean by it, but the AbstractReadOnlyModel is
faster than a PropertyModel (no reflection involved).
HTH
Sven
On 10/06/2011 12:02 PM, Zeldor wrote:
Thanks, I will give it a try :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/PropertyModel-not-refreshing-tp3877389p3877636.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To
1:41 PM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
The attachment didn't make it,
Can you try to extract out the relevant part and creates a quickstart
project that actually reproduces your issue?
On Fri, Oct 8, 2010 at 1:41 PM, Shelli Orton [via Apache Wicket
, October 08, 2010 1:41 PM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
The attachment didn't make it,
Can you try to extract out the relevant part and creates a quickstart
project that actually reproduces your issue?
On Fri, Oct 8, 2010 at 1:41 PM, Shelli Orton [via
(RecordB recordB, int index)
{
return recordB.getName();
}
}
}
Shelli
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Tuesday, October 12, 2010 10:38 AM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
: Re: PropertyModel Not Refreshing
On Tue, Oct 12, 2010 at 10:30 AM, Shelli Orton shelli.or...@sjrb.ca wrote:
Thanks for the help. Your changes got rid of the errors and I can delete
records now (and the list is updated).
However, once a record has been selected for edit and either saved
problems?
Shelli
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Tuesday, October 12, 2010 11:35 AM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
On Tue, Oct 12, 2010 at 10:30 AM, Shelli Orton shelli.or...@sjrb.ca
wrote
with
my
problems?
Shelli
-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
Sent: Tuesday, October 12, 2010 11:35 AM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
On Tue, Oct 12, 2010 at 10:30 AM, Shelli Orton shelli.or...@sjrb.ca
wrote
-Original Message-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
Sent: Tuesday, October 12, 2010 11:52 AM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
No dont think so.. Please provide a quickstart.. I have had property
models
working in 1.2, 1.3
, 2010 11:58 AM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
sorry.. Did'nt see it attached.. So did igor provide you with an fixed
quickstart (working on his system).. That did not work on glassfish?
2010/10/12 Shelli Orton shelli.or...@sjrb.ca
The quickstart was sent
-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
Sent: Tuesday, October 12, 2010 11:52 AM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
No dont think so.. Please provide a quickstart.. I have had property
models
working in 1.2, 1.3, 1.4 and 1.5 so must
server
doing some caching, but honestly, I'm grasping at straws.
Shelli
-Original Message-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
Sent: Tuesday, October 12, 2010 11:58 AM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
sorry.. Did'nt see
the tabs correctly. Eventually it's
where recordBs will be CRUDed.
Shelli
-Original Message-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
Sent: Tuesday, October 12, 2010 12:19 PM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
I can confirm the edit
@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
No dont think so.. Please provide a quickstart.. I have had property
models
working in 1.2, 1.3, 1.4 and 1.5 so must be error 42:)
2010/10/12 Shelli Orton shelli.or...@sjrb.ca
Hi,
Thanks for file. Your first email was missing
[mailto:nino.martinez.w...@gmail.com]
Sent: Tuesday, October 12, 2010 12:10 PM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
in your add button you call setSelectedRecordA(new RecordA()) but never
notify the model that a change has occured...
2010/10/12 nino martinez wael nino.martinez.w
, October 12, 2010 11:52 AM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
No dont think so.. Please provide a quickstart.. I have had property
models
working in 1.2, 1.3, 1.4 and 1.5 so must be error 42:)
2010/10/12 Shelli Orton shelli.or...@sjrb.ca
Hi
/frameworks,
but perhaps it's not correct in Wicket...
Shelli
-Original Message-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
Sent: Tuesday, October 12, 2010 3:00 PM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
Think I was going in the wrong direction
: Re: PropertyModel Not Refreshing
in your add button you call setSelectedRecordA(new RecordA()) but never
notify the model that a change has occured...
2010/10/12 nino martinez wael nino.martinez.w...@gmail.com
hmm getting a lot of errors on the services not implementing
serialization
to look at this and at least confirming that
there is an issue (and it's not just in my mind).
Shelli
-Original Message-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
Sent: Tuesday, October 12, 2010 3:26 PM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
at this and at least confirming that
there is an issue (and it's not just in my mind).
Shelli
-Original Message-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
Sent: Tuesday, October 12, 2010 3:26 PM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
going
I've done in other applications/frameworks,
but perhaps it's not correct in Wicket...
Shelli
-Original Message-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
Sent: Tuesday, October 12, 2010 3:00 PM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
in Wicket...
Shelli
-Original Message-
From: nino martinez wael [mailto:nino.martinez.w...@gmail.com]
Sent: Tuesday, October 12, 2010 3:00 PM
To: users@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
Think I was going in the wrong direction.. Looking
@wicket.apache.org
Subject: Re: PropertyModel Not Refreshing
you have posted an incomplete piece of code and somehow from that we
are supposed to guess what is not working? create a quickstart and
provide that.
-igor
On Thu, Oct 7, 2010 at 10:15 AM, Shelli Orton shelli.or...@sjrb.ca wrote:
Does nobody have any
=nodenode=2968688i=0]
Sent: Thursday, October 07, 2010 11:27 AM
To: [hidden email] http://user/SendEmail.jtp?type=nodenode=2968688i=1
Subject: Re: PropertyModel Not Refreshing
you have posted an incomplete piece of code and somehow from that we
are supposed to guess what is not working? create
Does nobody have any suggestions? If I can't get this fixed, I'm going
to have to write the app in another framework (possibly GWT) and I'd
really rather not have to do that.
Shelli
-Original Message-
From: Shelli Orton
Sent: Wednesday, October 06, 2010 3:52 PM
To:
you have posted an incomplete piece of code and somehow from that we
are supposed to guess what is not working? create a quickstart and
provide that.
-igor
On Thu, Oct 7, 2010 at 10:15 AM, Shelli Orton shelli.or...@sjrb.ca wrote:
Does nobody have any suggestions? If I can't get this fixed, I'm
Take a look at this, it may helps.
https://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html#LifecycleofaWicketApplication-ModelChanges
On Thu, Oct 7, 2010 at 2:15 PM, Shelli Orton [via Apache Wicket]
29 matches
Mail list logo