You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Dan Adams (JIRA)" <ji...@apache.org> on 2010/12/18 23:04:00 UTC
[jira] Created: (TAP5-1378) Allow Delegate component to be used for
creating in-template components
Allow Delegate component to be used for creating in-template components
-----------------------------------------------------------------------
Key: TAP5-1378
URL: https://issues.apache.org/jira/browse/TAP5-1378
Project: Tapestry 5
Issue Type: Improvement
Components: tapestry-core
Affects Versions: 5.2.4
Reporter: Dan Adams
Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Dan Adams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973261#action_12973261 ]
Dan Adams commented on TAP5-1378:
---------------------------------
What would the advantages of a local macro be? Are there things you could do with lifecycles or mixins or something that you can't do here that would be useful? I really like the idea of this being at the component level and not having to extend the template spec.
btw, I'm going to investigate if there is a way to support generics or extended prop expressions beyond what var: supports for this. Although, I've been using an implementation of this for months and months and never needed it. You can always make it a component if you really need to, but the simple support using render variables is really nice to have as an option.
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Dan Adams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973261#action_12973261 ]
Dan Adams commented on TAP5-1378:
---------------------------------
What would the advantages of a local macro be? Are there things you could do with lifecycles or mixins or something that you can't do here that would be useful? I really like the idea of this being at the component level and not having to extend the template spec.
btw, I'm going to investigate if there is a way to support generics or extended prop expressions beyond what var: supports for this. Although, I've been using an implementation of this for months and months and never needed it. You can always make it a component if you really need to, but the simple support using render variables is really nice to have as an option.
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972887#action_12972887 ]
Howard M. Lewis Ship commented on TAP5-1378:
--------------------------------------------
I wonder if this could not instead by accomplished using a kind of "local macro" construct, with Tapestry template parser support.
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Updated] (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko updated TAP5-1378:
---------------------------------
Fix Version/s: (was: 5.2.5)
5.3.0
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
> Fix For: 5.3.0
>
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (TAP5-1378) Allow Delegate component to be used for
creating in-template components
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko closed TAP5-1378.
--------------------------------
Resolution: Fixed
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
> Fix For: 5.3.0
>
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Reopened] (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko reopened TAP5-1378:
----------------------------------
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
> Fix For: 5.2.5
>
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Assigned: (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Dan Adams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Adams reassigned TAP5-1378:
-------------------------------
Assignee: Dan Adams
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Dan Adams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Adams reassigned TAP5-1378:
-------------------------------
Assignee: Dan Adams
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974062#action_12974062 ]
Hudson commented on TAP5-1378:
------------------------------
Integrated in tapestry-5.2-freestyle #237 (See [https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/237/])
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
> Fix For: 5.2.5
>
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Reopened] (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko reopened TAP5-1378:
----------------------------------
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
> Fix For: 5.2.5
>
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (TAP5-1378) Allow Delegate component to be used for
creating in-template components
Posted by "Dan Adams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Adams closed TAP5-1378.
---------------------------
Resolution: Fixed
Fix Version/s: 5.2.5
Implemented with support for render variables. I thought about putting it support for autobinding to containing component parameters based on informal parameter name but that could be confusing and it can be put in later.
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
> Fix For: 5.2.5
>
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] [Updated] (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko updated TAP5-1378:
---------------------------------
Fix Version/s: (was: 5.2.5)
5.3.0
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
> Fix For: 5.3.0
>
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (TAP5-1378) Allow Delegate component to be used for
creating in-template components
Posted by "Igor Drobiazko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko closed TAP5-1378.
--------------------------------
Resolution: Fixed
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
> Fix For: 5.3.0
>
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972887#action_12972887 ]
Howard M. Lewis Ship commented on TAP5-1378:
--------------------------------------------
I wonder if this could not instead by accomplished using a kind of "local macro" construct, with Tapestry template parser support.
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (TAP5-1378) Allow Delegate component to be used
for creating in-template components
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974062#action_12974062 ]
Hudson commented on TAP5-1378:
------------------------------
Integrated in tapestry-5.2-freestyle #237 (See [https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/237/])
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
> Fix For: 5.2.5
>
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (TAP5-1378) Allow Delegate component to be used for
creating in-template components
Posted by "Dan Adams (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/TAP5-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Adams closed TAP5-1378.
---------------------------
Resolution: Fixed
Fix Version/s: 5.2.5
Implemented with support for render variables. I thought about putting it support for autobinding to containing component parameters based on informal parameter name but that could be confusing and it can be put in later.
> Allow Delegate component to be used for creating in-template components
> -----------------------------------------------------------------------
>
> Key: TAP5-1378
> URL: https://issues.apache.org/jira/browse/TAP5-1378
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-core
> Affects Versions: 5.2.4
> Reporter: Dan Adams
> Assignee: Dan Adams
> Fix For: 5.2.5
>
>
> Allow the delegate component to accept informal parameters and pass those to the block being rendered as render variables. This allows creating a component-with-a-component extremely easily using a block. I've got an implementation of this that we've used successfully for a while that I can contribute or use as as base.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.