Hi all,
I just noticed that changing the message send order to an anchor modifies its’ behaviour : html anchor with: aString;callback: [doSomething]. -> click on the anchor executes the callback block html anchor callback:[doSomething];with:aString. -> click on the anchor does not executes the callback block. Is this a normal behaviour? I also noticed that instantiating a WAComponent in the same method that calls html render: on it makes the call method in this object fail. See (http://smalltalkhub.com/#!/~Alidra/Seaside_Strange_Call_Behavior) for an concrete example. BTW. I find the name call: quite confusing : you call a method, you pass control to an object. But maybe this is because I am new to Seaside.
Thank you Abdelghani |
Am 30.05.17 um 10:21 schrieb Alidra Abdelghani via Pharo-users:
Alidra, it is a well documented "weirdness" of Seaside that #with: always has to be the last send to an element. I forgot about the details... Joachim |
In reply to this post by Pharo Smalltalk Users mailing list
Hi Alidra,
Also, posting your questions on Seaside to the seaside mailinglist is a better idea ;)d cheers Johan
|
Thanks Joachim I did not knew about that one :) Still, it is too bad that we have this constraint, because it is very difficult to find the problem if you dont know about this rule already (especially for newbies). Hopefully, this is going to be fixed in the future. Ok, Perfect. Regards Abdelghani
|
On 30 May 2017 at 12:46, Alidra Abdelghani via Pharo-users <[hidden email]> wrote:
It sure looks like a good candidate for a framework-specific critic rule… |
Free forum by Nabble | Edit this page |