This is finally fixed!

On 10/23/06, Felix Sun <[EMAIL PROTECTED]> wrote:

Forgive me for doing the trivial thing. got a bug for tapestry 5, Maybe
the
first that be reported.  :).



The Template is :
-------------------------------------------------
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
    <t:comp type="Loop" source="prop:1..20" index="prop:index">
    <p> This is the My First Tapestry Page : ${welcome} ${index}</p>
    </t:comp>
</html>

The Exception stack is:
------------------------------------------------
org.apache.tapestry.internal.TapestryException Message:Could not
convert 'welcome}
${index' into a component parameter binding: Class
org.felixthoughts.tasklog.pages.Start does not contain a property named
'welcome} ${index' (within property path 'welcome} ${index').

The problem should be at the pattern :    "\\$\\{\\s*(.*)\\s*\\}"

By the way, Does the expansion planning to be support:

list[0]
map["key"]
object.mapInListProperty[0]["key"]
...etc
maybe this is the old ognl 's task. :)

Felix Sun.




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

Reply via email to