You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Lance (JIRA)" <ji...@apache.org> on 2013/03/25 11:09:18 UTC

[jira] [Created] (TAP5-2099) Update values bound to literal: or symbol: from a mixin

Lance created TAP5-2099:
---------------------------

             Summary: Update values bound to literal: or symbol: from a mixin
                 Key: TAP5-2099
                 URL: https://issues.apache.org/jira/browse/TAP5-2099
             Project: Tapestry 5
          Issue Type: Improvement
    Affects Versions: 5.3.6
            Reporter: Lance


Currently, I cannot update a component value that is initialized with a literal: or symbol: binding. If I try to @BindParameter the component parameter and set it's value, I get a "Binding %s is read-only" exception (originating from AbstractBinding).

I propose that literal and symbol bindings are sourced from a PerThreadValue that can be updated by a mixin.

My original need for this was to create a "SinglePage" mixin for the Grid component which would set rowsPerPage parameter to Integer.MAX_VALUE. I can't currently do this because by default, the parameter is a symbol: binding.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira