iterator is not handling TBODY properly ( TBODY has to be handled as TABLE)
Reported by Constantin Moisei | August 19th, 2009 @ 03:40 PM
This is the code that fails!
<table id="incentive_request_listing"><br/>
<thead><br/> <tr><br/> <th
class="text">Description</th><br/> <th
class="text">Requestor</th><br/> <th
class="text">Status</th><br/> </tr><br/>
</thead><br/> <tbody id="incentives_table"
control="iterator[property=incentives]"<br/>
on="r:calendarMiniData.request then hide or
r:calendarMiniData.response[incentives.length>0] then render and
l:incentive_style"><br/> <tr
class="\#{cssClass}"><br/> <td
class="text">\#{description}</td><br/> <td
class="text">\#{requestedBy}</td><br/> <td
class="text">\#{status}</td><br/>
</tr><br/> </tbody><br/>
</table><br/> The code below (part of
iterator.js) fixes the issue.
http://pastie.org/589134
A second rendering issue is addressed via the
l:incentive_style
$MQL("l:incentive_style", function(msg) {
jQuery("#incentives_table").css("display","");<br/>
<%--<br/> appcelerator will set display:block on
the<br/> tbody and it will look odd,<br/> removing the
display will fix that<br/> --%> });
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »