Thellmann / callimachus

Automatically exported from code.google.com/p/callimachus
Other
0 stars 0 forks source link

{} syntax infers with sorted views #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a sorted view in accordance with 
http://code.google.com/p/callimachus/wiki/WebPatterns#Sorted_View
2. This syntax will create a list with correct sorting:
[[
<ul class="sorted">
           <li rel="sheoTodo:visit" resource="?visit"><span property="sheoTodo:dateAdmitted" class="view asc"/> - <span property="sheoTodo:treatedAt"/></li>
</ul>
]]
3. However, this syntax will cause doubling of the <li> elements with the 
sheoTodo:treatedAt properties first and the sorted sheoTodo:dateAdmitted 
properties following:
[[
<ul class="sorted">
           <li rel="sheoTodo:visit" resource="?visit"><span property="sheoTodo:dateAdmitted" class="view asc"/> - {sheoTodo:treatedAt}</li>
</ul>
]]

What is the expected output? What do you see instead?

The syntax provided in #2 and #3 should provide identical output.

Original issue reported on code.google.com by da...@3roundstones.com on 3 May 2012 at 7:32

GoogleCodeExporter commented 9 years ago
Minor update: The output of #2 and #3 should be "visually identical" not 
"syntactically or semantically identical".

Original comment by da...@3roundstones.com on 3 May 2012 at 7:37