Hey thanks Thiago... that worked nicely... just what I needed... for initialization... still figuring out the refresh logic...
<t:label for="itemsPerPageSelect">Items Per Page</t:label> <select t:type="select" t:id="itemsPerPageSelect" t:model="literal:5,10,15,25,50,100,250,500,1000,5000,10000" value="itemsPerPage" onchange="this.form.submit()" /> @Persist("session") @Property(read = true, write = true) private int itemsPerPage; @Component(parameters = {"clientId=itemsPerPageSelect"}) private Select itemsPerPageSelect; public Object onActionFromItemsPerPageSelect() { logger.info("In itemsPerPageChangeListener : "); } I got the gallery items editing now too on click... and just wired up the handlers... Kinda stuck on the onchange handler for the select control though... I dont know how to get a breakpoint to happen at the handler. Any ideas? I tried several variations of handler right on th emethod as follows without luck... //@OnEvent(value = "action", component = "select") //@OnEvent(value = "itemsPerPageChange", component = "itemsPerPageSelect") //@EventListener(events = //{ "onchange" }, targets = //{ "itemsPerPageSelect" }, submitForm = "galleryForm", async = true) When I am done with this I will post it and see who can soup this gallery up further... I got entity object rendering already... just by specifying an entity class as the type. its looking like within th enext 14 days I will have something to share Thanks kcola...@live.com > To: users@tapestry.apache.org; kcola...@live.com > Subject: Re: properties not persisting across requests > Date: Wed, 14 Sep 2011 08:39:25 -0300 > From: thiag...@gmail.com > > On Wed, 14 Sep 2011 00:14:11 -0300, Ken in Nashua <kcola...@live.com> > wrote: > > > I need a default value in order to load my collection... otherwise this > > variable is interpreted as null or 0...depending on which type I use... > > Integer, String or int > > How would you set a default ? > > Use onActivate() or @BeginRender. > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, > and instructor > Owner, Ars Machina Tecnologia da Informação Ltda. > http://www.arsmachina.com.br