You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Nick Westgate (JIRA)" <de...@tapestry.apache.org> on 2007/09/17 06:52:32 UTC

[jira] Created: (TAPESTRY-1752) Expansions used in bound parameters are never re-evaluated

Expansions used in bound parameters are never re-evaluated
----------------------------------------------------------

                 Key: TAPESTRY-1752
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1752
             Project: Tapestry
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.0.5
            Reporter: Nick Westgate


Expansions used in formal component parameter bindings will be evaluated once and only once.

This gotcha has appeared a couple of times in the user list now.
(It also affected my TAPESTRY-1642 example.)

Here's one example from the user list:
    <t:outputraw value = "${CurrentUser.about}"/>

This one's easy to fix, but either the documentation should explicitly warn about the dangers, or it should be supported.

Expansions cause bound parameters of type prop to be literals.
Literal bindings are cached - and disabling that caching is not possible.
Cached parameters are never never re-evaluated.

Cheers,
Nick.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAPESTRY-1752) Expansions used in bound parameters are never re-evaluated

Posted by "Nick Westgate (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Westgate closed TAPESTRY-1752.
-----------------------------------

       Resolution: Duplicate
    Fix Version/s: 5.0.6

Duplicate of TAPESTRY-1667.

> Expansions used in bound parameters are never re-evaluated
> ----------------------------------------------------------
>
>                 Key: TAPESTRY-1752
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1752
>             Project: Tapestry
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.0.5
>            Reporter: Nick Westgate
>             Fix For: 5.0.6
>
>
> Expansions used in formal component parameter bindings will be evaluated once and only once.
> This gotcha has appeared a couple of times in the user list now.
> (It also affected my TAPESTRY-1642 example.)
> Here's one example from the user list:
>     <t:outputraw value = "${CurrentUser.about}"/>
> This one's easy to fix, but either the documentation should explicitly warn about the dangers, or it should be supported.
> Expansions cause bound parameters of type prop to be literals.
> Literal bindings are cached - and disabling that caching is not possible.
> Cached parameters are never never re-evaluated.
> Cheers,
> Nick.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org