You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Henri Dupre (JIRA)" <ta...@jakarta.apache.org> on 2006/06/17 08:29:29 UTC

[jira] Created: (TAPESTRY-989) Improve @PropertySelection

Improve @PropertySelection
--------------------------

         Key: TAPESTRY-989
         URL: http://issues.apache.org/jira/browse/TAPESTRY-989
     Project: Tapestry
        Type: Improvement

  Components: Framework  
    Versions: 4.1    
    Reporter: Henri Dupre


It would be nice to have a better version of PropertySelection with the following features:
- an API closer to the "@For" component to replace the IPropertySelectionModel. The way IPropertySelectionModel is structured is limitative. It is difficult to obtain any value from outside the component such as data objects or even a squeezer. Also 	IPrimaryKeyConverter could be used here too;
- render the component either with a <select> or with radio buttons;
- have simpler arguments: "source" like in @For, "labelEvaluator" for evaluating the label (same idea as column labels in @Table).

I could probably provide an implementation and tests for such a component.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Resolved: (TAPESTRY-989) Improve @PropertySelection

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

Jesse Kuhnert resolved TAPESTRY-989.
------------------------------------

    Resolution: Fixed
      Assignee: Jesse Kuhnert

I ~think~ it's pretty flexible these days...The addition of allowing custom option rendering impl's has probably allowed for rendering of any / all possible valid html options for a select list. 

A parameter name change is going to be very tricky here, and the IPropertySelectionModel obviously does a lot more than just convert into/out of a single value...I'm curious as to what you had in mind - but pending anything more concrete appearing on this ticket am closing it for now. (though feel free to re-open if you had more ideas to share)

> Improve @PropertySelection
> --------------------------
>
>                 Key: TAPESTRY-989
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-989
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 4.1
>            Reporter: Henri Dupre
>         Assigned To: Jesse Kuhnert
>             Fix For: 4.1.2
>
>
> It would be nice to have a better version of PropertySelection with the following features:
> - an API closer to the "@For" component to replace the IPropertySelectionModel. The way IPropertySelectionModel is structured is limitative. It is difficult to obtain any value from outside the component such as data objects or even a squeezer. Also 	IPrimaryKeyConverter could be used here too;
> - render the component either with a <select> or with radio buttons;
> - have simpler arguments: "source" like in @For, "labelEvaluator" for evaluating the label (same idea as column labels in @Table).
> I could probably provide an implementation and tests for such a component.

-- 
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] Updated: (TAPESTRY-989) Improve @PropertySelection

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-989?page=all ]

Jesse Kuhnert updated TAPESTRY-989:
-----------------------------------

    Fix Version/s: 4.1.2

> Improve @PropertySelection
> --------------------------
>
>                 Key: TAPESTRY-989
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-989
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 4.1
>            Reporter: Henri Dupre
>             Fix For: 4.1.2
>
>
> It would be nice to have a better version of PropertySelection with the following features:
> - an API closer to the "@For" component to replace the IPropertySelectionModel. The way IPropertySelectionModel is structured is limitative. It is difficult to obtain any value from outside the component such as data objects or even a squeezer. Also 	IPrimaryKeyConverter could be used here too;
> - render the component either with a <select> or with radio buttons;
> - have simpler arguments: "source" like in @For, "labelEvaluator" for evaluating the label (same idea as column labels in @Table).
> I could probably provide an implementation and tests for such a component.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Updated: (TAPESTRY-989) Improve @PropertySelection

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-989?page=all ]

Jesse Kuhnert updated TAPESTRY-989:
-----------------------------------

    Component/s: Core
                     (was: Framework)

> Improve @PropertySelection
> --------------------------
>
>                 Key: TAPESTRY-989
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-989
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 4.1
>            Reporter: Henri Dupre
>
> It would be nice to have a better version of PropertySelection with the following features:
> - an API closer to the "@For" component to replace the IPropertySelectionModel. The way IPropertySelectionModel is structured is limitative. It is difficult to obtain any value from outside the component such as data objects or even a squeezer. Also 	IPrimaryKeyConverter could be used here too;
> - render the component either with a <select> or with radio buttons;
> - have simpler arguments: "source" like in @For, "labelEvaluator" for evaluating the label (same idea as column labels in @Table).
> I could probably provide an implementation and tests for such a component.

-- 
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org