Ticket #637 (closed defect: wontfix)

Opened 18 months ago

Last modified 16 months ago

ClientSide in TCallback not working as expected.

Reported by: wlatanowicz Owned by: xue
Priority: urgent Milestone: 3.1.1
Component: Prado Framework v3 Version: 3.1
Severity: minor Keywords:
Cc:

Description

ClientSide? in TCallback in not working. Simple test is given here: http://www.pradosoft.com/forum/index.php/topic,7792.msg35413.html#msg35413

Change History

Changed 18 months ago by xue

  • milestone set to 3.1.0

Changed 17 months ago by xue

  • milestone changed from 3.1.0 to 3.1.1

Changed 16 months ago by xue

  • status changed from new to closed
  • resolution set to wontfix

Here's the quote from Stever: So, for #637: After digging though how Active Controls, their adapters, and their client scripts work, I could not find the issue. And, in fact, there is none. Its bogus. Looking at the forum post, they have one issue I had to fix just to test: they use $(...).innerText="adsf" instead of $(...).update("adsf") which doesn't work in Firefox and which is why Prototype added in the update() function.

The real problem is that they are referencing properties before they are even set. So in their example, they need to move this line:

var Callback = <%= $this->Callback->ActiveControl?->Javascript %>;

to the bottom of the template or use <%# instead of <%= so that it happens in databinding which happens also at a later time. I'm sure you can explain it better than I, so I didn't bother adding to the post or ticket.

Note: See TracTickets for help on using tickets.