Re: Page#onInitialize is final in 1.5RC2 ?

2011-03-06 Thread Igor Vaynberg
better to use onconfigure()...just make sure your code only runs once..

if (get("foo")==null) {
   add(new MySomething("foo"));
}

-igor

On Sun, Mar 6, 2011 at 4:14 PM, Joe Fawzy  wrote:
> if Page#onInitialize will remain final can i use onMarkupAttached
> instead for the same purpose?
> Thanks
> Joe
>
> On Mon, Mar 7, 2011 at 12:40 AM, Joe Fawzy  wrote:
>
>> The jira issue said it has been fixed since RC1 and as i can see , it is
>> final in RC2
>> does that men that Page#onInitialize will remain final?
>> thanks
>> Joe
>>
>>
>> On Sat, Mar 5, 2011 at 11:06 AM, Martin Grigorov wrote:
>>
>>> https://issues.apache.org/jira/browse/WICKET-3218
>>> There is a thread in the mailing list. Search in Nabble.
>>>
>>> On Sat, Mar 5, 2011 at 7:00 AM, Joe Fawzy  wrote:
>>>
>>> > Hi
>>> > Page#onInitialize is final in 1.5RC2
>>> > i think this method ment to be overridden?
>>> > am i missing something?
>>> > Thanks
>>> >
>>>
>>
>>
>

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Page#onInitialize is final in 1.5RC2 ?

2011-03-06 Thread Joe Fawzy
if Page#onInitialize will remain final can i use onMarkupAttached
instead for the same purpose?
Thanks
Joe

On Mon, Mar 7, 2011 at 12:40 AM, Joe Fawzy  wrote:

> The jira issue said it has been fixed since RC1 and as i can see , it is
> final in RC2
> does that men that Page#onInitialize will remain final?
> thanks
> Joe
>
>
> On Sat, Mar 5, 2011 at 11:06 AM, Martin Grigorov wrote:
>
>> https://issues.apache.org/jira/browse/WICKET-3218
>> There is a thread in the mailing list. Search in Nabble.
>>
>> On Sat, Mar 5, 2011 at 7:00 AM, Joe Fawzy  wrote:
>>
>> > Hi
>> > Page#onInitialize is final in 1.5RC2
>> > i think this method ment to be overridden?
>> > am i missing something?
>> > Thanks
>> >
>>
>
>


Re: Page#onInitialize is final in 1.5RC2 ?

2011-03-06 Thread Joe Fawzy
The jira issue said it has been fixed since RC1 and as i can see , it is
final in RC2
does that men that Page#onInitialize will remain final?
thanks
Joe

On Sat, Mar 5, 2011 at 11:06 AM, Martin Grigorov wrote:

> https://issues.apache.org/jira/browse/WICKET-3218
> There is a thread in the mailing list. Search in Nabble.
>
> On Sat, Mar 5, 2011 at 7:00 AM, Joe Fawzy  wrote:
>
> > Hi
> > Page#onInitialize is final in 1.5RC2
> > i think this method ment to be overridden?
> > am i missing something?
> > Thanks
> >
>


Re: Page#onInitialize is final in 1.5RC2 ?

2011-03-05 Thread Martin Grigorov
https://issues.apache.org/jira/browse/WICKET-3218
There is a thread in the mailing list. Search in Nabble.

On Sat, Mar 5, 2011 at 7:00 AM, Joe Fawzy  wrote:

> Hi
> Page#onInitialize is final in 1.5RC2
> i think this method ment to be overridden?
> am i missing something?
> Thanks
>


Page#onInitialize is final in 1.5RC2 ?

2011-03-04 Thread Joe Fawzy
Hi
Page#onInitialize is final in 1.5RC2
i think this method ment to be overridden?
am i missing something?
Thanks