Hi,
you should brush up your model usage:
final MyBean tst = poItemsListModel.getObject();
Your pulling the model object from the model *once* only. The reference
'tst' never gets updated, when the model changes.
I've attached an alternative solution below. I'd recommend not changing
mo
Hello,
=Here is the RefreshingView link item. When clicking on this link, the form
should be filled with the values of this RefreshingView line.
When click on the link, I set the property itemmodel with the line model.
The itemmodel is then used by the LoadableDetacheableModel, to get the
values f
Hi,
>Or if using getModelObject(), all values are null, because, the backing
>model of the form is null.
how does your LDM load its model object?
Show us some code or better create a quickstart so someone can take a
look at it.
Sven
On 16.12.2016 16:24, ganea iulia wrote:
Hello,
I have a
Hello,
I have a list of items in a Refreshing View.
When I click on a link inside the Refreshing View, a form in the same page
should get populated with the values from the line.
I have managed to do this, by having inside the Form a
LoadableDetacheableModel and then use this model as backing mode
Our backend threw a null, which gave problems in other places..SO this
is not a wicket problem :)
On Wed, Mar 16, 2016 at 9:18 AM, nino martinez wael
wrote:
> Now this is really strange! I can confirm that load are being called.
> I will digg further, looks like it could be some kind of injection
Now this is really strange! I can confirm that load are being called.
I will digg further, looks like it could be some kind of injection
issue.. Which probably are related to the other problem I have with
the modal window as it only occurs when the user have two tabs open..
On Wed, Mar 16, 2016 at
Hi Sven
I agree. But in this case it seems that load are never being called
because state=attached.. :(
I will check whether detached are ever being called.
On Wed, Mar 16, 2016 at 8:52 AM, Sven Meier wrote:
> Hi,
>
> load() may return null, nothing (inherently) wrong with that.
>
> Sven
>
> On
Hi,
load() may return null, nothing (inherently) wrong with that.
Sven
On 16.03.2016 08:48, nino martinez wael wrote:
Hi
Any ideas on how a loadableDetachableModel can become in attached
state but the refered object are null? Seems to be out of sync?
--
Hi
Any ideas on how a loadableDetachableModel can become in attached
state but the refered object are null? Seems to be out of sync?
--
Best regards / Med venlig hilsen
Nino Martinez
-
To unsubscribe, e-mail: users-unsubscr...@
on Solutions Engineering, LLC
>
> | russell.morri...@missionse.com | www.missionse.com
> 304 West Route 38, Moorestown, NJ 08057
>
> -Original Message-
> From: James Carman [mailto:jcar...@carmanconsulting.com]
> Sent: Monday, April 05, 2010 10:16 PM
> To: users@wicket.a
sulting.com]
Sent: Monday, April 05, 2010 10:16 PM
To: users@wicket.apache.org
Subject: Re: LoadableDetachable Models
It doesn't hold onto the persistent object. Here's an example usage:
IModel personModel = ...; // Some LDM here!
ProxyModelManager mgr = new ProxyModelManager();
add(new T
om
> 304 West Route 38, Moorestown, NJ 08057
>
>
> -Original Message-
> From: James Carman [mailto:jcar...@carmanconsulting.com]
> Sent: Monday, April 05, 2010 9:05 PM
> To: users@wicket.apache.org
> Subject: Re: LoadableDetachable Models
>
> You can use what we call a &
arman [mailto:jcar...@carmanconsulting.com]
Sent: Monday, April 05, 2010 9:05 PM
To: users@wicket.apache.org
Subject: Re: LoadableDetachable Models
You can use what we call a "shadow model" or a "proxy model."
https://wicketopia.svn.sourceforge.net/svnroot/wicketopia/trunk/wic
the same
> request, so that the information is current.
>
> HTH,
>
> RUSSELL E. MORRISEY
> Programmer Analyst Professional
> Mission Solutions Engineering, LLC
>
> | russell.morri...@missionse.com | www.missionse.com
> 304 West Route 38, Moorestown, NJ 08057
>
> --
russell.morri...@missionse.com | www.missionse.com
304 West Route 38, Moorestown, NJ 08057
-Original Message-
From: Jeffrey Schneller [mailto:jeffrey.schnel...@envisa.com]
Sent: Monday, April 05, 2010 3:26 PM
To: users@wicket.apache.org
Subject: LoadableDetachable Models
I am having issues with LDM, Hi
I am having issues with LDM, Hibernate lazy loaded lists, and ajax.
I create a CompoundPropertyModel of a LDM and set that as the default
model for the page.
I then pass the model to the form and to a custom component in the form.
The custom component is a list editor. Basically a ListView w
Hi,
> I was under the assumption that wicket calls detach on LoadableDeatchable
> automatically on each request.
>
> Is this not true?
One of your components must have your model as default model. Either
setModel(myModel);
Otherwise you have to do the detach on your own:
public void onDetach
If you use it as the default model it will, but otherwise, you have to
override onDetach() and call detach() on all your non-default models.
On Thu, Jan 7, 2010 at 1:14 AM, Douglas Ferguson
wrote:
> I was under the assumption that wicket calls detach on LoadableDeatchable
> automatically on each
I was under the assumption that wicket calls detach on LoadableDeatchable
automatically on each request.
Is this not true?
D/
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-
19 matches
Mail list logo