Re: PropertyModel not refreshing

2011-10-06 Thread Zeldor
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 u

Re: PropertyModel not refreshing

2011-10-06 Thread Sven Meier
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:

Re: PropertyModel not refreshing

2011-10-06 Thread Zeldor
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 Nabbl

Re: PropertyModel not refreshing

2011-10-06 Thread Sven Meier
Hi, you're probably holding on an outdated user object, use this instead: add(new Label("houses_amount", new AbstractReadOnlyModel() { public String getObject() { return MySession.get().getUser().getVillage(); } })); Sven On 10/06/2011 10:17 AM, Zeldor w

Re: PropertyModel Not Refreshing

2010-10-12 Thread nino martinez wael
ncelling. > > > > Should I be setting the selectedRecordA to null on cancel? It makes > > sense to me and it's what I've done in other applications/frameworks, > > but perhaps it's not correct in Wicket... > > > > Shelli > > > > -

Re: PropertyModel Not Refreshing

2010-10-12 Thread Igor Vaynberg
an > fixed >> >> quickstart (working on his system).. That did not work on > glassfish? >> >> >> >> >> >> 2010/10/12 Shelli Orton >> >> >> >>> The quickstart was sent to the list this morning at 10:04 MST. > Does &g

Re: PropertyModel Not Refreshing

2010-10-12 Thread nino martinez wael
gt; Thanks for taking the time 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 &

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
r taking the time 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: Pro

Re: PropertyModel Not Refreshing

2010-10-12 Thread nino martinez wael
gt; >> >> 2010/10/12 Shelli Orton >> >> >> >>> The quickstart was sent to the list this morning at 10:04 MST. Does >> it >> >>> need to be resent? >> >>> >> >>> Shelli >> >>> >> >>&

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
er 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 Think I was going in

Re: PropertyModel Not Refreshing

2010-10-12 Thread nino martinez wael
yModel) > automatically checked if the model object changed. How do I tell the > model it has? > > Shelli > > -Original Message- > From: nino martinez wael [mailto:nino.martinez.w...@gmail.com] > Sent: Tuesday, October 12, 2010 12:10 PM > To: users@wicket.apache.org > Subje

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
[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 > hmm getting a

Re: PropertyModel Not Refreshing

2010-10-12 Thread nino martinez wael
no 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 >&

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
I was creating 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 Refreshin

Re: PropertyModel Not Refreshing

2010-10-12 Thread nino martinez wael
t it might be the app 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 >

Re: PropertyModel Not Refreshing

2010-10-12 Thread nino martinez wael
> -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 qui

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
day, October 12, 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 > The quickstart wa

Re: PropertyModel Not Refreshing

2010-10-12 Thread nino martinez wael
; -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 propert

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
ve anything to do 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, 20

Re: PropertyModel Not Refreshing

2010-10-12 Thread nino martinez wael
to do 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, 20

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
etName(); } public String getIdValue(RecordA recordA, int index) { return recordA.getName(); } } class RecordBRenderer implements IChoiceRenderer { private static final long serialVersionUID = 1L; public Object getDisplayValue(RecordB

Re: PropertyModel Not Refreshing

2010-10-12 Thread Igor Vaynberg
etName(); } public String getIdValue(RecordA recordA, int index) { return recordA.getName(); } } class RecordBRenderer implements IChoiceRenderer { private static final long serialVersionUID = 1L; public Object getDisplayValue(RecordB recordB) {

RE: PropertyModel Not Refreshing

2010-10-12 Thread Shelli Orton
a record to edit" is displayed).  Must close/open session to > reset. > > As always, all help is greatly appreciated as I am stumped. > > Thanks, > Shelli > > -Original Message- > From: jcgarciam [mailto:jcgarc...@gmail.com] > Sent: Friday, October 08, 2010

Re: PropertyModel Not Refreshing

2010-10-12 Thread Igor Vaynberg
t" is displayed).  Must close/open session to > reset. > > As always, all help is greatly appreciated as I am stumped. > > Thanks, > Shelli > > -Original Message- > From: jcgarciam [mailto:jcgarc...@gmail.com] > Sent: Friday, October 08, 2010 1:41 PM > To: user

Re: PropertyModel Not Refreshing

2010-10-08 Thread jcgarciam
tell me what I'm doing > wrong? > > All help is greatly appreciated, > > Shelli > > > -Original Message- > From: Igor Vaynberg [mailto:[hidden > email]<http://user/SendEmail.jtp?type=node&node=2968688&i=0>] > > Sent: Thursday, October 07, 2010 11:

RE: PropertyModel Not Refreshing

2010-10-08 Thread Shelli Orton
, 2010 11:27 AM To: users@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 wrote: > Does nobo

Re: PropertyModel Not Refreshing

2010-10-07 Thread jcgarciam
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] < ml-node+2967225-1123928259-65...@n4.nabble.com > wrote: > Does nobody have any

Re: PropertyModel Not Refreshing

2010-10-07 Thread Igor Vaynberg
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 wrote: > Does nobody have any suggestions?  If I can't get this fixed, I'm going > to have to

RE: PropertyModel Not Refreshing

2010-10-07 Thread Shelli Orton
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: users@wicket.apache.o