Making the outside loop value available to the inside loop?

2009-07-21 Thread cajmrn
Hi Guys, Me again with another question :). I have the following setup an outer loop construct and an Inner loop. I want the outer loop to generate the table header of the each table that is generated. This is coming from the keyset() of a hashmap. The inner loop should contain an arraylist,

Re: Making the outside loop value available to the inside loop?

2009-07-21 Thread cajmrn
, correct? Carlo Thiago H. de Paula Figueiredo wrote: Em Tue, 21 Jul 2009 09:13:28 -0300, cajmrn caj...@gmail.com escreveu: How is the outerloop value made available to the inner loop? and passed to the inner get function? Your template looks like it should work as is. You don't need

Re: Making the outside loop value available to the inside loop?

2009-07-21 Thread cajmrn
the table headers but the tr elements are not filled. Thanks for your time and patience. Carlo Thiago H. de Paula Figueiredo wrote: Em Tue, 21 Jul 2009 10:24:42 -0300, cajmrn caj...@gmail.com escreveu: Thanks for your response Thiago. You're welcome! Two issues: What exactly

Re: How do you display a HashMapString, ArrayListobject in a .tml table

2009-07-15 Thread cajmrn
://tapestry.formos.com/nightly/tapestry5/apidocs/src-html/org/apache/tapestry5/internal/grid/CollectionGridDataSource.html#line.29 You can also provide a type coercion from a Map to GridDataSource or to Collection. Tapestry will do the coercion for you. On Wed, Jul 15, 2009 at 4:35 AM, cajmrn caj

How do you display a HashMapString, ArrayListobject in a .tml table

2009-07-14 Thread cajmrn
Hello all, I am once again stuck and unsure as to how to implement the following. I have a HashMap that contains a String id for the Key and an ArrayList as the value. What I need to do is to display in a table or grid each arrayList as it corresponds to a Key. How would you go about iterating

Getting/Iterating through the information from the Grid

2009-07-06 Thread cajmrn
Hi Guys, Im relatively new to Tapestry and I've tasked with assessing the viability of Tapestry as the primary framework for our project solution. First let me quickly describe the project, I will present the user with a grid of content, at the end of each row will be a check box. when the user

Re: Getting/Iterating through the information from the Grid

2009-07-06 Thread cajmrn
annotation on your binding for your checkbox and replace with corresponding getter/setter. Now in getter/setter you can store/ query a map, usually of Long,Boolean. ie your entity id and selected state. HTH, J On 6-Jul-09, at 6:50 AM, cajmrn wrote: Hi Guys, ... Is there some