You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2007/10/21 21:25:52 UTC

[jira] Updated: (TAPESTRY-1743) Create an easier way to populate List of object to Select component

     [ https://issues.apache.org/jira/browse/TAPESTRY-1743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship updated TAPESTRY-1743:
-------------------------------------------

    Fix Version/s:     (was: 5.0.6)
                   5.0.7

> Create an easier way to populate List of object to Select component
> -------------------------------------------------------------------
>
>                 Key: TAPESTRY-1743
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1743
>             Project: Tapestry
>          Issue Type: Wish
>          Components: Framework, tapestry-core
>    Affects Versions: 5.0.5
>            Reporter: Joshua Partogi
>             Fix For: 5.0.7
>
>
> Create an easier way to populate List of object to Select component. Currently we must create a class that implement SelectModel and a class that implement ValueEncoder. Perhaps it would be nice if there property in the Select component such as list that corresponds to the list of object to be displayed for the combobox as such:
> <select t:type="Select" t:id="member" model="member" list="members"  />
> and the Page class as such:
> private List<Member> members;
> 	public List<Member> getMembers()
> 	{
> 		return members;
> 	}
> 	public void setMembers(List<Member> members)
> 	{
> 		this.members = members;
> 	}
> 	@SetupRender
> 	public void init(){
> 		members = dao.getMembers();		
> 	}

-- 
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