Heh.  Mondays.  Thank you!

From: [email protected] 
[mailto:[email protected]] On Behalf Of David Lee
Sent: Monday, August 03, 2015 2:27 PM
To: MarkLogic Developer Discussion <[email protected]>
Subject: Re: [MarkLogic Dev General] Return Order - what returns first

Use "," not "|"

return ( <div> ...</div> , <table> ... </table> )


-----------------------------------------------------------------------------
David Lee
Lead Engineer
MarkLogic Corporation
[email protected]<mailto:[email protected]>
Phone: +1 812-482-5224
Cell:  +1 812-630-7622
www.marklogic.com<http://www.marklogic.com/>

From: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] On Behalf Of Kari Cowan
Sent: Monday, August 03, 2015 4:56 PM
To: [email protected]<mailto:[email protected]>
Subject: [MarkLogic Dev General] Return Order - what returns first

This is odd.  I have a return that should first return some markup for 3 lists, 
then it writes a table.

But it seems to alternate intermittently as to what writes first - sometimes it 
writes the table first.

Any obvious reasons that would happen?

Here's a snippet to put it in context... (pretty basic)


return (
(
                <div>
                <div><label class="filterLabel">Audience: <select name="" 
aria-controls="" class="" 
style="width:135px;">{$audience_list}</select></label></div>
                <div><label class="filterLabel">Practices: <select name="" 
aria-controls="" class="" 
style="width:135px;">{$practices_list}</select></label></div>
                <div><label class="filterLabel">Distribution: <select name="" 
aria-controls="" class="" 
style="width:135px;">{$distribution_list}</select></label></div>
                </div>
)
|<table id="CalendarTable" cellspacing="0" cellpadding="0" border="0">
<thead>
<tr>
                <th class="issuedate">Issue Date</th>
                <th class="ctitle">Content Title</th>
                <th class="cpub">Publication</th>
                <th class="cdesc">Description</th>
                <th class="closedate">Space Close</th>
                <th class="lastCell matduedate"> Materials Due</th>
                <th class="spaceclose">Audience</th>
                <th class="spaceclose">Practice Areas</th>
</tr>
</thead>
<tbody>
{$output}
</tbody>
</table>
)
________________________________
Learn more about ALM, visit http://www.alm.com . - ALM, an Integrated Media 
Company, is a leading provider of news and information for the legal and 
commercial real estate markets. ALM's market-leading brands include The 
American Lawyer, Corporate Counsel, GlobeSt.com, Insight Conferences, Law.com, 
Law Journal Press, LegalTech, The National Law Journal and Real Estate Forum.



_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to