You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/08/08 16:27:38 UTC
[jira] Resolved: (TAPESTRY-331) Simplified insert binding template syntax
[ http://issues.apache.org/jira/browse/TAPESTRY-331?page=all ]
Howard M. Lewis Ship resolved TAPESTRY-331:
-------------------------------------------
Fix Version: unspecified
(was: 4.0)
Resolution: Won't Fix
This has proven to be another feature, like default binding prefixes, not wanted by the majority of users.
> Simplified insert binding template syntax
> -----------------------------------------
>
> Key: TAPESTRY-331
> URL: http://issues.apache.org/jira/browse/TAPESTRY-331
> Project: Tapestry
> Type: New Feature
> Components: Framework
> Versions: 4.0
> Reporter: Howard M. Lewis Ship
> Priority: Minor
> Fix For: unspecified
>
> It would be desirable to support a simplified syntax for obtaining data via bindings and inserting it. A proposal has been to adopt ant-like syntax ("${...}") and interpret the expression within the braces as a binding reference. This would eliminate the need for many Insert components, i.e.:
> <h1>${thread.title}</h1>
> rather than:
> <h1><span jwcid="@Insert" value="thread.title"/></h1>
> Or:
> ${message:prompt}
> rather than:
> <span key="prompt"/>
> This kind of substitution is less invisible, but generally less intrusive, than creating a new component.
> Further, the use of the Any component could be reduced via support for:
> <img src="${imagePath}"/>
> rather than:
> <img jwcid="@Any" src="ognl:imagePath"/>
> Some questions occur; are the following legal?
> <${element}> ... </${element}>
> <img jwcid="@Image" src="${asset:foo}"/>
> <div ${attribute}="${value}"/>
> A final note: these bindings should be treated as we treat informal parameters today; this includes automatically expanding IAssets into their corresponding URLs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org