You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Brian K. Wallace (JIRA)" <ta...@jakarta.apache.org> on 2006/04/25 23:39:09 UTC
[jira] Updated: (TAPESTRY-856) lazy initialization of abstract
properties
[ http://issues.apache.org/jira/browse/TAPESTRY-856?page=all ]
Brian K. Wallace updated TAPESTRY-856:
--------------------------------------
Component: Framework
> lazy initialization of abstract properties
> ------------------------------------------
>
> Key: TAPESTRY-856
> URL: http://issues.apache.org/jira/browse/TAPESTRY-856
> Project: Tapestry
> Type: Improvement
> Components: Framework
> Versions: 4.1
> Reporter: Ron Piterman
>
> when using parametr bindings, one can use ognl, (which is slowmotion), to navigate through an object graph.
> A (fast) alterntive is use an abstract property with an initializer method:
> component A : {
> @InitialValue("getXFromDatabase()")
> public abstract X getX();
> }
> now if X is dependant on the bindings of component A, this will not work, since X property will often be initialized before the bindings are available - or sometimes, also when not posssible to get, because, say, component A is inside an If which does not allow it to render, if unable to... (say x ID is not given...)
> please add a lazy initialization option for abstract properties to allow this be treated more smoothly...
--
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