click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Schellink <sab...@gmail.com>
Subject Re: This control's parent is already set to a Page
Date Mon, 29 Sep 2008 20:08:08 GMT
Thanks Ricardo, patch applied. :)


Ricardo Lecheta wrote:
> Hi Bob,
>
> the patch is here
> http://www.avoka.com:8080/jira/browse/CLK-449
>
> thanks
> Ricardo
>
> On Mon, Sep 29, 2008 at 3:36 PM, Bob Schellink <sabob1@gmail.com> wrote:
>
>   
>> Hi Ricardo,
>>
>> Thats good to hear.
>>
>> I am going to cut a new release (RC2) in the next hour or so because of a
>> serious deployment bug.
>>
>> If you can open a JIRA and upload the patch I will include it for RC2.
>> (will also review before deployment)
>>
>> kind regards
>>
>> bob
>>
>>
>> Ricardo Lecheta wrote:
>>
>>     
>>> Hi Bob,
>>>
>>> it worked.
>>>
>>> On Mon, Sep 29, 2008 at 1:19 PM, Bob Schellink <sabob1@gmail.com> wrote:
>>>
>>>
>>>
>>>       
>>>> Ricardo Lecheta wrote:
>>>>
>>>>
>>>>
>>>>         
>>>>> Noops, if you remove the Button from the page, it will be added to
>>>>> Form...
>>>>> and it will be processed, right?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>           
>>>> Ah yes, it should.
>>>>
>>>> Perhaps you could patch Page and AbstractContainer and see if it works
>>>> for
>>>> you. In other words
>>>> create a method Page#removeControl which reverses Page#addControl logic.
>>>> And in AbstractContainer#insert
>>>> instead of throwing exception, invoke Page#removeControl.
>>>>
>>>> Will that work in your case?
>>>>
>>>> regards
>>>>
>>>> bob
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>         
>>>
>>>
>>>       
>>     
>
>
>   


Mime
View raw message