Thanks for your response Thiago. This is my java code for that page.
public class Contact { @SessionState private jiraDataSource jDO; private HashMap <String, ArrayList<Issue>> issuesList; private Collection<ArrayList<Issue>> issuesSet; private Collection<String> issueKeys; private ArrayList<Issue> issues; private String issueKey; private Issue issue; void onActivate() { issuesList =jDO.getAllIssuesLists(); } public void setIssuesList(HashMap <String, ArrayList<Issue>> issuesList) { this.issuesList = issuesList; } public HashMap <String, ArrayList<Issue>> getIssuesList() { return issuesList; } public Collection <String> getIssueKeys() { issueKeys = issuesList.keySet(); return issueKeys; } public Collection<ArrayList<Issue>> getIssuesSet() { issuesSet = issuesList.values(); return issuesSet; } public void setIssues(ArrayList<Issue> cI) { this.issues = cI; } public ArrayList<Issue>getIssues() { return issues; } public void setIssueKey(String iK) { this.issueKey = iK; } public String getIssueKey() { return issueKey; } public Issue getIssue() { return issue; } public void setIssue(Issue i) { this.issue = i; } } So just to explain what I think the logic to what I have coded is, (this may be the issue :)) when i say ognl:issuelist.get(issueKey) it passes the value from setIssueKey() and it should be returning an arraylist and because my arraylist has issue objects, the setIssue() function should get called, 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 to pass > values from one component to the other. Just make sure the outer loop sets > some page property that is read by the inner loop. Posting your page code > here would help. > > -- > Thiago H. de Paula Figueiredo > Independent Java consultant, developer, and instructor > http://www.arsmachina.com.br/thiago > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > > -- View this message in context: http://www.nabble.com/Making-the-outside-loop-value-available-to-the-inside-loop--tp24586541p24587593.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org