Do you *need* it to load?
On Tue, May 20, 2008 at 11:45 AM, msmall <[EMAIL PROTECTED]> wrote:
>
> And thanks for the help.
>
>
> jwcarman wrote:
>>
>> If it doesn't need the object (nothing's using it), then why would it
>> call load()?
>>
>> On Tue, May 20, 2008 at 11:24 AM, msmall <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> No, I'm just wiring up the panel so it does not have any subcomponents
>>> yet.
>>> Regardless, I'm confused as to why Panel, as a Component, would not
>>> handle
>>> this on its own.
>>>
>>>
>>> jwcarman wrote:
>>>>
>>>> Does the panel ever use its model? Do you have any subcomponents that
>>>> try to access their parent's (the panel's model)?
>>>>
>>>> On Tue, May 20, 2008 at 11:19 AM, msmall <[EMAIL PROTECTED]>
>>>> wrote:
>>>>>
>>>>> I have a panel that has a LoadableDetachableModel as its model (i.e.
>>>>> I'm
>>>>> calling this.setModel(new LoadableDetachableModel() { ... }) in the
>>>>> constructor of my panel, but this load method of the model is never
>>>>> invoked.
>>>>> If I use that model in another component, such as a Label, it works
>>>>> correctly. Do panels not support detachable models?
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/Panel%27s-LoadableDetachableModel-not-being-loaded-tp17343003p17343003.html
>>>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Panel%27s-LoadableDetachableModel-not-being-loaded-tp17343003p17343131.html
>>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>
> --
> View this message in context:
> http://www.nabble.com/Panel%27s-LoadableDetachableModel-not-being-loaded-tp17343003p17343660.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]